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

Disassembly:
sub esp, 0x58
mov eax, dword [0x10021994]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x68]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x70]
push edi
mov edi, ecx
mov ecx, dword [0x10022368]
mov ebx, edx
xor ebp, ebp
push 0x3d
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebp
call fcn.1000fb90
add esp, 4
test eax, eax
jne 0x10007448
cmp dword [esp + 0x6c], 3
jne 0x10007647
cmp dword [esi + edi*4 - 4], ebp
jne 0x100073c3
push 9
call fcn.10016180
add esp, 4
push ebp
push edi
push esi
call fcn.10001b40
add esp, 0xc
cmp eax, 0x7fffffff
mov dword [ebx], eax
jne 0x100073f4
push 9
call fcn.10016180
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1001b1c6
add esp, 0x58
ret
push ebp
lea edx, [edi - 1]
push edx
push esi
call fcn.10001b40
mov ebx, eax
add esp, 0xc
cmp ebx, ebp
jle 0x10007418
push ebp
call fcn.1000c390
sub ebx, 1
add esp, 4
cmp ebx, ebp
jg 0x10007408
cmp dword [esi + edi*4 - 4], ebp
je 0x10007647
mov eax, dword [esp + 0x18]
push ebp
push ebp
push eax
push ebp
push ebp
push edi
push esi
call fcn.10001ba0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1001b1c6
add esp, 0x58
ret
mov eax, dword [esp + 0x6c]
cmp eax, 1
jne 0x1000748b
push eax
xor eax, eax
lea esi, [esp + 0x28]
call fcn.100034b0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
push 1
push ecx
push edx
call fcn.1000fd60
add esp, 0x10
test eax, eax
jne 0x10007637
push 0xd5
call fcn.10016180
add esp, 4
jmp 0x10007637
cmp edi, 1
jne 0x100074af
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
push ebp
push ecx
mov ecx, dword [esp + 0x78]
push ebp
push edx
push ecx
push eax
call fcn.100063a0
add esp, 0x18
mov dword [ebx], eax
jmp 0x10007637
xor eax, eax
cmp dword [esi + edi*4 - 4], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x38], ebp
mov byte [esp + 0x3c], 0
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov word [esp + 0x59], ax
mov byte [esp + 0x5b], al
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x28], ebp
je 0x10007502
push ebp
push edi
push esi
call fcn.10001b40
add esp, 0xc
mov dword [ebx], eax
push ebp
lea ebx, [edi - 1]
push ebx
push esi
call fcn.10001b40
mov ebp, eax
add esp, 0xc
test ebp, ebp
jle 0x10007527
push 0
call fcn.1000c390
sub ebp, 1
add esp, 4
test ebp, ebp
jg 0x10007516
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x7c]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x7c]
push eax
push 0
push edi
push esi
push ecx
push edx
call fcn.100071b0
add esp, 0x28
test ebx, ebx
jle 0x100075ab
lea edx, [esp + 0x2c]
sub edx, esi
mov ebp, esi
mov dword [esp + 0x10], edx
mov eax, dword [ebp]
test eax, eax
jne 0x10007583
mov eax, dword [edx + ebp]
mov dword [ebp], eax
jmp 0x100075a3
mov ecx, dword [edx + ebp]
cmp ecx, eax
jge 0x1000758e
push 0x34
jmp 0x10007592
jle 0x100075a3
push 0x12
call fcn.10016180
mov edx, dword [esp + 0x14]
add esp, 4
add dword [esp + 0x14], 1
add ebp, 4
sub ebx, 1
jne 0x10007574
cmp edi, 1
mov ebp, dword [esp + 0x38]
jle 0x100075ef
cmp dword [esi + edi*4 - 4], 0
jne 0x100075ef
mov edx, dword [esi + edi*4 - 8]
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
test edx, edx
mov eax, ebp
jle 0x100075e7
jmp 0x100075d0
test ecx, ecx
jne 0x100075d9
mov ebx, dword [eax + 0x24]
jmp 0x100075de
cmp ebx, dword [eax + 0x24]
jne 0x100075e7
mov eax, dword [eax]
add ecx, 1
cmp ecx, edx
jl 0x100075d0
cmp ecx, edx
jne 0x100075ef
mov dword [esi + edi*4 - 4], ebx
cmp dword [esp + 0x14], 0
jne 0x10007617
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x3c]
push edx
push eax
push 0
push 0
push edi
push esi
call fcn.10001ba0
mov ebp, dword [esp + 0x54]
add esp, 0x1c
test ebp, ebp
mov eax, ebp
je 0x10007631
mov edi, dword [sym.imp.MSVCR80.dll_free]
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x10007623
mov ebx, dword [esp + 0x20]
xor ebp, ebp
cmp dword [ebx], ebp
jne 0x10007647
mov ecx, dword [0x10022368]
sub ecx, dword [esp + 0x18]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001b1c6
add esp, 0x58
ret