Function at 0x50fb80
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 0x5108ab
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 [0x6dae38], 0
jne 0x51087b
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 0x50fc63
cmp esi, 0x54
jne 0x50fc50
mov dword [esp], edx
cmp dword [esp], 0
je 0x50fc48
add dword [esp], 0x20
mov ebx, 0x5f6d8a
mov dword [esp + 4], ebx
mov dword [esp + 8], 5
call fcn.00509e50
add esp, 0xdc
ret
mov dword [0], eax
jmp 0x50fc27
cmp esi, 0x76
je 0x50fc1e
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.0050cba0
jmp 0x50fc41
cmp esi, 0x54
jne 0x50fd2c
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edi
xor ebx, ebx
xor ebx, ebx
lea ebx, [esp + 0x80]
cmp ebx, 0
je 0x50fd25
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 0x50fd1c
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 0x50fd14
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.0050adc0
add esp, 0xdc
ret
mov dword [0], eax
jmp 0x50fcee
mov ecx, eax
mov eax, 0x6b5ee0
jmp 0x50fcad
mov dword [ebx], eax
jmp 0x50fc8e
cmp esi, 0x70
jne 0x50fd88
mov dword [esp], ecx
mov dword [esp + 4], edi
call fcn.00539770
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.0050ea80
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 0x50fe4b
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.0050f700
movzx ebx, byte [esp + 8]
cmp bl, 0
jne 0x50fe49
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 4], ebx
call fcn.00539770
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.005108c0
add esp, 0xdc
ret
jmp 0x50fe42
mov ebx, dword [esp + 0xa0]
mov eax, dword [ebx + 8]
cmp eax, 0xb0c23ed3
ja 0x51035c
cmp eax, 0x500c1abc
ja 0x5100bc
cmp eax, 0x2ea27ffb
ja 0x50ff65
mov dword [esp + 0x3c], eax
cmp eax, 0x13ff06c5
jne 0x50fee6
mov byte [esp + 0x1d], 0
mov dword [esp], 0x5c3bc0
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fee6
mov dword [esp], edx
movzx ebx, byte [esp + 0x1d]
mov byte [esp + 4], bl
mov dword [esp + 8], esi
call fcn.0050d560
jmp 0x50fe42
cmp eax, 0x2ea27ffb
jne 0x50fda7
xorps xmm0, xmm0
movsd qword [esp + 0x48], xmm0
mov dword [esp], 0x5c3fc0
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fda7
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.0050d960
jmp 0x50fe42
mov dword [esp + 0x3c], eax
cmp eax, 0x382e7edf
jne 0x510017
xor ebx, ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp], 0x5b9f20
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x510017
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, 0x5f70ee
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 6
call fcn.0050df10
jmp 0x50fe42
cmp eax, 0x500c1abc
jne 0x50fda7
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp], 0x5f6260
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fda7
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.005108c0
jmp 0x50fe42
cmp eax, 0x7925028c
ja 0x5101d3
mov dword [esp + 0x3c], eax
cmp eax, 0x663e425f
jne 0x510142
mov byte [esp + 0x1e], 0
mov dword [esp], 0x5c5000
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x510142
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.0050d660
jmp 0x50fe42
cmp eax, 0x7925028c
jne 0x50fda7
xorps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x44], xmm0
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 + 0x40]
mov dword [esp + 0xc], ebx
call fcn.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fda7
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.0050dad0
jmp 0x50fe42
mov dword [esp + 0x3c], eax
cmp eax, 0x86318d2e
jne 0x51025a
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], 0x5c4fc0
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x51025a
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.0050d660
jmp 0x50fe42
cmp eax, 0x963f9bff
jne 0x5102dd
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp], 0x5c4900
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x5102dd
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.0050d660
jmp 0x50fe42
cmp eax, 0xb0c23ed3
jne 0x50fda7
xorps xmm0, xmm0
movss dword [esp + 0x38], xmm0
mov dword [esp], 0x5c3f80
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fda7
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.0050d960
jmp 0x50fe42
cmp eax, 0xd04ae83d
ja 0x5105f5
cmp eax, 0xbbad4102
ja 0x510483
mov dword [esp + 0x3c], eax
cmp eax, 0xb31a546d
jne 0x510407
xorps xmm0, xmm0
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x68], xmm0
mov dword [esp], 0x5c3c40
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x510407
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.0050dad0
jmp 0x50fe42
cmp eax, 0xbbad4102
jne 0x50fda7
mov dword [esp + 0x28], 0
mov dword [esp], 0x5c48c0
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fda7
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.0050d660
jmp 0x50fe42
mov dword [esp + 0x3c], eax
cmp eax, 0xbd4ad792
jne 0x510500
mov dword [esp + 0x30], 0
mov dword [esp], 0x5c5040
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x510500
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.0050d660
jmp 0x50fe42
cmp eax, 0xcc06c027
jne 0x510578
mov byte [esp + 0x1f], 0
mov dword [esp], 0x5c4940
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x510578
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.0050d660
jmp 0x50fe42
cmp eax, 0xd04ae83d
jne 0x50fda7
mov dword [esp + 0x34], 0
mov dword [esp], 0x5c4f80
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fda7
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.0050d660
jmp 0x50fe42
cmp eax, 0xe0ff5cb4
ja 0x510708
mov dword [esp + 0x3c], eax
cmp eax, 0xd5b87712
jne 0x51067d
mov dword [esp + 0x2c], 0
mov dword [esp], 0x5c4f00
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x51067d
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.0050d660
jmp 0x50fe42
cmp eax, 0xe0ff5cb4
jne 0x50fda7
xor ebx, ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp], 0x5c4e00
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fda7
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.0050dd90
jmp 0x50fe42
mov dword [esp + 0x3c], eax
cmp eax, 0xecd580ce
jne 0x510786
mov word [esp + 0x20], 0
mov dword [esp], 0x5c4880
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x510786
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.0050d660
jmp 0x50fe42
cmp eax, 0xeff20ea0
jne 0x5107ff
mov word [esp + 0x22], 0
mov dword [esp], 0x5c4f40
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x5107ff
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.0050d660
jmp 0x50fe42
cmp eax, 0xf75371fa
jne 0x50fda7
mov dword [esp + 0x24], 0
mov dword [esp], 0x5c4840
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.0040cba0
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x50fda7
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.0050d660
jmp 0x50fe42
lea esi, [edx + 0x10]
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.0040fcf0
mov edi, dword [esp + 0xe8]
mov esi, dword [esp + 0xec]
mov edx, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
jmp 0x50fc09
call fcn.004518d0
jmp fcn.0050fb80