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

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x240
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x78
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4167fe
mov eax, 0
jmp 0x416acf
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x24]
add eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x416822
mov eax, 0
jmp 0x416acf
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 0xc]
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp + 0xc]
add eax, edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 0xc]
add eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
add eax, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xc], 0
jmp 0x416884
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
or eax, 0x20
mov ecx, eax
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], cl
add dword [ebp - 0xc], 1
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
test al, al
jne 0x416863
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x224]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
lea eax, [ebp - 0x150]
mov dword [esp], eax
call fcn.0041a35b
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x10]
add eax, 0x3fffffff
lea edx, [eax*4]
mov eax, dword [ebp - 0x30]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
add eax, edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x228]
mov edx, dword [ebp - 0x224]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.0041a35b
mov ecx, eax
xor ecx, dword [ebp - 0x40]
mov ebx, ecx
mov eax, edx
xor eax, dword [ebp - 0x3c]
mov esi, eax
mov eax, ebx
xor eax, dword [ebp - 0x220]
mov dword [ebp - 0x230], eax
mov eax, esi
xor eax, dword [ebp - 0x21c]
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x22c]
mov eax, ecx
or eax, edx
test eax, eax
jne 0x416ab8
mov eax, dword [ebp - 0x10]
add eax, 0x7fffffff
lea edx, [eax + eax]
mov eax, dword [ebp - 0x34]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
lea edx, [eax*4]
mov eax, dword [ebp - 0x2c]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x28]
jb 0x416ab3
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x28]
add eax, edx
cmp eax, dword [ebp - 0x14]
jbe 0x416ab3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xc], 0
jmp 0x4169ce
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
lea ecx, [ebp - 0x190]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov byte [edx], al
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x2e
je 0x4169e5
add dword [ebp - 0xc], 1
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x4169e6
cmp dword [ebp - 0xc], 0x3b
jbe 0x4169a3
jmp 0x4169e6
nop
mov eax, dword [ebp - 0xc]
add eax, 1
mov byte [ebp + eax - 0x190], 0x64
mov eax, dword [ebp - 0xc]
add eax, 2
mov byte [ebp + eax - 0x190], 0x6c
mov eax, dword [ebp - 0xc]
add eax, 3
mov byte [ebp + eax - 0x190], 0x6c
mov eax, dword [ebp - 0xc]
add eax, 4
mov byte [ebp + eax - 0x190], 0
mov eax, dword [ebp - 0xc]
add eax, 1
add dword [ebp - 0x48], eax
mov dword [ebp - 0xc], 0
jmp 0x416a4c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
lea ecx, [ebp - 0x210]
mov edx, dword [ebp - 0xc]
add edx, ecx
mov byte [edx], al
add dword [ebp - 0xc], 1
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x416a61
cmp dword [ebp - 0xc], 0x7e
jbe 0x416a30
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x30]
lea eax, [ebp - 0x190]
mov dword [esp], eax
call edx
sub esp, 4
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x416aac
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x34]
lea eax, [ebp - 0x210]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call edx
sub esp, 8
mov dword [ebp - 0x14], eax
jmp 0x416ab3
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
jmp 0x416acf
sub dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0
je 0x416acc
cmp dword [ebp - 0x14], 0
je 0x4168c9
mov eax, dword [ebp - 0x14]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret