joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004377
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x10004386
pop dword [ebp - 8]
mov eax, 0xa167448b
add eax, 0x6e98fefb
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x2c186a03
add dword [ebp - 0x18], 0x2239db48
mov dword [ebp - 0x14], 0xf208d941
sub dword [ebp - 0x14], 0xbfd58cfc
mov dword [ebp - 0x10], 0x2bbdcc26
add dword [ebp - 0x10], 0x208e7808
mov dword [ebp - 0xc], 0x98d70136
sub dword [ebp - 0xc], 0x98d70136
lea eax, [ebp - 0x18]
push eax
mov eax, 0x4010d905
sub eax, 0x301088ad
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xeb784ebb
sub dword [ebp - 0x18], 0x7705e565
mov dword [ebp - 0x14], 0x43fe35a0
sub dword [ebp - 0x14], 0x291d42b
mov dword [ebp - 0x10], 0x24e225d6
add dword [ebp - 0x10], 0x3e8d4696
mov dword [ebp - 0xc], 0x6ef15274
sub dword [ebp - 0xc], 0x6ef15274
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3d62c
push 0
call eax
mov ecx, 0x8e910777
sub ecx, 0x8e90a41e
mov esi, eax
mov edi, 0xc17ee4d7
sub edi, 0xb17e3cd7
add edi, dword [ebp - 8]
mov ebx, 0xf307fe19
sub ebx, 0xc0367622
add dword [ebp - 4], ebx
mov edx, dword [edi]
add dword [ebp - 4], ebx
sub edx, ebx
add dword [ebp - 4], ebx
mov dword [esi], edx
xor dword [ebp - 4], eax
add esi, 0x57247335
add esi, 0xa8db8ccf
add edi, 0xe0690496
sub edi, 0xe0690492
loop 0x100044a3
add eax, 0x82e1978
sub eax, 0x82c9941
xor ebx, ebx
add ebx, eax
add eax, 0x5870ddab
sub eax, 0x5870dda6
mov ecx, 0xc0ebbe81
add ecx, 0x4f14417f
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x5b2ae0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15c000]
push edi
jmp 0x5b2afa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5b2b01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b2af0
mov eax, 1
add ebx, ebx
jne 0x5b2b13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5b2b24
jne 0x5b2b43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b2b43
dec eax
add ebx, ebx
jne 0x5b2b30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5b2b08
add ebx, ebx
jne 0x5b2b3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5b2b95
xor ecx, ecx
sub eax, 3
jb 0x5b2b5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5b2bca
sar eax, 1
mov ebp, eax
jmp 0x5b2b66
add ebx, ebx
jne 0x5b2b66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b2b34
inc ecx
add ebx, ebx
jne 0x5b2b74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b2b34
add ebx, ebx
jne 0x5b2b81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5b2b76
jne 0x5b2b92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5b2b76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5b2bb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5b2ba6
jmp 0x5b2af6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5b2bb4
add edi, ecx
jmp 0x5b2af6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5b2bd2
cmp byte [edi], 0x11
jne 0x5b2bd2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5b2bd7
lea edi, [esi + 0x1ab000]
mov eax, dword [edi]
or eax, eax
je 0x5b2c4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28bfc0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28c13c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5b2c04
mov ecx, edi
jns 0x5b2c33
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x28c140]
or eax, eax
je 0x5b2c49
mov dword [ebx], eax
add ebx, 4
jmp 0x5b2c21
call dword [esi + 0x28c150]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5b2c80
cmp al, 0xef
ja 0x5b2c73
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5b2c55
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5b2c62
mov ebp, dword [esi + 0x28c144]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5b2cb4
sub esp, 0xffffff80
jmp 0x427f4a
Function at 0x411c00
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4d58
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1a8], ecx
mov ecx, dword [ebp - 0x1a8]
call fcn.00475f9f
push 0
mov ecx, dword [ebp - 0x1a8]
call fcn.00412dc0
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
je 0x411ccb
push 4
lea ecx, [ebp - 0x14]
call fcn.00408330
lea ecx, [ebp - 0x14]
call fcn.00413900
mov dword [ebp - 4], 0
push 0x65
lea ecx, [ebp - 0x14]
call fcn.00413400
mov dword [ebp - 0x1b0], eax
lea ecx, [ebp - 0x14]
call fcn.00412d90
movzx eax, al
test eax, eax
jne 0x411cbc
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0x1ac]
call fcn.00412e10
lea ecx, [ebp - 0x14]
call fcn.00405b90
push eax
push 0x10
push 0
mov ecx, dword [ebp - 0x1ac]
call fcn.00412e10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00413940
push 1
mov ecx, dword [ebp - 0x1a8]
mov edx, dword [ecx + 0xbc]
push edx
mov ecx, dword [ebp - 0x1a8]
call fcn.00412d60
push 0
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax + 0xbc]
push ecx
mov ecx, dword [ebp - 0x1a8]
call fcn.00412d60
lea edx, [ebp - 0x1a4]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [ebp - 0x1a8]
call fcn.00411ab0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587f6a
mov esp, ebp
pop ebp
ret

Function at 0x4130e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x413104
xor eax, eax
jmp 0x413184
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41311b
xor eax, eax
jmp 0x413184
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x413167
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x413167
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x41313e
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x413173
xor eax, eax
jmp 0x413184
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x413181
xor eax, eax
jmp 0x413184
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x424450
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c62d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.00408330
lea ecx, [ebp - 0x1c]
call fcn.00409f00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00451ee0
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.0040b8c0
test eax, eax
jne 0x4244bc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040b840
jmp 0x4244f8
cmp dword [0x6426f4], 1
jne 0x4244ca
call fcn.00423c80
cmp dword [0x650f78], 0
je 0x4244e2
mov ecx, dword [0x650f78]
push ecx
call fcn.00422600
add esp, 4
push 0
call fcn.005895e2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040b840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587f6a
mov esp, ebp
pop ebp
ret

Function at 0x426fe0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6828
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0
push 0x613d06
lea ecx, [ebp - 0x2c]
call fcn.00406640
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x14], 2
jl 0x427083
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.0042ff70
add esp, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040f610
lea ecx, [ebp - 0x54]
call fcn.004066d0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406680
mov edx, dword [ebp - 0x34]
or edx, 1
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004066d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587f6a
mov esp, ebp
pop ebp
ret
Function at 0x436be0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c785b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x614bc8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x230]
push edx
call fcn.0042ff70
add esp, 8
mov dword [ebp - 4], 0
push 0x613e06
lea eax, [ebp - 0x230]
push eax
call fcn.0040a150
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x436c7c
push 0x614bd8
lea ecx, [ebp - 0x230]
call fcn.00408b60
jmp 0x436ca7
lea ecx, [ebp - 0x230]
call fcn.00406750
push eax
call fcn.0043ce90
add esp, 4
movzx edx, al
test edx, edx
jne 0x436ca7
push 0x614bdc
lea ecx, [ebp - 0x230]
call fcn.00408b60
push 1
push 0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.004304a0
lea ecx, [ebp - 0x248]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406680
mov edx, dword [ebp - 0x24c]
or edx, 1
mov dword [ebp - 0x24c], edx
lea ecx, [ebp - 0x248]
call fcn.004066d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004066d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587f6a
mov esp, ebp
pop ebp
ret
Function at 0x43cc40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
jne 0x43cc5a
xor eax, eax
jmp 0x43cd49
mov eax, dword [ebp + 8]
push eax
call fcn.00589fa8
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [ebp - 1], cl
add dword [ebp - 0x14], 1
cmp byte [ebp - 1], 0
jne 0x43cc78
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
jmp 0x43ccab
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x20]
jge 0x43cd14
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x43cccf
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
movsx eax, byte [edx]
cmp eax, 0x2f
jne 0x43cd12
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
mov byte [ecx], 0
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00589ff8
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43cd09
mov eax, dword [ebp - 8]
push eax
call fcn.0058a058
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43cd09
or eax, 0xffffffff
jmp 0x43cd49
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
mov byte [ecx], 0x2f
jmp 0x43cca2
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00589ff8
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43cd3a
mov eax, dword [ebp - 8]
push eax
call fcn.0058a058
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.005887a4
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x43ce90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x43ceab
xor al, al
jmp 0x43ceb9
mov ecx, dword [ebp - 4]
and ecx, 0x10
je 0x43ceb7
mov al, 1
jmp 0x43ceb9
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x440500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8308
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x40], 0
je 0x440540
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x44054c
mov al, 1
jmp 0x4406ef
mov dword [ebp - 0x54], 8
call fcn.00404fb0
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x40], eax
call fcn.00404fb0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.00404f80
add esp, 8
movzx eax, al
test eax, eax
je 0x44058f
xor al, al
jmp 0x4406ef
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.004070b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040f6f0
mov ecx, eax
call fcn.0040ba10
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00406b70
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f6f0
mov ecx, eax
call fcn.0040ba10
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x40]
call fcn.00440a90
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x44060a
cmp dword [ebp - 0x3c], 1
je 0x440611
cmp dword [ebp - 0x3c], 3
je 0x4406ab
jmp 0x4406c3
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040f6f0
mov ecx, eax
call fcn.0040ba10
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x440674
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f6f0
mov ecx, eax
call fcn.0040ba10
push eax
call fcn.0058ad1d
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x440674
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004066d0
mov al, byte [ebp - 0x34]
jmp 0x4406ef
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x440697
mov byte [ebp - 0x31], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004066d0
mov al, byte [ebp - 0x31]
jmp 0x4406ef
cmp dword [ebp - 0x38], 0
jne 0x4406a9
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00434430
jmp 0x4406db
mov byte [ebp - 0x33], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004066d0
mov al, byte [ebp - 0x33]
jmp 0x4406ef
mov byte [ebp - 0x32], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004066d0
mov al, byte [ebp - 0x32]
jmp 0x4406ef
jmp 0x4405a2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587f6a
mov esp, ebp
pop ebp
ret
Function at 0x442ea0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c85d0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x20]
call fcn.00427d60
mov byte [ebp - 0x25], 0
lea ecx, [ebp + 8]
call fcn.00406750
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x442f8c
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
cmp dword [ecx + edx*4], 0
je 0x442f8a
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x48]
call fcn.00406640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.00431830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004066d0
mov byte [ebp - 0x25], 1
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x442efe
jmp 0x442f90
mov byte [ebp - 0x25], 0
mov cl, byte [ebp - 0x25]
mov byte [ebp - 0x26], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004066d0
mov al, byte [ebp - 0x26]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587f6a
mov esp, ebp
pop ebp
ret
Function at 0x445580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8853
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x641490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00406610
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x2a], 0
mov edx, dword [ebp - 0x10]
mov dword [edx], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0xffffffff
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004070f0
mov ecx, dword [ebp - 0x10]
mov dx, word [ebp + 0x20]
mov word [ecx + 0x28], dx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x2a], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0x1f40
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0x1f40
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0xf
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0xf
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 0x1388
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 0x12c
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004066d0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x445be0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8903
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x6c]
call fcn.004104d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x7c]
movzx ecx, byte [eax + 0x2a]
test ecx, ecx
je 0x445c3b
mov dword [ebp - 0x84], 1
jmp 0x445c45
mov dword [ebp - 0x84], 0
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x20], edx
push 4
lea eax, [ebp - 0x20]
push eax
push 1
push 6
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x3c], 0
je 0x445c89
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 1
jmp 0x445c9e
mov dword [ebp - 0x18], 0x124f80
mov dword [ebp - 0x14], 0x7d0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
push 0xc
lea eax, [ebp - 0x78]
push eax
push 0xc
lea ecx, [ebp - 0x1c]
push ecx
push 0x98000004
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xffffffff
jne 0x445d81
mov byte [ebp - 0x6c], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0xc4]
push ecx
call fcn.004087a0
add esp, 8
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x8c]
push eax
push 0x615470
lea ecx, [ebp - 0xac]
push ecx
call fcn.00408b80
add esp, 0xc
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
push edx
lea ecx, [ebp - 0x68]
call fcn.0040f610
lea ecx, [ebp - 0xac]
call fcn.004066d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.004066d0
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b4e0
mov ecx, dword [ebp - 0x80]
or ecx, 1
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00409a40
mov eax, dword [ebp + 8]
jmp 0x445db9
mov byte [ebp - 0x6c], 1
push 0x6140a2
lea ecx, [ebp - 0x68]
call fcn.00408b60
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041b4e0
mov eax, dword [ebp - 0x80]
or eax, 1
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.00409a40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587f6a
mov esp, ebp
pop ebp
ret 4
Function at 0x445de0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8938
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x5c]
call fcn.004104d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 0x2a]
test ecx, ecx
je 0x445e35
mov dword [ebp - 0x68], 1
jmp 0x445e3c
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x14], edx
push 4
lea eax, [ebp - 0x14]
push eax
push 1
push 6
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov byte [ebp - 0x5c], 1
push 0x6140a3
lea ecx, [ebp - 0x58]
call fcn.00408b60
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b4e0
mov ecx, dword [ebp - 0x60]
or ecx, 1
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00409a40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00587f6a
mov esp, ebp
pop ebp
ret 4