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

Disassembly:
mov eax, 0x4a573e
call fcn.0049fb10
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 0x41f3bf
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 0x28]
lea edx, [ebp - 0x50]
lea ecx, [eax + 0xc]
call fcn.0040ac28
test al, al
je 0x41f720
cmp esi, ebx
mov dword [ebp - 0x14], edi
je 0x41f3df
mov dword [ebp - 0x14], esi
mov esi, dword [ebp + 0x1c]
push ebx
push 0x100
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049fe10
push ebx
push esi
push edx
push eax
call fcn.0049fce0
push ebx
push dword [ebp - 0x14]
push edx
push eax
call fcn.0049fce0
mov dword [ebp - 0x20], eax
or eax, edx
mov dword [ebp - 0x1c], edx
jne 0x41f41b
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 0x41f440
mov eax, dword [ebp + 0x30]
cmp dword [eax], ebx
je 0x41f6ce
lea ecx, [ebp - 0x3c]
call fcn.0041f9ba
mov eax, edi
mov dword [ebp - 4], ebx
imul eax, eax, 0x78
add eax, 4
push eax
call fcn.00401e0c
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x41f47f
push fcn.0041b06b
push 0x41f967
lea esi, [eax + 4]
push edi
push 0x78
push esi
mov dword [eax], edi
call fcn.0049fc2a
jmp 0x41f481
xor esi, esi
and byte [ebp - 4], 0
xor edx, edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x3c], esi
call fcn.00497ee0
cmp eax, ebx
je 0x41f4a9
jle 0x41f4a2
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x41f6bd
cmp edi, ebx
mov byte [ebp - 0x2c], 1
mov dword [ebp + 0xc], ebx
jbe 0x41f59d
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.004026dd
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.0040af6c
cmp eax, ebx
jne 0x41f691
cmp dword [edi], ebx
je 0x41f695
mov dword [ebp - 0x18], ebx
mov edi, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push 0x4b0288
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 3
call dword [eax]
cmp dword [ebp - 0x18], ebx
je 0x41f528
mov ecx, dword [ebp + 0x28]
push ebx
push dword [ebp - 0x18]
call fcn.0040df8c
mov edi, eax
cmp edi, ebx
jne 0x41f69c
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 0x41f55a
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 0x41f576
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x74]
and byte [ebp - 4], 0
call fcn.00401e40
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add dword [ebp - 0x28], 0x78
add dword [ebp - 0x14], 0x150
cmp eax, dword [ebp - 0x10]
pop ecx
jb 0x41f4be
cmp dword [ebp - 0x10], ebx
mov dword [ebp + 0xc], ebx
jbe 0x41f5f0
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.0041f907
cmp dword [ebx], 0
je 0x41f5d7
inc dword [ebp - 0x38]
test eax, eax
jne 0x41f4a2
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add dword [ebp + 0x28], 0x78
cmp eax, dword [ebp - 0x10]
jb 0x41f5a8
xor ebx, ebx
cmp dword [ebp - 0x10], ebx
mov dword [ebp + 0xc], ebx
jbe 0x41f62a
xor edi, edi
mov eax, dword [ebp - 0x3c]
mov ecx, dword [edi + eax + 0x34]
lea esi, [edi + eax]
call fcn.00497d80
cmp eax, ebx
jne 0x41f496
mov esi, dword [esi + 0x2c]
cmp esi, ebx
jne 0x41f6bd
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add edi, 0x78
cmp eax, dword [ebp - 0x10]
jb 0x41f5fa
lea ecx, [ebp - 0xfc]
call fcn.00418bf7
lea ecx, [ebp - 0x3c]
push ebx
call fcn.0041b0b1
cmp eax, ebx
jne 0x41f496
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0xfc]
push eax
call fcn.00418ca2
xor ecx, ecx
cmp dword [ebp - 0x10], ebx
jbe 0x41f680
mov eax, dword [ebp - 0x3c]
add eax, 0xffffffb8
mov esi, dword [eax + 0x74]
cmp esi, ebx
jne 0x41f6bd
cmp ecx, ebx
je 0x41f677
mov edx, dword [eax + 0x78]
cmp edx, dword [eax]
jne 0x41f6ba
inc ecx
add eax, 0x78
cmp ecx, dword [ebp - 0x10]
jb 0x41f665
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0041f9cd
jmp 0x41f822
mov esi, eax
jmp 0x41f6af
mov esi, 0x80004001
jmp 0x41f6af
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x41f6ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, edi
push dword [ebp - 0x74]
call fcn.00401e40
pop ecx
jmp 0x41f6bd
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0041f9cd
jmp 0x41f7d6
mov dword [ebp + 0x30], ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 4
call fcn.004026dd
push dword [ebp - 0x4c]
lea edx, [ebp + 0x30]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
push dword [ebp - 0x50]
call fcn.0040af6c
mov esi, eax
cmp esi, ebx
jne 0x41f7bc
mov eax, dword [ebp + 0x30]
cmp eax, ebx
jne 0x41f72a
push dword [ebp - 0x48]
call fcn.00401e40
mov eax, dword [ebp + 0x30]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
pop ecx
je 0x41f720
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004001
jmp 0x41f8f6
mov dword [ebp + 0xc], ebx
mov ecx, dword [eax]
lea edx, [ebp + 0xc]
push edx
push 0x4b0288
push eax
mov byte [ebp - 4], 6
call dword [ecx]
cmp dword [ebp + 0xc], ebx
je 0x41f756
mov ecx, dword [ebp + 0x28]
push ebx
push dword [ebp + 0xc]
call fcn.0040df8c
mov esi, eax
cmp esi, ebx
jne 0x41f7ab
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.0041ad0c
mov esi, eax
cmp esi, ebx
jne 0x41f7a3
lea ecx, [ebp - 0xfc]
call fcn.00418bf7
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.0041adfc
mov esi, eax
cmp esi, ebx
je 0x41f7dd
mov ecx, dword [ebp - 0x68]
call fcn.00486a40
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x41f7bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x48]
call fcn.00401e40
mov eax, dword [ebp + 0x30]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
pop ecx
je 0x41f7d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x41f8f6
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0xfc]
push eax
call fcn.00418ca2
mov ecx, dword [ebp - 0x68]
call fcn.00486a40
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x41f808
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x48]
call fcn.00401e40
mov eax, dword [ebp + 0x30]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
pop ecx
je 0x41f822
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x24]
call fcn.0049fe10
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edx
push eax
call fcn.0049fe10
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 0x41f8cc
cmp byte [ebp + 0x34], 0
je 0x41f8c0
mov ecx, esi
or ecx, edi
jne 0x41f87f
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x10]
call fcn.0049fe10
push edx
push eax
xor eax, eax
push eax
push dword [ebp + 0x1c]
call fcn.0049fe10
push 8
pop ecx
call fcn.0049fdd0
lea ecx, [ebp - 0xac]
push edx
push eax
call fcn.00418ed6
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.0041b3ff
mov ecx, dword [ebp + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, ebx
jne 0x41f8f6
push edi
push esi
lea ecx, [ebp - 0xac]
call fcn.00418ed6
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0xac]
call fcn.00418ddf
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