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

Disassembly:
sub esp, 0x88
push ebx
push ebp
mov ebp, dword [esp + 0x94]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x10], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x24]
push esi
mov esi, dword [ecx]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x2c]
mov eax, esi
shr eax, 1
and eax, 7
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x40]
cmp edx, 0xa
mov dword [esp + 0x58], eax
mov eax, dword [0x5275f8]
push edi
ja 0x16497c
lea edx, [edx + edx*8]
lea eax, [eax + edx*4]
mov edi, dword [eax]
mov edx, dword [eax + 4]
and esi, edi
mov dword [esp + 0x34], esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x70], edx
and esi, dword [esp + 0x70]
and ebx, edx
mov edx, dword [eax + 8]
and dword [esp + 0x18], edx
mov dword [esp + 0x38], esi
mov esi, dword [ecx + 8]
mov dword [esp + 0x64], edx
and esi, dword [esp + 0x64]
mov edx, dword [eax + 0xc]
and dword [esp + 0x1c], edx
mov dword [esp + 0x3c], esi
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x6c], edx
and esi, dword [esp + 0x6c]
mov edx, dword [eax + 0x10]
and dword [esp + 0x20], edx
and dword [esp + 0x10], edi
mov dword [esp + 0x40], esi
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x60], edx
and esi, dword [esp + 0x60]
mov edx, dword [eax + 0x14]
and dword [esp + 0x24], edx
mov dword [esp + 0x44], esi
mov esi, dword [ecx + 0x14]
mov dword [esp + 0x58], edx
and esi, dword [esp + 0x58]
mov edx, dword [eax + 0x18]
and dword [esp + 0x28], edx
mov dword [esp + 0x48], esi
mov esi, dword [ecx + 0x18]
mov dword [esp + 0x68], edx
and esi, dword [esp + 0x68]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
and dword [esp + 0x30], eax
and dword [esp + 0x2c], edx
mov dword [esp + 0x4c], esi
mov esi, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
and ecx, eax
and esi, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], esi
mov ecx, 9
lea esi, [esp + 0x34]
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ecx
xor eax, eax
lea esp, [esp]
mov edx, dword [esp + eax + 0x10]
cmp edx, dword [esp + eax + 0x34]
jne 0x164b5f
add eax, 4
cmp eax, 0x24
jl 0x164aa0
mov eax, dword [esp + 0x5c]
cmp eax, 1
jne 0x164ad4
cmp byte [ebp + 0x38], 0
jne 0x164af9
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x88
ret 0x14
cmp eax, 2
jne 0x164aee
test byte [ebp + 0x39], 0xff
jne 0x164af9
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x88
ret 0x14
cmp eax, 4
jne 0x164af9
test byte [ebp + 0x3a], 0xff
je 0x164adf
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x164b19
cmp eax, dword [esp + 0xa0]
jne 0x164adf
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x164b19
cmp eax, dword [esp + 0xa4]
jne 0x164adf
mov eax, dword [esp + 0xa8]
test dword [ebp + 0x38], eax
je 0x164adf
mov ecx, dword [esp + 0xac]
mov eax, dword [ebp + 0x3c]
mov edx, ecx
not edx
and eax, edx
test al, 2
jne 0x164adf
test al, 1
jne 0x164adf
mov al, byte [esp + 0x10]
test al, 0x10
je 0x164b7b
test al, 0x20
je 0x164b7b
mov eax, ecx
and eax, 0x18
cmp al, 0x18
je 0x164b7b
mov ebp, dword [ebp + 0x44]
cmp ebp, 1
jne 0x164b6e
test cl, 0x10
jne 0x164b7b
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x88
ret 0x14
test ebp, ebp
je 0x164b7b
test cl, 8
je 0x164adf
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x88
ret 0x14