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

Disassembly:
sub esp, 0x54
mov dword [esp + 0xc], ebp
mov ebp, eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call fcn.10009924
test al, al
je 0x10036445
lea eax, [esp + 0x64]
call fcn.10009924
xor al, 1
je 0x10036445
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], esi
jmp 0x1003646f
lea eax, [esp + 0x64]
call fcn.10009924
test al, al
je 0x1003646f
lea eax, [esp + 0x5c]
call fcn.10009924
xor al, 1
je 0x1003646f
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x50], ebp
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x70]
push dword [esp + 0x70]
mov eax, dword [esp + 0x68]
call fcn.10033ff8
lea eax, [esp + 0x7c]
call fcn.1004400c
xor al, 1
je 0x1003655b
mov edx, dword [esp + 0x7c]
lea ebx, [edx - 1]
mov ecx, dword [esp + 0x7c]
cmp edx, ebx
jae 0x100364c8
mov dword [esp + 4], 0xa67
mov dword [esp], 0x10033d98
call fcn.10018044
xor ebp, ebp
mov esi, ecx
dec esi
mov dword [esp + 0x38], esi
je 0x1003655b
mov dword [esp + 0x48], 0
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x40], ecx
mov esi, dword [esp + 0x40]
lea edi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ebx, [ebp + 1]
mov edx, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x18]
jb 0x1003651b
mov dword [esp + 4], 0xa68
mov dword [esp], 0x10033d98
call fcn.10018044
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x80]
mov ebx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
cmp edx, ecx
jne 0x1003653c
xor edx, edx
cmp eax, ebx
je 0x1003653c
ja 0x1003653b
dec edx
jmp 0x1003653c
inc edx
setl al
push eax
mov eax, 0xa68
call fcn.10036280
inc ebp
add dword [esp + 0x40], 0x10
add dword [esp + 0x48], 0x10
cmp ebp, dword [esp + 0x38]
jb 0x100364ea
xor ebp, ebp
cmp dword [esp + 0x74], 0
je 0x100365f4
mov edx, dword [esp + 0x74]
lea esi, [edx - 1]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x3c], esi
lea ebx, [ecx + 0x10]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], ebx
mov esi, dword [esp + 0x44]
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x3c], ebp
je 0x100365d0
lea ecx, [ebp + 1]
cmp ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
jb 0x100365b9
mov dword [esp + 4], 0xa6c
mov dword [esp], 0x10033d98
call fcn.10018044
mov ebx, dword [esp + 0x4c]
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
cmp edx, ecx
jl 0x100365d0
jg 0x100365cc
cmp eax, ebx
jb 0x100365d0
xor eax, eax
jmp 0x100365d5
mov eax, 1
push eax
mov eax, 0xa6c
call fcn.10036280
mov edx, 0x10
inc ebp
add dword [esp + 0x44], edx
add dword [esp + 0x4c], edx
cmp ebp, dword [esp + 0x74]
jb 0x10036582
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], edx
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ecx
movsx eax, byte [esp + 0x58]
mov byte [ebp + 0x30], al
mov eax, ebp
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esp, 0x54
ret 0x2c