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

Disassembly:
push esi
mov esi, dword [ebp + 0xc]
push edi
test byte [esi + 4], 4
jne 0x5812829a
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x64], ebx
mov edi, dword [ebx]
mov dword [esp + 0x2c], edi
jne 0x180e3bdf
push ecx
mov edx, esi
mov ecx, ebx
call 0x1832b749
pop ecx
jne 0x180e3bd3
cmp byte [edi + 0x51], 0
je 0x1663e3d
mov ecx, dword [esi + 0x34]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], esi
setne al
xor edi, edi
je 0x180e3c05
cmp byte [edi], cl
xchg ebp, eax
sal byte [ebx], 0xff
mov dword [esp + 0x68], eax
mov dword [esp + 0x34], edi
or dword [esi + 4], 4
lea eax, [esp + 0x44]
push 0x20
push edi
push eax
call 0xa11b0083
pop esp
and al, 0x44
mov dword [esp + 0x60], esi
and al, 0x60
lea ecx, [esp + 0x44]
mov edx, dword [esi + 0x3c]
call 0xc883fc98
test dword [esi + 4], 0x10000
je 0x180e3c2b
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x1c]
mov eax, dword [esi + 0x30]
mov dword [ecx + 0x30], eax
mov dword [esi + 0x30], edi
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], ecx
cmp dword [ecx], edi
jle 0x949813c9
and al, 0xc
mov eax, ecx
cmp dword [edx + ecx + 0x1c], edi
je 0x341888d7
test byte [ecx + 4], 4
mov ecx, dword [esp + 0x10]
jne 0x1902cfe5
add byte [eax], al
mov eax, edi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x24]
test edx, edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x14], edi
je 0x180e3c8c
mov ecx, dword [esp + 0x20]
add eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x180e3c7a
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [edx + ecx + 0x10]
test eax, eax
je 0x180e3c9a
mov dword [ebx + 0xf4], eax
mov edx, dword [edx + ecx + 0x1c]
lea ecx, [esp + 0x70]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], 0x1810c29e
mov dword [esp + 0x78], 0x1810cc80
mov dword [esp + 0x7c], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x88], eax
call 0x40328155
mov dword [ebx + 0xf4], eax
cmp dword [ebx + 0x24], edi
jne 0x44328164
cmp byte [eax + 0x51], 0
jne 0x3c32896e
mov eax, ecx
test ecx, ecx
mov ecx, dword [esp + 0x14]
je 0x180e3cf7
sub ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x180e3ced
mov edx, dword [esp + 0x10]
neg ecx
mov eax, dword [esp + 0xc]
sbb ecx, ecx
and ecx, 8
mov eax, dword [eax + edx + 0x30]
and eax, 0xfffffff7
or ecx, eax
mov eax, dword [esp + 0xc]
mov dword [eax + edx + 0x30], ecx
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0xc]
inc dword [esp + 0x1c]
add edx, 0x48
mov ebx, dword [esp + 0x1c]
mov ecx, eax
cmp ebx, dword [eax]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
jl 0x74328206
add dword [eax], eax
add byte [ebp - 0x74bbdbb4], cl
inc esi
and byte [ecx - 0x74b7dbbc], cl
inc esp
and al, 0x24
mov dword [esp + 0x50], eax
mov edx, dword [esi + 0x1c]
call 0x9d1dfde3
mov ecx, dword [esp + 0x5c]
and ecx, 0xffffbfff
mov dword [esp + 0x5c], ecx
mov eax, dword [esi + 0x28]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x180e3d85
test cl, 0x10
jne 0x180e3d85
and ecx, 0xfffffffe
mov dword [esp + 0x5c], ecx
jmp 0x180e3d95
and ecx, 0x1000
or ecx, 8
or dword [esi + 4], ecx
mov ecx, dword [esp + 0x5c]
cmp dword [esi + 0x2c], edi
je 0x180e3da2
test eax, eax
je 0x992a842d
leave
add byte [eax], 0
add byte [ecx - 0x72a3dbb4], cl
dec esp
and al, 0x44
mov dword [esp + 0x4c], eax
mov edx, dword [esi + 0x2c]
call 0x9d1dfe40
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x44]
call 0x9d1dfe4c
mov eax, dword [esi + 0x20]
mov edx, edi
mov dword [esp + 0x14], edx
cmp dword [eax], edi
jle 0x180e3e11
mov ecx, edi
mov dword [esp + 0x10], edi
test byte [ecx + eax + 0x30], 4
je 0x180e3dfe
mov edx, dword [ecx + eax + 0x48]
lea ecx, [esp + 0x44]
call 0x9d1dfe73
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x20]
inc edx
add ecx, 0x48
mov dword [esp + 0x14], edx
push esp
and al, 0x14
mov dword [esp + 0x10], ecx
cmp edx, dword [eax]
jl 0x180e3dd2
or dword [esp + 0x5c], 0x4001
mov dword [esp + 0x50], edi
test dword [esi + 4], 0x10000
je 0x180e3e2d
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx + 0x30]
mov dword [esi + 0x30], eax
mov dword [ecx + 0x30], edi
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x34]
jg 0xa13e8cc6
dec esp
and al, 0x20
test ecx, ecx
je 0xa32a84d1
push esp
and al, 0x44
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], edi
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
lea eax, [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
test ecx, ecx
jle 0x189a15f7
mov ecx, eax
mov dword [esp + 0x14], eax
call 0x54328300
test eax, eax
je 0x682a950a
call 0xa1d6c9dd
dec esp
and al, 0x28
test ecx, ecx
jg 0x180e3eae
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x28]
call 0x3b82ff1d
mov ecx, dword [esp + 0x28]
lea eax, [ecx - 1]
cmp eax, 0xfffe
ja 0x30328335
mov edx, dword [esp + 0xc]
mov word [eax + 0x10], cx
jmp 0x30328342