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

Disassembly:
push 0xffffffffffffffff
push 0x10042376
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x10c]
xor esi, esi
mov eax, 7
mov ebx, ecx
mov edi, edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
xor eax, eax
mov dword [esp + 0x104], esi
push 0x80
mov dword [esp + 0x70], eax
mov word [esp + 0x74], ax
lea eax, [esp + 0x78]
push esi
push eax
call sub.MSVCR80.dll_memset
movzx ecx, byte [edi + 5]
movzx edx, byte [edi + 4]
movzx eax, byte [edi + 3]
add esp, 0xc
push ecx
movzx ecx, byte [edi + 2]
push edx
movzx edx, byte [edi + 1]
push eax
movzx eax, byte [edi]
push ecx
push edx
push eax
lea ecx, [esp + 0x8c]
push str._02x_02x_02x_02x_02x_02x
push ecx
lea edx, [esi + 0x40]
call fcn.1002e750
lea eax, [esp + 0x94]
add esp, 0x20
lea ecx, [eax + 2]
jmp 0x1000b3c0
mov dx, word [eax]
add eax, 2
cmp dx, si
jne 0x1000b3c0
sub eax, ecx
sar eax, 1
push eax
lea edx, [esp + 0x78]
push edx
lea esi, [esp + 0x58]
call fcn.100025e0
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
movzx edx, byte [edi + 2]
mov byte [esp + 0x6c], al
movzx eax, byte [edi + 3]
mov byte [esp + 0x6d], cl
movzx ecx, byte [edi + 4]
mov byte [esp + 0x6e], dl
movzx edx, byte [edi + 5]
lea edi, [esp + 0x14]
mov byte [esp + 0x6f], al
mov byte [esp + 0x70], cl
mov byte [esp + 0x71], dl
mov dword [esp + 0x14], 0x7b
call fcn.1000ab40
lea edi, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x14], 0x7d
call fcn.1000ab40
cmp esi, eax
jae 0x1000b488
cmp esi, 0xffffffff
je 0x1000b488
cmp eax, 0xffffffff
je 0x1000b488
sub eax, esi
add eax, 1
push eax
mov ecx, esi
push ebx
lea esi, [esp + 0x20]
call fcn.10002070
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10c], 1
call fcn.100020a0
mov edi, 8
mov byte [esp + 0x104], 0
cmp dword [esp + 0x30], edi
jb 0x1000b48d
mov eax, dword [esp + 0x1c]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x1000b48d
mov edi, 8
xor ebx, ebx
lea esi, [ebp + 0x10]
xor ebp, ebp
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1000b530
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 6
cmp ebx, eax
jae 0x1000b530
test ecx, ecx
je 0x1000b4bf
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 6
cmp ebx, eax
jb 0x1000b4c5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x68], edi
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x54]
lea ecx, [ecx + ebp + 0x1c]
jae 0x1000b4da
lea eax, [esp + 0x54]
mov edi, dword [esp + 0x64]
push eax
mov eax, dword [ecx + 0x14]
call fcn.100098d0
test eax, eax
je 0x1000b4f8
add ebx, 1
add ebp, 0x40
mov edi, 8
jmp 0x1000b494
mov esi, 8
cmp dword [esp + 0x68], esi
jb 0x1000b510
mov edx, dword [esp + 0x54]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
cmp dword [esp + 0x4c], esi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
jb 0x1000b572
mov eax, dword [esp + 0x38]
push eax
jmp 0x1000b56a
lea ebx, [esp + 0x34]
call fcn.1000c580
cmp dword [esp + 0x68], edi
jb 0x1000b54c
mov ecx, dword [esp + 0x54]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], eax
mov word [esp + 0x54], ax
jb 0x1000b572
mov edx, dword [esp + 0x38]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.1003ec9d
add esp, 0xf4
ret 4