joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b860
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x88
mov eax, dword [0x4a8040]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
mov ebx, dword [esp + 0x90]
push ebp
push esi
push edi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 0x438]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi + 0x13c]
push 0
add eax, 4
push eax
push dword [edi + 0x148]
push dword [edi + 0x14]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [edi + 0x130], 0
mov dword [edi + 0x134], eax
jne 0x47b8e6
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
lea eax, [edi + 0xb0]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [edi + 0x130], eax
mov esi, dword [edi + 0x134]
cmp esi, 4
jge 0x47b921
push str.Received_too_short_packet
push ebx
call fcn.004548a0
add esp, 8
mov dword [edi + 0xc], 7
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048f548
add esp, 0x88
ret
mov edx, dword [edi + 0x148]
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
mov dword [edi + 0xc], ecx
dec ecx
cmp ecx, 5
ja case.0x47b940.1
jmp dword [ecx*4 + 0x47ba4c]
cmp esi, 4
jle case.0x47b940.4
movzx ecx, byte [edx + 2]
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, word [edi + 0x144]
inc eax
movzx eax, ax
cmp eax, ecx
jne case.0x47b940.4
lea eax, [esi - 4]
push eax
lea eax, [edx + 4]
push eax
push 1
push ebx
call fcn.004547e0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47b99b
push 5
push edi
call fcn.0047c370
add esp, 8
mov eax, esi
jmp 0x47b908
mov eax, dword [edi + 0x134]
sub eax, 4
cdq
add dword [ebx + 0x90], eax
adc dword [ebx + 0x94], edx
push dword [ebx + 0x94]
push dword [ebx + 0x90]
push ebx
call fcn.00464970
jmp 0x47ba21
movzx ecx, byte [edx + 2]
lea ebp, [edx + 4]
movzx eax, byte [edx + 3]
add esi, 0xfffffffc
shl ecx, 8
or ecx, eax
push esi
push ebp
mov dword [edi + 8], ecx
call fcn.0047c3e0
add esp, 8
cmp eax, esi
jae case.0x47b940.4
push ebp
push str.TFTP_error:__s
push ebx
call fcn.00454970
jmp 0x47ba21
lea eax, [esi - 2]
push eax
lea eax, [edx + 2]
push eax
push edi
call fcn.0047b5f0
add esp, 0xc
test eax, eax
je case.0x47b940.4
jmp 0x47b908
push str.Internal_error:_Unexpected_packet
push 0x49f098
push ebx
call fcn.004548a0
add esp, 0xc
push ebx
call fcn.00464d70
add esp, 4
test eax, eax
je 0x47b906
push 5
push edi
call fcn.0047c370
add esp, 8
mov eax, 0x2a
jmp 0x47b908
Function at 0x486cf0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x4a8040]
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 dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x486d70
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00440440
push eax
push edi
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push ebp
call fcn.004548a0
push esi
call dword [0x4a8004]
add esp, 0x20
lea eax, [ebx + 0x4d]
jmp 0x486ed0
push 0
push 0x80
push 3
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x486dca
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00440440
push eax
push edi
push str.schannel:_failed_to_open_CA_file__s:__s
push ebp
call fcn.004548a0
push 0
mov esi, 0x4d
call dword [0x4a8004]
add esp, 0x20
jmp 0x486ec1
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x486e0a
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00440440
push eax
push edi
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push ebp
call fcn.004548a0
add esp, 0x1c
mov esi, 0x4d
jmp 0x486ead
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0x486e38
jg 0x486e1e
cmp edi, 0x100000
jbe 0x486e38
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push ebp
call fcn.004548a0
add esp, 0xc
mov esi, 0x4d
jmp 0x486ead
lea eax, [edi + 1]
push eax
call dword [section..data]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x486e50
lea esi, [eax + 0x1b]
jmp 0x486ead
test edi, edi
je 0x486e94
nop dword [eax]
nop dword [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 0x486eed
mov eax, dword [esp + 0x10]
test eax, eax
je 0x486ee9
add esi, eax
cmp esi, edi
jb 0x486e60
push ebp
push dword [esp + 0x18]
mov byte [edi + ebx], 0
push edi
push ebx
push dword [esp + 0x2c]
call fcn.00486af0
add esp, 0x14
mov esi, eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x4a8004]
add esp, 4
push dword [esp + 0x20]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048f548
add esp, 0x120
ret
mov edi, esi
jmp 0x486e94
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00440440
push eax
push dword [esp + 0x24]
push str.schannel:_failed_to_read_from_CA_file__s:__s
push ebp
call fcn.004548a0
add esp, 0x1c
mov esi, 0x4d
jmp 0x486ead
Function at 0x48d8c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x48d8e7
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x48d932
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ebx
jmp 0x48d936
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x48d996
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x48d955
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x48d9c7
nop dword [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0x49e514
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x49e515
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x48d9a0
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x48d9d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x20]
call fcn.00457180
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [section..data]
mov edi, eax
add esp, 8
test edi, edi
je 0x48db38
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x48da4c
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push ebp
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov eax, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x18]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x48dab1
mov dword [esp + 0x18], eax
mov ebx, eax
nop dword [eax + eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x1c], al
lea eax, [esp + 0x1c]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x28], al
lea eax, [esp + 0x28]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x48da70
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esi + 0x10]
jae 0x48dadd
mov eax, dword [esi + 4]
push 1
push 0x49e514
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x49e515
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x48dab6
push dword [esp + 0x28]
call fcn.00457180
mov ecx, dword [edi]
push eax
push dword [esp + 0x2c]
push dword [edi + 4]
mov eax, dword [ecx + 4]
call eax
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov ebx, dword [edi]
test esi, esi
jne 0x48db08
mov esi, dword [ebx + 0xc]
add esi, dword [edi + 8]
push dword [edi + 4]
mov eax, dword [ebx + 8]
push esi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push esi
push dword [edi + 8]
call eax
push dword [edi + 8]
mov eax, dword [ebx + 8]
push esi
call eax
push edi
call dword [0x4a8004]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
pop ecx
ret
Function at 0x4907b1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4907f0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4907f0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4907f0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4907f0
cmp dword [ecx + 0x74], 0xe
jbe 0x4907f0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10007140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [ebp + 0xc]
je 0x10007258
push edi
lea edi, [ebx + 0x24]
add esi, 0x34
nop dword [eax + eax]
movups xmm0, xmmword [esi - 0x34]
movups xmmword [ebx], xmm0
movups xmm0, xmmword [esi - 0x24]
movups xmmword [ebx + 0x10], xmm0
mov al, byte [esi - 0x14]
mov byte [edi - 4], al
lea eax, [esi - 0x10]
cmp edi, eax
je 0x10007191
cmp dword [esi + 4], 0x10
lea eax, [esi - 0x10]
jb 0x10007187
mov eax, dword [eax]
push dword [esi]
mov ecx, edi
push eax
call fcn.10159ed0
mov al, byte [esi + 8]
lea ecx, [edi + 0x1c]
mov byte [edi + 0x18], al
lea eax, [esi + 0xc]
cmp ecx, eax
je 0x100071b2
cmp dword [esi + 0x20], 0x10
jb 0x100071a9
mov eax, dword [eax]
push dword [esi + 0x1c]
push eax
call fcn.10159ed0
movzx eax, byte [esi + 0x24]
add ebx, 0xc0
mov byte [edi + 0x34], al
mov eax, dword [esi + 0x28]
mov dword [edi + 0x38], eax
movzx eax, byte [esi + 0x2c]
mov byte [edi + 0x3c], al
movups xmm0, xmmword [esi + 0x34]
movups xmmword [edi + 0x44], xmm0
movups xmm0, xmmword [esi + 0x44]
movups xmmword [edi + 0x54], xmm0
movq xmm0, qword [esi + 0x54]
movq qword [edi + 0x64], xmm0
movzx eax, byte [esi + 0x5c]
mov byte [edi + 0x6c], al
movups xmm0, xmmword [esi + 0x60]
movups xmmword [edi + 0x70], xmm0
movzx eax, byte [esi + 0x70]
mov byte [edi + 0x80], al
mov eax, dword [esi + 0x74]
mov dword [edi + 0x84], eax
mov eax, dword [esi + 0x78]
mov dword [edi + 0x88], eax
movzx eax, byte [esi + 0x7c]
mov byte [edi + 0x8c], al
mov eax, dword [esi + 0x80]
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0x84]
mov dword [edi + 0x94], eax
mov cl, byte [esi + 0x88]
add esi, 0xc0
mov byte [edi + 0x98], cl
add edi, 0xc0
lea ecx, [esi - 0x34]
cmp ecx, dword [ebp + 0xc]
jne 0x10007160
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x10028120
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015c833
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1031500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov dword [ebp - 4], 0
mov byte [edi + 0x1c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0xf
mov byte [edi + 0x4c], 0
lea esi, [edi + 0x64]
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10140830
mov dword [esi], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x78]
mov byte [ebp - 4], 4
mov dword [edi + 0x6c], 0xffffffff
mov byte [edi + 0x70], al
mov dword [edi + 0x74], 0
call dword [sym.imp.aws_cpp_sdk_core.dll_private:_void___thiscall_Aws::Utils::Xml::XmlDocument::constructor_void_]
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 5
call dword [sym.imp.aws_cpp_sdk_core.dll_public:_void___thiscall_Aws::Utils::Json::JsonValue::constructor_void_]
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 8
Function at 0x10028210
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015c833
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1031500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [ecx], eax
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
movups xmm0, xmmword [edi + 4]
movups xmmword [ecx + 4], xmm0
movq xmm0, qword [edi + 0x14]
movq qword [ecx + 0x14], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
movups xmm0, xmmword [edi + 0x1c]
mov dword [ebp - 4], 0
movups xmmword [ecx + 0x1c], xmm0
movq xmm0, qword [edi + 0x2c]
movq qword [ecx + 0x2c], xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0
movups xmm0, xmmword [edi + 0x34]
movups xmmword [ecx + 0x34], xmm0
movq xmm0, qword [edi + 0x44]
movq qword [ecx + 0x44], xmm0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0
movups xmm0, xmmword [edi + 0x4c]
movups xmmword [ecx + 0x4c], xmm0
movq xmm0, qword [edi + 0x5c]
movq qword [ecx + 0x5c], xmm0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0xf
mov byte [edi + 0x4c], 0
lea esi, [ecx + 0x64]
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10140830
mov dword [esi], eax
mov ecx, dword [edi + 0x64]
mov dword [esi], ecx
mov dword [edi + 0x64], eax
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x68]
mov dword [esi + 4], eax
mov dword [edi + 0x68], ecx
mov esi, dword [ebp - 0x10]
mov eax, dword [edi + 0x6c]
mov byte [ebp - 4], 4
mov dword [esi + 0x6c], eax
lea ecx, [esi + 0x78]
mov al, byte [edi + 0x70]
mov byte [esi + 0x70], al
mov eax, dword [edi + 0x74]
mov dword [esi + 0x74], eax
lea eax, [edi + 0x78]
push eax
call dword [sym.imp.aws_cpp_sdk_core.dll_public:_void___thiscall_Aws::Utils::Xml::XmlDocument::constructor_class_Aws::Utils::Xml::XmlDocument__]
lea eax, [edi + 0x7c]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x7c]
call dword [sym.imp.aws_cpp_sdk_core.dll_public:_void___thiscall_Aws::Utils::Json::JsonValue::constructor_class_Aws::Utils::Json::JsonValue__]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10028390
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10162373
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1031500c]
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 + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov dword [ebp - 4], 0
mov byte [edi + 0x1c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0xf
mov byte [edi + 0x34], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0xf
mov byte [edi + 0x4c], 0
lea esi, [edi + 0x64]
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10140830
mov dword [esi], eax
lea ecx, [edi + 0x78]
mov byte [ebp - 4], 4
mov dword [edi + 0x6c], 0xffffffff
mov byte [edi + 0x70], 0
call dword [sym.imp.aws_cpp_sdk_core.dll_private:_void___thiscall_Aws::Utils::Xml::XmlDocument::constructor_void_]
lea ecx, [edi + 0x7c]
mov byte [ebp - 4], 5
call dword [sym.imp.aws_cpp_sdk_core.dll_public:_void___thiscall_Aws::Utils::Json::JsonValue::constructor_void_]
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

Function at 0x10028560
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101623f3
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1031500c]
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 esi, ecx
mov dword [ebp - 0x5c], esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x5c], esi
call fcn.10028860
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x18]
call fcn.10028860
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x30]
call fcn.10028860
cmp dword [ebp - 0x14], 0x10
mov edi, dword [sym.imp.aws_cpp_sdk_core.dll_void___cdecl_Aws::Free_void__]
mov byte [ebp - 4], 7
jb 0x1002861b
push dword [ebp - 0x28]
call edi
add esp, 4
cmp dword [ebp - 0x2c], 0x10
mov byte [ebp - 4], 9
jb 0x1002862d
push dword [ebp - 0x40]
call edi
add esp, 4
cmp dword [ebp - 0x44], 0x10
mov byte [ebp - 4], 0xb
jb 0x1002863f
push dword [ebp - 0x58]
call edi
add esp, 4
push ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xa
call sym.aws_cpp_sdk_s3.dll_public:_void___thiscall_Aws::Client::AWSError_enum_Aws::S3::S3Errors_::constructor_class_Aws::Client::AWSError_enum_Aws::S3::S3Errors___
mov byte [esi + 0xe4], 0
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.1015b79e
mov esp, ebp
pop ebp
ret 4
Function at 0x1002b7b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10162bee
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1031500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.10028990
movzx eax, byte [esi + 0xc]
lea ecx, [edi + 0x10]
mov byte [edi + 0xc], al
lea eax, [esi + 0x10]
push eax
mov dword [ebp - 4], 0
call fcn.10028990
movzx eax, byte [esi + 0x1c]
lea ecx, [edi + 0x20]
mov byte [edi + 0x1c], al
lea eax, [esi + 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.10028990
movzx eax, byte [esi + 0x2c]
lea ecx, [edi + 0x30]
mov byte [edi + 0x2c], al
lea eax, [esi + 0x30]
push eax
mov byte [ebp - 4], 2
call fcn.10028990
movzx eax, byte [esi + 0x3c]
mov byte [edi + 0x3c], al
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
movzx eax, byte [esi + 0x44]
mov byte [edi + 0x44], al
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 4

Function at 0x1002b9a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ecx], eax
movzx eax, byte [edx + 4]
mov byte [ecx + 4], al
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
movups xmm0, xmmword [edx + 8]
movups xmmword [ecx + 8], xmm0
movq xmm0, qword [edx + 0x18]
movq qword [ecx + 0x18], xmm0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0xf
mov byte [edx + 8], 0
movzx eax, byte [edx + 0x20]
mov byte [ecx + 0x20], al
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
movups xmm0, xmmword [edx + 0x24]
movups xmmword [ecx + 0x24], xmm0
movq xmm0, qword [edx + 0x34]
movq qword [ecx + 0x34], xmm0
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], 0xf
mov byte [edx + 0x24], 0
movzx eax, byte [edx + 0x3c]
mov byte [ecx + 0x3c], al
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
movups xmm0, xmmword [edx + 0x40]
movups xmmword [ecx + 0x40], xmm0
movq xmm0, qword [edx + 0x50]
movq qword [ecx + 0x50], xmm0
mov dword [edx + 0x50], 0
mov dword [edx + 0x54], 0xf
mov byte [edx + 0x40], 0
movzx eax, byte [edx + 0x58]
mov byte [ecx + 0x58], al
mov dword [ecx + 0x6c], 0
mov dword [ecx + 0x70], 0
movups xmm0, xmmword [edx + 0x5c]
movups xmmword [ecx + 0x5c], xmm0
movq xmm0, qword [edx + 0x6c]
movq qword [ecx + 0x6c], xmm0
mov dword [edx + 0x6c], 0
mov dword [edx + 0x70], 0xf
mov byte [edx + 0x5c], 0
movzx eax, byte [edx + 0x74]
mov byte [ecx + 0x74], al
mov dword [ecx + 0x88], 0
mov dword [ecx + 0x8c], 0
movups xmm0, xmmword [edx + 0x78]
movups xmmword [ecx + 0x78], xmm0
movq xmm0, qword [edx + 0x88]
movq qword [ecx + 0x88], xmm0
mov dword [edx + 0x88], 0
mov dword [edx + 0x8c], 0xf
mov byte [edx + 0x78], 0
movzx eax, byte [edx + 0x90]
mov byte [ecx + 0x90], al
movzx eax, byte [edx + 0x91]
mov byte [ecx + 0x91], al
movzx eax, byte [edx + 0x92]
mov byte [ecx + 0x92], al
mov eax, ecx
pop ebp
ret 4
Function at 0x1002ea00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101633fd
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1031500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.10028860
lea eax, [edi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x18]
call fcn.10028860
lea eax, [edi + 0x30]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x30]
call fcn.10028860
mov eax, dword [edi + 0x48]
lea ecx, [esi + 0x4c]
mov dword [esi + 0x48], eax
lea eax, [edi + 0x4c]
push eax
mov byte [ebp - 4], 2
call fcn.10028860
lea eax, [edi + 0x64]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x64]
call fcn.10028860
lea eax, [edi + 0x7c]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x7c]
call fcn.10028860
lea eax, [edi + 0x94]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x94]
call fcn.10028860
movzx eax, byte [edi + 0xac]
mov byte [esi + 0xac], al
mov eax, dword [edi + 0xb0]
add edi, 0xb8
mov dword [esi + 0xb0], eax
add esi, 0xb8
push edi
mov ecx, esi
mov byte [ebp - 4], 6
mov dword [ebp + 8], esi
call fcn.10028860
movzx eax, byte [edi + 0x18]
mov byte [esi + 0x18], al
movups xmm0, xmmword [edi + 0x20]
movups xmmword [esi + 0x20], xmm0
movzx eax, byte [edi + 0x30]
mov byte [esi + 0x30], al
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4