Function at 0x416cd9
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.004175d2
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 0x416d64
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 0x416d5d
push ecx
lea ecx, [esp + 0x14]
call fcn.00418337
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 0x416dd8
dec eax
cmp eax, 6
ja 0x416da2
call fcn.00408990
test al, al
je 0x416e02
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.00418337
jmp 0x416e02
call fcn.00408990
test al, al
je 0x416dc7
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.00418337
mov ecx, edi
call fcn.0041834e
mov edi, 0x80004005
jmp 0x41727e
call fcn.00408990
test al, al
je 0x416dfd
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.00418337
mov byte [esp + 0x1c], 1
push ecx
mov ecx, edi
call fcn.00408990
test al, al
je 0x416eec
mov dl, byte [esi + 0x64]
xor edi, edi
test dl, dl
jne 0x416e25
cmp byte [esi + 0x66], dl
jne 0x416e25
cmp byte [esi + 0x65], dl
je 0x416e99
mov cl, byte [esi + 0x66]
test cl, cl
je 0x416e3a
cmp byte [ebx + 0x8a], 0
je 0x416e3a
lea edi, [ebx + 0x74]
jmp 0x416e47
xor edi, edi
lea eax, [esi + 0xb0]
test cl, cl
cmovne edi, eax
cmp byte [esi + 0x65], 0
je 0x416e5f
cmp byte [ebx + 0x89], 0
je 0x416e5f
lea eax, [ebx + 0x6c]
mov dword [esp + 0xc], eax
jmp 0x416e64
and dword [esp + 0xc], 0
test dl, dl
je 0x416e7a
cmp byte [ebx + 0x88], 0
je 0x416e7a
lea eax, [ebx + 0x64]
mov dword [esp + 0x20], eax
jmp 0x416e7f
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 0x416ec4
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.0041834e
test edi, edi
jne 0x41703b
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 0x416f17
add dword [esi + 0xe8], 1
adc dword [esi + 0xec], 0
jmp 0x416f25
add dword [esi + 0xf0], 1
adc dword [esi + 0xf4], 0
cmp byte [ebx + 0x55], 0
je 0x416f53
cmp byte [ebx + 0x8b], 0
je 0x416f53
cmp byte [ebx + 0x8e], 0
jne 0x416f53
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 0x416fa1
cmp byte [ebx + 0x8e], 0
jne 0x417002
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 0x41727e
and dword [esp + 0x6c], 0
xor eax, eax
mov dword [esp + 0x70], 7
mov word [esp + 0x5c], ax
cmp byte [ebx + 0x8e], al
jne 0x417189
cmp byte [esp + 0x1c], al
jne 0x417044
cmp byte [esi + 0x30], al
jne 0x417189
lea edi, [ebx + 0x24]
mov ecx, edi
call fcn.0040d530
test al, al
je 0x417189
mov ecx, edi
call fcn.00412400
test al, al
jne 0x417189
push edi
lea ecx, [esi + 0x12c]
call fcn.004049fc
jmp 0x417189
cmp byte [ebx + 0x8c], 0
jne 0x416fa1
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 0x416fa1
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0xc]
jmp 0x41727e
cmp byte [ebx + 0x8c], al
jne 0x417189
cmp byte [ebx + 0x54], al
je 0x417189
lea edi, [ebx + 0x3c]
mov ecx, edi
call fcn.0040d530
test al, al
je 0x417164
mov ecx, edi
call fcn.00412400
test al, al
jne 0x41713b
xor ebx, ebx
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x417089
mov eax, dword [edi]
jmp 0x41708b
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.004133f6
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.004133f6
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.0041768d
mov edi, eax
lea ecx, [esp + 0x44]
jmp 0x41726a
lea ecx, [ebx + 0x24]
mov edx, edi
call fcn.0040e920
test al, al
jne 0x417164
xor ebx, ebx
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x417158
mov eax, dword [edi]
jmp 0x41715a
mov eax, edi
push 0x271d
jmp 0x417090
lea eax, [esp + 0x5c]
cmp eax, edi
je 0x417178
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.004019ce
and dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x417184
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 0x417219
push ecx
lea ecx, [esi + 0x18]
call fcn.00408990
test al, al
je 0x417219
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 0x41720c
lea ecx, [esp + 0xc]
call fcn.0040892a
mov esi, dword [esp + 0x14]
mov edx, dword [eax]
cmp dword [esp + 0x6c], ebx
je 0x417206
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esi + 0x4c]
push ecx
mov ecx, eax
call dword [edx + 0x14]
jmp 0x417210
lea ecx, [esp + 0x74]
jmp 0x4171fa
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xc]
call fcn.0040891e
push dword [esp + 0x18]
lea ecx, [esi - 8]
call fcn.0041763d
push ecx
lea ecx, [esi + 0x1c]
call fcn.00408990
test al, al
je 0x41725e
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 0x41725e
mov edi, eax
jmp 0x417264
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.0043341a
mov esp, ebp
pop ebp
ret 0xc