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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x507915
sub esp, 0x80
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
xor ebx, ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
xor ebx, ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x20], 0x3a98
mov dword [esp], 0x5bd4c0
mov ebx, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.0043b640
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x70], ebx
mov dword [esp], 0
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0
cmp eax, 0
mov dword [esp + 0x6c], eax
jbe 0x50790e
mov dword [esp + 0x68], ecx
mov dword [esp + 0xc], ecx
lea ebx, [esp + 0x20]
mov dword [esp + 0x10], ebx
call fcn.0058ce60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
cmp eax, 0
jne 0x50772a
mov ebx, dword [esp + 0x20]
cmp ebx, 0
jne 0x50763a
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
xor ebx, ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
add esp, 0x80
ret
xor ebx, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
cmp dword [esp + 0x6c], 0
jbe 0x507723
mov esi, dword [esp + 0x68]
mov dword [esp + 0x2c], esi
xor ebp, ebp
cmp esi, ebp
je 0x507699
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov eax, ebx
inc ebx
cmp ebx, edx
ja 0x5076e3
mov dword [esp + 0x78], ebx
mov ebx, ecx
mov ebp, eax
imul ebp, ebp, 4
add ebx, ebp
cmp byte [0x6cfdd8], 0
jne 0x5076d1
mov dword [ebx], esi
mov esi, dword [esi + 8]
mov dword [esp + 0x2c], esi
xor ebp, ebp
cmp esi, ebp
jne 0x507661
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x8c], ebx
xor ebx, ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
add esp, 0x80
ret
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.0040e740
mov esi, dword [esp + 0x2c]
jmp 0x50768c
mov dword [esp], 0x5aa1c0
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0043b7e0
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, ebx
inc ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x74], ecx
jmp 0x507678
call fcn.00427bf0
ud2
mov dword [esp + 0x24], 0
mov dword [esp], 0x5ce520
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea ebx, [esp + 0x24]
mov dword [esp + 0xc], ebx
call fcn.0040b120
mov ebx, dword [esp + 0x24]
cmp ebx, 0x6f
je 0x50782a
mov ebx, 0x5f2c8e
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0x14
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x5c], ebx
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x58], eax
cmp eax, 0
jne 0x5077bb
xor eax, eax
mov ecx, eax
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x80
ret
mov dword [esp], 0x5ca940
call fcn.0040dd70
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ebp, dword [esp + 0x4c]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x48]
cmp byte [0x6cfdd8], 0
jne 0x507818
mov dword [eax], ebp
mov ebp, dword [esp + 0x58]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x5c]
cmp byte [0x6cfdd8], 0
jne 0x507803
mov dword [eax + 0xc], ebp
mov ecx, 0x6a6cb0
jmp 0x50778f
lea esi, [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040e740
mov eax, dword [esp + 0x28]
jmp 0x5077fc
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.0040e740
mov eax, dword [esp + 0x28]
jmp 0x5077e5
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x20]
cmp eax, ebx
jb 0x507909
mov ebx, 0x5f2c8e
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0x14
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x54], ebx
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], eax
cmp eax, 0
jne 0x50789a
xor eax, eax
mov ecx, eax
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x80
ret
mov dword [esp], 0x5ca940
call fcn.0040dd70
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ebp, dword [esp + 0x44]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x40]
cmp byte [0x6cfdd8], 0
jne 0x5078f7
mov dword [eax], ebp
mov ebp, dword [esp + 0x50]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x54]
cmp byte [0x6cfdd8], 0
jne 0x5078e2
mov dword [eax + 0xc], ebp
mov ecx, 0x6a6cb0
jmp 0x50786e
lea esi, [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040e740
mov eax, dword [esp + 0x28]
jmp 0x5078db
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.0040e740
mov eax, dword [esp + 0x28]
jmp 0x5078c4
jmp 0x507579
call fcn.00427bf0
ud2
call fcn.004501c0
jmp fcn.00507520