joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f970
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push esi
mov esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f982
sub eax, edx
cmp eax, 0x104
jbe 0x42f999
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x110]
push eax
push esi
call fcn.0042f580
lea ecx, [ebp - 0x110]
push 0
push ecx
call fcn.0042f6a0
add esp, 0x14
test al, al
je 0x42f992
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
xor edi, edi
mov byte [ebp - 1], 0
jmp 0x42f9d3
mov esi, dword [ebp + 8]
push 0x467824
push esi
call fcn.0043571a
add esp, 8
mov dword [ebp - 8], eax
test eax, eax
jne 0x42fa4b
push esi
push str.Unable_to_open__s_for_writing__will_try_again_in_1_sec
call fcn.00436f1a
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], 0
call fcn.0042f8c0
mov esi, dword [ebp - 8]
push esi
push str.__s__n
call fcn.00436f1a
push esi
call fcn.00434c0f
add esp, 0x18
push 0x3e8
call ebx
inc edi
cmp edi, 0x19
jb 0x42f9d0
mov eax, dword [ebp + 8]
push eax
push str.ERROR:_Couldnt_open__s_for_writing_n
call fcn.004354a9
add eax, 0x40
push eax
call fcn.00435998
mov al, byte [ebp - 1]
add esp, 0xc
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov byte [ebp - 1], 1
cmp dword [ebp + 0x10], edi
jbe 0x42faec
lea ecx, [ecx]
mov esi, dword [ebp + 0x10]
sub esi, edi
cmp esi, 0x8000
jbe 0x42fa72
mov esi, 0x8000
mov eax, dword [ebp - 8]
push eax
push esi
push 1
push ebx
call fcn.004374b0
add esp, 0x10
cmp eax, esi
jne 0x42faa5
add edi, esi
add ebx, esi
cmp edi, dword [ebp + 0x10]
jb 0x42fa60
mov eax, dword [ebp - 8]
push eax
call fcn.00435e10
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push ecx
push edi
push esi
push str.ERROR:_Unable_to_write__li_bytes_at_offset__li_to__s_n
call fcn.004354a9
add eax, 0x40
push eax
call fcn.00435998
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 0xc], 0
call fcn.0042f8c0
mov esi, dword [ebp - 0xc]
push esi
push str.__s__n
call fcn.00436f1a
push esi
call fcn.00434c0f
mov eax, dword [ebp - 8]
add esp, 0x24
mov byte [ebp - 1], 0
push eax
call fcn.00435e10
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42fb00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x3c]
push eax
push esi
xor edi, edi
xor ebx, ebx
mov byte [ebp - 1], 1
call fcn.004368ec
add esp, 8
test eax, eax
jne 0x42fb71
push 0x46e9ac
push esi
call fcn.0043571a
add esp, 8
mov dword [ebp - 0xc], eax
cmp eax, edi
jne 0x42fb7a
push esi
push str.ERROR:_Unable_to_open__s_for_reading_n
call fcn.00436f1a
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 8], edi
call fcn.0042f8c0
mov esi, dword [ebp - 8]
push esi
push str.__s__n
call fcn.00436f1a
push esi
call fcn.00434c0f
mov eax, dword [ebp + 0x10]
add esp, 0x18
cmp eax, edi
je 0x42fb71
mov dword [eax], edi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov dword [edx], edi
nop
mov esi, dword [ebp - 0x28]
push esi
call fcn.00434234
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x42fbd3
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x1e
jl 0x42fb80
mov edx, dword [ebp + 0xc]
cmp dword [edx], ebx
jne 0x42fbd0
mov eax, dword [ebp + 8]
push eax
push str.Cabby:_Unable_to_allocate_memory_to_read__s_to_mem_n
call fcn.004354a9
add eax, 0x40
push eax
call fcn.00435998
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx]
test eax, eax
je 0x42fbe1
mov dword [eax], esi
test esi, esi
je 0x42fc9a
lea esp, [esp]
sub esi, ebx
cmp esi, 0x8000
jbe 0x42fbff
mov esi, 0x8000
mov edx, dword [ebp - 0xc]
push edx
push esi
push 1
push edi
call fcn.0043597b
add esp, 0x10
cmp eax, esi
jne 0x42fc34
mov esi, dword [ebp - 0x28]
add ebx, eax
add edi, eax
cmp ebx, esi
jb 0x42fbf0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00435e10
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push eax
push ebx
push esi
push str.Cabby:_Unable_to_read__li_bytes_at_offset__li_from_file__s_n
call fcn.004354a9
add eax, 0x40
push eax
call fcn.00435998
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 8], 0
call fcn.0042f8c0
mov esi, dword [ebp - 8]
add esp, 0x18
push esi
push str.__s__n
call fcn.004354a9
add eax, 0x40
push eax
call fcn.00435998
push esi
call fcn.00434c0f
mov edx, dword [ebp + 0xc]
push edx
call fcn.00434c0f
mov eax, dword [ebp + 0x10]
add esp, 0x14
test eax, eax
je 0x42fc96
mov dword [eax], 0
mov byte [ebp - 1], 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00435e10
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fcce
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x42fd0f
push ebx
movzx edx, byte [ecx]
dec eax
inc ecx
movzx ebx, byte [ecx]
shl ebx, 8
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
test eax, eax
jg 0x42fce8
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x42fd2d
dec esi
je 0x42fd24
dec esi
jne 0x42fd32
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
movzx edx, byte [ecx]
shl edx, 8
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43883d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x477620]
jne 0x438847
repz ret
jmp fcn.004418dd

Function at 0x4419e3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x477620]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0043931a
and dword [ebp - 0x14], 0
cmp dword [0x489938], 0
mov dword [ebp - 0x18], eax
jne 0x441a96
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x441b3e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46ae94
push ebx
call edi
test eax, eax
je 0x441b3e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x46ae84
push ebx
mov dword [0x489938], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x48993c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x489940], eax
call edi
push eax
call esi
mov dword [0x489948], eax
test eax, eax
je 0x441a96
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x489944], eax
mov eax, dword [0x489944]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x441aef
cmp dword [0x489948], ecx
je 0x441aef
push eax
call esi
push dword [0x489948]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x441aef
test ebx, ebx
je 0x441aef
call edi
test eax, eax
je 0x441ae6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x441ae6
test byte [ebp - 8], 1
jne 0x441aef
or dword [ebp + 0x10], 0x200000
jmp 0x441b22
mov eax, dword [0x48993c]
cmp eax, dword [ebp - 0x18]
je 0x441b22
push eax
call esi
test eax, eax
je 0x441b22
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x441b22
mov eax, dword [0x489940]
cmp eax, dword [ebp - 0x18]
je 0x441b22
push eax
call esi
test eax, eax
je 0x441b22
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x489938]
call esi
test eax, eax
je 0x441b3e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x441b40
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043883d
leave
ret
Function at 0x447cdd
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x447d05
call fcn.00437823
and dword [eax], 0
call fcn.00437810
mov dword [eax], 0x16
call fcn.0043930a
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x447d22
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00437836
pop ecx
jmp 0x447d00
test byte [ebp + 0xc], 0x80
je 0x447d2d
and eax, 0xfffffffe
jmp 0x447d30
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x447d13
xor eax, eax
pop ebp
ret
Function at 0x449fdb
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
call fcn.0044a809
lea esi, [edi + 0x10]
call fcn.0044a809
lea esi, [edi + 0x1c]
call fcn.0044a809
push dword [ebp + 8]
lea eax, [edi + 4]
push eax
xor ebx, ebx
or eax, 0xffffffff
mov dword [edi + 0x48], ebx
call fcn.0044a8ff
lea eax, [edi + 0x40]
push eax
lea eax, [edi + 0x38]
push eax
lea eax, [edi + 0x30]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x44a0d3
mov esi, 0x104
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 0x28]
push eax
push esi
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x44a0d3
lea eax, [ebp - 0x118]
push eax
lea eax, [edi + 0x10]
push eax
or eax, 0xffffffff
call fcn.0044a8ff
lea eax, [ebp - 0x220]
push eax
lea eax, [edi + 0x1c]
push eax
or eax, 0xffffffff
call fcn.0044a8ff
push esi
lea eax, [ebp - 0x328]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.00436626
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00436626
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004362f1
add esp, 0x30
test eax, eax
jne 0x44a0cf
or dword [edi + 0x48], 1
xor eax, eax
jmp 0x44a0d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44a870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x64
mov esi, eax
pop ebx
call fcn.0044a7ae
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x44a896
mov ebx, dword [esi + 8]
add ebx, 0x64
call fcn.0044a7ae
mov eax, dword [esi + 8]
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], eax
mov eax, dword [esi]
push eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov dword [ebp - 0xc], eax
cmp eax, 0xea
je 0x44a88b
xor eax, eax
cmp dword [ebp - 0xc], eax
jne 0x44a8e7
cmp dword [ebp - 8], eax
jbe 0x44a8db
cmp dword [ebp - 8], 2
jbe 0x44a8d3
cmp dword [ebp - 8], 7
jne 0x44a8db
cmp dword [ebp - 4], eax
je 0x44a8db
dec dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, esi
call fcn.0044a82e
jmp 0x44a8f5
xor ebx, ebx
call fcn.0044a7ae
mov eax, dword [esi]
and dword [esi + 4], ebx
mov byte [eax], bl
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x44ab4f
Capabilities:
Hash data using sha1

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
ret
Function at 0x44ab83
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [eax + 0x1c]
mov byte [ecx + eax + 0x20], 0x80
inc dword [eax + 0x1c]
cmp ecx, 0x37
mov ecx, dword [eax + 0x1c]
jle 0x44abcd
jmp 0x44aba3
mov byte [ecx + eax + 0x20], 0
inc dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x40
jl 0x44ab98
call fcn.0044a92b
jmp 0x44abba
mov ecx, dword [eax + 0x1c]
mov byte [eax + ecx + 0x20], 0
inc dword [eax + 0x1c]
cmp dword [eax + 0x1c], 0x38
jl 0x44abaf
jmp 0x44abd2
mov byte [ecx + eax + 0x20], 0
inc dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
cmp ecx, 0x38
jl 0x44abc2
mov ecx, dword [eax + 0x18]
mov edx, ecx
shr edx, 0x18
mov byte [eax + 0x58], dl
mov edx, ecx
shr ecx, 8
mov byte [eax + 0x5a], cl
mov cl, byte [eax + 0x18]
shr edx, 0x10
mov byte [eax + 0x5b], cl
mov ecx, dword [eax + 0x14]
mov byte [eax + 0x59], dl
mov edx, ecx
shr edx, 0x18
mov byte [eax + 0x5c], dl
mov edx, ecx
shr edx, 0x10
shr ecx, 8
mov byte [eax + 0x5e], cl
mov cl, byte [eax + 0x14]
mov byte [eax + 0x5d], dl
mov byte [eax + 0x5f], cl
jmp fcn.0044a92b
Function at 0x44b0d3
Capabilities:
Print debug messages

Disassembly:
push edi
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
call fcn.0044ad20
push dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call edi
push str._DONE__r_n
call edi
push dword [esi + 4]
call fcn.00433b53
pop ecx
push dword [esi + 8]
call fcn.00433b53
pop ecx
push dword [esi + 0xc]
call fcn.00433b53
pop ecx
push esi
call fcn.00433b53
pop ecx
pop edi
ret

Function at 0x44b192
Capabilities:
Create http request
Create thread

Disassembly:
push ebx
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push str.VIP_TRACKING
mov dword [esi + 8], edi
call dword [sym.imp.WININET.dll_InternetOpenA]
push edi
push edi
push edi
push edi
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, eax
lea eax, [esi + 4]
push eax
push edi
push ebx
push 0x44b11a
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
mov eax, esi
pop ebx
ret

Function at 0x44b934
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
push ebx
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 4], 0x80004005
call fcn.004384e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push 0x10
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x44ba26
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [ebp - 0x20c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x44b999
push esi
mov esi, str..url
movsd dword es:[edi], dword [esi]
push 0x3ff
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x60b]
push ebx
push eax
movsw word es:[edi], word [esi]
mov byte [ebp - 0x60c], bl
call fcn.004384e0
push dword [ebp + 0x10]
lea eax, [ebp - 0x60c]
push dword [ebp + 0xc]
push str._InternetShortcut__r_nURL_S_r_nIconFile_S_r_nIconIndex0_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push ebx
push ebx
push 2
push ebx
push ebx
mov edi, eax
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44ba24
push ebx
lea eax, [ebp + 8]
push eax
push edi
lea eax, [ebp - 0x60c]
push eax
push esi
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
pop esi
pop edi
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0xc
Function at 0x44ba2e
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
xor eax, eax
push 0x206
mov word [ebp - 0x208], ax
xor esi, esi
lea eax, [ebp - 0x206]
push esi
push eax
call fcn.004384e0
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push esi
push esi
push 0x10
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x44baba
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edi, [ebp - 0x208]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x44ba88
mov esi, str..url
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x208]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
je 0x44baba
shr eax, 4
not eax
and eax, 1
jmp 0x44babc
xor eax, eax
pop esi
leave
ret 4

Function at 0x44bac1
Capabilities:
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push str.Mozilla_4.0__compatible__MSIE_5.5__Windows_NT_5.0_
mov dword [ebp - 8], 0x80004005
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x44bbdb
push esi
push edi
push 8
pop ecx
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x34]
lea eax, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x44bb04
push ebx
sub eax, edx
push 0x4000000
sar eax, 1
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x80]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x44bbcb
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x44bbb9
push 0xff
lea eax, [ebp - 0x133]
push ebx
push eax
mov byte [ebp - 0x134], bl
call fcn.004384e0
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
mov edi, 0x100
jmp 0x44bb9f
cmp dword [ebp + 8], ebx
je 0x44bbb6
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp + 8]
push eax
push edi
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 4]
call esi
test eax, eax
jne 0x44bb7f
jmp 0x44bbb9
mov dword [ebp - 8], ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
cmp dword [ebp - 8], ebx
jge 0x44bbe4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 8]
pop ebx
leave
ret 8
Function at 0x44bc62
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x44bcda
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
push ebx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call esi
mov eax, dword [edi]
inc eax
push eax
call fcn.00434229
pop ecx
push edi
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
pop esi
je 0x44bcde
cmp dword [ebp + 8], ebx
je 0x44bcda
push dword [ebp + 8]
call fcn.00433b53
pop ecx
xor eax, eax
jmp 0x44bce1
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x44bcea
mov ecx, dword [edi]
mov byte [eax + ecx], bl
pop ebx
leave
ret 0xc
Function at 0x44c4b3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
xor esi, esi
push esi
mov ebx, eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44c646
push edi
push dword [ebp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call edi
test eax, eax
jne 0x44c645
push esi
call fcn.004345cc
mov dword [ebp - 0xc], eax
xor eax, eax
mov word [ebp - 0x214], ax
mov dword [esp], 0x206
lea eax, [ebp - 0x212]
push esi
push eax
mov dword [ebp - 8], edx
call fcn.004384e0
xor eax, eax
push 0x206
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push esi
push eax
call fcn.004384e0
lea eax, [ebx + 0xd8]
lea edx, [ebp - 0x214]
add esp, 0x18
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x44c55c
lea eax, [ebx + 0x2e0]
lea edx, [ebp - 0x41c]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x44c579
push dword [ebx + 0x20]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [ebx + 0x20]
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebx + 0x4e8]
push eax
push dword [ebp + 8]
call fcn.004347ab
pop ecx
pop ecx
test eax, eax
jne 0x44c632
add ebx, 0x6f0
push ebx
push dword [ebp + 8]
call fcn.004347ab
pop ecx
pop ecx
test eax, eax
jne 0x44c632
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call fcn.00434720
pop ecx
pop ecx
test eax, eax
je 0x44c5fc
push dword [ebp + 8]
lea eax, [ebp - 0x41c]
push eax
call fcn.00434720
pop ecx
pop ecx
test eax, eax
jne 0x44c645
push 8
lea eax, [ebp - 0xc]
push eax
push 0xb
push esi
push str.CasinoTimeStamp
push dword [ebp - 4]
call edi
push str.PCMUID
push dword [ebp + 0xc]
call fcn.004347ab
pop ecx
pop ecx
test eax, eax
je 0x44c645
push 8
lea eax, [ebp - 0xc]
push eax
push 0xb
push esi
push str.UGUIDTimeStamp
jmp 0x44c640
push 8
lea eax, [ebp - 0xc]
push eax
push 0xb
push esi
push 0x46f158
push dword [ebp - 4]
call edi
pop edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret 0x14
Function at 0x44dc63
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov ebx, eax
call fcn.0044bc0a
push 0x103
xor esi, esi
lea eax, [ebp - 0x103]
push esi
push eax
mov byte [ebp - 0x104], 0
call fcn.004384e0
mov eax, dword [ebp + 8]
add esp, 0xc
dec eax
je 0x44dce5
dec eax
je 0x44dcc6
dec eax
je 0x44dca7
push 2
pop eax
jmp 0x44dd9a
push str.TUdTUE9LRVJWMkNSRUFURU1VVEVYUElHR1k
call fcn.0044dc27
lea edx, [ebp - 0x104]
pop ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44dcba
jmp 0x44dd02
push str.TUdTUE9LRVJWMkNSRUFURU1VVEVY
call fcn.0044dc27
lea edx, [ebp - 0x104]
pop ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44dcd9
jmp 0x44dd02
push str.TUdTUE9LRVJWMkNSRUFURU1VVEVYU0I
call fcn.0044dc27
lea edx, [ebp - 0x104]
pop ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44dcf8
lea eax, [ebp - 0x104]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push esi
push eax
mov dword [ebx + 0xd0c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44dd27
xor eax, eax
jmp 0x44dd9a
push edi
lea edi, [ebp - 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44dd2f
mov esi, str._SEM
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x104]
push eax
push 1
movsb byte es:[edi], byte [esi]
push 1
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push edi
push eax
mov dword [ebx + 0xd10], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44dd96
push dword [ebx + 0xd0c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebx + 0xd0c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebx + 0xd10]
mov dword [ebx + 0xd0c], edi
call esi
mov dword [ebx + 0xd10], edi
xor eax, eax
jmp 0x44dd99
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4518db
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret