Function at 0x50f260
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 0x50ff8b
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 0x50ff5b
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 0x50f343
cmp esi, 0x54
jne 0x50f330
mov dword [esp], edx
cmp dword [esp], 0
je 0x50f328
add dword [esp], 0x20
mov ebx, 0x5f610a
mov dword [esp + 4], ebx
mov dword [esp + 8], 5
call fcn.00509530
add esp, 0xdc
ret
mov dword [0], eax
jmp 0x50f307
cmp esi, 0x76
je 0x50f2fe
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.0050c280
jmp 0x50f321
cmp esi, 0x54
jne 0x50f40c
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edi
xor ebx, ebx
xor ebx, ebx
lea ebx, [esp + 0x80]
cmp ebx, 0
je 0x50f405
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 0x50f3fc
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 0x50f3f4
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.0050a4a0
add esp, 0xdc
ret
mov dword [0], eax
jmp 0x50f3ce
mov ecx, eax
mov eax, 0x6b4ee0
jmp 0x50f38d
mov dword [ebx], eax
jmp 0x50f36e
cmp esi, 0x70
jne 0x50f468
mov dword [esp], ecx
mov dword [esp + 4], edi
call fcn.00538e50
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.0050e160
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 0x50f52b
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.0050ede0
movzx ebx, byte [esp + 8]
cmp bl, 0
jne 0x50f529
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 4], ebx
call fcn.00538e50
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.0050ffa0
add esp, 0xdc
ret
jmp 0x50f522
mov ebx, dword [esp + 0xa0]
mov eax, dword [ebx + 8]
cmp eax, 0xb0c23ed3
ja 0x50fa3c
cmp eax, 0x500c1abc
ja 0x50f79c
cmp eax, 0x2ea27ffb
ja 0x50f645
mov dword [esp + 0x3c], eax
cmp eax, 0x13ff06c5
jne 0x50f5c6
mov byte [esp + 0x1d], 0
mov dword [esp], 0x5c3000
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f5c6
mov dword [esp], edx
movzx ebx, byte [esp + 0x1d]
mov byte [esp + 4], bl
mov dword [esp + 8], esi
call fcn.0050cc40
jmp 0x50f522
cmp eax, 0x2ea27ffb
jne 0x50f487
xorps xmm0, xmm0
movsd qword [esp + 0x48], xmm0
mov dword [esp], 0x5c3400
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f487
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.0050d040
jmp 0x50f522
mov dword [esp + 0x3c], eax
cmp eax, 0x382e7edf
jne 0x50f6f7
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp], 0x5b93e0
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f6f7
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, 0x5f646e
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 6
call fcn.0050d5f0
jmp 0x50f522
cmp eax, 0x500c1abc
jne 0x50f487
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp], 0x5f55e0
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f487
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.0050ffa0
jmp 0x50f522
cmp eax, 0x7925028c
ja 0x50f8b3
mov dword [esp + 0x3c], eax
cmp eax, 0x663e425f
jne 0x50f822
mov byte [esp + 0x1e], 0
mov dword [esp], 0x5c4440
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f822
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.0050cd40
jmp 0x50f522
cmp eax, 0x7925028c
jne 0x50f487
xorps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], 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 + 0x40]
mov dword [esp + 0xc], ebx
call fcn.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f487
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.0050d1b0
jmp 0x50f522
mov dword [esp + 0x3c], eax
cmp eax, 0x86318d2e
jne 0x50f93a
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], 0x5c4400
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f93a
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.0050cd40
jmp 0x50f522
cmp eax, 0x963f9bff
jne 0x50f9bd
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp], 0x5c3d40
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f9bd
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.0050cd40
jmp 0x50f522
cmp eax, 0xb0c23ed3
jne 0x50f487
xorps xmm0, xmm0
movss dword [esp + 0x38], xmm0
mov dword [esp], 0x5c33c0
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f487
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.0050d040
jmp 0x50f522
cmp eax, 0xd04ae83d
ja 0x50fcd5
cmp eax, 0xbbad4102
ja 0x50fb63
mov dword [esp + 0x3c], eax
cmp eax, 0xb31a546d
jne 0x50fae7
xorps xmm0, xmm0
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x68], xmm0
mov dword [esp], 0x5c3080
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fae7
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.0050d1b0
jmp 0x50f522
cmp eax, 0xbbad4102
jne 0x50f487
mov dword [esp + 0x28], 0
mov dword [esp], 0x5c3d00
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f487
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.0050cd40
jmp 0x50f522
mov dword [esp + 0x3c], eax
cmp eax, 0xbd4ad792
jne 0x50fbe0
mov dword [esp + 0x30], 0
mov dword [esp], 0x5c4480
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fbe0
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.0050cd40
jmp 0x50f522
cmp eax, 0xcc06c027
jne 0x50fc58
mov byte [esp + 0x1f], 0
mov dword [esp], 0x5c3d80
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fc58
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.0050cd40
jmp 0x50f522
cmp eax, 0xd04ae83d
jne 0x50f487
mov dword [esp + 0x34], 0
mov dword [esp], 0x5c43c0
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f487
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.0050cd40
jmp 0x50f522
cmp eax, 0xe0ff5cb4
ja 0x50fde8
mov dword [esp + 0x3c], eax
cmp eax, 0xd5b87712
jne 0x50fd5d
mov dword [esp + 0x2c], 0
mov dword [esp], 0x5c4340
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fd5d
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.0050cd40
jmp 0x50f522
cmp eax, 0xe0ff5cb4
jne 0x50f487
xor ebx, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp], 0x5c4240
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f487
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.0050d470
jmp 0x50f522
mov dword [esp + 0x3c], eax
cmp eax, 0xecd580ce
jne 0x50fe66
mov word [esp + 0x20], 0
mov dword [esp], 0x5c3cc0
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fe66
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.0050cd40
jmp 0x50f522
cmp eax, 0xeff20ea0
jne 0x50fedf
mov word [esp + 0x22], 0
mov dword [esp], 0x5c4380
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fedf
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.0050cd40
jmp 0x50f522
cmp eax, 0xf75371fa
jne 0x50f487
mov dword [esp + 0x24], 0
mov dword [esp], 0x5c3c80
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.0040c280
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50f487
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.0050cd40
jmp 0x50f522
lea esi, [edx + 0x10]
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.0040f3d0
mov edi, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
jmp 0x50f2e9
call fcn.00450fb0
jmp fcn.0050f260