joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d7a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
mov eax, 0x2030
call fcn.10019c40
push ebx
push ebp
push esi
call fcn.1000d360
test eax, eax
jl 0x1000d9db
mov ecx, dword [esp + 0x2048]
xor eax, eax
mov dword [esp + 0x14], eax
push ecx
mov dword [esp + 0x1c], eax
mov word [esp + 0x18], 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x16], ax
mov eax, dword [esp + 0x2044]
cmp eax, 0xffffffff
je 0x1000d7f6
test eax, eax
jne 0x1000d80f
mov esi, dword [esp + 0x2040]
push esi
call fcn.1000d680
add esp, 4
cmp eax, 0xffffffff
je 0x1000d9c6
push 0
push 1
push 2
mov dword [esp + 0x24], eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
test esi, esi
jge 0x1000d846
push str.0040_socket_init_error
push str.COM3413
push 2
call fcn.1000d9f0
add esp, 0xc
or eax, 0xffffffff
pop esi
pop ebp
pop ebx
add esp, 0x2030
ret
mov ebp, dword [sym.imp.MSVCRT.dll__errno]
call ebp
mov ebx, dword [sym.imp.WS2_32.dll_ioctlsocket]
lea edx, [esp + 0x28]
push edx
push 0x8004667e
mov dword [eax], 0
push esi
mov dword [esp + 0x34], 1
mov dword [esp + 0x1c], 0
call ebx
lea eax, [esp + 0x14]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jl 0x1000d8a2
lea ecx, [esp + 0x10]
push ecx
push 0x8004667e
push esi
call ebx
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2030
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov dword [esp + 0xc], eax
je 0x1000d8be
cmp eax, 0x2734
jne 0x1000d9b2
mov eax, dword [esp + 0x204c]
mov ecx, dword [esp + 0x2050]
test eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], 1
mov dword [esp + 0x103c], esi
mov dword [esp + 0x1038], 1
jg 0x1000d911
test ecx, ecx
jg 0x1000d911
lea edx, [esp + 0x1038]
push 0
lea eax, [esp + 0x38]
push edx
push eax
lea ecx, [esi + 1]
push 0
push ecx
jmp 0x1000d929
lea edx, [esp + 0x2c]
lea eax, [esp + 0x1038]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
lea edx, [esi + 1]
push 0
push edx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x1000d9aa
lea eax, [esp + 0x34]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1000d9aa
lea ecx, [esp + 0x24]
lea edx, [esp + 0xc]
push ecx
push edx
push 0x1007
push 0xffff
push esi
mov dword [esp + 0x20], 5
mov dword [esp + 0x38], 4
call dword [sym.imp.WS2_32.dll_getsockopt]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x1000d98e
lea eax, [esp + 0x10]
push eax
push 0x8004667e
push esi
call ebx
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2030
ret
call ebp
mov ecx, dword [esp + 0xc]
push esi
mov dword [eax], ecx
call dword [sym.imp.WS2_32.dll_closesocket]
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x2030
ret
call ebp
mov dword [eax], 5
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x2030
ret
push esi
push str.0063_host_name_error:__s
push str.COM3412
push 2
call fcn.1000d9f0
add esp, 0x10
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x2030
ret
Function at 0x1000d9f0
Capabilities:
Terminate process

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.MSVCRT.dll__errno]
mov edi, eax
call esi
mov edx, dword [esp + 0x10]
mov dword [eax], edi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
push edx
call esi
mov eax, dword [eax]
mov esi, dword [esp + 0x18]
push eax
push esi
call fcn.1000daa0
add esp, 0x14
cmp esi, 3
jne 0x1000da37
call sym.tmax.dll_Findex
push 1
call dword [sym.imp.MSVCRT.dll_exit]
cmp esi, 6
jne 0x1000da47
call sym.tmax.dll_Findex
jmp dword [sym.imp.MSVCRT.dll_abort]
pop edi
pop esi
ret

Function at 0x1000da50
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
push esi
mov esi, dword [esp + 8]
push eax
push ecx
push edx
push 0
push esi
call fcn.1000daa0
add esp, 0x14
cmp esi, 3
jne 0x1000da81
call sym.tmax.dll_Findex
push 1
call dword [sym.imp.MSVCRT.dll_exit]
cmp esi, 6
jne 0x1000da91
call sym.tmax.dll_Findex
jmp dword [sym.imp.MSVCRT.dll_abort]
pop esi
ret
Function at 0x1000daa0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1fa4
call fcn.10019c40
mov eax, dword [0x1001a140]
push ebp
mov ebp, dword [esp + 0x1fac]
push esi
mov ecx, dword [eax*4 + 0x1001e448]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [ebp*4 + 0x1001e770]
push edi
push ecx
push edx
lea eax, [esp + 0x14]
push str.__s___s
push eax
call esi
mov ecx, dword [esp + 0x1fd4]
lea edi, [esp + 0x1c]
push ecx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1fd4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
lea eax, [esp + ecx + 0x24]
push eax
call dword [sym.imp.MSVCRT.dll_vsprintf]
mov eax, dword [esp + 0x1fd8]
add esp, 0x1c
test eax, eax
je 0x1000db30
push eax
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push str.___s_
lea ecx, [esp + ecx + 0x14]
push ecx
call esi
add esp, 0xc
mov eax, dword [esp + 0x1fb8]
test eax, eax
jle 0x1000db59
push eax
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push str.__d_
lea edx, [esp + ecx + 0x14]
push edx
call esi
add esp, 0xc
mov edi, 0x1001c270
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0xc], al
mov eax, dword [0x1001e790]
test eax, eax
jge 0x1000dbd4
push 0x1001e7a4
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
test eax, eax
jne 0x1000dbbe
mov dword [0x1001e790], 1
jmp 0x1000dbd6
mov al, byte [eax]
cmp al, 0x6e
je 0x1000dbb2
cmp al, 0x4e
je 0x1000dbb2
mov dword [0x1001e790], 0
jmp 0x1000dbe4
je 0x1000dbe4
cmp dword [0x1001c274], 7
jl 0x1000dbe4
mov ebp, 4
mov eax, dword [0x10025190]
test eax, eax
jne 0x1000dc47
cmp ebp, 4
je 0x1000dc47
mov eax, dword [sym.imp.MSVCRT.dll__iob]
mov esi, dword [sym.imp.MSVCRT.dll_fflush]
add eax, 0x20
push eax
call esi
add esp, 4
test eax, eax
jge 0x1000dc0f
call fcn.1000d570
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
lea edx, [esp + 0xc]
add ecx, 0x40
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fputs]
add esp, 8
test eax, eax
jge 0x1000dc30
call fcn.1000d570
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
call esi
add esp, 4
test eax, eax
jge 0x1000dc47
call fcn.1000d570
pop edi
pop esi
pop ebp
add esp, 0x1fa4
ret
Function at 0x1000ea00
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
xor edi, edi
mov dword [0x100251a4], edi
mov esi, dword [ebp]
sub esi, 0x60
cmp dword [esi], 0x270f
je 0x1000ea36
pop edi
pop esi
pop ebp
mov dword [0x100251a4], 0x12
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x2c]
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x20]
cmp eax, edi
mov dword [esi + 0x10], 0x19
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], edi
push edi
jne 0x1000ea60
call fcn.10005a90
add esp, 4
jmp 0x1000ea69
push eax
call fcn.10005e90
add esp, 8
cmp eax, edi
jge 0x1000ea82
pop edi
pop esi
pop ebp
mov dword [0x100251a4], 6
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
cmp dword [0x10024080], edi
jne 0x1000ea9f
pop edi
pop esi
pop ebp
mov dword [0x100251a4], 4
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
mov edx, dword [0x100251b0]
lea ecx, [eax + eax*4]
cmp dword [edx + ecx*4 + 0xc], edi
je 0x1000eaf0
push edi
push eax
call fcn.10005b40
mov dword [esp + 0x18], eax
push edi
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.1000bd60
add esp, 0x14
test eax, eax
jge 0x1000ead7
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
push esi
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x14]
add esp, 4
lea ecx, [eax + 0x60]
mov dword [ebp], ecx
jmp 0x1000eb7d
mov eax, dword [0x10025228]
xor ebp, ebp
cmp eax, edi
jne 0x1000eb0b
mov eax, dword [0x100251d4]
cmp eax, edi
jle 0x1000eb0b
test bl, 0x20
jne 0x1000eb0b
mov ebp, eax
mov dword [esp + 0x18], edi
mov edi, ebx
mov ebx, dword [sym.imp.WS2_32.dll_ioctlsocket]
and edi, 1
mov dword [esp + 0x14], 1
je 0x1000eb36
mov eax, dword [0x10025278]
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push eax
call ebx
push 0
push ebp
push esi
call fcn.1000b4c0
add esp, 0xc
mov dword [esp + 0x10], eax
test edi, edi
je 0x1000eb61
mov edx, dword [0x10025278]
lea ecx, [esp + 0x18]
push ecx
push 0x8004667e
push edx
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1000eb70
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
cmp esi, eax
je 0x1000eb7d
mov edx, dword [esp + 0x24]
lea ecx, [eax + 0x60]
mov dword [edx], ecx
mov edx, dword [esp + 0x28]
mov ecx, dword [eax + 0x54]
mov dword [edx], ecx
mov edx, dword [0x10024080]
mov ecx, dword [eax + 0x14]
dec edx
mov dword [0x100251a0], ecx
mov dword [0x10024080], edx
cmp dword [eax + 0x10], 0x401
je 0x1000ebb9
mov edx, dword [eax + 0x14]
pop edi
pop esi
pop ebp
mov dword [0x100251a4], edx
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x10016ab0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x60
push ebx
push esi
mov esi, dword [esp + 0x70]
push edi
mov edi, dword [esp + 0x70]
push esi
push edi
push str.fbread__x___x_
push 1
push 1
push str.fbread
call fcn.10011640
add esp, 0x18
mov dword [0x10024160], 0
test edi, edi
je 0x10016b61
test esi, esi
je 0x10016b61
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea eax, [esp + 0x14]
push 0x60
push eax
call ebx
add esp, 0x10
cmp eax, 1
je 0x10016b10
mov dword [0x10024160], 7
push 7
jmp 0x10016b6d
mov edx, dword [esp + 0x18]
push esi
push 1
push edx
push edi
call ebx
add esp, 0x10
cmp eax, 1
je 0x10016b3d
push 7
mov dword [0x10024160], 7
call sym.tmax.dll_fbstrerror
push eax
mov eax, dword [0x10024160]
push eax
jmp 0x10016b7a
push 1
push str.fbread___d
push 2
push 1
push str.fbread
call fcn.10011640
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x60
ret
mov dword [0x10024160], 4
push 4
call sym.tmax.dll_fbstrerror
mov ecx, dword [0x10024160]
push eax
push ecx
push str.fbread___1___d_:__s_
push 4
push 1
push str.fbread
call fcn.10011640
add esp, 0x1c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x60
ret

Function at 0x10016ba0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push esi
push str.fbwrite__x___x_
push 1
push 1
push str.fbwrite
call fcn.10011640
add esp, 0x18
mov dword [0x10024160], 0
test esi, esi
je 0x10016c2a
test edi, edi
je 0x10016c2a
mov eax, dword [esi - 0x54]
lea ecx, [esi - 0x60]
add eax, 0x60
push edi
push 1
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
cmp eax, 1
je 0x10016c0a
push 7
mov dword [0x10024160], 7
call sym.tmax.dll_fbstrerror
push eax
mov eax, dword [0x10024160]
push eax
jmp 0x10016c43
push 1
push str.fbwrite___d
push 2
push 1
push str.fbwrite
call fcn.10011640
add esp, 0x14
mov eax, 1
pop edi
pop esi
ret
push 4
mov dword [0x10024160], 4
call sym.tmax.dll_fbstrerror
mov ecx, dword [0x10024160]
push eax
push ecx
push str.fbwrite___1___d_:__s_
push 4
push 1
push str.fbwrite
call fcn.10011640
add esp, 0x1c
or eax, 0xffffffff
pop edi
pop esi
ret
Function at 0x10001370
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1004d070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
push 0x40
push 1
push esi
mov edi, ecx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov cl, byte [esi]
mov byte [ebp - 0x19], cl
test eax, eax
je 0x100013c8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov cl, byte [ebp - 0x19]
movzx eax, cl
sub eax, 0xe8
je 0x1000149a
sub eax, 1
je 0x1000149a
sub eax, 0x16
jne 0x10001481
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
inc esi
mov dword [ebp - 0x14], 1
push 1
push esi
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov cl, byte [esi]
mov byte [ebp - 0x19], cl
test eax, eax
je 0x10001426
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov cl, byte [ebp - 0x19]
cmp cl, 0x15
je 0x10001430
cmp cl, 0x25
jne 0x10001481
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
add esi, 2
mov dword [ebp - 0x14], 4
push 4
push esi
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1000146a
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov ecx, dword [esi]
mov eax, edi
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017542
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10017542
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
inc esi
mov dword [ebp - 0x14], 4
push 4
push esi
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov ecx, dword [esi]
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x100014d8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov ecx, dword [ebp - 0x20]
lea eax, [esi + 4]
add eax, ecx
mov ecx, dword [ebp - 4]
mov dword [edi], eax
xor ecx, ebp
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.10017542
mov esp, ebp
pop ebp
ret
Function at 0x10001500
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1004d070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push ebx
push esi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], edx
mov dword [ecx], eax
mov ecx, edx
call fcn.10001370
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
push eax
push 0x40
push 1
push esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xe8
test eax, eax
je 0x10001568
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov edi, dword [ebp + 0xc]
inc esi
push eax
push 0x40
push 4
sub edi, esi
mov dword [ebp - 0x14], 4
push esi
sub edi, 4
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov dword [esi], edi
test eax, eax
je 0x100015a8
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10017542
mov esp, ebp
pop ebp
ret
Function at 0x10007630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movups xmm0, xmmword [esi]
lea ecx, [edi + 0x48]
movups xmmword [edi], xmm0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
movzx eax, byte [esi + 0x18]
mov byte [edi + 0x18], al
movzx eax, byte [esi + 0x19]
mov byte [edi + 0x19], al
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
lea eax, [esi + 0x48]
push eax
call fcn.10009420
lea eax, [esi + 0x60]
push eax
lea ecx, [edi + 0x60]
call fcn.10009420
mov eax, dword [esi + 0x78]
lea ecx, [edi + 0x8c]
mov dword [edi + 0x78], eax
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
movzx eax, byte [esi + 0x80]
mov byte [edi + 0x80], al
movzx eax, byte [esi + 0x81]
mov byte [edi + 0x81], al
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov eax, dword [esi + 0x88]
mov dword [edi + 0x88], eax
lea eax, [esi + 0x8c]
push eax
call fcn.10009420
movzx eax, byte [esi + 0xa4]
lea ecx, [edi + 0xb8]
mov byte [edi + 0xa4], al
mov eax, dword [esi + 0xa8]
mov dword [edi + 0xa8], eax
mov eax, dword [esi + 0xac]
mov dword [edi + 0xac], eax
mov eax, dword [esi + 0xb0]
mov dword [edi + 0xb0], eax
mov eax, dword [esi + 0xb4]
mov dword [edi + 0xb4], eax
lea eax, [esi + 0xb8]
push eax
call fcn.10009420
movzx eax, byte [esi + 0xd0]
mov byte [edi + 0xd0], al
movzx eax, byte [esi + 0xd1]
mov byte [edi + 0xd1], al
mov eax, dword [esi + 0xd4]
mov dword [edi + 0xd4], eax
mov eax, dword [esi + 0xd8]
mov dword [edi + 0xd8], eax
lea ecx, [edi + 0xe4]
mov eax, dword [esi + 0xdc]
mov dword [edi + 0xdc], eax
mov eax, dword [esi + 0xe0]
mov dword [edi + 0xe0], eax
lea eax, [esi + 0xe4]
push eax
call fcn.10009420
mov eax, dword [esi + 0xfc]
mov dword [edi + 0xfc], eax
mov eax, dword [esi + 0x100]
mov dword [edi + 0x100], eax
mov eax, dword [esi + 0x104]
mov dword [edi + 0x104], eax
mov eax, dword [esi + 0x108]
mov dword [edi + 0x108], eax
mov eax, dword [esi + 0x10c]
mov dword [edi + 0x10c], eax
mov eax, dword [esi + 0x110]
mov dword [edi + 0x110], eax
mov eax, dword [esi + 0x114]
mov dword [edi + 0x114], eax
mov eax, dword [esi + 0x118]
mov dword [edi + 0x118], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x10007e00
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 0x10007e32
jl 0x10007e25
test ecx, ecx
jne 0x10007e32
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 0x10007ef2
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.1000a5f0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x10007e9e
jg 0x10007e5d
test esi, esi
je 0x10007e9e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x10007e75
mov eax, dword [esp + 0x10]
jl 0x10007e6f
cmp eax, esi
jae 0x10007e75
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.10018c70
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 0x10007ebf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x10007edb
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 0x10007e44
jl 0x10007edb
test ecx, ecx
jne 0x10007e44
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x10]
sbb esi, edx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x10007f30
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x10007f30
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.10018c70
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x10007f99
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x10007f56
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x10007f84
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.10023885
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10007f99
cmp edi, eax
ja 0x10007f62
test edi, edi
je 0x10007f99
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.10023885
add esp, 0x10
sub edi, eax
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 0x1000ab30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039e60
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1004d070]
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.10017735
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10016ae8
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