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

Disassembly:
push 0xffffffffffffffff
push 0x4dccd1
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x10c]
mov ebp, dword [esp + 0x110]
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x104], 1
mov eax, dword [ebp + 4]
mov esi, ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
test esi, esi
mov eax, dword [ebp + 4]
mov eax, dword [eax]
mov dword [esp + 0x78], eax
je 0x40f632
cmp esi, ebp
je 0x40f637
call fcn.004b7b58
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x78]
je 0x40f6ea
mov dword [esp + 0x18], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.00424680
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x40f663
call fcn.004b7b58
mov esi, dword [esp + 0x1c]
cmp esi, dword [edi + 4]
jne 0x40f671
call fcn.004b7b58
mov ecx, dword [esi + 0x28]
push ecx
lea edx, [esp + 0x54]
push ebx
push edx
call fcn.0040ecc0
mov eax, dword [esp + 0x60]
xor esi, esi
add esp, 0xc
cmp eax, esi
je 0x40f696
push eax
call fcn.004b6eae
add esp, 4
mov eax, dword [ebx + 0x14]
cmp eax, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
jne 0x40f6af
mov dword [esp + 0x20], esi
jmp 0x40f6b8
mov ecx, dword [ebx + 0x18]
sub ecx, eax
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x20]
push edx
mov esi, ebx
call fcn.004076f0
lea edi, [ebx + 0x34]
push edi
lea esi, [esp + 0x64]
call fcn.004076f0
add dword [edi], 0xffffffff
lea esi, [esp + 0x30]
call fcn.00424680
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
jmp 0x40f621
mov eax, dword [ebp + 4]
mov esi, ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
nop
test esi, esi
mov eax, dword [ebp + 4]
mov eax, dword [eax]
mov dword [esp + 0x78], eax
je 0x40f711
cmp esi, ebp
je 0x40f716
call fcn.004b7b58
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x34], ecx
je 0x40f818
lea edx, [esp + 0x90]
push edx
call fcn.0040de50
mov byte [esp + 0x104], 2
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x90], 6
mov dword [esp + 0x1c], eax
call fcn.00424680
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x40f766
call fcn.004b7b58
mov esi, dword [esp + 0x1c]
cmp esi, dword [edi + 4]
jne 0x40f774
call fcn.004b7b58
lea eax, [esi + 0xc]
push 0xffffffffffffffff
xor esi, esi
push esi
push eax
lea ecx, [esp + 0xbc]
call fcn.00407760
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x54]
push ebx
push edx
call fcn.0040ecc0
mov eax, dword [esp + 0x60]
add esp, 0xc
cmp eax, esi
je 0x40f7b0
push eax
call fcn.004b6eae
add esp, 4
mov eax, dword [ebx + 0x14]
cmp eax, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
jne 0x40f7c9
mov dword [esp + 0x20], esi
jmp 0x40f7d2
mov ecx, dword [ebx + 0x18]
sub ecx, eax
mov dword [esp + 0x20], ecx
lea edx, [esp + 0x20]
push edx
mov esi, ebx
call fcn.004076f0
lea edi, [ebx + 0x34]
push edi
lea esi, [esp + 0x64]
call fcn.004076f0
add dword [edi], 0xffffffff
lea ecx, [esp + 0x90]
mov byte [esp + 0x104], 1
call fcn.0040def0
lea esi, [esp + 0x30]
call fcn.00424680
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
jmp 0x40f700
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov byte [esp + 0x104], 3
mov eax, dword [ebp + 8]
cmp eax, 0xf
lea esi, [esp + 0x40]
jae 0x40f851
or al, 0xd0
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push eax
call fcn.00420e50
xor esi, esi
jmp 0x40f8f5
lea ecx, [esp + 0x17]
push ecx
mov byte [esp + 0x1b], 0xdf
call fcn.00420e50
mov eax, dword [ebp + 8]
push 0
push 0
push eax
lea edx, [esp + 0x38]
push ebx
push edx
call fcn.0040ff80
add esp, 0x14
mov byte [esp + 0x104], 4
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
mov esi, eax
jbe 0x40f899
call fcn.004b7b58
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
mov dword [esp + 0x20], ecx
jbe 0x40f8a6
call fcn.004b7b58
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x44], eax
lea ebp, [esp + 0x2c]
mov dword [esp + 0x18], eax
jbe 0x40f8bd
call fcn.004b7b58
mov edx, dword [esp + 0x18]
push esi
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push ebp
lea eax, [esp + 0x50]
push edx
push eax
mov esi, eax
call fcn.00424fb0
mov byte [esp + 0x104], 3
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0x40f8f5
push eax
call fcn.004b6eae
add esp, 4
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
cmp esi, eax
mov dword [esp + 0x70], 1
jbe 0x40f91b
call fcn.004b7b58
mov eax, dword [esp + 0x68]
lea ebp, [esp + 0x60]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
jmp 0x40f930
cmp dword [esp + 0x64], eax
mov dword [esp + 0x18], eax
jbe 0x40f93f
call fcn.004b7b58
test ebp, ebp
je 0x40f94b
lea eax, [esp + 0x60]
cmp ebp, eax
je 0x40f950
call fcn.004b7b58
cmp esi, dword [esp + 0x18]
je 0x40fa7c
test ebp, ebp
jne 0x40f963
call fcn.004b7b58
cmp esi, dword [ebp + 8]
jb 0x40f96d
call fcn.004b7b58
mov ecx, dword [esi]
push ecx
lea eax, [esp + 0x84]
call fcn.00424f00
mov byte [esp + 0x108], 5
mov edx, dword [ebx + 0x30]
push edx
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004119a0
add esp, 0x10
mov byte [esp + 0x104], 7
mov eax, dword [esp + 0x84]
xor esi, esi
cmp eax, esi
je 0x40f9b4
push eax
call fcn.004b6eae
add esp, 4
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
jbe 0x40f9d6
call fcn.004b7b58
lea esi, [esp + 0x2c]
lea edi, [esp + 0x50]
call fcn.00420e10
lea esi, [esp + 0x74]
mov ebp, eax
call fcn.00420de0
mov edx, dword [ebp]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [ebp + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x54]
push ebx
push eax
push eax
call fcn.00424f60
mov byte [esp + 0x104], 3
mov eax, dword [esp + 0x54]
xor esi, esi
cmp eax, esi
je 0x40fa40
push eax
call fcn.004b6eae
add esp, 4
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp edx, dword [ecx + 8]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
jb 0x40fa5e
call fcn.004b7b58
add dword [esp + 0x24], 4
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
jmp 0x40f930
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
cmp eax, ecx
mov dword [esp + 0x28], ecx
jbe 0x40fa99
call fcn.004b7b58
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
cmp eax, ecx
mov dword [esp + 0x18], eax
jbe 0x40faa6
call fcn.004b7b58
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
lea ebp, [esp + 0x40]
jbe 0x40fab7
call fcn.004b7b58
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x44]
push eax
push ecx
push ebp
push esi
push edi
mov esi, edi
call fcn.00424fb0
mov esi, dword [edi + 8]
cmp dword [edi + 4], esi
jbe 0x40fadd
call fcn.004b7b58
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x28], eax
jbe 0x40faee
call fcn.004b7b58
mov ebp, dword [ebx + 0x14]
add ebx, 0x10
cmp ebp, dword [ebx + 8]
jbe 0x40fafe
call fcn.004b7b58
mov edx, dword [esp + 0x28]
push esi
push edi
push edx
push edi
push ebp
push ebx
mov esi, ebx
call fcn.00424fb0
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, esi
je 0x40fb22
push eax
call fcn.004b6eae
add esp, 4
mov eax, dword [esp + 0x64]
cmp eax, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
je 0x40fb3f
push eax
call fcn.004b6eae
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.004b6e9f
add esp, 0xf4
ret