joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014660
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10014810
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1001472d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x100146aa
mov eax, dword [ebp - 4]
cmp eax, dword [0x1006e004]
ja 0x100146aa
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1001467a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10030d30
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100146d0
jmp 0x1001472d
cmp dword [ebp - 0x14], 0x10000
jne 0x10014713
cmp dword [ebp - 0x18], 0x10000
jb 0x10014713
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10014706
mov eax, dword [ebp - 8]
jmp 0x1001472f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10014728
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10014810
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1001467a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10014740
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10014840
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10014805
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x10014785
mov eax, dword [ebp - 4]
cmp eax, dword [0x1006e004]
ja 0x10014785
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10014755
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.10030d30
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100147ab
jmp 0x10014805
cmp dword [ebp - 0x14], 0x10000
jne 0x100147ee
cmp dword [ebp - 0x18], 0x10000
jb 0x100147ee
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100147e1
mov eax, dword [ebp - 8]
jmp 0x10014807
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10014800
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10014840
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10014755
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10015c10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10071160], eax
je 0x10015c2e
mov eax, 0x10dd
jmp 0x10015d0f
mov eax, dword [0x10071170]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10015cac
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10015c8a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10015c8a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10014cc0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.1002eb9e
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10015c36
mov dword [0x10071170], 0
call fcn.100155a0
mov ecx, dword [0x1007116c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10015cf9
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1002eb9e
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10015cc4
mov dword [0x1007116c], 0
mov dword [0x10071160], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100161f0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10071164], 0
je 0x10016209
mov eax, dword [0x10071164]
jmp 0x100162a9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1001621b
xor eax, eax
jmp 0x100162a9
push 8
call fcn.1002f0e1
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10016271
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1001625a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.1002eb9e
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10071164], eax
mov dword [0x10071168], 0
mov eax, dword [ebp - 8]
jmp 0x100162a9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1001628b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x1001623b
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1007116c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1007116c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10045956
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100458d8
Function at 0x10047388
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100471fe

Function at 0x1004d797
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1004d414

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x4295f0
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0040c1f0
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.00428920
push dword [esp + 0x40]
mov edi, eax
call fcn.00428920
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x429685
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.0040c1f0
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.0040c2a0
add esp, 0x20
test edx, edx
ja 0x4296a9
jb 0x429677
cmp eax, 0x3e8
ja 0x4296a9
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x429640
test edi, edi
je 0x429692
push edi
call fcn.00458214
add esp, 4
test esi, esi
je 0x42969f
push esi
call fcn.00458214
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x4296b6
push edi
call fcn.00458214
add esp, 4
test esi, esi
je 0x4296c3
push esi
call fcn.00458214
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x42a0e0
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov ecx, 0x2b
test edi, edi
je 0x42a190
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
nop dword [eax]
mov ebx, 4
lea eax, [esp + 0x1c]
push 4
push eax
cmp edi, ebx
push ebp
cmovb ebx, edi
call fcn.00411810
add esp, 0xc
cmp eax, 4
je 0x42a123
mov ecx, eax
jmp 0x42a14d
cmp byte [0x46c560], 0
jne 0x42a157
push 2
push 4
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb ecx, ecx
and ecx, 2
mov eax, ecx
test eax, eax
jne 0x42a192
mov eax, dword [esp + 0x1c]
jmp 0x42a174
imul eax, dword [0x46c55c], 0x41c64e6d
add eax, 0x3039
mov dword [0x46c55c], eax
ror eax, 0x10
xor ecx, ecx
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x42a188
mov byte [esi], al
dec edi
inc esi
shr eax, 8
sub ebx, 1
jne 0x42a178
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x42a100
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x42a1a0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub esp, 0x8c
mov eax, dword [0x46c380]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, edx
push ebp
mov ebp, dword [esp + 0x98]
and eax, 0xfffffffe
push edi
lea edi, [esp + 0x10]
cmp eax, 0x100
jae 0x42a309
test dl, 1
je 0x42a309
dec edx
mov ecx, 0x2b
push ebx
mov ebx, edx
mov dword [esp + 0xa4], edx
shr ebx, 1
push esi
mov esi, edi
je 0x42a2b3
nop word [eax + eax]
push 4
lea eax, [esp + 0x14]
mov edi, 4
push eax
push dword [esp + 0x1c]
cmp ebx, edi
cmovb edi, ebx
call fcn.00411810
add esp, 0xc
cmp eax, 4
je 0x42a236
mov ecx, eax
jmp 0x42a260
cmp byte [0x46c560], 0
jne 0x42a26e
push 2
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
neg eax
sbb ecx, ecx
and ecx, 2
mov eax, ecx
test eax, eax
jne 0x42a2f0
mov eax, dword [esp + 0x10]
jmp 0x42a28b
imul eax, dword [0x46c55c], 0x41c64e6d
add eax, 0x3039
mov dword [0x46c55c], eax
ror eax, 0x10
xor ecx, ecx
mov dword [esp + 0x10], eax
test edi, edi
je 0x42a2a0
nop
mov byte [esi], al
dec ebx
inc esi
shr eax, 8
sub edi, 1
jne 0x42a290
mov dword [esp + 0x10], eax
test ebx, ebx
jne 0x42a210
mov edx, dword [esp + 0xa8]
lea edi, [esp + 0x18]
mov eax, ecx
test eax, eax
jne 0x42a2f0
test edx, edx
je 0x42a2ea
nop dword [eax]
movzx ecx, byte [edi]
lea edi, [edi + 1]
mov eax, ecx
and ecx, 0xf
shr eax, 4
movzx eax, byte [eax + 0x45ed44]
mov byte [ebp], al
movzx eax, byte [ecx + 0x45ed44]
mov byte [ebp + 1], al
add ebp, 2
sub edx, 2
jne 0x42a2c0
mov byte [ebp], 0
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00457062
add esp, 0x8c
ret
mov ecx, dword [esp + 0x90]
mov eax, 0x2b
pop edi
pop ebp
xor ecx, esp
call fcn.00457062
add esp, 0x8c
ret
Function at 0x43f1c0
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x4c
mov eax, dword [0x46c380]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
push edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x10], eax
cmp edi, 4
jb 0x43f33c
inc ebp
sub edi, 2
push str.0123456789abcdefABCDEF:.
push ebp
call sub.api_ms_win_crt_string_l1_1_0.dll_strspn
add esp, 8
cmp edi, eax
je 0x43f2be
mov edi, eax
add eax, ebp
mov dword [esp + 0x14], eax
cmp byte [eax], 0x25
jne 0x43f33c
push 2
lea esi, [eax + 1]
xor ebx, ebx
push 0x462ef0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x43f23f
mov cl, byte [esi + 2]
lea eax, [esi + 2]
test cl, cl
je 0x43f23f
cmp cl, 0x5d
cmovne esi, eax
mov al, byte [esi]
test al, al
je 0x43f33c
lea ecx, [esp + 0x18]
sub ecx, esi
nop
cmp al, 0x5d
je 0x43f265
cmp ebx, 0xf
jge 0x43f265
mov byte [ecx + esi], al
inc ebx
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x43f250
test ebx, ebx
je 0x43f33c
cmp byte [esi], 0x5d
jne 0x43f33c
cmp ebx, 0x10
jae 0x43f354
lea eax, [esp + 0x18]
mov byte [esp + ebx + 0x18], 0
push eax
call dword [0x46c00c]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x43f2b5
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00457062
add esp, 0x4c
ret
mov eax, dword [esp + 0x14]
mov word [eax], 0x5d
lea eax, [esp + 0x18]
mov byte [edi + ebp], 0
push eax
push ebp
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x43f33c
push 0x2e
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push 0x17
call sub.WS2_32.dll_inet_ntop
test eax, eax
je 0x43f323
lea edx, [esp + 0x28]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x43f2f3
sub edx, ecx
cmp edx, edi
jae 0x43f323
lea ecx, [esp + 0x28]
mov esi, ebp
mov eax, ecx
sub esi, eax
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x43f310
mov byte [edx + ebp + 1], al
mov edi, edx
mov byte [edi + ebp], 0x5d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00457062
add esp, 0x4c
ret
mov ecx, dword [esp + 0x58]
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457062
add esp, 0x4c
ret
call fcn.00457714
int3
Function at 0x4428b0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
mov eax, dword [0x46c564]
mov dword [esp + 4], 0x4020
mov dword [esp], 0
mov dword [esp + 8], 4
test eax, eax
jne 0x442901
push 3
push 2
push eax
push eax
push 6
call fcn.00446800
add esp, 0x14
test al, al
je 0x4428f5
mov dword [0x46c564], 2
add esp, 0xc
ret
mov dword [0x46c564], 1
jmp 0x442906
cmp eax, 2
je 0x44294c
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x442931
mov eax, dword [esp]
cmp eax, dword [esp + 4]
jg 0x44294c
push 4
lea eax, [esp + 8]
push eax
push 0x1001
push 0xffff
push dword [esp + 0x20]
call dword [sym.imp.WS2_32.dll_setsockopt]
add esp, 0xc
ret
Function at 0x443430
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x104
mov eax, dword [0x46c380]
xor eax, esp
mov dword [esp + 0x100], eax
mov ecx, dword [esp + 0x10c]
push ebx
mov ebx, dword [esp + 0x10c]
push edi
mov edi, dword [esp + 0x11c]
push 0
mov eax, dword [ebx]
push dword [esp + 0x11c]
push ecx
mov eax, dword [eax + 8]
mov dword [edi], 0
push dword [eax + 0x98]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x4434ce
push esi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x44349a
mov dword [edi], 0x51
jmp 0x4434ca
push 0x100
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004026d0
push eax
push str.Recv_failure:__s
push dword [ebx + 4]
call fcn.00416de0
mov eax, dword [ebx + 4]
add esp, 0x18
mov dword [eax + 0x930], esi
mov dword [edi], 0x38
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x108]
pop edi
pop ebx
xor ecx, esp
call fcn.00457062
add esp, 0x104
ret

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

Disassembly:
sub esp, 0x188
mov eax, dword [0x46c380]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x18c]
push ebx
mov ebx, dword [esp + 0x194]
push esi
mov esi, dword [eax + 8]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x1e8]
test dword [eax + 0x44], 0x800
jne 0x44361d
push 0x80
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0x80
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
push dword [esi + 0x98]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x4435aa
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x8c]
push 0x100
push eax
push esi
call fcn.004026d0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.00416de0
add esp, 0x1c
mov eax, 2
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00457062
add esp, 0x188
ret
lea eax, [esi + 0x120]
push eax
lea eax, [esi + 0xf0]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.00417a00
add esp, 0x10
test al, al
jne 0x44361d
push edi
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edi, eax
lea eax, [esp + 0x90]
push 0x100
push eax
push esi
call fcn.004026d0
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00416de0
add esp, 0x1c
mov eax, 2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.00457062
add esp, 0x188
ret
mov ecx, dword [esp + 0x18c]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
call fcn.00457062
add esp, 0x188
ret
Function at 0x44b370
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x46c380]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push ebp
mov ebp, dword [esp + 0x134]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x138]
xor esi, esi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
call fcn.00428920
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x44b3ef
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004027c0
push eax
push edi
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push ebp
call fcn.00416de0
push esi
call dword [0x46c004]
add esp, 0x20
lea eax, [ebx + 0x4d]
jmp 0x44b54f
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x44b449
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004027c0
push eax
push edi
push str.schannel:_failed_to_open_CA_file__s:__s
push ebp
call fcn.00416de0
push 0
mov esi, 0x4d
call dword [0x46c004]
add esp, 0x20
jmp 0x44b541
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x44b489
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004027c0
push eax
push edi
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push ebp
call fcn.00416de0
add esp, 0x1c
mov esi, 0x4d
jmp 0x44b52d
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0x44b4b7
jg 0x44b49d
cmp edi, 0x100000
jbe 0x44b4b7
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push ebp
call fcn.00416de0
add esp, 0xc
mov esi, 0x4d
jmp 0x44b52d
lea eax, [edi + 1]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x44b4cf
lea esi, [eax + 0x1b]
jmp 0x44b52d
test edi, edi
je 0x44b514
nop dword [eax]
nop word [eax + eax]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44b56c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44b568
add esi, eax
cmp esi, edi
jb 0x44b4e0
push ebp
push dword [esp + 0x18]
mov byte [edi + ebx], 0
push edi
push ebx
push dword [esp + 0x2c]
call fcn.0044b170
add esp, 0x14
mov esi, eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x46c004]
add esp, 4
push dword [esp + 0x20]
call fcn.00458214
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00457062
add esp, 0x120
ret
mov edi, esi
jmp 0x44b514
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004027c0
push eax
push dword [esp + 0x24]
push str.schannel:_failed_to_read_from_CA_file__s:__s
push ebp
call fcn.00416de0
add esp, 0x1c
mov esi, 0x4d
jmp 0x44b52d
Function at 0x457e53
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x457e92
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x457e92
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x457e92
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x457e92
cmp dword [ecx + 0x74], 0xe
jbe 0x457e92
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret