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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x40], edx
je 0x416f84
cmp byte [esi + 0x25], dl
je 0x416f84
mov eax, dword [esi + 0x50]
lea edi, [esi + 0x3c]
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x34], eax
mov eax, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jmp 0x416d94
mov eax, dword [esp + 0x18]
mov ebx, dword [esi + 0x38]
mov edx, dword [edi]
cmp ebx, edx
jne 0x416dbf
test eax, eax
jne 0x416dbf
mov ecx, dword [ebp + 8]
push edi
push dword [esi + 0x2c]
mov dword [edi], eax
push dword [esi + 0x40]
mov dword [esi + 0x38], eax
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov edx, dword [edi]
mov ebx, dword [esi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x74]
mov ecx, edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
sub ecx, eax
cmp ecx, dword [esi + 0x28]
jbe 0x416ddb
mov edi, dword [esi + 0x28]
add edi, eax
sub edi, dword [esp + 0x1c]
xor eax, eax
mov ecx, eax
cmp byte [esi + 0x26], al
je 0x416e13
mov eax, dword [esi + 0x48]
sub eax, dword [esi + 0x58]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x4c]
sbb eax, dword [esi + 0x5c]
cmp dword [esp + 0x2c], eax
jb 0x416e13
mov eax, dword [esp + 0x20]
ja 0x416e08
cmp edi, eax
jb 0x416e13
cmp byte [esi + 0x24], cl
mov edi, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [esp + 0x24]
sub edx, ebx
push eax
push ecx
mov dword [esp + 0x28], edx
lea eax, [esp + 0x28]
mov edx, dword [esp + 0x24]
lea ecx, [esi + 0x60]
push eax
mov eax, dword [esi + 0x40]
add eax, ebx
push eax
lea edx, [edi + edx]
call fcn.0040648f
mov edx, dword [esi + 0x78]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
add dword [esi + 0x38], eax
add dword [esi + 0x50], eax
push 0
pop eax
adc dword [esi + 0x54], eax
sub edx, dword [esp + 0x1c]
mov ecx, edx
mov dword [esi + 0x34], ebx
add ecx, dword [esi + 0x58]
mov dword [esi + 0x58], ecx
adc eax, dword [esi + 0x5c]
cmp byte [esi + 0x26], 0
mov dword [esi + 0x5c], eax
je 0x416e86
cmp eax, dword [esi + 0x4c]
jb 0x416e86
ja 0x416e7b
cmp ecx, dword [esi + 0x48]
jb 0x416e86
xor eax, eax
inc eax
xor ecx, ecx
mov byte [esp + 0x13], al
jmp 0x416e8e
xor ecx, ecx
mov al, cl
mov byte [esp + 0x13], cl
cmp dword [esp + 0x28], 0
jne 0x416eb8
cmp dword [esp + 0x20], 0
jne 0x416ea0
test edx, edx
je 0x416eb8
cmp ebx, 1
je 0x416eb8
test al, al
je 0x416eae
cmp ebx, 3
jne 0x416eb8
mov byte [esp + 0x12], cl
cmp edx, edi
jb 0x416ef9
jmp 0x416ebf
xor eax, eax
inc eax
mov byte [esp + 0x12], al
mov eax, dword [esi + 0x78]
sub eax, dword [esp + 0x14]
mov edx, dword [esi + 0x70]
add edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00414d52
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x14], ecx
cmp ecx, dword [esi + 0x74]
jne 0x416eeb
xor ecx, ecx
mov dword [esi + 0x78], ecx
mov dword [esp + 0x14], ecx
test eax, eax
jne 0x416f89
cmp byte [esp + 0x12], al
jne 0x416f3d
mov edx, dword [ebp + 0x10]
lea edi, [esi + 0x3c]
mov eax, dword [esp + 0x18]
test edx, edx
je 0x416d94
mov ecx, dword [esi + 0x50]
sub ecx, dword [esp + 0x30]
mov eax, dword [esi + 0x54]
sbb eax, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
lea ecx, [esi + 0x58]
push ecx
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x3c]
mov eax, dword [edx]
push ecx
push edx
call dword [eax + 0xc]
lea edi, [esi + 0x3c]
test eax, eax
je 0x416d90
jmp 0x416f89
cmp dword [esp + 0x28], 0
jne 0x416f84
xor eax, eax
inc eax
cmp ebx, eax
jne 0x416f67
cmp byte [esi + 0x24], 0
je 0x416f7e
cmp byte [esi + 0x26], 0
je 0x416f7e
mov eax, dword [esi + 0x48]
cmp eax, dword [esi + 0x58]
jne 0x416f84
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi + 0x5c]
jmp 0x416f7c
cmp byte [esp + 0x13], 0
je 0x416f84
cmp ebx, 3
je 0x416f84
cmp byte [esi + 0x24], 0
je 0x416f7e
cmp ebx, 4
jne 0x416f84
mov eax, dword [esp + 0x18]
jmp 0x416f89
xor ebx, ebx
lea eax, [ebx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc