joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ad10
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov eax, 0x8080
call fcn.004154c0
push ebx
push esi
push edi
mov esi, ecx
mov ecx, 0xa
xor eax, eax
mov edx, dword [esi + 0xbec]
lea edi, [esp + 0x64]
mov dword [esp + 0x60], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x43cc]
lea eax, [esp + 0x60]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
cmp eax, 0xffffffff
jne 0x40ad91
mov eax, dword [esi + 0x43cc]
push eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
mov ecx, esi
call fcn.0040a5b0
mov edx, dword [0x4237c0]
xor ecx, ecx
mov cx, word [esi + 8]
push 0
mov eax, dword [edx + 0x18]
shl ecx, 0x10
push ecx
push 0x408
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebx
add esp, 0x8080
ret
test byte [esp + 0x60], 1
je 0x40aea0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0xbec]
push edx
push 0
lea eax, [esp + 0x98]
push 0x8000
push eax
push ecx
mov dword [esp + 0x24], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jl 0x40aea0
mov edi, 0x96
cmp word [esp + 0x90], di
jne 0x40aea0
cmp word [esp + 0x92], 9
mov eax, dword [esp + 0x94]
jne 0x40ae05
and eax, 0xff
lea ecx, [esp + 0x95]
jmp 0x40ae0c
lea ecx, [esp + 0x98]
mov edx, dword [0x4237c0]
cmp eax, dword [edx + 4]
jae 0x40aea0
mov ebx, dword [edx + 8]
cmp dword [ebx + eax*4], 0
je 0x40aea0
mov word [esp + 0x24], di
mov edi, dword [ecx + 4]
mov ecx, dword [ecx]
push edi
mov dword [esp + 0x24], 0x82020476
mov word [esp + 0x2a], 8
mov edx, dword [edx + 8]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [edx + eax*4]
call fcn.0040a260
test eax, eax
jge 0x40ae60
or eax, 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
jmp 0x40ae77
mov cx, word [esp + 0x12]
mov edx, dword [esp + 0x14]
mov word [esp + 0x28], ax
mov word [esp + 0x2a], cx
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x26]
lea eax, [esp + 0x10]
and ecx, 0xffff
push 0x10
push eax
mov eax, dword [esi + 0xbec]
add ecx, 8
push 0
lea edx, [esp + 0x2c]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
pop edi
pop esi
pop ebx
add esp, 0x8080
ret
Function at 0x40af20
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x41c3eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
push 4
mov dword [esi], 0x41d3d0
mov dword [esi + 0x10], 0xffffffff
call fcn.004150af
push 0x378
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 1
call fcn.004150af
add esp, 8
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x18], 0
je 0x40af82
mov ecx, eax
call fcn.0040bb40
mov edi, eax
jmp 0x40af84
xor edi, edi
push 0
push esi
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call fcn.0040bd70
mov eax, dword [esi + 0x14]
mov dword [eax], edi
mov edi, dword [sym.imp.WS2_32.dll_WSACreateEvent]
call edi
mov dword [esi + 4], eax
call edi
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
push ecx
push 0
push esi
push 0x40aeb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x40b010
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40b0bf
mov eax, dword [esi + 0xc]
push ebx
lea ebx, [esi + 0xc]
push edi
test eax, eax
je 0x40b034
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.WS2_32.dll_WSASetEvent]
mov eax, dword [esi + 0x18]
xor edi, edi
test eax, eax
jle 0x40b055
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x40b04d
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esi + 0x18]
inc edi
cmp edi, eax
jl 0x40b03d
mov eax, dword [esi + 0x14]
push eax
call fcn.00415417
add esp, 4
lea ecx, [esi + 0x10]
mov dword [esi + 0x14], 0
push ecx
mov ecx, esi
call fcn.0040b250
cmp dword [ebx], 0
je 0x40b0ab
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
push 1
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
jne 0x40b0a2
mov edx, dword [ebx]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.WS2_32.dll_WSACloseEvent]
push ecx
call edi
mov edx, dword [esi + 8]
push edx
call edi
pop edi
pop ebx
pop esi
ret
Function at 0x40b0d0
Capabilities:
Create tcp socket

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
or edi, 0xffffffff
cmp dword [esi + 0x10], edi
je 0x40b0ec
pop edi
mov eax, 1
pop esi
add esp, 0x10
ret 4
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, edi
mov dword [esi + 0x10], eax
je 0x40b187
mov ecx, dword [esi + 4]
push 0x29
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, edi
je 0x40b17a
push 0
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [esi + 0x10]
lea ecx, [esp + 8]
push 0x10
push ecx
push edx
mov word [esp + 0x16], ax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, edi
jne 0x40b167
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
add esp, 0x10
ret 4
mov ecx, dword [esi + 0x10]
push accept
push ecx
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, edi
jne 0x40b195
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
add esp, 0x10
ret 4
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 4

Function at 0x40b250
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 0x34
push esi
mov esi, dword [esp + 0x3c]
push edi
push 0
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
mov edx, dword [esi]
push 1
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edi, dword [sym.imp.WS2_32.dll_recv]
mov eax, 1
cmp eax, 0xffffffff
je 0x40b295
mov ecx, dword [esi]
push 0
lea eax, [esp + 0xc]
push 0x32
push eax
push ecx
call edi
test eax, eax
jne 0x40b27e
mov edx, dword [esi]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], 0xffffffff
pop edi
pop esi
add esp, 0x34
ret 4
Function at 0x40b5b0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
je 0x40b5e1
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
pop edi
inc eax
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
push 0
push edx
push 1
push 0
push eax
push ecx
mov byte [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x40b960
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
sub esp, 0x418
lea edx, [esp + 0x10c]
push esi
push eax
push ecx
push str._s_s.lnk
push edx
call fcn.004151c1
mov esi, dword [esp + 0x430]
push esi
push str._this
call fcn.0041be80
add esp, 0x18
test eax, eax
jne 0x40b9b0
lea eax, [esp + 0xc]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x40b9c2
lea edx, [esp + 0xc]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40b9b8
lea ecx, [esp + 4]
xor esi, esi
push ecx
push 0x41d470
push 1
push esi
push 0x41d460
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40baa8
mov eax, dword [esp + 4]
lea ecx, [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [esp + 0x42c]
test eax, eax
je 0x40ba09
mov ecx, dword [esp + 4]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x430]
test ecx, ecx
je 0x40ba1f
mov eax, dword [esp + 4]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x41d480
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x40ba9e
lea eax, [esp + 0x214]
push 0x104
push eax
lea ecx, [esp + 0x118]
push 0xffffffffffffffff
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x434]
test eax, eax
je 0x40ba77
mov ecx, dword [esp + 4]
push edi
mov edi, dword [esp + 0x43c]
mov edx, dword [ecx]
push edi
push eax
push ecx
call dword [edx + 0x44]
pop edi
mov eax, dword [esp + 8]
lea edx, [esp + 0x214]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x40ba94
mov esi, 1
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, esi
pop esi
add esp, 0x418
ret 0x1c
Function at 0x40bbc0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x374]
lea ebx, [edi + 0x374]
test eax, eax
mov dword [edi], 0x41d3f4
je 0x40bbe8
mov eax, dword [edi + 0x36c]
push eax
call dword [sym.imp.WS2_32.dll_WSASetEvent]
xor esi, esi
push esi
mov ecx, edi
call fcn.0040bc60
inc esi
cmp esi, 0x1f
jl 0x40bbea
cmp dword [ebx], 0
je 0x40bc36
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
push 1
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
jne 0x40bc27
mov ecx, dword [ebx]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebx]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], 0
mov ebx, dword [sym.imp.WS2_32.dll_WSACloseEvent]
lea esi, [edi + 0x2f0]
mov edi, 0x20
mov eax, dword [esi]
push eax
call ebx
add esi, 4
dec edi
jne 0x40bc47
pop edi
pop esi
pop ebx
ret

Function at 0x40bc60
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
push edi
mov edi, ecx
lea eax, [ebx + ebx*2]
lea esi, [edi + eax*8]
mov eax, dword [edi + eax*8 + 4]
cmp eax, 0xffffffff
je 0x40bcc5
mov ecx, dword [edi + 0x2f0]
push 0
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov ebp, dword [sym.imp.WS2_32.dll_recv]
mov eax, 1
cmp eax, 0xffffffff
je 0x40bcbb
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x14]
push 0x32
push eax
push ecx
call ebp
test eax, eax
jne 0x40bca3
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esi + 0x14]
xor ebp, ebp
cmp eax, ebp
je 0x40bcd7
push eax
call fcn.00415417
add esp, 4
mov ecx, dword [esi + 4]
lea eax, [ebx + ebx*2 + 3]
mov dword [esi + 0x14], ebp
mov dword [esi + 0x10], ebp
mov word [edi + eax*8], bp
or eax, 0xffffffff
cmp ecx, eax
je 0x40bcf2
mov dword [esi + 4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4

Function at 0x40bd70
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push esi
mov esi, ecx
mov cx, word [esp + 0xc]
push edx
push 0
push esi
push 0x40bac0
push 0
push 0
mov dword [esi + 0x370], eax
mov word [esi + 0x2ec], cx
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 0x374], eax
test eax, eax
setne cl
mov eax, ecx
pop esi
ret 8
Function at 0x40c110
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
push 6
push 1
push 2
mov ebx, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x40c1a2
mov eax, dword [esp + 0x20]
push 0x31
mov edx, dword [ebx + eax*4 + 0x2f0]
lea ecx, [eax + eax*2]
push edx
push esi
lea edi, [ebx + ecx*8]
mov dword [edi + 4], esi
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x40c1a2
xor eax, eax
mov ecx, dword [edi + 8]
mov dword [esp + 0xc], eax
mov dx, word [edi + 0xc]
mov dword [esp + 0x10], eax
mov word [esp + 0xc], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
push eax
push eax
push eax
mov dword [esp + 0x24], eax
push eax
lea eax, [esp + 0x1c]
push 0x10
push eax
push esi
mov word [esp + 0x2a], dx
call dword [sym.imp.WS2_32.dll_WSAConnect]
cmp eax, 0xffffffff
jne 0x40c19b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x40c1a2
mov dword [edi + 0x10], 1
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40c700
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41c42b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x448
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
call fcn.00405d40
xor ebx, ebx
mov dword [esi], 0x41d458
mov dword [esp + 0x45c], ebx
mov dword [esi + 0xac], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004150bd
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x58]
mov dword [esi + 0x24], ebx
push eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
call fcn.0040e1f0
mov al, byte [esp + 0x5c]
add esp, 8
cmp al, bl
lea ecx, [esp + 0x54]
je 0x40c798
movsx eax, al
cdq
mov edi, 0x18
idiv edi
add dl, 0x43
mov byte [ecx], dl
mov al, byte [ecx + 1]
inc ecx
cmp al, bl
jne 0x40c780
mov byte [ecx], 0x31
mov byte [ecx + 1], bl
lea ecx, [esp + 0x24]
mov al, 0x21
push ecx
mov byte [esp + 0x10], 0x23
mov byte [esp + 0x11], 0x28
mov byte [esp + 0x12], al
mov byte [esp + 0x13], al
mov byte [esp + 0x14], 0x11
mov byte [esp + 0x15], 0x18
mov byte [esp + 0x16], 0xf8
mov byte [esp + 0x17], 0x12
mov byte [esp + 0x18], 0x16
mov byte [esp + 0x19], 0x10
mov byte [esp + 0x1a], bl
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov al, byte [esp + 0xc]
mov dl, byte [esp + 0xd]
mov cl, byte [esp + 0xe]
add al, 0x30
add dl, 0x31
mov byte [esp + 0xc], al
mov al, byte [esp + 0xf]
mov byte [esp + 0xd], dl
mov dl, byte [esp + 0x10]
add cl, 0x32
add al, 0x33
add dl, 0x34
mov byte [esp + 0xe], cl
mov cl, byte [esp + 0x11]
mov byte [esp + 0xf], al
mov al, byte [esp + 0x12]
mov byte [esp + 0x10], dl
mov dl, byte [esp + 0x13]
add cl, 0x35
add al, 0x36
add dl, 0x37
mov byte [esp + 0x11], cl
mov cl, byte [esp + 0x14]
mov byte [esp + 0x12], al
mov al, byte [esp + 0x15]
mov byte [esp + 0x13], dl
lea edx, [esp + 0x24]
add cl, 0x38
add al, 0x39
push edx
mov byte [esp + 0x18], cl
mov byte [esp + 0x19], al
mov byte [esp + 0x22], bl
call fcn.0040c590
add esp, 4
mov edi, eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x54]
push eax
push ebx
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x28], 0x33
mov byte [esp + 0x29], 0x38
mov byte [esp + 0x2a], 0x36
mov byte [esp + 0x2b], 0x65
mov byte [esp + 0x2c], 0x6e
mov byte [esp + 0x2d], 0x68
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, ebx
mov dword [esi + 0xa8], eax
jne 0x40c8cc
lea ecx, [esp + 0xc]
lea edx, [esp + 0x34]
push ecx
lea eax, [edi + 0x76a700]
push 0xa
push edx
push eax
mov dword [esi + 0xa8], eax
call fcn.0041bfd9
add esp, 0xc
lea ecx, [esp + 0x1c]
push eax
lea eax, [esp + 0x5c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call fcn.004150c7
mov edi, eax
call fcn.004150c7
imul eax, edi
cdq
mov ecx, 0x278d00
pop edi
idiv ecx
mov eax, dword [esi + 0xa8]
mov ecx, dword [esp + 0x450]
add eax, edx
mov dword [esi + 0xa8], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x454
ret
Function at 0x40e378
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
jmp 0x40e3bd
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40f6e8
Capabilities:
Link many functions at runtime

Disassembly:
lea esi, [0x426818]
push esi
mov eax, dword [0x426408]
push eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [0x42682d], eax
mov dword [0x4260f5], 1
mov eax, 0x4000
push eax
lea eax, [0x426333]
push eax
lea eax, [0x4260e1]
push eax
lea esi, [0x4265cf]
call dword [esi]
cmp eax, 0xffffffff
jne 0x40f734
mov dword [0x4260f5], 0
cmp dword [0x4260f5], 0
je 0x40f7aa
mov eax, 0x4000
push eax
lea eax, [0x426333]
push eax
lea eax, [0x4260ca]
push eax
lea esi, [0x4265cf]
call dword [esi]
cmp eax, 0xffffffff
je 0x40f7aa
lea eax, [0x4260ca]
push eax
call dword [0x4261f3]
mov dword [0x4260ed], eax
cmp eax, 0
je 0x40f7aa
lea edx, [0x4260f9]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x40f7aa
mov dword [0x42614b], eax
mov eax, dword [0x4260ed]
lea edx, [0x426130]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x40f7aa
mov dword [0x42614f], eax
jmp 0x40f822
mov eax, 0x4000
push eax
lea eax, [0x426333]
push eax
lea eax, [0x4260d7]
push eax
lea esi, [0x4265cf]
call dword [esi]
cmp eax, 0xffffffff
je 0x40f817
lea eax, [0x4260d7]
push eax
call dword [0x4261f3]
mov dword [0x4260f1], eax
cmp eax, 0
je 0x40f817
lea edx, [0x426115]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x40f817
mov dword [0x42614b], eax
mov eax, dword [0x4260f1]
lea edx, [0x42613e]
push edx
push eax
call sub.KERNEL32.dll_GetProcAddress
cmp eax, 0
je 0x40f817
mov dword [0x42614f], eax
jmp 0x40f82d
mov dword [0x426153], 0
ret
mov dword [0x426153], 1
ret
mov dword [0x426153], 2
ret

Function at 0x40fb45
Capabilities:
Packed with generic packer

Disassembly:
pushal
push eax
push ecx
push edx
test ax, 1
je 0x40fb62
push ecx
push edx
call dword [0x426763]
cmp eax, 0
je 0x40fb62
pop edx
pop ecx
pop eax
stc
jmp 0x40fb7d
pop edx
pop ecx
pop eax
test ax, 2
je 0x40fb7c
push ecx
push edx
call dword [0x426775]
cmp ax, 0
je 0x40fb7c
stc
jmp 0x40fb7d
clc
popal
ret
Function at 0x4109b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov ecx, dword [eax]
push edi
mov edi, dword [esp + 0x14]
lea ebp, [eax + 8]
mov dword [esp + 0x14], 0xc
mov edx, dword [edi + 4]
add edx, ecx
mov ecx, dword [edi]
mov dword [edi + 4], edx
mov edx, dword [eax + 4]
add ecx, edx
mov dword [edi], ecx
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
mov esi, ebx
mov edx, ebx
shr esi, 4
xor edx, ecx
and esi, 0x1f
mov ecx, 0x20
mov eax, edx
sub ecx, esi
add ebp, 8
shr eax, cl
mov ecx, esi
shl edx, cl
mov ecx, 0x20
or eax, edx
mov edx, dword [ebp - 8]
sub eax, edx
mov edx, eax
mov dword [edi + 4], eax
shr edx, 7
and edx, 0x1f
xor eax, ebx
sub ecx, edx
mov esi, eax
shr esi, cl
mov ecx, edx
mov edx, dword [ebp - 4]
shl eax, cl
or esi, eax
mov eax, dword [esp + 0x14]
add esi, edx
dec eax
mov dword [edi], esi
mov dword [esp + 0x14], eax
jne 0x4109da
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x410a39
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
lea ebp, [eax + 0x60]
mov dword [esp + 0x14], 0xc
mov ebx, dword [edi + 4]
mov edx, dword [edi]
mov ecx, dword [ebp + 4]
mov esi, ebx
shr esi, 7
sub edx, ecx
and esi, 0x1f
mov ecx, 0x20
mov eax, edx
sub ecx, esi
sub ebp, 8
shl eax, cl
mov ecx, esi
shr edx, cl
or eax, edx
xor eax, ebx
mov dword [edi], eax
mov ecx, dword [ebp + 8]
mov edx, eax
shr edx, 4
lea esi, [ebx + ecx]
and edx, 0x1f
mov ecx, 0x20
mov ebx, esi
sub ecx, edx
shl ebx, cl
mov ecx, edx
shr esi, cl
or ebx, esi
xor ebx, eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [edi + 4], ebx
mov dword [esp + 0x14], eax
jne 0x410a50
mov eax, dword [esp + 0x18]
mov esi, dword [edi]
mov ecx, ebx
mov edx, dword [eax + 4]
sub esi, edx
mov dword [edi], esi
mov eax, dword [eax]
sub ecx, eax
mov dword [edi + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x410ac4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x88
mov eax, dword [esp + 0x90]
push ebx
push esi
mov esi, dword [esp + 0x94]
lea ebx, [eax + 7]
shr ebx, 3
and eax, 7
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
jne 0x410af5
mov dword [esp + 0x10], 8
push ebp
push edi
lea eax, [ebx - 1]
xor edx, edx
xor ecx, ecx
xor edi, edi
test eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edi
jbe 0x410bc5
mov ebp, dword [esi]
xor ebp, ecx
mov ecx, dword [esi + 4]
xor ecx, edx
mov dword [esi], ebp
test edi, edi
mov dword [esi + 4], ecx
jne 0x410b97
cmp ebx, 2
push edi
jbe 0x410b8a
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.00410ef5
mov edi, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x30], edi
lea eax, [esp + 0x30]
mov ebx, 0x19
mov ecx, dword [eax]
mov edx, dword [esp + 0x2c]
add ecx, edx
mov ebp, edi
mov dword [eax + 4], ecx
mov edx, dword [eax]
and edx, 0x1f
mov ecx, 0x20
sub ecx, edx
add eax, 4
shl ebp, cl
mov ecx, edx
mov edx, ebp
mov ebp, edi
shr ebp, cl
or edx, ebp
mov ebp, dword [esp + 0x34]
xor ebp, edx
dec ebx
mov dword [esp + 0x34], ebp
jne 0x410b4b
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x410ba5
push 0
push esi
call fcn.00410ef5
add esp, 0xc
jmp 0x410ba5
lea eax, [esp + 0x30]
push eax
push esi
call fcn.004109b0
add esp, 8
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esi, 8
inc edi
lea eax, [ebx - 1]
mov dword [esp + 0x10], ecx
cmp edi, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edi
jb 0x410b14
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jbe 0x410bf0
mov ebp, esi
lea ecx, [esp + 0x10]
sub ebp, ecx
mov cl, byte [esp + edi + 0x10]
lea eax, [esp + edi + 0x10]
mov dl, byte [ebp + eax]
xor cl, dl
inc edi
mov byte [eax], cl
mov eax, dword [esp + 0x18]
cmp edi, eax
jb 0x410bd7
pop edi
cmp ebx, 2
pop ebp
jbe 0x410c0b
lea eax, [esp + 0x28]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.004109b0
add esp, 8
jmp 0x410c2e
cmp ebx, 1
jne 0x410c1d
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
push 0
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.00410ef5
add esp, 0xc
cmp ebx, 1
jbe 0x410c62
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jbe 0x410c49
mov dl, byte [esi + eax - 8]
mov byte [esi + eax], dl
inc eax
cmp eax, ecx
jb 0x410c3d
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esi - 8], eax
mov dword [esi - 4], ecx
pop esi
xor eax, eax
pop ebx
add esp, 0x88
ret
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esi], edx
mov dword [esi + 4], eax
pop esi
xor eax, eax
pop ebx
add esp, 0x88
ret