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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4660fc
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push ebx
push esi
push edi
mov eax, dword [0x4823f0]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x64]
cmp dword [ebx + 0x7c], eax
je 0x41f575
cmp dword [ebx + 0x7c], 0
jne 0x41f5ad
mov ecx, dword [ebx + 0x94]
cmp ecx, eax
je 0x41f583
test ecx, ecx
jne 0x41f5ad
mov ecx, dword [ebx + 0xac]
cmp ecx, eax
je 0x41f591
test ecx, ecx
jne 0x41f5ad
mov ecx, dword [ebx + 0xc4]
cmp ecx, eax
je 0x41f59f
test ecx, ecx
jne 0x41f5ad
mov ecx, dword [ebx + 0xdc]
cmp eax, ecx
je 0x41f5b7
test ecx, ecx
je 0x41f5b7
mov eax, 0x80004005
jmp 0x41f985
xor edx, edx
cmp dword [ebx + 0x34], edx
jne 0x41f5ee
cmp dword [ebx + 0x1c], edx
jne 0x41f5ee
cmp dword [ebx + 0x58], edx
jne 0x41f5ee
test eax, eax
jne 0x41f5ee
push 0x48b560
push edx
or ecx, 0xffffffff
mov dword [esp + 0x20], edx
mov esi, edx
call dword [0x48b54c]
mov ebx, eax
mov eax, esi
not ebx
mov edx, eax
jmp 0x41f94b
mov eax, dword [ebp + 0xc]
mov cl, dl
mov byte [esp + 0x13], cl
test eax, eax
je 0x41f623
cmp dword [eax + 4], edx
jne 0x41f60b
xor edx, edx
cmp byte [eax + 0x21], dl
cmove eax, edx
mov dword [ebp + 0xc], eax
test eax, eax
je 0x41f623
cmp byte [eax + 0x21], 0
jne 0x41f61d
mov eax, dword [ebp + 0x10]
cmp byte [eax], 0
je 0x41f623
mov cl, 1
mov byte [esp + 0x13], cl
mov eax, dword [edi + 0x54]
lea esi, [edi + 0x18]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 8], eax
lea eax, [esp + 0x1c]
mov dword [esi + 0xc], edx
mov dword [esi + 4], edx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], edx
mov byte [esi + 0x24], dl
or dword [edi + 0x10], 0xffffffff
push eax
mov byte [edi + 8], cl
mov ecx, edi
push ebx
mov byte [edi + 9], 1
mov dword [edi + 0xc], edx
call fcn.0041f0ce
cmp byte [esp + 0x13], 0
je 0x41f910
mov esi, dword [edi + 0xc]
push esi
call fcn.004102b5
pop ecx
mov ecx, eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ecx
xor edx, edx
mov dword [esp + 0x180], edx
mov eax, dword [edi + 0xc]
mov dword [edi + 0x44], eax
lea eax, [esp + 0x1c]
mov dword [edi + 0x40], ecx
mov ecx, edi
push eax
mov dword [edi + 0x48], edx
push ebx
mov word [edi + 8], dx
call fcn.0041f0ce
mov eax, dword [edi + 0x48]
cmp dword [edi + 0xc], eax
je 0x41f6b3
mov esi, 0x80004005
jmp 0x41f7d1
lea ecx, [esp + 0x8c]
call fcn.00415f7d
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0xb0]
mov byte [esp + 0x180], 1
mov al, byte [esi + 0x21]
mov byte [esp + 0xad], al
lea eax, [esi + 0x24]
push eax
call fcn.0040fde5
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x8c]
cmp byte [ecx], 0
lea ecx, [esp + 0xbc]
cmovne eax, esi
push eax
call fcn.00416dd5
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
lea eax, [esp + 0x5c]
mov byte [esp + 0x180], 5
push eax
lea eax, [esp + 0x34]
mov ecx, edi
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0041f012
mov esi, eax
test esi, esi
je 0x41f7ea
lea ecx, [esp + 0x5c]
call fcn.0041b5a1
lea ecx, [esp + 0x30]
mov byte [esp + 0x180], 3
call fcn.0041bda4
mov byte [esp + 0x180], 2
push dword [esp + 0x24]
call fcn.00455704
pop ecx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x180], 1
call fcn.00417291
lea ecx, [esp + 0x8c]
call fcn.00416ec7
or dword [esp + 0x180], 0xffffffff
push dword [esp + 0x3c]
call fcn.00455704
pop ecx
mov eax, esi
jmp 0x41f985
cmp dword [esp + 0x34], 0
mov byte [edi + 9], 1
jne 0x41f80c
push 0x480dd8
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 1
push eax
call fcn.00463896
push ebx
push 0x17
mov ecx, edi
call fcn.0041e85e
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
lea eax, [esp + 0x44]
mov byte [esp + 0x180], 6
mov esi, dword [esp + 0x20]
mov ecx, edi
mov ebx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esi
push eax
push esi
push ebx
mov dword [esp + 0x24], ebx
call fcn.0041ebea
push 0
mov byte [esp + 0x184], 5
call fcn.00455704
pop ecx
push 0
call fcn.00455704
pop ecx
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0041ec5b
push 0
mov ecx, edi
call fcn.0041e7ee
xor eax, eax
cmp dword [esp + 0x28], eax
jbe 0x41f8ad
mov ecx, dword [esp + 0x24]
add ebx, dword [ecx + eax*8]
adc esi, dword [ecx + eax*8 + 4]
inc eax
cmp eax, dword [esp + 0x28]
jb 0x41f897
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x5c]
call fcn.0041b5a1
lea ecx, [esp + 0x30]
mov byte [esp + 0x180], 3
call fcn.0041bda4
mov byte [esp + 0x180], 2
push dword [esp + 0x24]
call fcn.00455704
pop ecx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x180], 1
call fcn.00417291
lea ecx, [esp + 0x8c]
call fcn.00416ec7
or dword [esp + 0x180], 0xffffffff
push dword [esp + 0x3c]
call fcn.00455704
pop ecx
lea esi, [edi + 0x18]
jmp 0x41f92d
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jmp 0x41f92d
mov ecx, esi
call fcn.0042c173
test eax, eax
jne 0x41f985
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 4]
jne 0x41f922
xor eax, eax
test eax, eax
jne 0x41f985
mov ebx, dword [edi + 0x10]
mov ecx, esi
not ebx
call fcn.0042c151
mov esi, dword [esp + 0x14]
push 0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
push 0
push dword [edi + 4]
mov dword [esp + 0x54], eax
mov eax, dword [edi + 0x50]
push dword [edi]
mov dword [esp + 0x60], edx
push eax
mov ecx, dword [eax]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x58], esi
call dword [ecx + 0x10]
test eax, eax
jne 0x41f985
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.0041e608
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc