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

Disassembly:
mov eax, 0x4aaea2
call fcn.004a50c0
sub esp, 0xf0
push ebx
push esi
push edi
xor ebx, ebx
mov esi, edx
push 1
cmp ecx, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], ecx
pop edi
jne 0x41fcba
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0x28]
lea edx, [ebp - 0x50]
lea ecx, [eax + 0xc]
call fcn.0040b0fb
test al, al
je 0x42001b
cmp esi, ebx
mov dword [ebp - 0x14], edi
je 0x41fcda
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 0x1c]
push ebx
push 0x100
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004a53c0
push ebx
push esi
push edx
push eax
call fcn.004a5290
push ebx
push dword [ebp - 0x14]
push edx
push eax
call fcn.004a5290
mov dword [ebp - 0x20], eax
or eax, edx
mov dword [ebp - 0x1c], edx
jne 0x41fd16
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 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 0x41fd3b
mov eax, dword [ebp + 0x30]
cmp dword [eax], ebx
je 0x41ffc9
lea ecx, [ebp - 0x3c]
call fcn.004202b5
mov eax, edi
mov dword [ebp - 4], ebx
imul eax, eax, 0x78
add eax, 4
push eax
call fcn.00401dfc
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x41fd7a
push fcn.0041b9bf
push 0x420262
lea esi, [eax + 4]
push edi
push 0x78
push esi
mov dword [eax], edi
call fcn.004a51da
jmp 0x41fd7c
xor esi, esi
and byte [ebp - 4], 0
xor edx, edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], esi
call fcn.0049ab00
cmp eax, ebx
je 0x41fda4
jle 0x41fd9d
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x41ffb8
cmp edi, ebx
mov byte [ebp - 0x2c], 1
mov dword [ebp + 0xc], ebx
jbe 0x41fe98
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
lea esi, [ecx + eax]
lea ecx, [ebp - 0x74]
call fcn.00402765
push dword [ebp - 0x4c]
lea edi, [esi + 0x28]
mov edx, edi
lea ecx, [ebp - 0x74]
push dword [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0040b43f
cmp eax, ebx
jne 0x41ff8c
cmp dword [edi], ebx
je 0x41ff90
mov dword [ebp - 0x18], ebx
mov edi, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push 0x4b54d8
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 3
call dword [eax]
cmp dword [ebp - 0x18], ebx
je 0x41fe23
mov ecx, dword [ebp + 0x28]
push ebx
push dword [ebp - 0x18]
call fcn.0040e4c4
mov edi, eax
cmp edi, ebx
jne 0x41ff97
mov eax, dword [ebp + 0x2c]
and byte [esi + 0x20], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x41fe55
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 - 0x18]
cmp eax, ebx
je 0x41fe71
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x74]
and byte [ebp - 4], 0
call fcn.00401e30
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add dword [ebp - 0x28], 0x78
sub dword [ebp - 0x14], 0x2c0
cmp eax, dword [ebp - 0x10]
pop ecx
jb 0x41fdb9
cmp dword [ebp - 0x10], ebx
mov dword [ebp + 0xc], ebx
jbe 0x41feeb
mov dword [ebp + 0x28], ebx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + 0x28]
mov esi, dword [ebp + 0x30]
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.00420202
cmp dword [ebx], 0
je 0x41fed2
inc dword [ebp - 0x38]
test eax, eax
jne 0x41fd9d
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add dword [ebp + 0x28], 0x78
cmp eax, dword [ebp - 0x10]
jb 0x41fea3
xor ebx, ebx
cmp dword [ebp - 0x10], ebx
mov dword [ebp + 0xc], ebx
jbe 0x41ff25
xor edi, edi
mov eax, dword [ebp - 0x3c]
mov ecx, dword [edi + eax + 0x34]
lea esi, [edi + eax]
call fcn.0049a9a0
cmp eax, ebx
jne 0x41fd91
mov esi, dword [esi + 0x2c]
cmp esi, ebx
jne 0x41ffb8
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add edi, 0x78
cmp eax, dword [ebp - 0x10]
jb 0x41fef5
lea ecx, [ebp - 0xfc]
call fcn.004195ab
lea ecx, [ebp - 0x3c]
push ebx
call fcn.0041ba05
cmp eax, ebx
jne 0x41fd91
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0xfc]
push eax
call fcn.00419656
xor ecx, ecx
cmp dword [ebp - 0x10], ebx
jbe 0x41ff7b
mov eax, dword [ebp - 0x3c]
add eax, 0xffffffb8
mov esi, dword [eax + 0x74]
cmp esi, ebx
jne 0x41ffb8
cmp ecx, ebx
je 0x41ff72
mov edx, dword [eax + 0x78]
cmp edx, dword [eax]
jne 0x41ffb5
inc ecx
add eax, 0x78
cmp ecx, dword [ebp - 0x10]
jb 0x41ff60
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004202c8
jmp 0x42011d
mov esi, eax
jmp 0x41ffaa
mov esi, 0x80004001
jmp 0x41ffaa
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x41ffa8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
push dword [ebp - 0x74]
call fcn.00401e30
pop ecx
jmp 0x41ffb8
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004202c8
jmp 0x4200d1
mov dword [ebp + 0x30], ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 4
call fcn.00402765
push dword [ebp - 0x4c]
lea edx, [ebp + 0x30]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
push dword [ebp - 0x50]
call fcn.0040b43f
mov esi, eax
cmp esi, ebx
jne 0x4200b7
mov eax, dword [ebp + 0x30]
cmp eax, ebx
jne 0x420025
push dword [ebp - 0x48]
call fcn.00401e30
mov eax, dword [ebp + 0x30]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
pop ecx
je 0x42001b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004001
jmp 0x4201f1
mov dword [ebp + 0xc], ebx
mov ecx, dword [eax]
lea edx, [ebp + 0xc]
push edx
push 0x4b54d8
push eax
mov byte [ebp - 4], 6
call dword [ecx]
cmp dword [ebp + 0xc], ebx
je 0x420051
mov ecx, dword [ebp + 0x28]
push ebx
push dword [ebp + 0xc]
call fcn.0040e4c4
mov esi, eax
cmp esi, ebx
jne 0x4200a6
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x54], ebx
push dword [ebp - 0x24]
and byte [ebp - 0x58], 0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
push dword [ebp + 0x10]
call fcn.0041b6c0
mov esi, eax
cmp esi, ebx
jne 0x42009e
lea ecx, [ebp - 0xfc]
call fcn.004195ab
lea ecx, [ebp - 0x68]
push dword [ebp + 0x2c]
push dword [ebp + 0x30]
push dword [ebp + 0x24]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0041b77b
mov esi, eax
cmp esi, ebx
je 0x4200d8
mov ecx, dword [ebp - 0x68]
call fcn.004893b0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x4200b7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x48]
call fcn.00401e30
mov eax, dword [ebp + 0x30]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
pop ecx
je 0x4200d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x4201f1
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0xfc]
push eax
call fcn.00419656
mov ecx, dword [ebp - 0x68]
call fcn.004893b0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x420103
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x48]
call fcn.00401e30
mov eax, dword [ebp + 0x30]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
pop ecx
je 0x42011d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x24]
call fcn.004a53c0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edx
push eax
call fcn.004a53c0
cmp dword [ebp + 0x2c], 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 0x4201c7
cmp byte [ebp + 0x34], 0
je 0x4201bb
mov ecx, esi
or ecx, edi
jne 0x42017a
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x10]
call fcn.004a53c0
push edx
push eax
xor eax, eax
push eax
push dword [ebp + 0x1c]
call fcn.004a53c0
push 8
pop ecx
call fcn.004a5380
lea ecx, [ebp - 0xac]
push edx
push eax
call fcn.0041988a
mov ecx, dword [ebp + 0x2c]
push dword [ebp + 0x38]
push dword [ebp + 0x44]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push edx
push eax
push dword [ebp + 0x20]
lea edx, [ebp - 0xac]
call fcn.0041bd53
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, ebx
jne 0x4201f1
push edi
push esi
lea ecx, [ebp - 0xac]
call fcn.0041988a
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0xac]
call fcn.00419793
mov ecx, dword [ebp + 0x18]
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 0x40