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

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x5c]
push ebx
call fcn.1000fb40
add esp, 4
cmp al, 2
je 0x1001082b
push ebp
push esi
push edi
push ebx
call fcn.1000fb90
mov esi, eax
push esi
call fcn.10011620
mov ebp, eax
push ebx
mov dword [esp + 0x54], ebp
call fcn.1000fbc0
cdq
push esi
mov dword [esp + 0x3c], eax
call fcn.10011650
push eax
call fcn.10014e00
push ebp
mov dword [esp + 0x4c], eax
call fcn.100052f0
push eax
call fcn.10011d60
push ebp
mov dword [esp + 0x40], eax
call fcn.100052a0
mov esi, dword [esp + 0x8c]
xor ebx, ebx
mov dword [esp + 0x64], eax
xor ebp, ebp
mov eax, dword [esp + 0x40]
xor edi, edi
add esp, 0x20
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
cmp byte [eax], 0x5b
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x12], bl
mov dword [esp + 0x14], edi
mov byte [esp + 0x13], bl
mov byte [esp + 0x30], bl
je 0x100104f4
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x50]
push dword [esp + 0x70]
call fcn.10004e30
add esp, 0x10
cmp eax, 1
jne 0x100104c4
mov byte [esp + 0x12], al
mov eax, dword [0x1001f834]
test byte [eax + 0x60], 1
je 0x100104c4
mov eax, esi
test eax, eax
je 0x1001049a
push eax
call fcn.10010830
add esp, 4
mov eax, str.Instance_of_unprepared_class_with_refs:__s_n
jmp 0x1001049f
mov eax, str.Instance_of_unprepared_class_without_refs:__s_n
push dword [esp + 0x20]
push eax
call fcn.10005ca0
push 0x23e
push str.hprof_reference.c
push str.Big_Trouble_with_unprepared_class_instances
push 0
push 0
call fcn.10005d50
add esp, 0x1c
mov edi, dword [esp + 0x18]
test edi, edi
jle 0x1001051a
lea eax, [edi*8]
push eax
call fcn.10017890
mov ecx, dword [esp + 0x1c]
mov edi, eax
shl ecx, 3
push ecx
push 0
push edi
mov dword [esp + 0x24], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
jmp 0x1001051c
inc eax
mov byte [esp + 0x13], 1
push eax
call fcn.10017ff0
mov ecx, dword [esp + 0x34]
add esp, 4
test eax, eax
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [esp + 0x30], ecx
jmp 0x1001051c
xor edi, edi
test esi, esi
je 0x100106d2
mov eax, dword [0x1001f834]
push esi
push dword [eax + 0x254]
call fcn.10012890
mov ebp, eax
add esp, 8
mov ecx, dword [ebp + 0x10]
mov eax, ecx
mov dword [esp + 0x3c], ecx
movzx ecx, cl
shr eax, 8
sub ecx, 1
je 0x10010624
sub ecx, 1
je 0x100105b1
sub ecx, 1
jne 0x100106c3
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x54]
push eax
mov eax, dword [0x1001f834]
push esi
push dword [eax + 0x254]
call fcn.10012920
mov eax, dword [esp + 0x4c]
shr eax, 0x10
movzx eax, al
push eax
call fcn.100109a0
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x4c]
cdq
idiv ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
cdq
mov dword [esp + 0x2c], eax
jmp 0x100106c3
cmp byte [esp + 0x12], 1
je 0x100106c3
lea eax, [esp + 0x5c]
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [0x1001f834]
push esi
push dword [eax + 0x254]
call fcn.10012920
mov eax, dword [esp + 0x48]
add esp, 0x10
test eax, eax
je 0x100105f1
mov ecx, dword [eax]
mov edx, dword [eax + 4]
jmp 0x100105fd
mov ecx, dword [0x1001f410]
mov edx, dword [0x1001f414]
movzx eax, byte [ebp + 0x12]
push eax
push edx
push ecx
push dword [ebp + 4]
push dword [esp + 0x28]
push edi
push dword [esp + 0x40]
push dword [esp + 0x88]
call fcn.100108a0
add esp, 0x20
jmp 0x100106c3
movzx eax, al
sub eax, 2
je 0x1001070b
sub eax, 1
jne 0x100106c3
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x1c]
cmp edi, eax
jg 0x100106b6
test ebx, ebx
jne 0x10010670
lea edi, [eax + 1]
lea esi, [edi*4]
mov dword [esp + 0x1c], edi
push esi
call fcn.10017890
push esi
mov ebx, eax
push 0
push ebx
mov dword [esp + 0x34], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
jmp 0x100106b6
inc eax
lea ebx, [edi*4]
mov dword [esp + 0x1c], eax
lea esi, [eax*4]
push esi
call fcn.10017890
push ebx
push dword [esp + 0x2c]
mov edi, eax
push edi
call sub.VCRUNTIME140.dll_memcpy
sub esi, ebx
lea eax, [edi + ebx]
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [esp + 0x40]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov ebx, edi
add esp, 0x20
mov dword [esp + 0x24], ebx
mov ecx, dword [ebp + 4]
mov eax, dword [ebp]
mov dword [ebx + ecx*4], eax
mov edi, dword [esp + 0x14]
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x10010524
mov ebp, dword [esp + 0x1c]
cmp byte [esp + 0x13], 1
mov eax, dword [esp + 0x68]
jne 0x100107e8
cmp byte [esp + 0x30], 1
jne 0x100107cb
push dword [esp + 0x40]
push dword [esp + 0x24]
push ebp
push dword [esp + 0x38]
push dword [esp + 0x44]
push eax
call fcn.1000bd80
add esp, 0x18
jmp 0x1001080e
cmp byte [esp + 0x12], 1
je 0x100106c3
mov eax, dword [0x1001f420]
mov esi, dword [ebp + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [0x1001f424]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [ebp]
mov dword [esp + 0x3c], eax
mov eax, esi
add eax, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x54], ecx
cmp byte [ecx + eax*8 + 0xe], 0
je 0x100107a7
push edi
push dword [esp + 0x18]
push ecx
push dword [esp + 0x78]
call fcn.10010340
push str._nPROBLEM_WITH:_n
call fcn.10005ca0
push 0
push dword [esp + 0x50]
push dword [esp + 0x58]
push esi
push edi
push dword [esp + 0x3c]
push dword [esp + 0x80]
call fcn.10010200
push 0x10019634
call fcn.10005ca0
push 0x119
push str.hprof_reference.c
push str.Trouble_with_fields_and_heap_data
push 0
push 0
call fcn.10005d50
mov edx, dword [esp + 0x80]
add esp, 0x48
test esi, esi
js 0x100106bf
cmp esi, edi
mov edi, dword [esp + 0x14]
jge 0x100106c3
mov eax, dword [esp + 0x3c]
mov dword [edi + esi*8], eax
mov dword [edi + esi*8 + 4], edx
jmp 0x100106c3
push dword [esp + 0x44]
push ebx
push dword [esp + 0x28]
push ebp
push dword [esp + 0x3c]
push dword [esp + 0x48]
push eax
call fcn.1000bc60
add esp, 0x1c
jmp 0x1001080e
push dword [esp + 0x18]
push edi
push dword [esp + 0x30]
push dword [esp + 0x2c]
push dword [esp + 0x3c]
push dword [esp + 0x58]
push dword [esp + 0x4c]
push eax
push dword [esp + 0x68]
call fcn.1000ba50
add esp, 0x24
test ebx, ebx
je 0x1001081b
push ebx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
test edi, edi
je 0x10010828
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
jmp 0x100103b0