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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50fde2
sub esp, 0x70
mov eax, dword [esp + 0x90]
test eax, eax
je 0x50f6c9
nop
lea eax, [0x683c60]
mov dword [esp], eax
call fcn.0040bdb0
mov eax, dword [0x90f128]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x50f499
mov ebx, dword [esp + 0x74]
jmp 0x50f4a4
call fcn.00471460
mov ebx, dword [esp + 0x74]
mov dword [edi], ebx
mov dword [esp + 0x6c], ecx
mov dword [ecx], ebx
mov ebp, dword [esp + 0x88]
test ebp, ebp
jne 0x50f4f9
mov esi, dword [esp + 0x80]
test esi, esi
jne 0x50f4c6
xor eax, eax
xor edx, edx
jmp 0x50f526
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x6c]
jmp 0x50f526
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x44], eax
mov dword [esp + 0x64], edx
mov edi, dword [ebx + 0x13c]
mov ebp, dword [ebx + 0x138]
cmp edi, 4
jne 0x50f54d
cmp dword [ebp], 0x78696e75
je 0x50f5a5
jmp 0x50f5cd
cmp edi, 8
jne 0x50f566
cmp dword [ebp], 0x78696e75
jne 0x50f5cd
cmp dword [ebp + 4], 0x6d617267
je 0x50f5a5
jmp 0x50f5cd
cmp edi, 0xa
jne 0x50f5cd
mov dword [esp], ebp
lea eax, [0x6ba33d]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.00402430
movzx eax, byte [esp + 0xc]
test al, al
je 0x50f5b6
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
mov ebp, dword [ebx + 0x138]
mov edi, dword [ebx + 0x13c]
jmp 0x50f67e
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
mov ebp, dword [ebx + 0x13c]
lea edi, [ebp - 1]
cmp ebp, edi
jbe 0x50fdd8
mov edi, dword [ebx + 0x138]
movzx esi, byte [ebp + edi - 1]
xchg esi, eax
cmp al, 0x34
xchg esi, eax
je 0x50f5f7
xchg esi, eax
cmp al, 0x36
xchg esi, eax
jne 0x50f5ff
mov esi, edi
mov edi, ebp
mov ebp, esi
jmp 0x50f67e
cmp dword [ebx + 0x12c], 2
jne 0x50f644
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
lea eax, [0x71b4e8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004507b0
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
jmp 0x50f67e
mov dword [esp], 0
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
lea eax, [0x71b5bc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004507b0
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x90]
mov esi, dword [ebx]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
lea eax, [0x71e3d0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x90]
call esi
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x50fdc2
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x50f6da
xor eax, eax
xor ecx, ecx
jmp 0x50f742
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x12c]
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x50fdac
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x50f742
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00486f20
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x50fd42
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x88]
test edx, edx
je 0x50f803
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], ecx
mov eax, dword [edx + 0x1c]
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0x12c]
mov ebp, dword [esp + 0x8c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x50f7ed
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.005017b0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x50f7d7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
mov byte [edx + 0x134], 1
jmp 0x50f823
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.005016c0
mov eax, dword [esp + 4]
test eax, eax
jne 0x50fd2c
mov edx, dword [esp + 0x74]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x68], ecx
mov ebx, dword [edx + 0x10]
mov dword [esp], ebx
call fcn.00487000
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x50f9f2
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x12c]
cmp ebp, 1
jne 0x50f886
mov ebp, dword [ebx + 0x130]
cmp ebp, 1
jne 0x50f86c
lea ebp, [0x6d60cc]
jmp 0x50f8c3
cmp ebp, 2
jne 0x50f879
lea ebp, [0x6d60d0]
jmp 0x50f8c3
cmp ebp, 5
jne 0x50f8bd
lea ebp, [0x6d60d4]
jmp 0x50f8c3
cmp ebp, 2
je 0x50f890
cmp ebp, 0x17
jne 0x50f8bd
mov ebp, dword [ebx + 0x130]
cmp ebp, 1
jne 0x50f8a3
lea ebp, [0x6d60c4]
jmp 0x50f8c3
cmp ebp, 2
jne 0x50f8b0
lea ebp, [0x6d60c8]
jmp 0x50f8c3
cmp ebp, 3
jne 0x50f8bd
lea ebp, [0x6d60c0]
jmp 0x50f8c3
lea ebp, [0x6d6078]
mov ebx, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, ebp
call ebx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x12c]
cmp ecx, 1
jne 0x50f90d
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x50f8f3
lea ecx, [0x6d60cc]
jmp 0x50f94a
cmp ecx, 2
jne 0x50f900
lea ecx, [0x6d60d0]
jmp 0x50f94a
cmp ecx, 5
jne 0x50f944
lea ecx, [0x6d60d4]
jmp 0x50f94a
cmp ecx, 2
je 0x50f917
cmp ecx, 0x17
jne 0x50f944
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x50f92a
lea ecx, [0x6d60c4]
jmp 0x50f94a
cmp ecx, 2
jne 0x50f937
lea ecx, [0x6d60c8]
jmp 0x50f94a
cmp ecx, 3
jne 0x50f944
lea ecx, [0x6d60c0]
jmp 0x50f94a
lea ecx, [0x6d607c]
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ebx, dword [ecx]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x5c], ebp
mov esi, dword [esp + 0x48]
mov dword [esp], esi
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov edx, ecx
call ebx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x74]
mov dword [ebp + 0x140], ebx
mov ebx, dword [0x90f128]
test ebx, ebx
jne 0x50f995
mov edx, dword [esp + 0x5c]
jmp 0x50f9b5
call fcn.00471490
mov edx, dword [esp + 0x5c]
mov dword [edi], edx
mov ebx, dword [ebp + 0x144]
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov ebx, dword [ebp + 0x14c]
mov dword [edi + 0xc], ebx
mov dword [ebp + 0x144], edx
mov dword [ebp + 0x148], eax
mov dword [ebp + 0x14c], ecx
lea eax, [0x6b0740]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x674ac0]
mov dword [esp + 8], eax
lea eax, [0x6d6074]
mov dword [esp + 0xc], eax
call fcn.004145b0
jmp 0x50fd12
mov dword [esp + 0x50], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.004870e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x50fbce
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x12c]
cmp ebp, 1
jne 0x50fa5d
mov ebp, dword [ebx + 0x130]
cmp ebp, 1
jne 0x50fa43
lea edx, [0x6d60cc]
jmp 0x50fa9a
cmp ebp, 2
jne 0x50fa50
lea edx, [0x6d60d0]
jmp 0x50fa9a
cmp ebp, 5
jne 0x50fa94
lea edx, [0x6d60d4]
jmp 0x50fa9a
cmp ebp, 2
je 0x50fa67
cmp ebp, 0x17
jne 0x50fa94
mov ebp, dword [ebx + 0x130]
cmp ebp, 1
jne 0x50fa7a
lea edx, [0x6d60c4]
jmp 0x50fa9a
cmp ebp, 2
jne 0x50fa87
lea edx, [0x6d60c8]
jmp 0x50fa9a
cmp ebp, 3
jne 0x50fa94
lea edx, [0x6d60c0]
jmp 0x50fa9a
lea edx, [0x6d6080]
mov eax, dword [edx]
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x12c]
cmp ecx, 1
jne 0x50fae9
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x50facf
lea ecx, [0x6d60cc]
jmp 0x50fb26
cmp ecx, 2
jne 0x50fadc
lea ecx, [0x6d60d0]
jmp 0x50fb26
cmp ecx, 5
jne 0x50fb20
lea ecx, [0x6d60d4]
jmp 0x50fb26
cmp ecx, 2
je 0x50faf3
cmp ecx, 0x17
jne 0x50fb20
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x50fb06
lea ecx, [0x6d60c4]
jmp 0x50fb26
cmp ecx, 2
jne 0x50fb13
lea ecx, [0x6d60c8]
jmp 0x50fb26
cmp ecx, 3
jne 0x50fb20
lea ecx, [0x6d60c0]
jmp 0x50fb26
lea ecx, [0x6d6084]
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ebx, dword [ecx]
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x58], ebp
mov esi, dword [esp + 0x2c]
mov dword [esp], esi
mov esi, dword [esp + 0x4c]
mov dword [esp + 4], esi
mov edx, ecx
call ebx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x74]
mov dword [ebp + 0x140], ebx
mov ebx, dword [0x90f128]
test ebx, ebx
jne 0x50fb71
mov edx, dword [esp + 0x58]
jmp 0x50fb91
call fcn.00471490
mov edx, dword [esp + 0x58]
mov dword [edi], edx
mov ebx, dword [ebp + 0x144]
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov ebx, dword [ebp + 0x14c]
mov dword [edi + 0xc], ebx
mov dword [ebp + 0x144], edx
mov dword [ebp + 0x148], eax
mov dword [ebp + 0x14c], ecx
lea eax, [0x6b0740]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x674ac0]
mov dword [esp + 8], eax
lea eax, [0x6d6074]
mov dword [esp + 0xc], eax
call fcn.004145b0
jmp 0x50fd12
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x12c]
cmp ecx, 1
jne 0x50fc0a
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x50fbf0
lea ecx, [0x6d60cc]
jmp 0x50fc47
cmp ecx, 2
jne 0x50fbfd
lea ecx, [0x6d60d0]
jmp 0x50fc47
cmp ecx, 5
jne 0x50fc41
lea ecx, [0x6d60d4]
jmp 0x50fc47
cmp ecx, 2
je 0x50fc14
cmp ecx, 0x17
jne 0x50fc41
mov ecx, dword [eax + 0x130]
cmp ecx, 1
jne 0x50fc27
lea ecx, [0x6d60c4]
jmp 0x50fc47
cmp ecx, 2
jne 0x50fc34
lea ecx, [0x6d60c8]
jmp 0x50fc47
cmp ecx, 3
jne 0x50fc41
lea ecx, [0x6d60c0]
jmp 0x50fc47
lea ecx, [0x6d6088]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x30]
mov dword [esp], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x88]
test ebx, ebx
je 0x50fc9a
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], ecx
mov eax, dword [ebx + 4]
lea ecx, [0x8e3958]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040a120
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x54]
mov ebx, eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
mov dword [edx + 0x140], eax
mov eax, dword [0x90f128]
test eax, eax
jne 0x50fcb7
mov eax, dword [esp + 0x8c]
jmp 0x50fcda
call fcn.00471490
mov dword [edi], ecx
mov eax, dword [edx + 0x144]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [edi + 8], eax
mov ebp, dword [edx + 0x14c]
mov dword [edi + 0xc], ebp
mov dword [edx + 0x144], ecx
mov dword [edx + 0x148], ebx
mov dword [edx + 0x14c], eax
lea eax, [0x6b0740]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x674ac0]
mov dword [esp + 8], eax
lea eax, [0x6d6074]
mov dword [esp + 0xc], eax
call fcn.004145b0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x70
ret
mov ecx, dword [esp + 8]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
lea ecx, [0x6881e0]
mov dword [esp], ecx
call fcn.0040bdb0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x6b8465]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [0x90f128]
test ecx, ecx
jne 0x50fd86
mov ecx, dword [esp + 0x60]
jmp 0x50fd91
call fcn.00471460
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x71d674]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
add esp, 0x70
ret
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x70
ret
mov eax, edi
mov ecx, ebp
call fcn.004714e0
nop
call fcn.00470060
jmp fcn.0050f450