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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x5c]
cmp eax, dword [ecx + 8]
jbe 0x50fd8b
sub esp, 0xdc
xor eax, eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov edi, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov dword [edx + 0xc], ecx
cmp byte [0x6d9e38], 0
jne 0x50fd5b
mov dword [edx + 0x10], edi
xor ebp, ebp
mov dword [edx + 0x14], ebp
mov dword [edx + 0x18], ebp
mov dword [edx + 0x1c], ebp
cmp ecx, 0
jne 0x50f143
cmp esi, 0x54
jne 0x50f130
mov dword [esp], edx
cmp dword [esp], 0
je 0x50f128
add dword [esp], 0x20
mov ebx, 0x5f5d4a
mov dword [esp + 4], ebx
mov dword [esp + 8], 5
call fcn.00509330
add esp, 0xdc
ret
mov dword [0], eax
jmp 0x50f107
cmp esi, 0x76
je 0x50f0fe
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.0050c080
jmp 0x50f121
cmp esi, 0x54
jne 0x50f20c
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edi
xor ebx, ebx
xor ebx, ebx
lea ebx, [esp + 0x80]
cmp ebx, 0
je 0x50f205
mov eax, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], eax
xor ebx, ebx
xor ebp, ebp
cmp eax, ebp
jne 0x50f1fc
xor eax, eax
mov ecx, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xac], ecx
mov dword [esp], ecx
mov dword [esp + 0xa8], eax
mov ebx, dword [eax + 0x84]
call ebx
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xe0]
mov dword [esp], ebx
cmp dword [esp], 0
je 0x50f1f4
add dword [esp], 0x20
mov dword [esp + 0xb0], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 8], eax
call fcn.0050a2a0
add esp, 0xdc
ret
mov dword [0], eax
jmp 0x50f1ce
mov ecx, eax
mov eax, 0x6b4ee0
jmp 0x50f18d
mov dword [ebx], eax
jmp 0x50f16e
cmp esi, 0x70
jne 0x50f268
mov dword [esp], ecx
mov dword [esp + 4], edi
call fcn.00538c50
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xe0]
mov dword [esp], ebx
mov dword [esp + 0xd0], edx
mov dword [esp + 4], edx
mov dword [esp + 0xd4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x70
call fcn.0050df60
add esp, 0xdc
ret
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edi
mov eax, dword [esp + 0xa0]
xor ebx, ebx
cmp eax, ebx
jne 0x50f32b
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x94], ebx
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.0050ebe0
movzx ebx, byte [esp + 8]
cmp bl, 0
jne 0x50f329
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 4], ebx
call fcn.00538c50
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xe0]
mov dword [esp], ebx
mov dword [esp + 0xd0], edx
mov dword [esp + 4], edx
mov dword [esp + 0xd4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xec]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
call fcn.0050fda0
add esp, 0xdc
ret
jmp 0x50f322
mov ebx, dword [esp + 0xa0]
mov eax, dword [ebx + 8]
cmp eax, 0xb0c23ed3
ja 0x50f83c
cmp eax, 0x500c1abc
ja 0x50f59c
cmp eax, 0x2ea27ffb
ja 0x50f445
mov dword [esp + 0x3c], eax
cmp eax, 0x13ff06c5
jne 0x50f3c6
mov byte [esp + 0x1d], 0
mov dword [esp], 0x5c2d00
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x1d]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f3c6
mov dword [esp], edx
movzx ebx, byte [esp + 0x1d]
mov byte [esp + 4], bl
mov dword [esp + 8], esi
call fcn.0050ca40
jmp 0x50f322
cmp eax, 0x2ea27ffb
jne 0x50f287
xorps xmm0, xmm0
movsd qword [esp + 0x48], xmm0
mov dword [esp], 0x5c3100
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x48]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f287
mov dword [esp], edx
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x10], esi
call fcn.0050ce40
jmp 0x50f322
mov dword [esp + 0x3c], eax
cmp eax, 0x382e7edf
jne 0x50f4f7
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp], 0x5b90e0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0xb8]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f4f7
mov dword [esp], edx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov ebx, 0x5f60ae
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 6
call fcn.0050d3f0
jmp 0x50f322
cmp eax, 0x500c1abc
jne 0x50f287
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp], 0x5f5220
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0xc4]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f287
mov dword [esp], edx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
call fcn.0050fda0
jmp 0x50f322
cmp eax, 0x7925028c
ja 0x50f6b3
mov dword [esp + 0x3c], eax
cmp eax, 0x663e425f
jne 0x50f622
mov byte [esp + 0x1e], 0
mov dword [esp], 0x5c4140
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x1e]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f622
mov dword [esp], edx
movzx ebx, byte [esp + 0x1e]
xor ecx, ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], esi
call fcn.0050cb40
jmp 0x50f322
cmp eax, 0x7925028c
jne 0x50f287
xorps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm0
mov dword [esp], 0x5c2dc0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x40]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f287
mov dword [esp], edx
cvtss2sd xmm0, dword [esp + 0x40]
movsd qword [esp + 4], xmm0
cvtss2sd xmm0, dword [esp + 0x44]
movsd qword [esp + 0xc], xmm0
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x18], esi
call fcn.0050cfb0
jmp 0x50f322
mov dword [esp + 0x3c], eax
cmp eax, 0x86318d2e
jne 0x50f73a
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], 0x5c4100
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x50]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f73a
mov dword [esp], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], esi
call fcn.0050cb40
jmp 0x50f322
cmp eax, 0x963f9bff
jne 0x50f7bd
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp], 0x5c3a40
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x58]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f7bd
mov dword [esp], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
mov dword [esp + 0x10], esi
call fcn.0050cb40
jmp 0x50f322
cmp eax, 0xb0c23ed3
jne 0x50f287
xorps xmm0, xmm0
movss dword [esp + 0x38], xmm0
mov dword [esp], 0x5c30c0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x38]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f287
mov dword [esp], edx
cvtss2sd xmm0, dword [esp + 0x38]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], 0x20
mov dword [esp + 0x10], esi
call fcn.0050ce40
jmp 0x50f322
cmp eax, 0xd04ae83d
ja 0x50fad5
cmp eax, 0xbbad4102
ja 0x50f963
mov dword [esp + 0x3c], eax
cmp eax, 0xb31a546d
jne 0x50f8e7
xorps xmm0, xmm0
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x68], xmm0
mov dword [esp], 0x5c2d80
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f8e7
mov dword [esp], edx
movsd xmm0, qword [esp + 0x60]
movsd qword [esp + 4], xmm0
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 0xc], xmm0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], esi
call fcn.0050cfb0
jmp 0x50f322
cmp eax, 0xbbad4102
jne 0x50f287
mov dword [esp + 0x28], 0
mov dword [esp], 0x5c3a00
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x28]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f287
mov dword [esp], edx
mov eax, dword [esp + 0x28]
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
mov dword [esp + 0x10], esi
call fcn.0050cb40
jmp 0x50f322
mov dword [esp + 0x3c], eax
cmp eax, 0xbd4ad792
jne 0x50f9e0
mov dword [esp + 0x30], 0
mov dword [esp], 0x5c4180
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x30]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f9e0
mov dword [esp], edx
mov ebx, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], esi
call fcn.0050cb40
jmp 0x50f322
cmp eax, 0xcc06c027
jne 0x50fa58
mov byte [esp + 0x1f], 0
mov dword [esp], 0x5c3a80
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x1f]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fa58
mov dword [esp], edx
movsx ebx, byte [esp + 0x1f]
mov eax, ebx
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
mov dword [esp + 0x10], esi
call fcn.0050cb40
jmp 0x50f322
cmp eax, 0xd04ae83d
jne 0x50f287
mov dword [esp + 0x34], 0
mov dword [esp], 0x5c40c0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x34]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f287
mov dword [esp], edx
mov ebx, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], esi
call fcn.0050cb40
jmp 0x50f322
cmp eax, 0xe0ff5cb4
ja 0x50fbe8
mov dword [esp + 0x3c], eax
cmp eax, 0xd5b87712
jne 0x50fb5d
mov dword [esp + 0x2c], 0
mov dword [esp], 0x5c4040
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x2c]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fb5d
mov dword [esp], edx
mov ebx, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], esi
call fcn.0050cb40
jmp 0x50f322
cmp eax, 0xe0ff5cb4
jne 0x50f287
xor ebx, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp], 0x5c3f40
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x88]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f287
mov dword [esp], edx
mov ebx, dword [esp + 0x88]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
call fcn.0050d270
jmp 0x50f322
mov dword [esp + 0x3c], eax
cmp eax, 0xecd580ce
jne 0x50fc66
mov word [esp + 0x20], 0
mov dword [esp], 0x5c39c0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x20]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fc66
mov dword [esp], edx
movsx ebx, word [esp + 0x20]
mov eax, ebx
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
mov dword [esp + 0x10], esi
call fcn.0050cb40
jmp 0x50f322
cmp eax, 0xeff20ea0
jne 0x50fcdf
mov word [esp + 0x22], 0
mov dword [esp], 0x5c4080
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x22]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fcdf
mov dword [esp], edx
movzx ebx, word [esp + 0x22]
xor ecx, ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0
mov dword [esp + 0x10], esi
call fcn.0050cb40
jmp 0x50f322
cmp eax, 0xf75371fa
jne 0x50f287
mov dword [esp + 0x24], 0
mov dword [esp], 0x5c3980
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x24]
mov dword [esp + 0xc], ebx
call fcn.0040c080
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f287
mov dword [esp], edx
mov eax, dword [esp + 0x24]
cdq
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
mov dword [esp + 0x10], esi
call fcn.0050cb40
jmp 0x50f322
lea esi, [edx + 0x10]
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.0040f1d0
mov edi, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
jmp 0x50f0e9
call fcn.00450db0
jmp fcn.0050f060