joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418b20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0638
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4e42e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 8]
lea edi, [esi + 8]
test al, al
jne 0x418bbf
lea edx, [esi + 9]
xchg byte [edx], al
push dword [ebp + 0xc]
lea ecx, [esi + 0x10]
call fcn.00418940
mov eax, dword [ebp + 8]
push 8
mov dword [esi + 0x38], eax
call fcn.004723fa
add esp, 4
test eax, eax
je 0x418b82
mov dword [eax], esi
mov dword [eax + 4], 0x418c50
jmp 0x418b84
xor eax, eax
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x418800
push 0
push 0
call fcn.004905a6
add esp, 0x18
mov dword [ebp - 0x14], eax
test eax, eax
je 0x418bd2
cmp dword [esi + 4], 0
jne 0x418be0
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov al, 1
xchg byte [edi], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 6
mov dword [ebp - 0x10], 0
call fcn.0045e0af
call fcn.0048eabe
int3
Function at 0x41f8a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4e42e0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
push edi
mov edi, dword [esp + 0x21c]
test ebx, ebx
je 0x41f928
push 0x104
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.00490650
lea ecx, [esp + 0x14]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f8e2
sub ecx, edx
je 0x41f90b
mov al, byte [esp + ecx + 7]
cmp al, 0x2f
je 0x41f8f9
cmp al, 0x5c
jne 0x41f90b
dec ecx
cmp ecx, 0x104
jae 0x41fa1d
mov byte [esp + ecx + 8], 0
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41f928
push 0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [edi]
test al, al
je 0x41fa01
push esi
mov esi, edi
mov ecx, edi
cmp al, 0x2f
je 0x41f93f
cmp al, 0x5c
jne 0x41f941
mov esi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x41f937
cmp esi, edi
je 0x41f97d
sub esi, edi
lea eax, [esp + 0xc]
push esi
push edi
push eax
call fcn.00489740
add esp, 0xc
cmp esi, 0x104
jae 0x41fa18
lea eax, [esp + 0xc]
mov byte [esp + esi + 0xc], 0
push eax
push ebx
call fcn.0041f8a0
add esp, 8
mov byte [esp + 0x110], 0
test ebx, ebx
je 0x41f99f
push 0x104
lea eax, [esp + 0x114]
push ebx
push eax
call fcn.00490650
add esp, 0xc
lea ecx, [esp + 0x110]
mov byte [esp + 0x213], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f9b1
sub ecx, edx
mov eax, 0x104
sub eax, ecx
push eax
lea eax, [esp + 0x114]
add eax, ecx
push edi
push eax
call fcn.00490650
add esp, 0xc
mov byte [esp + 0x213], 0
lea eax, [esp + 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41fa00
push 0
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop esi
mov ecx, dword [esp + 0x210]
pop edi
pop ebx
xor ecx, esp
call fcn.00472897
add esp, 0x20c
ret
call fcn.00472f5e
call fcn.00472f5e
int3
Function at 0x4200d0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
cmp dword [ebp], 0
jne 0x420262
cmp dword [ebp + 4], 0xffffffff
jne 0x420262
push esi
lea esi, [ebp + 0x140]
push esi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x420100
sub esi, ecx
mov al, byte [esi + ebp + 0x13f]
cmp al, 0x5c
je 0x420122
cmp al, 0x2f
je 0x420122
mov word [esi + ebp + 0x140], 0x2f
push ebx
push edi
mov edi, dword [esp + 0x20]
cmp edi, 1
jne 0x42014f
mov esi, dword [esp + 0x18]
push edi
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42016a
pop edi
pop ebx
pop esi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
cmp edi, 2
je 0x420166
cmp edi, 3
je 0x420166
pop edi
pop ebx
pop esi
mov eax, 0x10000
pop ebp
pop ecx
ret 0xc
mov esi, dword [esp + 0x18]
xor ebx, ebx
xor al, al
mov byte [esp + 0x13], al
mov byte [esp + 0x20], bl
cmp edi, 1
je 0x4201b2
cmp edi, 2
jne 0x4201d0
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4201ab
pop edi
pop ebx
pop esi
mov eax, 0x200
pop ebp
pop ecx
ret 0xc
mov byte [esp + 0x20], 1
jmp 0x4201b9
mov ebx, esi
mov byte [esp + 0x20], 0
push 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
setne al
mov byte [esp + 0x13], al
push 0x20
call fcn.004723fa
add esp, 4
mov esi, eax
cmp edi, 1
je 0x42020d
cmp edi, 2
je 0x42020d
mov eax, dword [esp + 0x18]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov word [esi], pe_nt_image_headers32
mov byte [esi + 0x10], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0xc], 0
jmp 0x420240
mov al, byte [esp + 0x20]
mov byte [esi + 0x10], al
mov al, byte [esp + 0x13]
mov byte [esi], 1
mov byte [esi + 1], al
mov dword [esi + 4], ebx
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
test al, al
je 0x420240
push 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0xc], eax
push esi
call fcn.004234f0
add esp, 4
mov dword [ebp], eax
xor ecx, ecx
mov edx, 0x200
test eax, eax
pop edi
pop ebx
cmove ecx, edx
pop esi
mov eax, ecx
pop ebp
pop ecx
ret 0xc
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc
Function at 0x4230e0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, ebp
imul ebx, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
cmp byte [edi], 0
je 0x423120
push 0
lea eax, [esp + 0x18]
push eax
push ebx
push dword [esp + 0x1c]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x423114
mov byte [edi + 8], 1
mov eax, dword [esp + 0x14]
xor edx, edx
pop edi
div ebp
pop ebp
pop ebx
ret
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x14]
push esi
mov esi, dword [edi + 0x18]
lea eax, [edx + ebx]
sub esi, edx
cmp eax, dword [edi + 0x18]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [esp + 0x1c]
call fcn.00489740
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebp
pop esi
pop edi
pop ebp
pop ebx
ret

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

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x42316b
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
not eax
cmp esi, 8
jb 0x42322c
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4bea58]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4bea58]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4bea58]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4bea58]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4bea58]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4bea58]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4bea58]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4bea58]
sub edi, 1
jne 0x423185
pop edi
test esi, esi
je 0x42324a
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4bea58]
sub esi, 1
jne 0x423230
not eax
pop esi
ret
Function at 0x423320
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4234e0
cmp dword [edi + 0x18], 0
je 0x4234e0
cmp dword [edi + 0x7c], 0
je 0x423349
push edi
call fcn.00423250
add esp, 4
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
push edi
call fcn.004239f0
add esp, 0x10
test eax, eax
je 0x42336f
mov eax, 0xffffff99
pop edi
add esp, 8
ret
push esi
push 0x84
call fcn.00490637
mov esi, eax
add esp, 4
test esi, esi
je 0x4233b4
push 0x4000
call fcn.00490637
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 8]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
test eax, eax
jne 0x4233bf
push esi
call fcn.0048d32b
add esp, 4
pop esi
mov eax, 0xffffff98
pop edi
add esp, 8
ret
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x54], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x40], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], 0
test ecx, ecx
je 0x42341b
lea eax, [esi + 4]
mov dword [esi + 0x24], 0
push eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.00421370
add esp, 4
test eax, eax
jne 0x42341b
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov cl, byte [edi + 0x30]
mov dword [esi + 0x58], eax
and cl, 1
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x30]
shr eax, 3
mov byte [esi + 0x6c], cl
test al, 1
je 0x42343f
mov al, byte [edi + 0x39]
jmp 0x423442
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov edx, 0xc
xor eax, eax
mov dword [esi + 0x70], 0x12345678
test cl, cl
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
cmovne eax, edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x7c], eax
test edx, edx
je 0x4234c1
mov al, byte [edx]
test al, al
je 0x4234c1
mov ecx, dword [esi + 0x70]
movsx eax, al
xor eax, ecx
shr ecx, 8
movzx eax, al
mov eax, dword [eax*4 + 0x4bea58]
xor eax, ecx
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x70], eax
movzx eax, al
add eax, dword [esi + 0x74]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x74], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4bea58]
mov dword [esi + 0x78], ecx
add edx, 1
jne 0x423474
mov eax, dword [esp + 0xc]
add eax, 0x1e
mov dword [edi + 0x7c], esi
add eax, dword [edi + 0x78]
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 8], 0
pop esi
pop edi
add esp, 8
ret
mov eax, 0xffffff9a
pop edi
add esp, 8
ret
Function at 0x424cf0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1167
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e42e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x424d45
mov dword [ebx], 0x4bf150
mov dword [ebx + 0x50], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
push 0
lea esi, [ebx + 4]
mov ecx, ebx
push 0
push esi
mov dword [ebp + 0xc], esi
call fcn.00424b20
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004723fa
mov esi, eax
add esp, 4
test esi, esi
je 0x424da2
push 1
mov byte [ebp - 4], 2
call fcn.0045d2cf
add esp, 4
mov dword [esi + 4], eax
jmp 0x424da4
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov esi, dword [ebp + 0xc]
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
not ecx
mov dword [edi], 0
mov dword [edx], 0
and ecx, 1
shl ecx, 2
mov eax, ebx
mov edx, ecx
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
or edx, 8
mov dword [esi + 0x38], 0
and al, 8
cmove edx, ecx
mov eax, edx
or eax, 0x10
and bl, 4
cmove eax, edx
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42cd80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1849
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e42e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + 8]
mov dword [ebx], vtable.log4cplus::PropertyConfigurator.0
mov dword [ebx + 4], eax
push 0xb
push str.UNAVAILABLE
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00408c80
add ebx, 0x20
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], ebx
lea edi, [ebx + 4]
mov dword [ebp + 0xc], edi
push 0x40
mov dword [ebx], vtable.log4cplus::helpers::Properties.0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.004723fa
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
mov esi, dword [ebp + 8]
mov ecx, edi
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
lea eax, [esi + 4]
push eax
call fcn.00425ce0
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov edi, dword [ebp - 0x10]
lea esi, [edi + 0x30]
mov byte [ebp - 4], 2
mov dword [ebp + 0xc], esi
push 0x2c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004723fa
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov ecx, edi
mov byte [ebp - 4], 3
mov dword [edi + 0x38], eax
call fcn.0042e4d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42faf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1cd8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4e42e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
call fcn.004723fa
add esp, 4
test eax, eax
je 0x42fb2c
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x42fb2e
xor eax, eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x42fa90
push 0
push 0
call fcn.004905a6
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x42fb6a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [edi], 0
call fcn.0045e0af
int3
Function at 0x434a20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b26d1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4e42e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.log4cplus::spi::InternalLoggingEvent.0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov byte [edi + 0x20], 0
mov dword [edi + 0x38], 0xffffffff
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0xf
mov byte [edi + 0x3c], 0
lea esi, [edi + 0x54]
mov byte [ebp - 4], 2
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004723fa
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0xf
mov byte [edi + 0x5c], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0xf
mov byte [edi + 0x74], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0xf
mov byte [edi + 0x98], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 0xf
mov byte [edi + 0xb0], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x436630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b28d9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4e42e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x8010
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.00408a10
push 0x8000
mov esi, eax
mov dword [edi + 0x10], 0x8000
push 0
push esi
mov dword [edi + 0x14], 0x800f
call fcn.0048a240
mov byte [esi + 0x8000], 0
add esp, 0xc
mov dword [edi], esi
cmp dword [edi + 0x14], 0x10
mov eax, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
jb 0x4366c6
mov eax, esi
push eax
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x4366f6
cmp eax, dword [edi + 0x10]
jae 0x4366f6
push 0
push eax
mov ecx, edi
call fcn.0040a9d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.GetCurrentDirectory
lea ecx, [ebp - 0x1c]
call fcn.00430740
push 0x4db158
lea eax, [ebp - 0x1c]
push eax
call fcn.0048927d
int3
Function at 0x439270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2d00
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4e42e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], 0
lea eax, [edi + 0xc]
mov dword [ebp - 4], 0
mov ecx, 1
lock or dword [eax], ecx
push 8
call fcn.004723fa
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x439340
mov esi, edi
mov dword [ebp - 0x18], esi
test edi, edi
je 0x4392e5
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.00433050
push 8
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 1
call fcn.004723fa
add esp, 4
test eax, eax
je 0x43930a
xor esi, esi
mov dword [eax], edi
mov dword [ebp - 0x18], esi
mov dword [eax + 4], edi
jmp 0x43930c
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 3
lea ecx, [ebx + 4]
mov dword [ebp - 4], 3
push ecx
push 0
push eax
push 0x438b20
push 0
push 0
mov dword [ebp - 0x1c], ecx
call fcn.004905a6
add esp, 0x18
mov dword [ebx], eax
test eax, eax
je 0x4393b4
jmp 0x439345
mov esi, dword [ebp - 0x18]
xor ebx, ebx
mov eax, dword [edi + 8]
mov dword [ebp - 4], 5
mov dword [edi + 8], ebx
test eax, eax
je 0x439367
cmp dword [eax + 4], 0
jne 0x4393c4
push 8
push eax
call fcn.0047242a
add esp, 8
test byte [ebp - 0x14], 1
mov dword [ebp - 4], 0
je 0x43938c
mov byte [ebp - 4], 6
test esi, esi
je 0x43938c
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
call fcn.00433060
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1c]
push 6
mov dword [eax], 0
call fcn.0045e0af
call fcn.0048eabe
int3
Function at 0x44d8d0
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5670
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4e42e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x30], eax
xor edi, edi
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], edi
cmp byte [ebp + 0x14], 0
mov ecx, 0x17
push dword [ebp + 0xc]
mov eax, 2
mov dword [ebp - 4], edi
cmovne eax, ecx
mov esi, 6
mov dword [ebp - 0x2c], eax
mov ecx, 0x11
mov al, byte [ebp + 0x10]
movzx ebx, al
inc ebx
test al, al
lea eax, [ebp - 0x28]
push eax
cmovne esi, ecx
call fcn.0044d7f0
add esp, 8
mov byte [ebp - 4], 1
call fcn.0044e090
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], esi
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x5c], 8
jb 0x44d98e
mov eax, dword [eax]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x5c]
push edx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov esi, eax
test esi, esi
jne 0x44da4b
mov edi, dword [ebp - 0x34]
or esi, 0xffffffff
mov ebx, edi
test ebx, ebx
je 0x44da43
nop dword [eax + eax]
push 0x80
push 0
push 0
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov dword [ebp - 0x2c], eax
cmp esi, 0xffffffff
je 0x44da00
test esi, esi
je 0x44da00
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov dword [ebp - 0x30], eax
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [ebp - 0x30]
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [ebp - 0x2c]
mov esi, eax
cmp eax, 0xffffffff
je 0x44da29
push dword [ebx + 0x10]
push dword [ebx + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x44da30
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
mov eax, dword [ebp - 0x2c]
je 0x44da07
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
jne 0x44d9c0
mov esi, dword [ebp - 0x2c]
cmp esi, 0xffffffff
je 0x44da43
mov eax, dword [ebp - 0x38]
mov dword [eax], 0
jmp 0x44da58
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.004907ed
mov dword [eax], esi
mov esi, dword [0x4c168c]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x44da88
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44da7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44dac3
push edx
push ecx
call fcn.0047242a
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test edi, edi
je 0x44daa5
push edi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472897
mov esp, ebp
pop ebp
ret
call fcn.0048d2da
int3