joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406520
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x427ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x433ae0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
cmp byte [eax], 0
je 0x406702
call fcn.004070a9
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40656e
push 0x80004005
call fcn.00401420
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0
call fcn.00411a2a
lea ecx, [esp + 0x50]
mov byte [esp + 0x3c], 1
mov edx, dword [esp + 0x4c]
push ecx
push edx
call fcn.004159d8
mov esi, eax
add esi, 1
add esp, 8
test esi, esi
jle 0x4066ba
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._i:_t_i
call fcn.004161e5
mov edi, eax
push esi
add edi, esi
call fcn.00407021
push edi
mov dword [esp + 0x2c], eax
call fcn.00407021
mov ecx, dword [esp + 0x60]
mov ebx, eax
lea eax, [esp + 0x64]
push eax
push ecx
push esi
mov esi, dword [esp + 0x38]
push esi
call fcn.00415b40
add esp, 0x24
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._i_t_i:_s
push edi
push ebx
call fcn.004161aa
mov ebp, dword [esp + 0x5c]
add esp, 0x18
cmp dword [ebp + 0x10], 0
je 0x4066ab
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406626
sub eax, edx
push eax
call fcn.00407021
mov esi, eax
mov eax, dword [esp + 0x4c]
add esp, 4
test eax, eax
jne 0x40664c
mov edx, dword [ebp + 0x10]
push 0xc
push edx
jmp 0x40665f
cmp eax, 1
jne 0x406659
mov eax, dword [ebp + 0x10]
push 0xb
push eax
jmp 0x40665f
mov ecx, dword [ebp + 0x10]
push 7
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406670
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push 0
push 0
sub eax, edx
mov edx, dword [ebp + 0x10]
push eax
push ebx
push edx
call edi
mov eax, dword [ebp + 0x10]
push 0
push 0
push 1
push 0x42d8b8
push eax
call edi
push esi
call fcn.0040701c
mov esi, dword [esp + 0x1c]
add esp, 4
push esi
call fcn.0040701c
push ebx
call fcn.0040701c
add esp, 8
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 8]
push 0
push 1
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0
call fcn.00411afe
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406702
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x410b4b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x410b8e
call fcn.0040b937
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x410b8e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x410ba9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00410702
test ebx, ebx
mov esi, eax
je 0x410ba7
test edi, edi
je 0x410ba7
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41531b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433ae0]
jne 0x415325
repz ret
jmp fcn.00418534
Function at 0x423185
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00418f9b
xor ebx, ebx
cmp dword [0x437a10], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x42325a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4231c5
xor eax, eax
jmp 0x42331e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42c894
push edi
call esi
cmp eax, ebx
je 0x4231be
push eax
call fcn.00418f38
mov dword [esp], 0x42c884
push edi
mov dword [0x437a10], eax
call esi
push eax
call fcn.00418f38
mov dword [esp], 0x42c870
push edi
mov dword [0x437a14], eax
call esi
push eax
call fcn.00418f38
mov dword [0x437a18], eax
lea eax, [ebp - 8]
push eax
call fcn.00416e04
test eax, eax
pop ecx
pop ecx
je 0x423228
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004189af
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x42325a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00418f38
cmp eax, ebx
pop ecx
mov dword [0x437a20], eax
je 0x42325a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00418f38
pop ecx
mov dword [0x437a1c], eax
mov eax, dword [0x437a1c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4232d3
cmp dword [0x437a20], esi
je 0x4232d3
push eax
call fcn.00418fa4
pop ecx
call eax
cmp eax, ebx
je 0x4232a0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x437a20]
call fcn.00418fa4
pop ecx
call eax
test eax, eax
je 0x4232a0
test byte [ebp - 0x18], 1
jne 0x4232d3
lea eax, [ebp - 0xc]
push eax
call fcn.00416e3b
test eax, eax
pop ecx
je 0x4232bb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004189af
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4232ca
or dword [ebp + 0x10], 0x200000
jmp 0x423304
or dword [ebp + 0x10], 0x40000
jmp 0x423304
mov eax, dword [0x437a14]
cmp eax, esi
je 0x423304
push eax
call fcn.00418fa4
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x423304
mov eax, dword [0x437a18]
cmp eax, esi
je 0x423304
push dword [ebp - 4]
push eax
call fcn.00418fa4
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x437a10]
call fcn.00418fa4
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x427004
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x433ae0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00426f99
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004170d0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x427053
cmp dword [ebp - 0x1c], 5
jb 0x42706b
jmp 0x427067
cmp dword [ebp - 0x10], 1
jne 0x42706b
cmp dword [ebp - 0x1c], 4
ja 0x427067
jne 0x42706b
cmp dword [ebp - 0x18], 0
jbe 0x42706b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42c934
call fcn.00426e8a
test eax, eax
jge 0x42708c
mov byte [0x437b54], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041531b
add ebp, 0x78
leave
ret
Function at 0x4077a0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 0x8070], 0
je 0x4077b5
mov eax, 1
pop esi
ret 8
cmp dword [esi + 0x8058], 0
jne 0x4077ac
cmp dword [esi + 0x8068], 0
jne 0x4077cc
call fcn.00407770
mov eax, dword [esi + 0x8068]
test eax, eax
jne 0x4077da
pop esi
ret 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ProcessCommand
push eax
call edi
mov dword [esi + 0x8078], eax
mov eax, dword [esi + 0x8068]
push str.DecryptMessage
push eax
call edi
mov ecx, dword [esi + 0x8068]
push str.EncryptMessage
push ecx
mov dword [esi + 0x807c], eax
call edi
mov edx, dword [esi + 0x8068]
push str.EncryptData
push edx
mov dword [esi + 0x8080], eax
call edi
mov dword [esi + 0x8084], eax
mov eax, dword [esi + 0x8068]
push str.DecryptData
push eax
call edi
mov ecx, dword [esi + 0x8068]
push str.InitGSS
push ecx
mov dword [esi + 0x8088], eax
call edi
mov edx, dword [esi + 0x8068]
push str.KillGSS
push edx
mov dword [esi + 0x808c], eax
call edi
mov dword [esi + 0x8090], eax
mov eax, dword [esi + 0x8068]
push str.DoClientAuth
push eax
call edi
mov ecx, dword [esi + 0x8068]
push str.ProcessReply
push ecx
mov dword [esi + 0x8094], eax
call edi
mov edx, dword [esi + 0x8068]
push str.GetUserFromKrbTicket
push edx
mov dword [esi + 0x8098], eax
call edi
cmp dword [esi + 0x8078], 0
mov dword [esi + 0x809c], eax
je 0x407935
cmp dword [esi + 0x808c], 0
je 0x407935
cmp dword [esi + 0x8090], 0
je 0x407935
cmp dword [esi + 0x807c], 0
je 0x407935
cmp dword [esi + 0x8080], 0
je 0x407935
cmp dword [esi + 0x8084], 0
je 0x407935
cmp dword [esi + 0x8088], 0
je 0x407935
cmp dword [esi + 0x8094], 0
je 0x407935
cmp dword [esi + 0x8098], 0
je 0x407935
test eax, eax
je 0x407935
cmp dword [esp + 0xc], 0
mov edi, 1
jne 0x407942
push 4
call fcn.004596f4
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x808c]
push ecx
push esi
push 0x4081d0
push eax
mov dword [esi + 0x806c], eax
call edx
add esp, 0x14
test eax, eax
jne 0x40793c
call fcn.00407740
pop edi
xor eax, eax
pop esi
ret 8
mov dword [esi + 0x8058], edi
mov dword [esi + 0x8070], edi
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x409d90
Capabilities:
Send data
Send data on socket

Disassembly:
cmp dword [ecx + 0x38], 0
je 0x409da0
mov ecx, dword [ecx + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
jmp eax
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
mov edx, dword [esp + 8]
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
ret 0xc

Function at 0x40a160
Capabilities:
Connect socket

Disassembly:
mov edx, dword [esp + 8]
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
push edx
je 0x40a18a
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
push edx
call eax
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
jmp 0x40a1a3
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov esi, edx
test esi, esi
jne 0x40a1b3
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x40a1bf
mov ecx, 2
mov eax, edi
call fcn.0040a940
pop edi
mov eax, esi
pop esi
ret 8

Function at 0x40a4d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x48e4f0]
xor eax, esp
mov dword [esp + 0x88], eax
push edi
mov edi, ecx
cmp esi, 0xffffffff
je 0x40a5a4
test esi, esi
je 0x40a5a4
call fcn.00409930
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov dword [edi + 4], esi
call fcn.0045bfd0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push esi
mov dword [esp + 0x10], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x40a5a4
movzx eax, word [esp + 8]
mov dword [edi + 0xc], eax
call fcn.00409810
cmp dword [edi + 0x38], 0
mov eax, edi
je 0x40a587
mov ecx, dword [edi + 8]
push 0x3f
add ecx, 0x403
push ecx
mov dword [edi + 0x1c], 0x3f
call fcn.0040a7a0
mov edx, dword [edi + 4]
push eax
push edx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
neg eax
sbb eax, eax
inc eax
pop edi
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004593ed
mov esp, ebp
pop ebp
ret
mov ecx, 0x3f
call fcn.0040a5c0
pop edi
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004593ed
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x8c]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004593ed
mov esp, ebp
pop ebp
ret

Function at 0x40a900
Capabilities:
Set socket configuration

Disassembly:
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8
Function at 0x40bc00
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x40bc12
push eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret
mov eax, ecx
call fcn.0040c4b0
test eax, eax
jne 0x40bc2c
push 0x2736
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret
mov eax, ecx
call fcn.0040c4b0
cmp eax, 1
je 0x40bc74
mov eax, ecx
call fcn.0040c4b0
cmp eax, 2
je 0x40bc74
mov eax, ecx
call fcn.0040c4b0
cmp eax, 3
je 0x40bc74
cmp dword [ecx + 0x2c], 0
push edx
push esi
push edi
jne 0x40bc69
mov eax, dword [ecx + 4]
call fcn.0040a790
push eax
call dword [sym.imp.WS2_32.dll_send]
ret
mov ecx, dword [ecx + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x44]
call edx
ret
push 0x2749
call dword [sym.imp.WS2_32.dll_WSASetLastError]
or eax, 0xffffffff
ret
Function at 0x40c0d0
Capabilities:
Connect socket

Disassembly:
cmp dword [edi + 0x2c], 0
push esi
push eax
push edx
je 0x40c0e7
mov ecx, dword [edi + 0x2c]
mov esi, dword [ecx]
mov eax, dword [esi + 0x20]
call eax
mov esi, eax
jmp 0x40c100
mov eax, dword [edi + 4]
call fcn.0040a790
push eax
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
test esi, esi
jne 0x40c111
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x40c11d
mov edx, 2
mov ecx, edi
call fcn.0040c4c0
mov eax, esi
pop esi
ret
Function at 0x40cb10
Capabilities:
Connect socket

Disassembly:
sub esp, 8
push ebx
push ebp
push edi
mov edi, dword [esi + 4]
call fcn.00409830
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov ebp, dword [sym.imp.WS2_32.dll_closesocket]
push ecx
call ebp
mov edx, dword [esi + 4]
or ebx, 0xffffffff
mov dword [edx + 4], ebx
cmp dword [esi + 0x20], 0
mov dword [esp + 0x10], 0
je 0x40cca6
jmp 0x40cb50
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esi + 4]
mov dword [ecx + 4], eax
mov edi, dword [esi + 4]
cmp dword [edi + 4], ebx
je 0x40cc7c
call fcn.00409810
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 4]
call fcn.0040a5c0
test eax, eax
jne 0x40cba7
mov edi, dword [esi + 4]
call fcn.00409830
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
push eax
call ebp
mov ecx, dword [esi + 4]
mov dword [ecx + 4], ebx
jmp 0x40cc7c
mov edx, dword [esi + 4]
cmp dword [edx + 0x38], 0
je 0x40cbed
mov eax, dword [edx + 8]
add eax, 0x403
push 0x3f
push eax
mov eax, edx
call fcn.0040a7a0
mov ecx, dword [edx + 4]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
test eax, eax
je 0x40cbed
mov edi, dword [esi + 4]
call fcn.00409830
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
push eax
call ebp
mov ecx, dword [esi + 4]
mov dword [ecx + 4], ebx
jmp 0x40cc7c
mov edx, dword [esi + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esi + 4]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 4]
mov ebx, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], eax
call fcn.00409550
test eax, eax
jne 0x40cc32
mov edi, dword [esi + 4]
call fcn.00409830
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
push eax
call ebp
mov ecx, dword [esi + 4]
mov dword [ecx + 4], 0xffffffff
jmp 0x40cc79
mov eax, dword [esi + 0x20]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
push edx
push eax
mov eax, dword [esi + 4]
call fcn.0040a790
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x40cc8f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x40cc8f
mov edi, dword [esi + 4]
call fcn.00409830
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push edx
call ebp
mov eax, dword [esi + 4]
mov dword [eax + 4], 0xffffffff
or ebx, 0xffffffff
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 0x1c]
mov dword [esi + 0x20], edx
test edx, edx
jne 0x40cb50
jmp 0x40cca6
mov edx, 2
mov ecx, esi
call fcn.0040c4c0
mov dword [esp + 0x10], 1
or ebx, 0xffffffff
mov eax, dword [esi + 0x20]
xor edi, edi
cmp eax, edi
je 0x40ccb5
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x20], eax
cmp dword [esi + 0x20], edi
jne 0x40ccca
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x491228]
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov edx, dword [esi + 4]
cmp dword [edx + 4], ebx
je 0x40cce1
cmp dword [esp + 0x10], edi
je 0x40cce1
mov al, 1
pop edi
pop ebp
pop ebx
add esp, 8
ret
pop edi
pop ebp
xor al, al
pop ebx
add esp, 8
ret
Function at 0x4196d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470974
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x48e4f0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
call fcn.004013d0
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [esi], vtable.CUser.0
xor eax, eax
mov dword [esi + 0x100], 7
mov dword [esi + 0xfc], edi
mov word [esi + 0xec], ax
mov bl, 1
mov byte [esp + 0x38], bl
push 0x64
mov dword [esi + 0x110], edi
call fcn.004596f4
add esp, 4
cmp eax, edi
je 0x419865
mov dword [esi + 0x10c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x10c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x10c]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x10c]
mov byte [ecx + 0x60], bl
mov edx, dword [esi + 0x10c]
mov byte [edx + 0x61], bl
mov byte [esp + 0x38], 2
push 0x48
mov dword [esi + 0x120], edi
call fcn.004596f4
add esp, 4
cmp eax, edi
je 0x41983c
mov dword [esi + 0x11c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x11c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x11c]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x11c]
mov byte [eax + 0x44], bl
mov ecx, dword [esi + 0x11c]
mov byte [ecx + 0x45], bl
mov byte [esp + 0x38], 3
push 0x48
mov dword [esi + 0x130], edi
call fcn.004596f4
add esp, 4
cmp eax, edi
je 0x419813
mov dword [esi + 0x12c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x12c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x12c]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x12c]
mov byte [edx + 0x44], bl
mov eax, dword [esi + 0x12c]
mov byte [eax + 0x45], bl
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edi
call fcn.004595b5
push 0x487be8
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], vtable.std::bad_alloc.0
call fcn.0045c38b
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], edi
call fcn.004595b5
push 0x487be8
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], vtable.std::bad_alloc.0
call fcn.0045c38b
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edi
call fcn.004595b5
push 0x487be8
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], vtable.std::bad_alloc.0
call fcn.0045c38b
int3
Function at 0x421540
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x47357b
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x48e4f0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e4f0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x88]
mov esi, ebp
mov dword [esp + 0x1c], ebp
call fcn.00409220
xor edi, edi
mov dword [esp + 0x80], edi
mov dword [ebp], vtable.CExternalIpCheck.0
xor eax, eax
mov dword [ebp + 0x6c], 7
mov dword [ebp + 0x68], edi
mov word [ebp + 0x58], ax
mov ecx, dword [esp + 0x8c]
push edi
push 0x7530
mov byte [esp + 0x88], 1
push edi
push edi
mov dword [ebp + 0x80], ecx
mov dword [ebp + 0x84], edi
mov dword [ebp + 0x78], edi
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp + 0x80]
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x88], edi
mov dword [ebp + 0x74], edi
mov dword [ebp + 0x7c], edi
mov eax, dword [edx + 0x18]
push eax
lea eax, [edi + 0xc]
call fcn.0042c450
or eax, edx
je 0x421735
mov ecx, dword [ebp + 0x80]
mov edx, dword [ecx + 0x18]
push edx
lea eax, [edi + 0xc]
call fcn.0042c450
cmp eax, 2
jne 0x421620
cmp edx, edi
jne 0x421620
mov ecx, ebp
call fcn.00421ef0
jmp 0x421735
mov eax, dword [ebp + 0x80]
mov ecx, dword [eax + 0x18]
push ecx
mov eax, 0xc
call fcn.0042c450
cmp eax, 1
jne 0x421735
cmp edx, edi
jne 0x421735
mov ecx, dword [ebp + 0x80]
mov ecx, dword [ecx + 0x18]
lea edx, [esp + 0x3c]
push edx
mov eax, 0xd
call fcn.0042c2d0
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 2
call fcn.004210e0
cmp dword [eax + 0x14], 0x10
jb 0x42167a
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp dword [esp + 0x34], 0x10
mov esi, eax
jb 0x421697
mov edx, dword [esp + 0x20]
push edx
call fcn.004593e2
add esp, 4
cmp esi, 0xffffffff
jne 0x4216d8
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x20]
call fcn.004210e0
cmp dword [eax + 0x14], 0x10
jb 0x4216b1
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
lea esi, [esp + 0x20]
mov dword [esp + 0x18], eax
call fcn.00420e00
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x421758
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov esi, dword [ecx]
push esi
call dword [sym.imp.WS2_32.dll_inet_ntoa]
cmp eax, edi
je 0x42172c
lea edx, [esp + 0x20]
push edx
mov ecx, eax
call fcn.0041cac0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 3
call fcn.00421340
add esp, 4
mov edi, eax
lea eax, [ebp + 0x58]
mov byte [esp + 0x80], 4
call fcn.00402ba0
lea ecx, [esp + 0x58]
call fcn.004044f0
lea esi, [esp + 0x20]
call fcn.00420e00
lea ecx, [esp + 0x3c]
call fcn.004044f0
mov eax, ebp
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004593ed
add esp, 0x70
ret 8
mov ecx, ebp
call fcn.004098a0
inc dword [ebp + 0x78]
mov dword [ebp + 0x84], edi
jmp 0x42172c
Function at 0x422750
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x473030
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x48e4f0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48e4f0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x48]
cmp dword [ebp + 0xc], 0xffffffff
mov eax, dword [esp + 0x4c]
je 0x422861
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], cx
mov dword [esp + 0x40], ebx
cmp eax, ebx
je 0x4227c7
test eax, 0xffff0000
jne 0x4227c7
movzx eax, ax
push eax
lea eax, [esp + 0x1c]
call fcn.00406620
jmp 0x4227d6
push eax
lea ebx, [esp + 0x1c]
call fcn.00406760
add esp, 4
xor ebx, ebx
lea edi, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.00421070
cmp dword [esp + 0x2c], 8
mov esi, eax
jb 0x4227fd
mov edx, dword [esp + 0x18]
push edx
call fcn.004593e2
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
cmp esi, ebx
je 0x422882
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x422820
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea ecx, [esp + 0x18]
push ecx
sub eax, edx
mov edx, dword [ebp + 0xc]
push eax
push esi
push edx
call edi
test eax, eax
je 0x422868
mov ecx, dword [ebp + 0xc]
push ebx
lea eax, [esp + 0x18]
push eax
push 2
push 0x47e7e4
push ecx
call edi
test eax, eax
je 0x422868
push esi
call fcn.00459522
add esp, 4
mov eax, 1
jmp 0x422884
push esi
call fcn.00459522
mov edx, dword [ebp + 0xc]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0xc], 0xffffffff
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004593ed
add esp, 0x30
ret 8
Function at 0x424e20
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret