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

Disassembly:
mov ecx, dword [0x8602c0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50cdef
sub esp, 0x48
mov eax, dword [esp + 0x4c]
movzx ecx, word [eax]
test cx, 0x80
je 0x50c785
mov ecx, dword [esp + 0x54]
cmp ecx, 2
jl 0x50c785
mov edx, dword [esp + 0x50]
cmp byte [edx], 0x5c
jne 0x50c785
movzx ebx, byte [edx + 1]
cmp bl, 0x70
je 0x50c7c8
cmp bl, 0x50
je 0x50c7c1
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x48
ret
mov ebx, 0xffffffff
jmp 0x50c7cd
mov ebx, 1
mov dword [esp + 0x24], ebx
lea eax, [ecx - 2]
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.0050e4a0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x50cd92
cmp dword [esp + 8], 0x7b
je 0x50c838
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov edx, ecx
sub ecx, ebx
cmp edx, ecx
jb 0x50cde9
cmp ecx, 2
jb 0x50cddf
lea eax, [ecx - 2]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 2
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x50]
add eax, esi
jmp 0x50c8dd
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x7d
call fcn.00479dc0
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x50ccb6
lea ebx, [ecx + 1]
mov edx, dword [esp + 0x54]
cmp edx, ebx
jb 0x50cdd8
sub edx, ecx
dec edx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ebx
mov esi, dword [esp + 0x50]
add edx, esi
cmp ecx, 3
jb 0x50cdce
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x44], edx
lea eax, [ecx - 3]
mov dword [esp + 0x2c], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 3
add eax, esi
mov dword [esp + 0x3c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0050e3b0
mov eax, dword [esp + 8]
test eax, eax
jne 0x50cc7a
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
test edx, edx
je 0x50c909
cmp byte [eax], 0x5e
jne 0x50c903
dec edx
mov edi, edx
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
mov esi, dword [esp + 0x24]
xchg esi, ebx
neg ebx
xchg esi, ebx
add eax, edi
jmp 0x50c90d
mov esi, dword [esp + 0x24]
jmp 0x50c90d
mov esi, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x24], esi
cmp edx, 3
jne 0x50c93c
cmp word [eax], 0x6e41
jne 0x50c93c
cmp byte [eax + 2], 0x79
jne 0x50c93c
mov eax, dword [0x82f3cc]
mov edx, eax
jmp 0x50ca4b
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], eax
mov ecx, dword [0x839c00]
lea ebx, [0x60f5e0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.00410390
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x50c9bb
mov dword [esp + 0x38], eax
mov eax, dword [0x839c08]
lea ecx, [0x60f5e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
call fcn.00410390
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x38]
jmp 0x50ca4b
mov eax, dword [0x839c04]
lea ecx, [0x60f5e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.00410390
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x50ca03
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x24]
xor eax, eax
xor edx, edx
jmp 0x50ca4b
mov dword [esp + 0x38], eax
mov eax, dword [0x839c0c]
lea ecx, [0x60f5e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
call fcn.00410390
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x50cbfa
mov ecx, dword [esp + 0x4c]
movzx edi, word [ecx]
test di, 1
je 0x50ca65
test edx, edx
jne 0x50cacb
test esi, esi
jle 0x50ca9a
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0050dd10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x50cbca
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0050dee0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x50cbca
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x20]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0050dd10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
call fcn.0050dd10
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], eax
mov eax, dword [0x860560]
test eax, eax
je 0x50cb3e
call fcn.00467c50
mov dword [edi], edx
mov eax, dword [ebx + 0x20]
mov dword [edi + 4], eax
mov dword [ebx + 0x20], edx
lea eax, [ebx + 0x20]
mov dword [esp], eax
call fcn.0050d550
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x24]
test ebx, ebx
jle 0x50cb96
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0050da70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x50cbca
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0050dbf0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x48
ret
lea eax, [0x61b6a0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x64301d]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x50cc32
mov ecx, dword [esp + 0x50]
jmp 0x50cc3d
call fcn.00467c40
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x68a380]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x48
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x48
ret
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.0050e3b0
mov eax, dword [esp + 8]
test eax, eax
jne 0x50cd56
lea eax, [0x61b6a0]
mov dword [esp], eax
call fcn.0040c2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x64301d]
mov dword [eax], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x50cd0e
mov ecx, dword [esp + 0x50]
jmp 0x50cd19
call fcn.00467c40
mov ecx, dword [esp + 0x50]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea ecx, [0x68a380]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x48
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x48
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x48
ret
mov eax, 3
call fcn.00467d10
mov ecx, ebx
call fcn.00467cd0
mov eax, 2
call fcn.00467d10
call fcn.00467cd0
nop
call fcn.00466840
jmp fcn.0050c740