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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x17f1963
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1845170]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
xor esi, esi
cmp dword [ebx + 8], esi
je 0x17864f7
push 0x1785f90
push 0x1786070
push 3
push 0xc
lea eax, [esp + 0x58]
push eax
call fcn.017b0348
mov dword [esp + 0x78], esi
mov eax, dword [ebx + 0x100c8]
mov ecx, dword [eax]
add ebx, 0x100c4
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov esi, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
mov ebp, 0xa
test esi, esi
mov eax, ebx
mov edx, dword [eax + 4]
je 0x178650d
cmp esi, eax
jne 0x178650d
cmp ecx, edx
sete al
test al, al
sete al
test al, al
je 0x1786407
cmp ecx, dword [esi + 4]
je 0x17863f8
mov esi, dword [ecx + 0xc]
mov ecx, dword [esi + 0x1050]
movzx edi, word [ecx]
cmp di, 0x2209
mov dword [esp + 0x14], edi
jne 0x1786324
cmp dword [esi + 0x104c], ebp
jg 0x1786313
call fcn.0176dcc0
mov edx, dword [esi + 0x1034]
movzx edi, word [edx + 0xa]
add dword [esp + 0x18], 1
jmp 0x178635f
cmp di, 0x220a
jne 0x1786363
mov eax, dword [esi + 0x1054]
mov cx, word [eax]
and cx, 0x7fff
add cx, 6
movzx edi, cx
sub edi, 2
cmp edi, dword [esi + 0x104c]
jl 0x1786350
call fcn.0176dcc0
mov edx, dword [esi + 0x1034]
movzx edi, word [edi + edx]
add dword [esp + 0x20], 1
mov dword [esp + 0x14], edi
mov esi, dword [esi + 0x14]
xor eax, eax
cmp esi, 2
je 0x1786376
cmp esi, 1
setne al
add eax, 1
lea esi, [eax + eax*2]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
lea esi, [esp + esi*4 + 0x4c]
push ecx
mov ecx, esi
call fcn.01782c30
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov edx, dword [esi + 4]
je 0x1786402
cmp ecx, esi
jne 0x1786402
mov eax, dword [esp + 0x30]
cmp eax, edx
jne 0x17863d9
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov word [esp + 0x3c], di
mov dword [esp + 0x40], 1
call fcn.01782b70
lea ecx, [esp + 0x24]
call fcn.0177e950
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x17862bf
cmp eax, dword [ecx + 4]
je 0x17863fd
add dword [eax + 0x10], 1
lea ecx, [esp + 0x24]
call fcn.0177e950
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x17862bf
call fcn.0177e6b0
call fcn.0177e9b0
call fcn.0177e640
xor ebp, ebp
xor ebx, ebx
lea edi, [esp + 0x4c]
nop
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, dword [edi]
sete al
test al, al
sete al
test al, al
je 0x1786489
cmp esi, dword [edi]
je 0x17863fd
mov ecx, dword [esi + 0x10]
movzx edx, word [esi + 0xc]
mov eax, dword [esp + 0x1c]
push ebx
push ecx
mov ecx, dword [eax + 8]
push edx
call ecx
add esp, 0xc
cmp esi, dword [edi]
je 0x17863fd
add ebp, dword [esi + 0x10]
cmp byte [esi + 0x15], 0
jne 0x17863fd
mov eax, dword [esi + 8]
cmp byte [eax + 0x15], 0
jne 0x178646c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x15], 0
jne 0x1786414
lea esp, [esp]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x15], 0
je 0x1786460
jmp 0x1786414
mov eax, dword [esi + 4]
cmp byte [eax + 0x15], 0
jne 0x1786485
cmp esi, dword [eax + 8]
jne 0x1786485
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x1786475
mov esi, eax
jmp 0x1786414
add ebx, 1
add edi, 0xc
cmp ebx, 3
jl 0x1786410
mov eax, dword [esp + 0x18]
test eax, eax
mov esi, dword [esp + 0x1c]
jbe 0x17864b4
mov edx, dword [esi + 8]
push 0
push eax
push 0x2209
call edx
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x17864cc
push 0
push eax
mov eax, dword [esi + 8]
push 0x220a
call eax
add esp, 0xc
mov ecx, dword [esi + 8]
push 3
push ebp
push 0xffff
call ecx
add esp, 0xc
mov dword [esp + 0x78], 0xffffffff
push 0x1785f90
push 3
push 0xc
lea edx, [esp + 0x54]
push edx
call fcn.017b0281
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0177e260
int3