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

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x608], 0
je 0x43531f
push esi
push 1
push edi
call fcn.004281a0
mov esi, dword [edi + 0x608]
add esp, 8
mov ecx, esi
push dword [edi + 0x59c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [0x49b388]
call esi
push 0
push edi
mov esi, eax
call fcn.004281a0
add esp, 0x1c
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0x435355
push dword [edi + 0x598]
lea eax, [eax + eax*2]
push 1
add eax, 0x49eac8
push 2
push eax
call fcn.00476df0
push dword [edi + 0x598]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00476df0
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4bd0c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ecx + eax*4 + 0x420]
push edi
mov edi, dword [ebp + 0x10]
push eax
push ecx
mov dword [ebp - 0x108], ecx
call fcn.00435bb0
add esp, 8
push 0
push dword [ebp + 0x14]
push edi
push esi
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
mov dword [ebx], 0
cmp esi, 0xffffffff
jne 0x43579a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x43575c
pop edi
pop esi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e338
mov esp, ebp
pop ebp
ret
push 0x100
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.00422b90
push eax
mov eax, dword [ebp - 0x108]
push str.Send_failure:__s
push dword [eax]
call fcn.00435360
mov eax, dword [ebp - 0x108]
add esp, 0x18
mov eax, dword [eax]
mov dword [eax + 0xd34], edi
mov eax, esi
mov dword [ebx], 0x37
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e338
mov esp, ebp
pop ebp
ret
Function at 0x435bb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ecx + 0x44]
mov eax, dword [ebx + 0x540]
shl edi, 4
add edi, ebx
mov esi, dword [edi + 4]
sub esi, dword [edi + 8]
test byte [eax + 0x40], 3
je 0x435c84
cmp dword [ebx + ecx*4 + 0x430], 0x4355f0
jne 0x435c84
cmp dword [edi], 0
je 0x435bf9
test esi, esi
je 0x435c84
mov eax, dword [ebx + ecx*4 + 0x420]
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov dword [ebp - 4], eax
call fcn.00447b70
add esp, 0x14
cmp eax, 0xffffffff
je 0x435c84
test al, 1
je 0x435c84
mov ecx, dword [edi]
test ecx, ecx
jne 0x435c5d
mov eax, dword [ebx]
mov eax, dword [eax + 0x90c]
add eax, eax
mov dword [edi + 4], eax
mov esi, dword [fcn.00477700]
mov ecx, esi
push eax
call dword [0x49b388]
call esi
mov esi, dword [edi + 4]
mov ecx, eax
add esp, 4
mov dword [edi], ecx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
test ecx, ecx
je 0x435c7d
mov eax, dword [edi + 8]
push 0
push esi
add eax, ecx
push eax
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x435c84
add dword [edi + 8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x436610
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4bed40]
mov dword [ebp - 8], 0x4020
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
test eax, eax
jne 0x436661
push 3
push 2
push eax
push 6
call fcn.00437ce0
add esp, 0x10
test al, al
je 0x436655
mov dword [0x4bed40], 2
mov esp, ebp
pop ebp
ret
mov dword [0x4bed40], 1
jmp 0x436666
cmp eax, 2
je 0x4366a6
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x43668d
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jg 0x4366a6
push 4
lea eax, [ebp - 8]
push eax
push 0x1001
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
mov esp, ebp
pop ebp
ret
Function at 0x436910
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4bd0c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x2f8], 3
jne 0x436b3a
cmp byte [esi + 0x501], 0
push ebx
push edi
jne 0x436b2f
cmp byte [esi + 0x518], 0
jne 0x436b2f
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x208]
mov ebx, dword [esi]
push eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x208], pe_nt_image_headers32
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x4369b3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.00422b90
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.00435360
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e338
mov esp, ebp
pop ebp
ret
push pe_nt_image_headers32
lea eax, [ebp - 0x184]
mov dword [ebp - 0x20c], pe_nt_image_headers32
push 0
push eax
call fcn.00470230
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x184]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x436a27
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.00422b90
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.00435360
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e338
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x3a0]
push eax
lea edi, [esi + 0x372]
push edi
push dword [ebp - 0x208]
lea eax, [ebp - 0x204]
push eax
call fcn.00435c90
add esp, 0x10
test al, al
jne 0x436a90
call fcn.00478854
mov esi, dword [eax]
call fcn.00478854
mov edi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.00422b90
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00435360
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e338
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x28]
movups xmmword [esi + 0x2c4], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi + 0x2d4], xmm0
movq xmm0, qword [edi + 0x20]
movq qword [esi + 0x2e4], xmm0
mov dword [esi + 0x2ec], eax
mov ax, word [edi + 0x2c]
mov word [esi + 0x2f0], ax
lea eax, [esi + 0x3d4]
push eax
lea eax, [esi + 0x3a4]
push eax
push dword [ebp - 0x20c]
lea eax, [ebp - 0x184]
push eax
call fcn.00435c90
add esp, 0x10
test al, al
jne 0x436b2f
call fcn.00478854
mov esi, dword [eax]
call fcn.00478854
mov edi, eax
lea eax, [ebp - 0x104]
push 0x100
push eax
push esi
call fcn.00422b90
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00435360
add esp, 0x1c
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e338
mov esp, ebp
pop ebp
ret
push esi
call fcn.00436530
add esp, 4
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046e338
mov esp, ebp
pop ebp
ret
Function at 0x437600
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4bd0c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
push 4
cmp byte [esi + 0xb0f], al
setne al
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 8
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x43765d
push edi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push esi
call fcn.00435440
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e338
mov esp, ebp
pop ebp
ret
push dword [esi + 0xaac]
mov dword [ebp - 0x10], 1
call fcn.004378b0
push dword [esi + 0xab0]
imul eax, eax, 0x3e8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
call fcn.004378b0
add esp, 8
imul eax, eax, 0x3e8
push 0
push 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x98000004
push edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x4376cd
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push edi
push str.Failed_to_set_SIO_KEEPALIVE_VALS_on_fd__d:__d_n
push esi
call fcn.00435440
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046e338
mov esp, ebp
pop ebp
ret

Function at 0x4376e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4bd0c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 4
mov dword [ebp - 0x108], 1
mov esi, dword [eax]
lea eax, [ebp - 0x108]
push eax
push 1
push 6
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x437744
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00422b90
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.00435440
add esp, 0x18
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0046e338
mov esp, ebp
pop ebp
ret
Function at 0x437b40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x437b5b
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push 0x49ef4c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp + 8]
mov ebx, eax
push 0x49ef5c
push edi
call fcn.0047f024
add esp, 8
test eax, eax
je 0x437bac
test ebx, ebx
je 0x437b9c
push 8
push 0
push edi
mov ecx, ebx
call dword [0x49b388]
call ebx
pop edi
mov ebx, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
mov ebx, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x437bdb
push str.AddDllDirectory
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x437bdb
push 0x800
push 0
push edi
mov ecx, ebx
call dword [0x49b388]
call ebx
pop edi
mov ebx, eax
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
je 0x437cc6
mov ecx, edi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437bf7
sub ecx, esi
mov esi, dword [fcn.00477700]
sar ecx, 1
lea eax, [ecx + edx]
mov ecx, esi
lea eax, [eax*2 + 2]
push eax
call dword [0x49b388]
call esi
mov esi, eax
add esp, 4
test esi, esi
je 0x437ca7
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x437ca7
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437c41
sub ecx, edx
sar ecx, 1
mov dword [esi + ecx*2], 0x5c
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437c60
sub ecx, edx
sar ecx, 1
add ecx, ecx
sub ecx, edi
add ecx, esi
movzx eax, word [edi]
lea edi, [edi + 2]
mov word [ecx + edi - 2], ax
test ax, ax
jne 0x437c75
test ebx, ebx
je 0x437c9c
push 8
push 0
push esi
mov ecx, ebx
call dword [0x49b388]
call ebx
mov ebx, eax
jmp 0x437ca9
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
jmp 0x437ca9
xor ebx, ebx
push esi
mov esi, dword [fcn.00477060]
mov ecx, esi
call dword [0x49b388]
call esi
add esp, 4
mov eax, ebx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
xor ebx, ebx
pop edi
mov eax, ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x437e50
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4bd0c8]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [ebp + 8], 2
je 0x437ea9
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x437e96
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x437e90
shr eax, 8
cmp al, 2
je 0x437ea9
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e338
mov esp, ebp
pop ebp
ret
call fcn.0044f6c0
test eax, eax
jne 0x437f0b
push str.iphlpapi.dll
call fcn.00437b40
add esp, 4
mov dword [0x4bed48], eax
test eax, eax
je 0x437ee5
push str.if_nametoindex
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x4bed44]
test eax, eax
cmovne ecx, eax
mov dword [0x4bed44], ecx
push 3
push 2
push 0
push 6
call fcn.00437ce0
add esp, 0x10
test al, al
setne byte [0x4c0830]
push 0x4c0838
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e338
mov esp, ebp
pop ebp
ret

Function at 0x43a340
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0x14]
push esi
push 0
push dword [ebp + 0x10]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], esi
call fcn.00470230
add esp, 0xc
lea eax, [ebp - 8]
push 0xf0000000
push dword [ebp + 0x18]
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x43a40e
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [ebp + 0x1c]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x43a3f0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x43a3f0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x43a3f0
cmp esi, dword [ebp - 0xc]
jb 0x43a3f0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [ebp - 4]
test eax, eax
je 0x43a3fe
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
test eax, eax
je 0x43a40e
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43d8c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043d820

Function at 0x43fbb0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x548], 2
jne 0x43fbc8
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0043fb70
mov al, 1
pop ebp
ret
Function at 0x43fd60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43fd8b
cmp dword [esi + 0x80], 0
je 0x43fd8b
push 2
push 3
push esi
call fcn.00439d50
push dword [ebp + 0xc]
call fcn.0043f6f0
add esp, 0x10
jmp 0x43fd9a
push dword [ebp + 0xc]
call fcn.0043f6f0
add esp, 4
test esi, esi
je 0x43fdae
cmp dword [esi + 0x80], 0
je 0x43fdae
push 3
push esi
call fcn.00439da0
add esp, 8
pop esi
pop ebp
ret
Function at 0x44b050
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
push esi
push edi
xor edi, edi
mov dword [eax], edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 8], edi
push dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x44b1c2
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x44b231
push ebx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x44b0a0
mov eax, 0x10
jmp 0x44b0ae
cmp eax, 0x17
jne 0x44b186
mov eax, 0x1c
cmp dword [esi + 0x18], 0
mov dword [ebp - 0xc], eax
je 0x44b186
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x44b186
cmp ecx, eax
jb 0x44b186
mov edi, dword [fcn.00477700]
mov ecx, edi
push 0x20
call dword [0x49b388]
call edi
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44b21d
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov edi, dword [fcn.00477700]
mov ecx, edi
push eax
call dword [0x49b388]
call edi
add esp, 4
mov dword [ebx + 0x18], eax
test eax, eax
je 0x44b1fc
push dword [ebp - 0xc]
push dword [esi + 0x18]
push eax
call fcn.0046fcb0
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je 0x44b16e
mov edi, dword [0x4bd058]
mov ecx, edi
push eax
call dword [0x49b388]
call edi
add esp, 4
mov dword [ebx + 0x14], eax
test eax, eax
je 0x44b1c8
mov edi, dword [ebp - 8]
test edi, edi
mov eax, dword [ebp - 0x10]
cmove edi, ebx
mov dword [ebp - 8], edi
test eax, eax
je 0x44b183
mov dword [eax + 0x1c], ebx
mov dword [ebp - 0x10], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x44b091
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
pop ebx
test eax, eax
je 0x44b1a3
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test edi, edi
je 0x44b22a
push dword [ebp - 8]
call fcn.0044aff0
add esp, 4
xor edi, edi
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp - 4]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebx + 0x18]
mov esi, dword [fcn.00477060]
mov edi, 8
mov ecx, esi
mov dword [ebp - 4], edi
call dword [0x49b388]
call esi
mov esi, dword [fcn.00477060]
add esp, 4
mov ecx, esi
push ebx
call dword [0x49b388]
call esi
add esp, 4
jmp 0x44b194
mov esi, dword [fcn.00477060]
mov edi, 8
push ebx
mov ecx, esi
mov dword [ebp - 4], edi
call dword [0x49b388]
call esi
add esp, 4
jmp 0x44b194
mov edi, 8
mov dword [ebp - 4], edi
jmp 0x44b194
mov edi, dword [ebp - 8]
test edi, edi
jne 0x44b1b8
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp + 0x14]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44b730
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.0047f6fc
add esp, 0x18
test eax, eax
je 0x44b752
cmp eax, 0xffffffff
jne 0x44b754
xor eax, eax
pop ebp
ret
Function at 0x489d2a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004899db

Function at 0x489d35
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00489b65

Function at 0x48fe28
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048faa5
Function at 0x401e1e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4a4fec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x4800b8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
mov eax, 0x47fd28
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
movzx eax, byte [ebp + 8]
push eax
push 0x4a93b8
push 0x47fce4
lea eax, [ebp - 0xcc]
push 0x18
push eax
mov dword [ebp - 0xcc], 0x4800ac
mov dword [ebp - 0xc8], 0x480094
mov dword [ebp - 0xc4], 0x48008c
mov dword [ebp - 0xc0], 0x480078
mov dword [ebp - 0xbc], 0x480070
mov dword [ebp - 0xb8], 0x48005c
mov dword [ebp - 0xb4], 0x480054
mov dword [ebp - 0xb0], 0x48003c
mov dword [ebp - 0xac], 0x480038
mov dword [ebp - 0xa8], 0x480028
mov dword [ebp - 0xa4], 0x48001c
mov dword [ebp - 0xa0], 0x480004
mov dword [ebp - 0x9c], 0x47fff8
mov dword [ebp - 0x98], 0x47ffe0
mov dword [ebp - 0x94], 0x47ffd4
mov dword [ebp - 0x90], 0x47ffb8
mov dword [ebp - 0x8c], 0x47ffac
mov dword [ebp - 0x88], 0x47ff94
mov dword [ebp - 0x84], 0x47ff84
mov dword [ebp - 0x80], 0x47ff68
mov dword [ebp - 0x7c], 0x47ff54
mov dword [ebp - 0x78], 0x47ff3c
mov dword [ebp - 0x74], 0x47ff2c
mov dword [ebp - 0x70], 0x47ff10
mov dword [ebp - 0x6c], 0x47ff00
mov dword [ebp - 0x68], 0x47fee4
mov dword [ebp - 0x64], 0x47fed0
mov dword [ebp - 0x60], 0x47feb0
mov dword [ebp - 0x5c], 0x47fea4
mov dword [ebp - 0x58], 0x47fe8c
mov dword [ebp - 0x54], 0x47fe74
mov dword [ebp - 0x50], 0x47fe50
mov dword [ebp - 0x4c], 0x47fe40
mov dword [ebp - 0x44], 0x47fe2c
mov dword [ebp - 0x3c], 0x47fe20
mov dword [ebp - 0x38], 0x47fe08
mov dword [ebp - 0x34], 0x47fdf8
mov dword [ebp - 0x30], 0x47fddc
mov dword [ebp - 0x2c], 0x47fdcc
mov dword [ebp - 0x28], 0x47fdb0
mov dword [ebp - 0x24], 0x47fda4
mov dword [ebp - 0x20], 0x47fd8c
mov dword [ebp - 0x1c], 0x47fd80
mov dword [ebp - 0x18], 0x47fd68
mov dword [ebp - 0x14], 0x47fd5c
mov dword [ebp - 0x10], 0x47fd44
call fcn.00401da4
mov ecx, dword [ebp - 4]
add esp, 0x14
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0043cac0
leave
ret

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

Disassembly:
cmp dword [0x43189c], 0
push esi
jne 0x426bf9
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x426bd3
mov dword [ecx*4 + 0x431898], eax
inc ecx
cmp ecx, 0x100
jl 0x426bce
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x426c2a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431898]
xor eax, esi
inc ecx
dec edx
jne 0x426c0c
pop edi
not eax
pop esi
ret 0xc
Function at 0x404860
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x43c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x404cb0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov esi, 0x200
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 2
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x24], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
cmp esi, 0x201
jae 0x4048f0
jmp 0x4048de
jbe 0x404987
cmp esi, 0x201
jae 0x4048f0
mov dword [ebp - 0x34], 0x200
lea edi, [ebp - 0x448]
mov ebx, esi
jmp 0x40492b
mov ebx, dword [ebp - 0x20]
mov eax, ebx
sub esi, ebx
sub eax, ebx
cmp esi, eax
jbe 0x40491f
mov dword [ebp - 0x10], 0
push 2
push 2
push esi
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00425210
add esp, 0x14
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x20], ebx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push edi
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x404952
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4049ea
cmp esi, ebx
jne 0x4048d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x404a09
lea esi, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x4048de
jmp 0x4048f0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], 0
cmp esi, eax
ja 0x404a26
lea eax, [ebp - 0x48]
push esi
push edi
push eax
call fcn.00407820
add esp, 0xc
movsd xmm0, qword [ebp - 0x48]
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x40]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4049d4
add eax, eax
push 2
push eax
push dword [ebp - 0x28]
call fcn.00401070
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x43c
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi], 0x80000000
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4049c4
jmp 0x4049d4
mov dword [ebp - 0x10], 0
push 0x426dcc
push 0x28
push 0x426da4
call fcn.00425440
add esp, 0xc
jmp 0x404a35
push 0x426d94
push eax
push esi
call fcn.00425730
add esp, 0xc
ud2