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

Disassembly:
mov eax, 0x43ea2a
call fcn.0043cb80
sub esp, 0xf0
push ebx
push esi
push edi
xor ebx, ebx
push 1
cmp edx, ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x28], ecx
pop esi
jne 0x41a68e
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x2c]
lea edx, [eax + 0xc]
lea eax, [ebp - 0x50]
push eax
call fcn.0040a2fe
test al, al
je 0x41a9f9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
cmp eax, ebx
je 0x41a6b2
mov dword [ebp - 0x14], eax
mov esi, dword [ebp + 0x20]
push ebx
push 0x100
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043cea0
push ebx
push esi
push edx
push eax
call fcn.0043cd40
push ebx
push dword [ebp - 0x14]
push edx
push eax
call fcn.0043cd40
mov dword [ebp - 0x1c], eax
or eax, edx
mov dword [ebp - 0x18], edx
jne 0x41a6ee
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0xcc], ebx
cmp edi, 1
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
ja 0x41a713
mov eax, dword [ebp + 0x34]
cmp dword [eax], ebx
je 0x41a9a3
lea ecx, [ebp - 0x3c]
call fcn.0041ac93
mov eax, edi
mov dword [ebp - 4], ebx
imul eax, eax, 0x78
add eax, 4
push eax
call fcn.00401c22
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x41a752
push fcn.00416757
push 0x41ac40
lea esi, [eax + 4]
push edi
push 0x78
push esi
mov dword [eax], edi
call fcn.0043cc9a
jmp 0x41a754
xor esi, esi
and byte [ebp - 4], 0
xor edx, edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], esi
call fcn.0043c8c0
cmp eax, ebx
je 0x41a77c
jle 0x41a775
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x41a992
cmp edi, ebx
mov byte [ebp - 0x2c], 1
mov dword [ebp + 0xc], ebx
jbe 0x41a872
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
lea esi, [ecx + eax]
lea ecx, [ebp - 0x74]
call fcn.00402549
lea edi, [esi + 0x28]
mov ecx, dword [ebp - 0x28]
push edi
lea edx, [ebp - 0x74]
push dword [ebp - 0x4c]
mov byte [ebp - 4], 2
push dword [ebp - 0x50]
call fcn.0040a687
cmp eax, ebx
jne 0x41a966
cmp dword [edi], ebx
je 0x41a96a
mov dword [ebp - 0x20], ebx
mov edi, dword [edi]
lea ecx, [ebp - 0x20]
push ecx
push 0x446a78
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 3
call dword [eax]
cmp dword [ebp - 0x20], ebx
je 0x41a7fd
mov ecx, dword [ebp + 0x2c]
push ebx
push dword [ebp - 0x20]
call fcn.0040bc56
mov edi, eax
cmp edi, ebx
jne 0x41a971
mov eax, dword [ebp + 0x30]
and byte [esi + 0x20], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x41a82f
mov eax, dword [eax]
mov byte [esi + 0x20], 1
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
and eax, 0x7ff
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x41a84b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x74]
and byte [ebp - 4], 0
call fcn.00401c49
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add dword [ebp - 0x24], 0x78
add dword [ebp - 0x14], 0x150
cmp eax, dword [ebp - 0x10]
pop ecx
jb 0x41a791
cmp dword [ebp - 0x10], ebx
mov dword [ebp + 0xc], ebx
jbe 0x41a8c5
mov dword [ebp + 0x2c], ebx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x34]
push 7
lea ebx, [eax + ecx]
mov eax, dword [ebp + 0xc]
pop ecx
mov dword [ebx + 0x38], eax
lea eax, [ebp - 0x34]
lea edi, [ebx + 0x40]
mov dword [ebx + 0x3c], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0041abe0
cmp dword [ebx], 0
je 0x41a8ac
inc dword [ebp - 0x38]
test eax, eax
jne 0x41a775
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add dword [ebp + 0x2c], 0x78
cmp eax, dword [ebp - 0x10]
jb 0x41a87d
xor ebx, ebx
cmp dword [ebp - 0x10], ebx
mov dword [ebp + 0xc], ebx
jbe 0x41a8ff
xor edi, edi
mov eax, dword [ebp - 0x3c]
mov ecx, dword [edi + eax + 0x34]
lea esi, [edi + eax]
call fcn.0043c780
cmp eax, ebx
jne 0x41a769
mov esi, dword [esi + 0x2c]
cmp esi, ebx
jne 0x41a992
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add edi, 0x78
cmp eax, dword [ebp - 0x10]
jb 0x41a8cf
lea ecx, [ebp - 0xfc]
call fcn.004143aa
lea ecx, [ebp - 0x3c]
push ebx
call fcn.0041679d
cmp eax, ebx
jne 0x41a769
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0xfc]
push eax
call fcn.00414455
xor ecx, ecx
cmp dword [ebp - 0x10], ebx
jbe 0x41a955
mov eax, dword [ebp - 0x3c]
add eax, 0xffffffb8
mov esi, dword [eax + 0x74]
cmp esi, ebx
jne 0x41a992
cmp ecx, ebx
je 0x41a94c
mov edx, dword [eax + 0x78]
cmp edx, dword [eax]
jne 0x41a98f
inc ecx
add eax, 0x78
cmp ecx, dword [ebp - 0x10]
jb 0x41a93a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0041aca6
jmp 0x41aafb
mov esi, eax
jmp 0x41a984
mov esi, 0x80004001
jmp 0x41a984
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x41a982
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
push dword [ebp - 0x74]
call fcn.00401c49
pop ecx
jmp 0x41a992
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0041aca6
jmp 0x41aaaf
mov dword [ebp + 0x34], ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 4
call fcn.00402549
lea eax, [ebp + 0x34]
mov ecx, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x48]
push dword [ebp - 0x4c]
mov byte [ebp - 4], 5
push dword [ebp - 0x50]
call fcn.0040a687
mov esi, eax
cmp esi, ebx
jne 0x41aa95
mov eax, dword [ebp + 0x34]
cmp eax, ebx
jne 0x41aa03
push dword [ebp - 0x48]
call fcn.00401c49
mov eax, dword [ebp + 0x34]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
pop ecx
je 0x41a9f9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004001
jmp 0x41abcf
mov dword [ebp + 0xc], ebx
mov ecx, dword [eax]
lea edx, [ebp + 0xc]
push edx
push 0x446a78
push eax
mov byte [ebp - 4], 6
call dword [ecx]
cmp dword [ebp + 0xc], ebx
je 0x41aa2f
mov ecx, dword [ebp + 0x2c]
push ebx
push dword [ebp + 0xc]
call fcn.0040bc56
mov esi, eax
cmp esi, ebx
jne 0x41aa84
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x54], ebx
push dword [ebp + 0x10]
and byte [ebp - 0x58], 0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
push dword [ebp + 0x14]
call fcn.004163f8
mov esi, eax
cmp esi, ebx
jne 0x41aa7c
lea ecx, [ebp - 0xfc]
call fcn.004143aa
lea ecx, [ebp - 0x68]
push dword [ebp + 0x30]
push dword [ebp + 0x34]
push dword [ebp + 0x28]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.004164e8
mov esi, eax
cmp esi, ebx
je 0x41aab6
mov ecx, dword [ebp - 0x68]
call fcn.0043c2f0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x41aa95
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x48]
call fcn.00401c49
mov eax, dword [ebp + 0x34]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
pop ecx
je 0x41aaaf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x41abcf
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0xfc]
push eax
call fcn.00414455
mov ecx, dword [ebp - 0x68]
call fcn.0043c2f0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x41aae1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x48]
call fcn.00401c49
mov eax, dword [ebp + 0x34]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
pop ecx
je 0x41aafb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push dword [ebp - 0x10]
push ebx
push dword [ebp + 0x10]
call fcn.0043cea0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edx
push eax
call fcn.0043cea0
cmp dword [ebp + 0x30], ebx
mov esi, eax
mov edi, edx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x78], ebx
je 0x41aba5
cmp byte [ebp + 0x38], 0
je 0x41ab99
mov ecx, esi
or ecx, edi
jne 0x41ab58
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push ebx
push dword [ebp - 0x10]
call fcn.0043cea0
push edx
push eax
xor eax, eax
push eax
push dword [ebp + 0x20]
call fcn.0043cea0
push 8
pop ecx
call fcn.0043ce30
lea ecx, [ebp - 0xac]
push edx
push eax
call fcn.00414689
mov ecx, dword [ebp + 0x30]
push dword [ebp + 0x3c]
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push dword [ebp + 0x40]
push edx
push eax
push dword [ebp + 0x24]
lea edx, [ebp - 0xac]
call fcn.00416ae1
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, ebx
jne 0x41abcf
push edi
push esi
lea ecx, [ebp - 0xac]
call fcn.00414689
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0xac]
call fcn.00414592
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov dword [ecx + 4], edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x44