joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c1c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48f508
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4ae7cc]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
xor edx, edx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclient_third_partyprotobuf_files_srcgoogleprotobufgenerated_message_reflection.cc
mov dword [esp + 0x18], 0x53
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], edx
mov byte [esp + 0x1c], dl
mov dword [esp + 0x48], edx
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 4]
mov dword [esp + 0xc], eax
push 0x56
mov eax, str.Protocol_Buffer_reflection_usage_error:_n__Method______:_google::protobuf::Reflection::
lea ecx, [esp + 0x20]
call fcn.0040b380
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43c248
sub eax, ecx
push eax
mov eax, esi
lea ecx, [esp + 0x20]
call fcn.0040b380
push 0x11
mov eax, str._n__Message_type:
lea ecx, [esp + 0x20]
call fcn.0040b380
mov ecx, dword [esp + 0xc]
push 0
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x24]
call fcn.0040bc60
push 0x11
mov eax, str._n__Field_______:
mov ecx, esi
call fcn.0040b380
push 0
push ebx
or eax, 0xffffffff
call fcn.0040bc60
push 0x11
mov eax, str._n__Problem_____:
mov ecx, esi
call fcn.0040b380
mov eax, edi
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x43c2b0
sub eax, ecx
push eax
mov eax, edi
lea ecx, [esp + 0x20]
call fcn.0040b380
lea ecx, [esp + 0x10]
call fcn.00420b30
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x30], 0x10
jb 0x43c2ea
mov edx, dword [esp + 0x1c]
push edx
call fcn.00475405
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00475410
mov esp, ebp
pop ebp
ret
Function at 0x43fe50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x491370
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4ae7cc]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 4]
cmp dword [esi + 0x24], eax
je 0x43feb8
push eax
mov edi, str.Field_does_not_match_message_type.
mov edx, str.AddDouble
mov ecx, esi
call fcn.0043c1c0
add esp, 4
cmp dword [esi + 0x1c], 3
je 0x43fed6
mov ecx, dword [ebx + 4]
push ecx
mov edi, str.Field_is_singular__the_method_requires_a_repeated_field.
mov edx, str.AddDouble
mov ecx, esi
call fcn.0043c1c0
add esp, 4
mov edx, dword [esi + 0x18]
mov edi, 5
cmp dword [edx*4 + 0x49ab90], edi
je 0x43fef8
mov ecx, dword [ebx + 4]
push esi
mov edx, str.AddDouble
call fcn.0043c310
add esp, 4
cmp byte [esi + 0x20], 0
je 0x43ff28
mov eax, dword [esi + 0x38]
fld qword [ebp + 0x10]
movzx ecx, byte [eax + 0x1c]
movzx edx, byte [esi + 0x18]
mov eax, dword [ebx + 0x18]
add eax, dword [esp + 0x38]
sub esp, 8
fstp qword [esp]
push ecx
push edx
mov edx, dword [esi + 0x14]
push eax
mov ecx, esi
call fcn.0046c560
jmp 0x43ff58
mov eax, esi
call fcn.0043c160
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*4]
add esi, dword [esp + 0x38]
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
jne 0x43ff4a
inc eax
push eax
mov eax, esi
call fcn.00442170
mov edx, dword [esi + 4]
fld qword [ebp + 0x10]
mov eax, dword [esi]
fstp qword [eax + edx*8]
inc dword [esi + 4]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00475410
mov esp, ebp
pop ebp
ret 0x10
Function at 0x447f60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4911e8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
xor ebx, ebx
mov dword [esp + 0x14], ecx
add ecx, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov word [esp + 0x28], bx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0x4000000
mov dword [esp + 0x38], 0x2000000
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x40
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call edx
test al, al
je 0x44800d
mov ecx, esi
call fcn.00447e60
cmp al, bl
je 0x44800d
cmp byte [esp + 0x28], bl
je 0x44800d
mov al, 1
mov byte [esp + 0xf], al
jmp 0x448013
mov byte [esp + 0xf], bl
mov al, bl
mov dword [esp + 0x54], 0xffffffff
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x448043
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x14]
add edx, dword [esp + 0x20]
add edx, dword [esp + 0x18]
cmp edx, ebx
jle 0x448043
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 8]
call edx
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x50
ret
Function at 0x4672a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d928
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4ae7cc]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00403160
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ebx
lea ebx, [esp + 0x10]
mov ecx, esi
call fcn.00467cf0
push eax
lea edx, [esp + 0xc]
push edx
push esi
call fcn.00467820
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x467336
mov eax, dword [esp + 0x10]
push eax
call fcn.00475405
add esp, 4
mov al, byte [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00475410
add esp, 0x40
ret

Function at 0x469450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48fad9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
mov byte [esi], al
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x54]
push esi
mov dword [esp + 0x30], 1
call fcn.004694f0
add esp, 0x28
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x46a230
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x492db9
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4ae7cc]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [esp + 0x14], 0
mov ecx, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0xc]
push eax
call fcn.00428ae0
mov esi, eax
test esi, esi
jne 0x46a291
xor al, al
jmp 0x46a380
mov eax, dword [esi + 0x18]
mov byte [edi], al
cmp dword [esi + 0x1c], 3
sete cl
mov byte [edi + 1], cl
mov eax, dword [esi + 0x38]
mov al, byte [eax + 0x1c]
mov byte [edi + 2], al
mov dword [edi + 0xc], esi
mov edx, dword [esi + 0x18]
mov eax, dword [edx*4 + 0x49ab90]
cmp eax, 0xa
jne 0x46a36c
mov ebx, dword [ebx + 8]
mov eax, dword [esi + 0x2c]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov dword [edi + 4], eax
xor edi, edi
cmp eax, edi
jne 0x46a347
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclient_third_partyprotobuf_files_srcgoogleprotobufextension_set_heavy.cc
mov dword [esp + 0x20], 0xc1
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
mov dword [esp + 0x50], edi
mov esi, dword [esi + 4]
push 0x31
mov eax, str.CHECK_failed:_output__message_prototype___NULL:
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 1
call fcn.0040b380
push 0x40
mov eax, str.Extension_factorys_GetPrototype___returned_NULL_for_extension:
lea ecx, [esp + 0x28]
call fcn.0040b380
push edi
push esi
or eax, 0xffffffff
lea esi, [esp + 0x2c]
call fcn.0040bc60
lea ecx, [esp + 0x18]
call fcn.00420b30
mov dword [esp + 0x50], 0xffffffff
test byte [esp + 0x14], 1
je 0x46a37e
cmp dword [esp + 0x38], 0x10
jb 0x46a37e
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00475405
add esp, 4
jmp 0x46a37e
cmp eax, 8
jne 0x46a37e
mov dword [edi + 4], 0x46a1d0
mov edx, dword [esi + 0x30]
mov dword [edi + 8], edx
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00475410
mov esp, ebp
pop ebp
ret 8
Function at 0x46cbd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490b4b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4ae7cc]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x18]
push eax
push ecx
xor ebx, ebx
push edx
mov dword [esp + 0x24], ebx
call fcn.0046e530
test al, al
je 0x46cc57
mov esi, dword [esp + 0x18]
mov al, byte [esp + 0x34]
mov byte [esi + 8], al
push 0x1c
mov byte [esi + 9], bl
call fcn.0047541f
add esp, 4
cmp eax, ebx
je 0x46cc4c
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ebx
mov byte [eax], bl
mov dword [esi], eax
mov byte [esi + 0xa], bl
mov eax, dword [esi]
jmp 0x46cc60
xor eax, eax
mov dword [esi], eax
mov byte [esi + 0xa], bl
mov eax, dword [esi]
jmp 0x46cc60
mov eax, dword [esp + 0x18]
mov byte [eax + 0xa], bl
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.00475410
add esp, 0x1c
ret 8
Function at 0x46d450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490a09
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4ae7cc]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
lea ebx, [esp + 0x54]
lea eax, [esp + 0xc]
mov ecx, ebp
mov dword [esp + 0x10], 0
call fcn.0046b140
mov ebp, dword [ebp + 4]
mov ebx, dword [esp + 0xc]
cmp ebx, ebp
jne 0x46d505
xor eax, eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclient_third_partyprotobuf_files_srcgoogleprotobufextension_set.cc
mov dword [esp + 0x1c], 0x221
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
mov dword [esp + 0x48], eax
push 0x29
mov eax, str.CHECK_failed:_iter___extensions_.end__:
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 1
call fcn.0040b380
push 0x25
mov eax, str.Index_out_of_bounds__field_is_empty_.
lea ecx, [esp + 0x24]
call fcn.0040b380
lea ecx, [esp + 0x14]
call fcn.00420b30
mov dword [esp + 0x48], 0xffffffff
test byte [esp + 0x10], 1
je 0x46d528
cmp dword [esp + 0x34], 0x10
jb 0x46d528
mov eax, dword [esp + 0x20]
push eax
call fcn.00475405
add esp, 4
movzx ecx, byte [ebx + 0x20]
mov eax, dword [ecx*4 + 0x49aae8]
dec eax
cmp eax, 9
ja case.default.0x46d539
jmp dword [eax*4 + 0x46d5d4]
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov ebx, dword [eax + esi*8]
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
mov dword [eax + edi*8], ebx
mov ebx, dword [eax + esi*8 + 4]
mov dword [eax + edi*8 + 4], ebx
mov dword [eax + esi*8], ecx
mov dword [eax + esi*8 + 4], edx
jmp case.default.0x46d539
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
fld dword [eax + edi*4]
fstp dword [esp + 0xc]
fld dword [eax + esi*4]
fstp dword [eax + edi*4]
fld dword [esp + 0xc]
fstp dword [eax + esi*4]
jmp case.default.0x46d539
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
fld qword [eax + edi*8]
fld qword [eax + esi*8]
fstp qword [eax + edi*8]
fstp qword [eax + esi*8]
jmp case.default.0x46d539
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov dl, byte [eax + esi]
mov cl, byte [eax + edi]
mov byte [eax + edi], dl
mov byte [eax + esi], cl
jmp case.default.0x46d539
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov edx, dword [eax + esi*4]
mov ecx, dword [eax + edi*4]
mov dword [eax + edi*4], edx
mov dword [eax + esi*4], ecx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00475410
add esp, 0x40
ret 8
Function at 0x4703c0
Capabilities:
Get common file path

Disassembly:
cmp dword [0x4b20e4], 0
jne 0x470478
cmp byte [0x4b1fe0], 0
jne 0x47044d
push 0x4b1fe0
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
jb 0x470416
push 0x104
push 0x4b1fe0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
push 0x4b1fe0
call fcn.00477ab0
add esp, 8
test eax, eax
je 0x470416
mov byte [eax + 1], 0
mov eax, 0x4b1fe0
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x470420
mov ecx, dword [str._debug.log]
mov edx, dword [0x4a2954]
mov dword [eax], ecx
mov cx, word [0x4a2958]
mov dword [eax + 4], edx
mov dl, byte [0x4a295a]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
push 0x4a295c
push 0x4b1fe0
call fcn.00478820
add esp, 8
mov dword [0x4b20e4], eax
test eax, eax
jne 0x47046b
xor al, al
ret
push 2
push 0
push eax
call fcn.004788c1
add esp, 0xc
mov al, 1
ret

Function at 0x470480
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48c47b
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4ae7cc]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x294]
cmp dword [ebp + 0x10], 0
je 0x470601
push 0x104
lea eax, [esp + 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x74]
push 0x5c
push ecx
call fcn.004782c0
add esp, 8
test eax, eax
je 0x4704f7
xor edx, edx
mov word [eax + 2], dx
push 0x104
lea eax, [esp + 0x78]
push 0x4a2960
push eax
call fcn.00478720
xor ecx, ecx
add esp, 0xc
cmp dword [ebp + 0x14], 0x10
mov word [esp + 0x27a], cx
jb 0x470523
mov eax, dword [ebp]
jmp 0x470525
mov eax, ebp
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
mov esi, eax
test esi, esi
je 0x470601
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00474661
add esp, 4
mov edi, eax
cmp dword [ebp + 0x14], 0x10
jb 0x470569
mov ebp, dword [ebp]
push esi
push edi
or esi, 0xffffffff
push esi
push ebp
push 0
push 0xfde9
call ebx
test eax, eax
je 0x4705f1
push 0x44
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0047a9a0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4705e1
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov eax, dword [esp + 0x1c]
push eax
call ebx
jmp 0x4705f1
push 0x10
push str.Fatal_error
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
mov dword [esp + 0x290], esi
call fcn.004759f1
add esp, 4
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.00475410
add esp, 0x27c
ret
Function at 0x470650
Capabilities:
Print debug messages
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x48ddb3
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4ae7cc]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x5c], 0
mov eax, dword [ebp]
cmp eax, dword [0x4b1fd8]
jl 0x47080c
lea esi, [esp + 0x18]
lea ecx, [ebp + 8]
call fcn.004708f0
mov ebx, 1
push 2
mov eax, 0x4a299c
mov ecx, esi
mov byte [esp + 0x60], bl
call fcn.0040b380
cmp dword [0x4b1fdc], 0
je 0x4706e1
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x4706da
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x4b1fdc], ebx
je 0x470759
call fcn.004703c0
test al, al
je 0x470759
cmp byte [0x4b20e9], 0
jne 0x47070c
push 0x4b1df0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x4b20e9], bl
push 0x4b1df0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x4b20e4]
push 2
push 0
push ecx
call fcn.004788c1
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x2c], 0x10
jae 0x470739
lea eax, [esp + 0x18]
mov edx, dword [0x4b20e4]
push eax
push 0x49c570
push edx
call fcn.00477944
add esp, 0xc
push 0x4b1df0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp], 3
jne 0x4707de
mov eax, dword [0x4b20e4]
push eax
call fcn.004768eb
add esp, 4
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47077f
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x4707de
cmp dword [0x4b20ec], 0
lea esi, [esp + 0x34]
lea ecx, [ebp + 8]
je 0x4707b0
call fcn.004708f0
push eax
mov byte [esp + 0x60], 2
call dword [0x4b20ec]
add esp, 4
mov ecx, esi
mov byte [esp + 0x5c], bl
call fcn.00472d40
jmp 0x4707de
call fcn.004708f0
push eax
mov byte [esp + 0x60], 3
call fcn.00470480
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x5c], bl
call fcn.00472d40
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [esp + 0x5c], 0
cmp dword [esp + 0x2c], 0x10
jb 0x4707f7
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00475405
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
lea esi, [ebp + 0x68]
mov ecx, esi
mov dword [esp + 0x5c], 0xffffffff
call fcn.00470850
push esi
mov dword [esi], vtable.std::ios_base.0
call fcn.004746d7
add esp, 4
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00475410
add esp, 0x4c
ret 4
Function at 0x471b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491923
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ae7cc]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea edi, [esp + 0x10]
call fcn.00472e90
mov esi, eax
push 0x58
mov dword [esp + 0x3c], 0
call fcn.0047541f
add esp, 4
mov dword [esp + 0xc], eax
mov byte [esp + 0x38], 1
test eax, eax
je 0x471bf2
push eax
call fcn.004720c0
jmp 0x471bf4
xor eax, eax
push 0xffffffffffffffff
push 0
mov byte [esp + 0x40], 0
lea ecx, [eax + 0x3c]
push esi
mov dword [0x4b210c], eax
call fcn.00403160
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x471c27
mov eax, dword [esp + 0x10]
push eax
call fcn.00475405
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00475410
add esp, 0x30
ret

Function at 0x472c00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48dc98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ae7cc]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push edi
mov eax, dword [0x4ae7cc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
jb 0x472c3c
mov eax, dword [eax]
mov ecx, dword [esi + 0x24]
push ecx
push eax
lea edx, [esp + 0x18]
push 0x4a2a1c
push edx
call fcn.004083f0
add esp, 0x10
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x472c6d
push eax
call ebp
mov dword [esi + 4], ebx
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x10]
mov dword [esi + 4], ebx
jae 0x472c7f
lea eax, [esp + 0x10]
push eax
push ebx
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edi, eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x472c9b
push eax
call ebp
mov dword [esi + 4], ebx
cmp edi, 0xffffffff
je 0x472ca3
mov dword [esi + 4], edi
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x472cde
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x472c60
mov dword [esp + 0x38], 0xffffffff
cmp eax, ebx
jne 0x472cfe
cmp dword [esp + 0x24], 8
jb 0x472cfa
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00475405
add esp, 4
mov al, 1
jmp 0x472d14
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x472cfa
mov eax, dword [esp + 0x10]
push eax
call fcn.00475405
add esp, 4
mov al, 1
jmp 0x472d14
cmp dword [esp + 0x24], 8
jb 0x472d12
mov edx, dword [esp + 0x10]
push edx
call fcn.00475405
add esp, 4
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00475410
add esp, 0x2c
ret