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

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], 0
mov edi, dword [esi + 0x20]
cmp dword [edi + 0x14c], 0
je 0x327ea6b
call fcn.0329a5a0
movzx eax, word [esi + 8]
test al, 0x40
jne 0x327ed2c
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x327eaa3
test al, 1
jne 0x327eaa3
mov eax, dword [edi + 0xe0]
inc eax
push eax
lea eax, [edi + 0xdc]
push eax
call fcn.0327e490
add esp, 8
cmp eax, 0xffffffff
je 0x327ed2c
cmp dword [edi + 0x158], esi
jne 0x327eadf
test byte [esi + 0x34], 8
je 0x327eadf
call fcn.0329a580
cmp dword [edi + 0x148], eax
je 0x327eadf
inc dword [edi + 0x154]
mov eax, dword [edi + 0x150]
test eax, eax
je 0x327eadf
push 0
push dword [edi + 0x14c]
push eax
call fcn.0329a620
add esp, 0xc
movzx eax, word [esi + 0x34]
push ebp
test al, 0x8e
je 0x327eb7c
test byte [esi + 8], 0x2a
jne 0x327eb7c
test al, 0x86
je 0x327eb0c
push esi
push dword [esi + 0x1c]
push edi
call fcn.0329bcc0
mov ebp, eax
mov dword [esp + 0x30], ebp
jmp 0x327eb20
test al, 8
je 0x327eb2e
push esi
push dword [esi + 0x1c]
push edi
call fcn.0329c100
mov ebp, eax
mov dword [esp + 0x30], eax
add esp, 0xc
cmp ebp, 0xffffffff
je 0x327ed22
jmp 0x327eb30
xor ebp, ebp
cmp dword [edi + 0x14c], 0
je 0x327eb3e
call fcn.0329a5a0
movsx ecx, word [esi + 8]
mov eax, dword [edi + 0x7c]
shr ecx, 4
not ecx
and ecx, 1
add ecx, dword [edi + 0x78]
cmp eax, ecx
mov dword [edi + 0x78], ecx
cmovle eax, ecx
mov dword [edi + 0x7c], eax
or word [esi + 8], 2
cmp ebp, 1
jne 0x327eb73
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], 0
jmp 0x327eb7c
cmp ebp, 0xffffffff
je 0x327ed22
test ebx, ebx
je 0x327ecf8
cmp byte [esi + 0xb], 2
mov ebp, dword [esp + 0x2c]
jne 0x327eb9d
test ebp, ebp
jne 0x327eb9d
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
test byte [esi + 8], 1
je 0x327ebad
push esi
push edi
call fcn.0327fd20
add esp, 8
test byte [esi + 8], 8
je 0x327ebdc
test byte [esi + 0x36], 1
je 0x327ebdc
test byte [esi + 0x34], 8
je 0x327ebd2
cmp word [esi + 0x2c], 0
je 0x327ebd2
mov eax, dword [esi + 0x30]
test eax, eax
je 0x327ebd2
xor ecx, ecx
mov word [eax], cx
push esi
push edi
call fcn.0327fc60
add esp, 8
lea eax, [esp + 0x18]
push eax
push edi
call fcn.032805d0
push edi
push ebx
call fcn.03280e10
add esp, 0x10
mov dword [esp + 0x14], eax
test ebp, ebp
lea ebp, [esi + 0x3c]
je 0x327ec1e
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
push esi
push edi
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
call fcn.0327fa60
add esp, 8
cmp dword [esp + 0x14], 0
je 0x327ecc4
jmp 0x327ec69
test eax, eax
je 0x327ec90
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
and edx, 0xfffff
mov eax, dword [esp + 0x18]
add ecx, edx
add eax, dword [ebx]
mov dword [esi + 0x38], eax
mov dword [ebp], ecx
cmp ecx, 0xf4240
jl 0x327ec52
inc eax
add ecx, 0xfff0bdc0
mov dword [esi + 0x38], eax
mov dword [ebp], ecx
mov eax, dword [ebx + 4]
and eax, 0xfff00000
or eax, ecx
push esi
push edi
mov dword [ebp], eax
call fcn.0327fa60
add esp, 8
mov eax, dword [ebp]
sar eax, 0x14
movzx ecx, al
mov eax, dword [edi + 0xb4]
mov eax, dword [eax + ecx*4]
cmp esi, dword [eax]
jne 0x327ecf8
push esi
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.03280e60
add esp, 0xc
jmp 0x327ecf8
mov edx, dword [ebx]
add edx, dword [esp + 0x18]
mov dword [esi + 0x38], edx
mov ecx, dword [ebx + 4]
add ecx, dword [esp + 0x1c]
mov dword [ebp], ecx
cmp ecx, 0xf4240
jl 0x327ecba
lea eax, [edx + 1]
mov dword [esi + 0x38], eax
lea eax, [ecx - 0xf4240]
mov dword [ebp], eax
push esi
push edi
call fcn.0327fa60
add esp, 8
cmp dword [esi + 0x14], 0
je 0x327ecff
lea eax, [edi + 0xdc]
push eax
call fcn.0327e470
add esp, 4
test eax, eax
je 0x327ecf8
mov edx, dword [eax + 0x38]
xor ecx, ecx
mov esi, dword [esp + 0x18]
cmp edx, esi
jne 0x327ecf1
mov eax, dword [eax + 0x3c]
cmp eax, dword [esp + 0x1c]
setl cl
test ecx, ecx
jne 0x327ecff
cmp dword [esp + 0x10], 0
je 0x327ed1e
cmp dword [edi + 0x98], 0
je 0x327ed1e
call fcn.0329a580
cmp dword [edi + 0x148], eax
je 0x327ed1e
push edi
call fcn.03280480
add esp, 4
mov ebp, dword [esp + 0x24]
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret