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

Disassembly:
mov eax, 0x10b8
call fcn.102244a0
push ebx
push ebp
mov ebp, dword [esp + 0x10c4]
push esi
mov esi, dword [esp + 0x10cc]
push edi
push 0
push 0x8002
mov dword [esi], 0
mov ecx, dword [0x107ab964]
push ebp
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1003650c
mov ecx, dword [0x107ab964]
push ebx
mov edx, dword [ecx]
call dword [edx + 0x20]
test eax, eax
mov dword [esp + 0x1c], eax
jg 0x100360dd
mov ecx, dword [0x107ab964]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10b8
ret
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x40]
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [esp + 0x34]
mov dword [esp + 0x34], ecx
push edx
mov dword [esp + 0x3c], ecx
push eax
mov byte [esp + 0x44], cl
mov ecx, dword [0x107ab964]
push ebx
push ecx
call fcn.10010a00
add esp, 0x10
test eax, eax
je 0x10036500
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov ecx, dword [0x107ab964]
lea eax, [esp + 0x68]
push eax
push ebx
push ecx
call fcn.1000fc50
add esp, 0xc
test eax, eax
je 0x10036500
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
add eax, ecx
mov edx, edi
mov dword [esp + 0x18], eax
sub edx, eax
test edx, edx
jg 0x1003618c
mov ecx, dword [0x107ab964]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x107ab964]
push esi
push ebp
push ecx
call fcn.1002bac0
add esp, 0xc
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x10b8
ret
lea edx, [esp + 0x10]
push 1
lea eax, [esp + 0xcc]
push edx
mov edx, dword [0x107ab964]
push eax
push 4
lea ecx, [edi - 4]
push 4
push ecx
push edi
push ebx
push edx
call fcn.100253e0
add esp, 0x24
test eax, eax
je 0x10036500
cmp dword [esp + 0x10], 4
jne 0x10036500
mov eax, dword [esp + 0xc8]
test eax, eax
mov dword [esp + 0x24], eax
jl 0x100364a5
cmp edi, eax
jl 0x100364a5
mov ecx, dword [esp + 0x18]
add eax, ecx
cmp edi, eax
mov dword [esp + 0x28], eax
jl 0x10036500
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x10]
push 0
lea ecx, [esp + 0xcc]
push eax
mov eax, dword [0x107ab964]
push ecx
push 0x1000
push 0x100
push edx
push edi
push ebx
push eax
call fcn.100253e0
add esp, 0x24
test eax, eax
je 0x10036500
cmp dword [esp + 0x10], 0x100
jne 0x10036500
xor eax, eax
mov cl, 0xe8
mov dl, 0x68
mov ebp, 0xfc55
mov esi, 0x5e5f5959
cmp byte [esp + eax + 0xc8], cl
jne 0x100362cf
cmp byte [esp + eax + 0xcd], dl
jne 0x100362cf
cmp byte [esp + eax + 0xd2], dl
jne 0x100362cf
cmp byte [esp + eax + 0xd8], cl
jne 0x100362cf
cmp byte [esp + eax + 0xde], cl
jne 0x100362cf
cmp byte [esp + eax + 0xe3], 0x8b
jne 0x100362cf
cmp byte [esp + eax + 0xe5], dl
jne 0x100362cf
cmp byte [esp + eax + 0xeb], cl
jne 0x100362cf
cmp word [esp + eax + 0xf0], 0xc483
jne 0x100362cf
cmp dword [esp + eax + 0xf3], 0xfffc4589
jne 0x100362cf
cmp word [esp + eax + 0xf7], bp
jne 0x100362cf
cmp byte [esp + eax + 0xfa], cl
jne 0x100362cf
cmp byte [esp + eax + 0x100], cl
jne 0x100362cf
cmp dword [esp + eax + 0x105], esi
je 0x100362f4
inc eax
cmp eax, 0xbe
jl 0x10036248
mov ecx, dword [0x107ab964]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10b8
ret
mov ecx, dword [esp + eax + 0xce]
mov esi, dword [esp + 0x84]
sub ecx, esi
cmp eax, 0xbe
jge 0x100364a5
cmp dword [esp + 0xa0], ecx
jb 0x100364a5
test ecx, ecx
je 0x100364a5
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0xcc]
push edx
push eax
push 0x1000
push 0x10
push ecx
mov ecx, dword [0x107ab964]
push edi
push ebx
push ecx
call fcn.100253e0
add esp, 0x24
test eax, eax
je 0x10036500
cmp dword [esp + 0x10], 0x10
jne 0x10036500
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xc8]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], 0
mov esi, 0x1000
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push 1
lea eax, [esp + 0xcc]
push edx
mov edx, dword [0x107ab964]
push eax
push 0x1000
push esi
push edi
push ecx
push ebx
push edx
call fcn.100253e0
add esp, 0x24
test eax, eax
je 0x10036500
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x10036500
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x24]
push ebp
push edx
lea edx, [esp + 0x20]
push ecx
push edx
push eax
lea eax, [esp + 0xe0]
mov dword [esp + 0x2c], 0
push eax
call fcn.10035f80
add esp, 0x1c
test eax, eax
je 0x100364a5
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x100364a5
cmp edi, dword [esp + 0x18]
jne 0x10036437
mov eax, dword [esp + 0xc8]
cmp al, 0x4d
jne 0x10036500
cmp ah, 0x5a
jne 0x10036500
mov ecx, dword [0x107ab964]
push 0
push edi
push ebx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [0x107ab964]
cmp eax, edi
mov eax, dword [ecx]
jne 0x100364ad
mov edx, dword [esp + 0x14]
push edx
lea edx, [esp + 0xcc]
push edx
push ebx
call dword [eax + 0x14]
cmp eax, dword [esp + 0x14]
jne 0x10036500
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
add edi, eax
add eax, edi
cmp eax, esi
jle 0x100364be
sub esi, edi
test esi, esi
jg 0x10036398
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x107ab964]
push eax
push ecx
push ebx
push edx
call fcn.1002b090
add esp, 0x10
test eax, eax
jne 0x100364c8
mov ecx, dword [0x107ab964]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10b8
ret
mov esi, 0x1000
jmp 0x10036398
mov ecx, dword [esp + 0x24]
mov edx, dword [0x107ab964]
push 1
push 0x13a3
push ecx
push ebx
push edx
call fcn.10013800
mov ecx, dword [0x107ab964]
add esp, 0x14
mov eax, dword [ecx]
push ebx
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10b8
ret
mov ecx, dword [0x107ab964]
push ebx
mov edx, dword [ecx]
call dword [edx + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10b8
ret