joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e9d0
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x41e9f3
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x41ea19
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x41ea00
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret

Function at 0x41ead0
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x41eb07
push esi
call fcn.004263c0
mov eax, dword [esi + 0x40]
test eax, eax
je 0x41eb00
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
pop ebp
ret 4
mov dword [esi + 0x14], 0xcb
mov ecx, dword [esi + 0x14]
cmp ecx, 0xcb
jne 0x41eb86
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x41eb70
nop
mov eax, dword [esi + 8]
test eax, eax
je 0x41eb2a
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x41eb69
cmp eax, 2
je 0x41eb70
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41eb20
cmp eax, 3
je 0x41eb4d
cmp eax, 1
jne 0x41eb20
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
cmp eax, dword [ecx + 8]
jl 0x41eb20
mov eax, dword [ecx + 8]
mov edx, dword [esi + 0x144]
add eax, edx
mov dword [ecx + 8], eax
jmp 0x41eb20
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.0041e9d0
pop esi
pop ebp
ret 4
cmp ecx, 0xcc
je 0x41eb9d
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.0041e9d0
pop esi
pop ebp
ret 4

Function at 0x41f02e
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x4eb940
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x41f09e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x4ee9c4
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41f095
cmp dword [ebp - 0xc], 4
jne 0x41f095
cmp dword [ebp - 0x10], edi
je 0x41f095
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x52dc38], edi
xor eax, eax
jmp 0x41f0dd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x52dc38], edi
jge 0x41f0d8
lea eax, [ebp - 0x34]
push eax
mov dword [0x52dc38], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x41f0d8
cmp word [ebp - 0x14], 5
jb 0x41f0d8
call fcn.0041f006
test eax, eax
je 0x41f0d8
emms
mov dword [0x52dc38], 1
mov eax, dword [0x52dc38]
pop edi
leave
ret
Function at 0x427e96
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x427ea5
xor eax, eax
jmp 0x427f88
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x427f68
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4f0958]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4f0958]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4f0958]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4f0958]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4f0958]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4f0958]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4f0958]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4f0958]
inc edx
dec edi
jne 0x427ec5
pop edi
test eax, eax
je 0x427f82
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x4f0958]
inc edx
dec eax
jne 0x427f6c
mov eax, esi
pop esi
not eax
pop ebx
ret 0xc
Function at 0x4423f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x52d080]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], esi
push edi
mov edi, ecx
test esi, esi
je 0x442589
cmp dword [edi + 4], 0xffffffff
je 0x442429
call fcn.00442360
mov al, byte [esi]
sub al, 0x30
push esi
cmp al, 9
ja 0x442451
xorps xmm0, xmm0
mov eax, 2
movlpd qword [esp + 0x2c], xmm0
mov word [esp + 0x24], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x24], eax
jmp 0x442489
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x442589
xorps xmm0, xmm0
lea eax, [esp + 0x24]
movaps xmmword [esp + 0x20], xmm0
movsx ecx, word [esi + 0xa]
push ecx
mov ecx, dword [esi + 0xc]
push dword [ecx]
push eax
call fcn.004b50a0
mov ax, word [esi + 8]
add esp, 0xc
mov word [esp + 0x20], ax
push 0x3afc
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 1
push 2
mov word [esp + 0x2e], ax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, 0xffffffff
jne 0x4424c9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004b323e
mov esp, ebp
pop ebp
ret 0xc
push 4
lea eax, [esp + 0x3c]
mov dword [edi + 4], esi
push eax
push 0x1002
push 0xffff
push esi
mov dword [esp + 0x4c], 0x40000
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0x10
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x44252c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push dword [esp + 0x18]
mov esi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 4], 0xffffffff
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004b323e
mov esp, ebp
pop ebp
ret 0xc
push 0x31
push 0x401
push dword [esp + 0x1c]
push esi
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov eax, dword [esp + 0x14]
mov dword [edi + 8], eax
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442550
sub ecx, esi
push ecx
push edx
lea ecx, [edi + 0xc]
call fcn.004431a0
mov dword [edi + 0x24], 0x3afc
xor eax, eax
mov dword [edi + 0x40028], 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004b323e
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x3c]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.004b323e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4425a0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x52d080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x442772
cmp dword [esi + 0x40028], 0
je 0x442772
lea ecx, [ebp - 8]
xor edi, edi
push ecx
push 0x4004667f
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [ebp - 8], edi
jbe 0x442767
mov ecx, dword [sym.imp.WS2_32.dll_recv]
lea eax, [esi + 0x28]
mov dword [ebp - 0x14], ecx
push 0
push 0x40000
push eax
push dword [esi + 4]
call ecx
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44274b
test ebx, ebx
je 0x44273a
add edi, ebx
mov dword [ebp - 0x10], edi
test ebx, ebx
jle 0x44273a
mov edx, dword [esi + 0x4003c]
mov ecx, edx
sub ecx, dword [esi + 0x40038]
mov edi, dword [esi + 0x40030]
jns 0x44263a
add ecx, edi
mov eax, edi
sub eax, ecx
cmp ebx, eax
jl 0x4426ac
lea eax, [edi + edi]
push eax
mov dword [esi + 0x40030], eax
call fcn.004b3294
add esp, 4
mov dword [ebp - 0xc], eax
push edi
push dword [esi + 0x40034]
push eax
call fcn.004b50a0
mov eax, dword [esi + 0x4003c]
add esp, 0xc
cmp eax, dword [esi + 0x40038]
jge 0x442690
push eax
push dword [esi + 0x40034]
mov eax, dword [ebp - 0xc]
add eax, edi
push eax
call fcn.004b50a0
add esp, 0xc
add dword [esi + 0x4003c], edi
push dword [esi + 0x40034]
call fcn.004b324c
mov eax, dword [ebp - 0xc]
add esp, 4
mov dword [esi + 0x40034], eax
jmp 0x442622
lea eax, [edx + ebx]
cmp eax, edi
jl 0x44271b
sub edi, edx
sub ebx, edi
test edi, edi
jne 0x4426da
push 0x37
push str.D:__HooklarISTIRAP_SRCLauncher_SourceAPISocket.h
push 0x507d40
push str.ERROR____s_n_s:__d_n_n
call fcn.00441ea0
mov edx, dword [esi + 0x4003c]
add esp, 0x10
push edi
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 0x40034]
add eax, edx
push eax
call fcn.004b50a0
add esp, 0xc
test ebx, ebx
je 0x442711
lea eax, [esi + 0x28]
push ebx
add eax, edi
push eax
push dword [esi + 0x40034]
call fcn.004b50a0
add esp, 0xc
mov dword [esi + 0x4003c], ebx
jmp 0x442737
xor ebx, ebx
mov dword [esi + 0x4003c], ebx
jmp 0x442737
push ebx
lea eax, [esi + 0x28]
push eax
mov eax, dword [esi + 0x40034]
add eax, edx
push eax
call fcn.004b50a0
add esp, 0xc
add dword [esi + 0x4003c], ebx
mov edi, dword [ebp - 0x10]
lea eax, [esi + 0x28]
mov ecx, dword [ebp - 0x14]
cmp edi, dword [ebp - 8]
jb 0x4425f5
jmp 0x442767
push 0xc6
push str.D:__HooklarISTIRAP_SRCLauncher_SourceAPISocket.cpp
push str.socket_receive_error_
push str.ERROR____s_n_s:__d_n_n
call fcn.00441ea0
add esp, 0x10
mov ecx, esi
call fcn.00442790
test eax, eax
jne 0x442767
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b323e
mov esp, ebp
pop ebp
ret
Function at 0x442d70
Capabilities:
Encode data using xor
Hash data with crc32
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db79d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x52d080]
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, ecx
mov dword [ebp - 0x24], eax
cmp dword [eax + 0x40058], 0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], ebx
je 0x442f2e
cmp dword [eax + 4], 0xffffffff
je 0x442f2e
cmp dword [eax + 0x40028], 0
je 0x442f2e
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor edi, edi
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], vtable.DataPack.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
cmp dword [0x53ce84], edi
je 0x442e8a
mov eax, dword [0x53ce80]
push ebx
inc eax
push esi
push 0x53d314
mov dword [0x53ce80], eax
mov dword [0x53d310], eax
call fcn.004b50a0
lea esi, [ebx + 4]
add esp, 0xc
or ecx, 0xffffffff
xor edx, edx
test esi, esi
je 0x442e4b
nop
movzx eax, byte [edx + 0x53d310]
inc edx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x507e28]
cmp edx, esi
jb 0x442e30
push 0x53d310
mov dword [ebx + 0x53d314], ecx
add ebx, 8
push 0x53d310
push ebx
mov dword [ebp - 0x20], ebx
call fcn.0045d060
push ebx
mov dword [ebp - 0x18], ebx
call fcn.004b3294
push ebx
mov esi, eax
mov dword [ebp - 0x28], eax
push 0x53d310
push esi
mov dword [ebp - 0x2c], esi
call fcn.004b50a0
mov eax, dword [ebp - 0x24]
add esp, 0x10
add ebx, 6
cmp ebx, 0xc8
jg 0x442f23
mov esi, dword [sym.imp.WS2_32.dll_htons]
lea edi, [eax + 0x28]
push 0xaa55
call esi
mov word [edi], ax
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x28]
mov word [edi + 2], ax
add edi, 4
push edi
call fcn.004b50a0
add esp, 0xc
push 0x55aa
call esi
mov ecx, dword [ebp - 0x20]
xor esi, esi
mov word [ecx + edi], ax
mov edi, dword [ebp - 0x24]
test ebx, ebx
jle 0x442f1d
nop word [eax + eax]
push 0
push ebx
lea eax, [edi + 0x28]
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x442f01
test eax, eax
je 0x442efb
add esi, eax
cmp esi, ebx
jl 0x442ee0
jmp 0x442f1d
push 0x151
push str.D:__HooklarISTIRAP_SRCLauncher_SourceAPISocket.cpp
push str.socket_send_error_
push str.ERROR____s_n_s:__d_n_n
call fcn.00441ea0
add esp, 0x10
add dword [edi + 0x40040], ebx
push dword [ebp - 0x2c]
call fcn.004b324c
add esp, 4
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.004b323e
mov esp, ebp
pop ebp
ret 8
Function at 0x445d40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x445e27
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x445e16
jg 0x445d80
test edx, edx
je 0x445e16
nop dword [eax]
call fcn.00447850
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x445dd3
jg 0x445d97
test esi, esi
je 0x445dd3
cmp ebx, eax
jg 0x445da7
jl 0x445da1
cmp edi, esi
jae 0x445da7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
push esi
push dword [esp + 0x14]
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.004b50a0
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x445dfa
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x445e10
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x445d80
jl 0x445e10
test edi, edi
jne 0x445d80
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x445e49
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x445e4b
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x445ec9
jg 0x445e5e
test esi, esi
je 0x445ec9
test eax, eax
jl 0x445ead
jg 0x445e68
test ebx, ebx
je 0x445ead
cmp edi, eax
jg 0x445e78
jl 0x445e72
cmp esi, ebx
jae 0x445e78
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.004b50a0
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x445ec9
jg 0x445eb0
test esi, esi
je 0x445ec9
jmp 0x445eb0
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x445ec9
push eax
push esi
push 1
push edx
call fcn.004bbc81
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x445ee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x445f12
jl 0x445f05
test ecx, ecx
jne 0x445f12
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x445fd2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00447870
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x445f7e
jg 0x445f3d
test esi, esi
je 0x445f7e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x445f55
mov eax, dword [esp + 0x10]
jl 0x445f4f
cmp eax, esi
jae 0x445f55
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.004b50a0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x445f9f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x445fbb
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x445f24
jl 0x445fbb
test ecx, ecx
jne 0x445f24
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x44600b
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x44600b
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.004b50a0
mov eax, dword [ebx + 0x2c]
add esp, 0xc
add dword [esp + 0xc], esi
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x44607b
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x446031
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x446064
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.004ba514
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x44608f
cmp edi, eax
ja 0x446040
test ecx, ecx
je 0x44607b
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.004ba514
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x446400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x52d080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x446430
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b323e
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x44646c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x44646c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b323e
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x446556
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x446494
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4464c7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.004ba678
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b323e
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x446529
sub eax, 1
je 0x446529
sub eax, 2
jne 0x446556
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.004ba678
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b323e
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x446546
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004bbc81
add esp, 0x10
cmp edi, eax
jne 0x446556
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x446457
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b323e
mov esp, ebp
pop ebp
ret 4
Function at 0x4474d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x52d080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x44758c
cmp byte [esi + 0x3d], 0
je 0x44758c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x44757a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x447542
sub eax, 1
je 0x447546
sub eax, 2
jne 0x44757a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b323e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x447563
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004bbc81
add esp, 0x10
cmp edi, eax
jne 0x44757a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b323e
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b323e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004b323e
mov esp, ebp
pop ebp
ret

Function at 0x447f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbe60
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x52d080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004b3251
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004b1932
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret