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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x456178]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0x10]
push edi
mov dword [esp + 0x28], ecx
lea ecx, [esi - 8]
mov dword [esp + 0x14], esi
push eax
mov dword [esp + 0x28], ecx
call fcn.004175b2
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00408918
lea edi, [ebx + 0x60]
push ecx
mov ecx, edi
call fcn.00408990
test al, al
je 0x416d44
mov ecx, edi
call fcn.0040892a
mov esi, eax
lea ecx, [esp + 0x10]
mov edi, dword [esi]
call fcn.00401a5d
push eax
push 0x411
mov ecx, esi
call dword [edi]
test eax, eax
je 0x416d3d
push ecx
lea ecx, [esp + 0x14]
call fcn.00418317
mov esi, dword [esp + 0x14]
lea edi, [ebx + 0x60]
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x1c], 0
push ecx
lea ecx, [esp + 0x14]
test eax, eax
je 0x416db8
dec eax
cmp eax, 6
ja 0x416d82
call fcn.00408990
test al, al
je 0x416de2
lea ecx, [esp + 0x10]
call fcn.0040892a
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push ecx
lea ecx, [esp + 0x14]
call fcn.00418317
jmp 0x416de2
call fcn.00408990
test al, al
je 0x416da7
lea ecx, [esp + 0x10]
call fcn.0040892a
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push ecx
lea ecx, [esp + 0x14]
call fcn.00418317
mov ecx, edi
call fcn.0041832e
mov edi, 0x80004005
jmp 0x41725e
call fcn.00408990
test al, al
je 0x416ddd
lea ecx, [esp + 0x10]
call fcn.0040892a
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push ecx
lea ecx, [esp + 0x14]
call fcn.00418317
mov byte [esp + 0x1c], 1
push ecx
mov ecx, edi
call fcn.00408990
test al, al
je 0x416ecc
mov dl, byte [esi + 0x64]
xor edi, edi
test dl, dl
jne 0x416e05
cmp byte [esi + 0x66], dl
jne 0x416e05
cmp byte [esi + 0x65], dl
je 0x416e79
mov cl, byte [esi + 0x66]
test cl, cl
je 0x416e1a
cmp byte [ebx + 0x8a], 0
je 0x416e1a
lea edi, [ebx + 0x74]
jmp 0x416e27
xor edi, edi
lea eax, [esi + 0xb0]
test cl, cl
cmovne edi, eax
cmp byte [esi + 0x65], 0
je 0x416e3f
cmp byte [ebx + 0x89], 0
je 0x416e3f
lea eax, [ebx + 0x6c]
mov dword [esp + 0xc], eax
jmp 0x416e44
and dword [esp + 0xc], 0
test dl, dl
je 0x416e5a
cmp byte [ebx + 0x88], 0
je 0x416e5a
lea eax, [ebx + 0x64]
mov dword [esp + 0x20], eax
jmp 0x416e5f
and dword [esp + 0x20], 0
lea ecx, [ebx + 0x60]
call fcn.0040892a
push edi
push dword [esp + 0x10]
mov ecx, eax
mov edx, dword [eax]
push dword [esp + 0x28]
call dword [edx + 0x1c]
mov edi, eax
lea ecx, [ebx + 0x60]
call fcn.0040892a
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
cmp byte [esp + 0x1c], 0
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
jne 0x416ea4
lea ecx, [ebx + 0x60]
call fcn.0040892a
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x28]
lea ecx, [ebx + 0x60]
call fcn.0040892a
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
test eax, eax
lea ecx, [ebx + 0x60]
cmovne edi, eax
mov dword [esp + 0xc], edi
call fcn.0041832e
test edi, edi
jne 0x41701b
mov eax, dword [ebx + 0x58]
add dword [esi + 0xf8], eax
mov eax, dword [ebx + 0x5c]
adc dword [esi + 0xfc], eax
cmp byte [ebx + 0x8c], 0
je 0x416ef7
add dword [esi + 0xe8], 1
adc dword [esi + 0xec], 0
jmp 0x416f05
add dword [esi + 0xf0], 1
adc dword [esi + 0xf4], 0
cmp byte [ebx + 0x55], 0
je 0x416f33
cmp byte [ebx + 0x8b], 0
je 0x416f33
cmp byte [ebx + 0x8e], 0
jne 0x416f33
push dword [ebx + 0x84]
lea ecx, [ebx + 0x24]
push dword [ebx + 0x80]
call fcn.0040e8f0
pop ecx
pop ecx
xor edi, edi
mov dword [esp + 0xc], edi
lea edi, [esi + 0x18]
push ecx
mov ecx, edi
call fcn.00408990
test al, al
je 0x416f81
cmp byte [ebx + 0x8e], 0
jne 0x416fe2
mov ecx, edi
call fcn.0040892a
push dword [esp + 0x28]
movzx ecx, byte [ebx + 0x56]
push ecx
push dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, eax
push dword [esp + 0x24]
call dword [edx + 0x28]
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
jne 0x41725e
and dword [esp + 0x6c], 0
xor eax, eax
mov dword [esp + 0x70], 7
mov word [esp + 0x5c], ax
cmp byte [ebx + 0x8e], al
jne 0x417169
cmp byte [esp + 0x1c], al
jne 0x417024
cmp byte [esi + 0x30], al
jne 0x417169
lea edi, [ebx + 0x24]
mov ecx, edi
call fcn.0040d530
test al, al
je 0x417169
mov ecx, edi
call fcn.004123f0
test al, al
jne 0x417169
push edi
lea ecx, [esi + 0x12c]
call fcn.004049fc
jmp 0x417169
cmp byte [ebx + 0x8c], 0
jne 0x416f81
mov ecx, edi
call fcn.0040892a
push dword [esp + 0x28]
movzx ecx, byte [ebx + 0x56]
push ecx
push dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, eax
push dword [esp + 0x24]
call dword [edx + 0x28]
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x416f81
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0xc]
jmp 0x41725e
cmp byte [ebx + 0x8c], al
jne 0x417169
cmp byte [ebx + 0x54], al
je 0x417169
lea edi, [ebx + 0x3c]
mov ecx, edi
call fcn.0040d530
test al, al
je 0x417144
mov ecx, edi
call fcn.004123f0
test al, al
jne 0x41711b
xor ebx, ebx
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x417069
mov eax, dword [edi]
jmp 0x41706b
mov eax, edi
push 0x271c
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x30]
push eax
call fcn.004033f1
mov ecx, eax
call fcn.004133d6
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0x38]
call fcn.00402149
push eax
lea ecx, [esp + 0x48]
call fcn.00401432
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.00401751
lea eax, [esp + 0x2c]
push 0x2790
push eax
call fcn.004033f1
mov ecx, eax
call fcn.004133d6
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x50]
call fcn.00402149
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.00401751
lea ecx, [esp + 0x2c]
call fcn.00410340
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x50]
call fcn.00402149
push ebx
push 1
lea ecx, [esp + 0x34]
call fcn.00401751
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x1c]
call fcn.0041766d
mov edi, eax
lea ecx, [esp + 0x44]
jmp 0x41724a
lea ecx, [ebx + 0x24]
mov edx, edi
call fcn.0040e920
test al, al
jne 0x417144
xor ebx, ebx
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x417138
mov eax, dword [edi]
jmp 0x41713a
mov eax, edi
push 0x271d
jmp 0x417070
lea eax, [esp + 0x5c]
cmp eax, edi
je 0x417158
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.004019ce
and dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x417164
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
lea eax, [ebx + 0x24]
push eax
lea ecx, [esp + 0x78]
call fcn.00401e5c
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x4171f9
push ecx
lea ecx, [esi + 0x18]
call fcn.00408990
test al, al
je 0x4171f9
lea ecx, [esp + 0xc]
call fcn.00408918
lea ecx, [esi + 0x18]
call fcn.0040892a
mov esi, eax
lea ecx, [esp + 0xc]
mov edi, dword [esi]
call fcn.00401a5d
push eax
push 0x801
mov ecx, esi
call dword [edi]
push ecx
lea ecx, [esp + 0x10]
call fcn.00408990
test al, al
je 0x4171ec
lea ecx, [esp + 0xc]
call fcn.0040892a
mov esi, dword [esp + 0x14]
mov edx, dword [eax]
cmp dword [esp + 0x6c], ebx
je 0x4171e6
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esi + 0x4c]
push ecx
mov ecx, eax
call dword [edx + 0x14]
jmp 0x4171f0
lea ecx, [esp + 0x74]
jmp 0x4171da
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
call fcn.0040891e
push dword [esp + 0x18]
lea ecx, [esi - 8]
call fcn.0041761d
push ecx
lea ecx, [esi + 0x1c]
call fcn.00408990
test al, al
je 0x41723e
lea ecx, [esi + 0x1c]
call fcn.0040892a
push dword [esp + 0x1c]
mov esi, eax
lea eax, [esp + 0x78]
sub esp, 0x18
mov ecx, esp
mov edi, dword [esi]
push eax
call fcn.00401e5c
mov ecx, esi
call dword [edi + 0x10]
test eax, eax
je 0x41723e
mov edi, eax
jmp 0x417244
mov dword [esp + 0xc], ebx
mov edi, ebx
xor ebx, ebx
lea ecx, [esp + 0x74]
push ebx
push 1
call fcn.00401751
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.00401751
lea ecx, [esp + 0x10]
call fcn.0040891e
mov ecx, dword [esp + 0x8c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004333fa
mov esp, ebp
pop ebp
ret 0xc