Function at 0x50ce00
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 0x50d542
sub esp, 0x6c
mov edx, dword [esp + 0x78]
cmp edx, 1
jb 0x50d535
lea ecx, [edx - 1]
mov dword [esp + 0x40], ecx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov ebp, dword [esp + 0x70]
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x74]
add ecx, esi
mov dword [esp + 0x5c], ecx
nop
test edi, edi
je 0x50cea9
mov dword [esp + 0x60], edi
mov eax, dword [0x860560]
mov esi, dword [edi + 0x10]
test eax, eax
je 0x50ce99
mov dword [esp + 0x68], esi
mov eax, edi
call fcn.00467c50
mov dword [edi], esi
mov ecx, dword [ebp + 0x10]
mov dword [edi + 4], ecx
lea ecx, [0x62bfa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004114e0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
mov dword [ebp + 0x10], esi
xor eax, eax
call fcn.00467ee1
mov edi, dword [esp + 0x60]
jmp 0x50cecc
lea eax, [0x62bfa0]
mov dword [esp], eax
call fcn.0040c2d0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x70]
inc dword [eax + 0x2c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x40]
mov ebp, eax
mov byte [edi], 4
movzx eax, word [ebp]
mov word [edi + 2], ax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 2
mov eax, dword [0x860560]
lea ecx, [edi + 0x20]
test eax, eax
jne 0x50cef7
cmp edx, 1
jmp 0x50cf0b
mov eax, edi
call fcn.00467c50
mov dword [edi], ecx
mov esi, dword [eax + 0x14]
mov dword [edi + 4], esi
cmp edx, 1
mov edi, eax
mov dword [edi + 0x14], ecx
je 0x50cf5c
mov eax, dword [esp + 0x5c]
cmp byte [eax], 0x5e
jne 0x50cf55
lea ecx, [edx - 2]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
movzx esi, word [ebp]
add eax, ecx
test si, 4
jne 0x50cf4e
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x18], 2
xor esi, esi
mov dword [ecx + esi*4], 0xa
mov dword [ecx + esi*4 + 4], 0xa
mov ecx, 0xffffffff
jmp 0x50cf65
mov ecx, 1
jmp 0x50cf65
mov eax, dword [esp + 0x5c]
mov ecx, 1
mov dword [esp + 0x60], edi
mov dword [esp + 0x38], ecx
mov esi, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x54], eax
mov eax, 1
mov byte [esp + 0x37], al
mov eax, dword [esp + 0x54]
jmp 0x50cfa9
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x60]
xor edi, edi
xchg edi, eax
mov byte [esp + 0x37], al
xchg edi, eax
mov esi, edx
mov edx, ebx
mov ebx, ecx
mov ecx, ebp
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x48], edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], ebx
test ebx, ebx
je 0x50d098
cmp byte [eax], 0x5d
je 0x50cfce
test ebx, ebx
jmp 0x50cfe3
movzx edi, byte [esp + 0x37]
xchg edi, eax
test al, al
xchg edi, eax
je 0x50d452
test ebx, ebx
mov edi, dword [esp + 0x60]
je 0x50d098
cmp byte [eax], 0x2d
jne 0x50d027
movzx edi, word [ebp]
test di, 0x40
jne 0x50d023
movzx edi, byte [esp + 0x37]
xchg edi, eax
test al, al
xchg edi, eax
je 0x50d00a
mov edi, dword [esp + 0x60]
jmp 0x50d027
cmp ebx, 1
je 0x50d276
cmp byte [eax + 1], 0x5d
jne 0x50d276
mov edi, dword [esp + 0x60]
jmp 0x50d027
mov edi, dword [esp + 0x60]
cmp ebx, 2
jle 0x50d098
cmp byte [eax], 0x5b
jne 0x50d098
cmp byte [eax + 1], 0x3a
jne 0x50d098
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.0050c330
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x50d319
mov eax, dword [esp + 0x18]
test eax, eax
je 0x50d080
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
jmp 0x50cf89
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x64]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.0050c740
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x50d425
mov eax, dword [esp + 0x18]
test eax, eax
je 0x50d0e1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
jmp 0x50cf89
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
call fcn.0050c1e0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x50d136
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
jmp 0x50cf89
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x10], ebp
call fcn.0050c0c0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x50d3f8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
cmp eax, 2
jl 0x50d1e8
cmp byte [ecx], 0x2d
jne 0x50d1e4
cmp byte [ecx + 1], 0x5d
jne 0x50d18e
mov ebx, edx
jmp 0x50d1ea
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
inc ecx
mov dword [esp + 4], ecx
dec eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
call fcn.0050c0c0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x50d3cb
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x44]
cmp eax, ebp
jl 0x50d346
mov ecx, dword [esp + 0x18]
mov edx, eax
mov eax, ebx
mov ebx, ebp
jmp 0x50d1ea
mov ebx, edx
jmp 0x50d1ea
mov ebx, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], ecx
mov ebp, dword [esp + 0x70]
movzx esi, word [ebp]
test si, 1
jne 0x50d233
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0050d710
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
jmp 0x50d263
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0050d830
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, edx
mov ebx, ecx
mov edx, eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
jmp 0x50cf89
lea ecx, [ebx - 1]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add ecx, eax
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00472680
mov eax, dword [esp + 0xc]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x40]
cmp edx, ecx
jb 0x50d530
mov dword [esp + 0x50], ecx
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 + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x50d2e0
mov ecx, dword [esp + 0x5c]
jmp 0x50d2eb
call fcn.00467c40
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x68a380]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x6c
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x6c
ret
mov ecx, dword [esp + 0x40]
mov edx, ecx
sub ecx, ebx
cmp edx, ecx
jb 0x50d52b
mov dword [esp + 0x3c], ecx
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 + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x860560]
test ecx, ecx
jne 0x50d392
mov ecx, dword [esp + 0x5c]
jmp 0x50d39d
call fcn.00467c40
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x68a380]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x6c
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x6c
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x6c
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x6c
ret
mov edi, dword [esp + 0x60]
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], ecx
lea ecx, [ebx - 1]
mov dword [esp + 0x40], ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov ebx, dword [0x860560]
add eax, ecx
mov dword [esp + 0x5c], eax
test ebx, ebx
je 0x50d48c
mov ecx, edi
call fcn.00467c50
mov dword [edi], esi
mov ebx, dword [ecx + 0x14]
mov dword [edi + 4], ebx
mov edi, ecx
mov dword [edi + 0x14], esi
lea eax, [edi + 0x14]
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 + 0x38]
test ebx, ebx
jge 0x50d4ca
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0050e120
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x60]
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], edx
mov ecx, dword [0x860560]
test ecx, ecx
je 0x50d4eb
call fcn.00467c50
mov dword [edi], eax
mov ecx, dword [ebx + 0x14]
mov dword [edi + 4], ecx
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00506ac0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x6c
ret
call fcn.00467cd0
call fcn.00467cd0
mov eax, 1
xor ecx, ecx
call fcn.00467d10
nop
call fcn.00466840
jmp fcn.0050ce00