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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor esi, esi
and eax, 1
and dword [esp + 0x14], esi
mov ebx, ecx
and dword [esp + 0x10], esi
push edi
mov edi, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
cmp edi, 1
je 0x414e4f
cmp byte [ebx + 0x16], 0
je 0x414e4f
cmp byte [ebx + 0x10], 1
je 0x414e4a
test byte [ebp + 0xc], 2
je 0x414e4f
xor eax, eax
inc eax
jmp 0x414e51
xor eax, eax
mov dword [esp + 0x24], eax
test edi, edi
jne 0x414e68
mov ecx, 0xb74f
call fcn.004587a7
jmp 0x4150f4
mov byte [ebx + 0x17], 1
cmp dword [ebx + 0x28], esi
je 0x414e79
mov esi, dword [ebx + 0x28]
jmp 0x4150d4
test eax, eax
je 0x414f5a
mov ecx, dword [ebx + 0xd0]
test ecx, ecx
je 0x414eaa
lea eax, [esp + 0x14]
push eax
call fcn.0041737d
mov esi, eax
pop ecx
test esi, esi
jne 0x4150d4
cmp dword [esp + 0x14], eax
jne 0x414f5a
mov eax, dword [ebx + 0x98]
lea edx, [esp + 0x10]
mov esi, dword [ebx + 0x3c]
lea ecx, [edi - 1]
and dword [esp + 0x10], 0
push edx
push eax
mov edi, dword [esi]
push 0
cdq
push ecx
push edx
push eax
call fcn.0045b6f0
push edx
push eax
push esi
call dword [edi + 0x44]
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4150d4
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
test eax, eax
je 0x414f5a
cmp byte [ebx + 0x10], 1
jbe 0x414f2b
mov edx, edi
mov ecx, ebx
call fcn.004150fb
mov dword [esp + 0x18], eax
test eax, eax
je 0x414f27
mov eax, dword [ebx + 0x98]
lea ecx, [edi - 1]
push esi
cdq
push ecx
push edx
push eax
call fcn.0045b6f0
mov ecx, dword [ebx + 0x3c]
push edx
mov edx, dword [esp + 0x14]
push eax
call fcn.0040ac2f
jmp 0x414f3c
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
mov edx, edi
push ecx
push eax
mov ecx, ebx
call fcn.00413f5b
mov esi, eax
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x414f52
mov eax, dword [ebp + 8]
mov dword [eax], ecx
xor eax, eax
jmp 0x4150f4
test esi, esi
jne 0x4150d4
mov ecx, dword [ebx + 0xcc]
movzx eax, byte [ecx + 0x1d]
and eax, 3
push eax
push edi
push dword [ecx + 0x28]
call dword [0x4c2d74]
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x414f9e
mov ecx, dword [ebx + 0xcc]
lea eax, [esp + 0x1c]
push eax
mov edx, edi
call fcn.004113b1
mov esi, eax
pop ecx
test esi, esi
jne 0x4150d4
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 0xcc]
mov edx, edi
push eax
call fcn.00411482
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
jne 0x414fbe
push 7
pop esi
jmp 0x4150d4
test esi, esi
jne 0x4150d4
mov ecx, dword [esp + 0x20]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp dword [esi + 0x10], 0
je 0x414fe5
test ecx, ecx
jne 0x414fe5
inc dword [ebx + 0xb8]
jmp 0x414f4b
mov dword [esi + 0x10], ebx
cmp edi, 0x7fffffff
ja 0x4150bf
mov eax, dword [0x4c3a0c]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp edi, eax
je 0x4150bf
cmp byte [ebx + 0xf], 0
jne 0x415068
cmp dword [ebx + 0x18], edi
jb 0x415068
test ecx, ecx
jne 0x415068
mov eax, dword [ebx + 0x3c]
cmp dword [eax], ecx
je 0x415068
mov ecx, dword [ebx + 0xd0]
test ecx, ecx
je 0x41504b
cmp dword [esp + 0x24], 0
jne 0x41504b
lea eax, [esp + 0x14]
mov edx, edi
push eax
call fcn.0041737d
mov esi, eax
pop ecx
test esi, esi
jne 0x4150cb
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, esi
inc dword [ebx + 0xbc]
call fcn.00413737
mov esi, eax
test esi, esi
je 0x414f4b
jmp 0x4150cb
cmp edi, dword [ebx + 0x9c]
jbe 0x415075
push 0xd
pop esi
jmp 0x4150cb
test ecx, ecx
je 0x4150a7
mov eax, dword [0x4c7f24]
test eax, eax
je 0x415084
call eax
cmp edi, dword [ebx + 0x1c]
ja 0x415093
mov ecx, dword [ebx + 0x38]
mov edx, edi
call fcn.00410dc2
mov edx, edi
mov ecx, ebx
call fcn.00412bc5
mov eax, dword [0x4c7f28]
test eax, eax
je 0x4150a7
call eax
push dword [ebx + 0x98]
push 0
push dword [esi + 4]
call fcn.00479330
add esp, 0xc
jmp 0x414f4b
mov ecx, 0xb79f
call fcn.004587a7
mov esi, eax
mov ecx, dword [esp + 0x1c]
call fcn.004114f3
xor edi, edi
cmp dword [ebx + 0x78], edi
jne 0x4150ed
mov eax, dword [ebx + 0xcc]
cmp dword [eax + 0xc], edi
jne 0x4150ed
mov ecx, ebx
call fcn.00412e6c
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret