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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x18195008]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], esi
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
test al, 1
je 0x180e77cf
push edi
push dword [esi + 0x78]
mov ecx, ebx
push 1
call fcn.1804bf75
mov edi, eax
mov eax, dword [esp + 0x1c]
test al, 2
je 0x180e77e2
push edi
push dword [esi + 0x7c]
mov ecx, ebx
push 2
call fcn.1804bf75
mov edi, eax
mov edx, dword [esi + 0x14]
xor eax, eax
mov dword [esp + 0x14], edx
mov ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ecx
test edx, edx
jle 0x180e781d
mov eax, dword [esi + 0x1c]
push edi
push dword [eax + ecx*4 + 4]
mov ecx, ebx
push 3
call fcn.18075e79
mov ecx, dword [esp + 0x10]
mov edi, eax
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x14]
jl 0x180e77f9
xor eax, eax
mov ecx, dword [esi + 0x24]
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x180e787b
cmp edi, dword [ebx]
jb 0x180e7840
push edi
mov ecx, ebx
call fcn.180b1519
mov edx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esi + 0x2c]
push 0x22
pop ecx
mov esi, dword [eax + edx*4 + 4]
mov edx, edi
call fcn.18075b35
mov ecx, dword [esi + 0xc]
mov edx, eax
call fcn.18075b35
push ebx
push eax
mov ecx, esi
call fcn.180e8c3a
mov edx, dword [esp + 0x10]
mov edi, eax
mov esi, dword [esp + 0x18]
inc edx
mov dword [esp + 0x10], edx
cmp edx, dword [esp + 0x14]
jb 0x180e782e
xor eax, eax
mov ecx, dword [esi + 0x34]
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x180e78d9
cmp edi, dword [ebx]
jb 0x180e789e
push edi
mov ecx, ebx
call fcn.180b1519
mov edx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esi + 0x3c]
push 0x2a
pop ecx
mov esi, dword [eax + edx*4 + 4]
mov edx, edi
call fcn.18075b35
mov ecx, dword [esi + 0xc]
mov edx, eax
call fcn.18075b35
push ebx
push eax
mov ecx, esi
call fcn.180ea95c
mov edx, dword [esp + 0x10]
mov edi, eax
mov esi, dword [esp + 0x18]
inc edx
mov dword [esp + 0x10], edx
cmp edx, dword [esp + 0x14]
jb 0x180e788c
xor eax, eax
mov ecx, dword [esi + 0x44]
mov edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x180e7937
cmp edi, dword [ebx]
jb 0x180e78fc
push edi
mov ecx, ebx
call fcn.180b1519
mov edx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esi + 0x4c]
push 0x32
pop ecx
mov esi, dword [eax + edx*4 + 4]
mov edx, edi
call fcn.18075b35
mov ecx, dword [esi + 0xc]
mov edx, eax
call fcn.18075b35
push ebx
push eax
mov ecx, esi
call fcn.180eb431
mov edx, dword [esp + 0x10]
mov edi, eax
mov esi, dword [esp + 0x18]
inc edx
mov dword [esp + 0x10], edx
cmp edx, dword [esp + 0x14]
jb 0x180e78ea
xor eax, eax
mov ecx, dword [esi + 0x54]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x180e797c
cmp edi, dword [ebx]
jb 0x180e7954
push edi
mov ecx, ebx
call fcn.180b1519
mov edi, eax
mov eax, dword [esi + 0x5c]
mov edx, dword [esp + 0x10]
push ebx
push edi
push 7
mov edx, dword [eax + edx*4 + 4]
pop ecx
call fcn.180f04c2
mov edi, eax
mov eax, dword [esp + 0x18]
inc eax
pop ecx
pop ecx
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jb 0x180e7946
mov eax, dword [esp + 0x1c]
test al, 8
je 0x180e79bf
cmp edi, dword [ebx]
jb 0x180e7992
push edi
mov ecx, ebx
call fcn.180b1519
mov edi, eax
mov esi, dword [esi + 0x84]
mov edx, edi
push 0x42
pop ecx
call fcn.18075b35
mov ecx, dword [esi + 0x18]
mov edx, eax
call fcn.18075b35
push ebx
push eax
mov ecx, esi
call fcn.180ec5e9
mov esi, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x1c]
test al, 0x10
je 0x180e79f6
cmp edi, dword [ebx]
jb 0x180e79d1
push edi
mov ecx, ebx
call fcn.180b1519
mov edi, eax
mov esi, dword [esi + 0x88]
mov edx, edi
push 0x4a
pop ecx
call fcn.18075b35
mov ecx, dword [esi + 0xc]
mov edx, eax
call fcn.18075b35
push ebx
push eax
mov ecx, esi
call fcn.18087dc4
mov edi, eax
mov esi, dword [esp + 0x18]
and dword [esp + 0x10], 0
mov eax, dword [esi + 0x60]
mov dword [esp + 0x14], eax
test eax, eax
jle 0x180e7a3e
cmp edi, dword [ebx]
jb 0x180e7a18
push edi
mov ecx, ebx
call fcn.180b1519
mov edi, eax
mov eax, dword [esi + 0x68]
mov ecx, dword [esp + 0x10]
push edi
push dword [eax + ecx*4]
push 0xa
call fcn.1804c1d2
mov edi, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jl 0x180e7a0a
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x14], eax
test eax, eax
jle 0x180e7a7d
cmp edi, dword [ebx]
jb 0x180e7a57
push edi
mov ecx, ebx
call fcn.180b1519
mov edi, eax
mov eax, dword [esi + 0x74]
mov ecx, dword [esp + 0x20]
push edi
push dword [eax + ecx*4]
push 0xb
call fcn.1804c1d2
mov edi, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x14]
jl 0x180e7a49
test byte [esp + 0x1c], 4
je 0x180e7a96
push edi
push dword [esi + 0x80]
mov ecx, ebx
push 0xc
call fcn.1804bf75
mov edi, eax
lea ecx, [esi + 4]
test byte [ecx], 1
je 0x180e7ab0
push ebx
call fcn.1804c469
mov edx, edi
mov ecx, eax
call fcn.180ba92f
pop ecx
mov edi, eax
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.18120ca0
mov esp, ebp
pop ebp
ret 8