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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x665ebc]
xor eax, esp
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
mov cx, word [edi + 0x20]
push ebx
push esi
mov esi, dword [eax + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
call fcn.0041adc0
mov eax, dword [esi + 0x3c]
and eax, 0x70
cmp al, 0x70
sete al
mov byte [esp + 0xf], al
test al, al
je 0x410ed0
mov ecx, dword [edi + 0x2c]
push 1
push 0
push ecx
push esi
call fcn.0041c340
jmp 0x410ef2
mov eax, dword [edi + 0x2c]
xor ecx, ecx
cmp word [esi + 0x24], cx
jne 0x410ee6
mov edx, dword [esi + 0x28]
test edx, edx
jbe 0x410ee6
add eax, edx
adc ecx, ecx
mov esi, dword [esi + 4]
push ecx
push eax
mov al, 1
call fcn.00402a30
mov esi, dword [esp + 0x18]
push 1
lea edx, [esp + 0x28]
push edx
mov ebx, 0x1e
mov eax, esi
call fcn.0041a8d0
mov eax, dword [esp + 0x24]
cmp eax, dword [0x667cbc]
jne 0x411086
mov ecx, dword [esp + 0x14]
mov ax, word [esp + 0x2a]
mov edx, dword [ecx + 8]
mov bl, al
shr edx, 4
shr bl, 3
not dl
and bl, 1
test dl, 1
je 0x410f45
mov cl, byte [edi + 0xc]
xor cl, al
test cl, 0xf
jne 0x411086
cmp byte [esp + 0xf], 0
mov cx, word [esp + 0x3e]
movzx edx, word [esp + 0x2c]
mov word [edi + 0x74], cx
movzx eax, word [esi + 0x24]
mov word [esp + 0x10], dx
movzx edx, word [esp + 0x40]
mov dword [esp + 0x20], eax
movzx eax, cx
mov word [esp + 0x1c], dx
cdq
je 0x410f81
push 0
push edx
push eax
push esi
call fcn.0041c340
jmp 0x410f93
mov ecx, dword [esi + 4]
mov esi, dword [ecx]
push 1
push edx
mov edx, dword [esi + 0x10]
push eax
call edx
mov esi, dword [esp + 0x18]
movzx eax, word [edi + 0x74]
movzx ecx, word [esp + 0x1c]
lea edx, [eax + ecx + 0x1e]
mov eax, dword [esp + 0x1c]
push eax
push esi
lea ecx, [edi + 0x30]
push ecx
mov dword [edi + 0x78], edx
call fcn.0041d870
test al, al
jne 0x410fca
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
shr eax, 0xc
not al
test al, 1
jne 0x411086
mov ecx, dword [esp + 0x36]
mov edx, dword [esp + 0x3a]
mov dword [edi + 0x24], ecx
mov cx, word [esp + 0x10]
mov dword [edi + 0x28], edx
cmp cx, 0x63
jne 0x410ff5
cmp byte [edi + 0x76], 0xff
je 0x410ff5
push 0xdf
xor ebx, ebx
call fcn.00402970
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
mov edx, eax
shr edx, 1
not dl
test dl, 1
je 0x41100d
cmp cx, word [edi + 0xe]
jne 0x411086
test bl, bl
jne 0x411047
test al, 0xc
jne 0x411047
mov ecx, dword [esp + 0x32]
mov edx, eax
shr edx, 3
not dl
test dl, 1
je 0x41102a
cmp ecx, dword [edi + 0x14]
jne 0x411086
shr eax, 2
not al
test al, 1
je 0x411047
mov eax, dword [edi + 0x24]
test eax, eax
je 0x41103f
cmp eax, dword [edi + 0x18]
jne 0x411086
mov eax, dword [edi + 0x28]
cmp eax, dword [edi + 0x1c]
jne 0x411086
mov cx, word [esp + 0x20]
cmp word [esi + 0x24], cx
je 0x41106e
cmp byte [esp + 0xf], 0
jne 0x41106e
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0059ca15
mov esp, ebp
pop ebp
ret 4
mov eax, 1
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0059ca15
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x44]
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.0059ca15
mov esp, ebp
pop ebp
ret 4