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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50e575
sub esp, 0x74
mov eax, dword [esp + 0x78]
cmp byte [eax + 0x49], 0xff
je 0x50de42
lea eax, [0x96d080]
mov dword [esp], eax
call fcn.0047c100
lea eax, [0x6d04c0]
cmp dword [esp + 4], eax
jne 0x50ddc5
mov ebx, dword [esp + 8]
jmp 0x50ddd7
lea eax, [0x6f3fe0]
mov dword [esp], eax
call fcn.0040bc10
mov ebx, dword [esp + 4]
mov dword [esp + 0x64], ebx
mov edx, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x9c]
cmp ecx, edx
jg 0x50ddf4
ja 0x50e56f
mov dword [ebx + 0x28], ecx
jmp 0x50de3b
lea eax, [0x6e08a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0046ca20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x64]
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
je 0x50de36
call fcn.00471ac0
mov dword [edi], eax
mov ebx, dword [edx + 0x24]
mov dword [edi + 4], ebx
mov dword [edx + 0x24], eax
mov ebx, edx
mov edx, dword [ebx + 0x28]
xor eax, eax
jmp 0x50de73
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x74
ret
mov ebp, dword [ebx + 0x24]
mov dword [ebp + eax*4], 0xffffffff
inc eax
cmp eax, edx
jge 0x50de83
mov ecx, dword [ebx + 0x28]
cmp eax, ecx
jb 0x50de67
jmp 0x50e56a
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x50ded2
nop
mov dword [ebx + 0x14], eax
mov eax, dword [0x98d0b8]
test eax, eax
jne 0x50dea2
mov eax, dword [esp + 0x80]
jmp 0x50deb6
call fcn.00471ac0
mov eax, dword [esp + 0x80]
mov dword [edi], eax
mov ecx, dword [ebx + 0x18]
mov dword [edi + 4], ecx
mov dword [ebx + 0x18], eax
mov byte [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
lea eax, [ebx + 0x14]
lea ecx, [0x7a5a60]
jmp 0x50df52
mov eax, dword [esp + 0x84]
test eax, eax
je 0x50df14
nop
mov ecx, dword [esp + 0x88]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x8c]
mov dword [ebx + 8], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
je 0x50df08
call fcn.00471ac0
mov dword [edi], eax
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
mov dword [ebx], eax
lea ecx, [0x7a5aa0]
mov eax, ebx
jmp 0x50df52
nop
mov eax, dword [esp + 0x94]
mov dword [ebx + 0x10], eax
mov eax, dword [0x98d0b8]
test eax, eax
jne 0x50df32
mov eax, dword [esp + 0x90]
jmp 0x50df46
call fcn.00471ac0
mov eax, dword [esp + 0x90]
mov dword [edi], eax
mov ecx, dword [ebx + 0xc]
mov dword [edi + 4], ecx
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0xc]
lea ecx, [0x7a5a80]
mov dword [esp + 0x60], eax
mov dword [esp + 0x20], ecx
mov edx, dword [ecx + 0x1c]
mov dword [esp], eax
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
cmp eax, 0xffffffff
jne 0x50df8b
mov edx, 0xffffffff
xor ebx, ebx
jmp 0x50dfbe
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x1c]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebp, dword [esp + 0x98]
lea esi, [ebp + ecx]
mov dword [esp + 4], esi
call edx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], edx
mov ebp, dword [esp + 0x98]
test ebp, ebp
jne 0x50dfda
mov esi, eax
mov edi, 0xffffffff
jmp 0x50e00f
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ebp
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x34]
mov edi, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x70], eax
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
cmp eax, ecx
jbe 0x50e55f
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edi
lea eax, [ecx + ecx*8]
test ebp, ebp
je 0x50e03f
xor eax, eax
jmp 0x50e07d
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx]
mov eax, dword [ecx + eax*4 + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov byte [esp + 8], al
call fcn.0050cd80
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
test al, al
je 0x50e0be
mov eax, dword [edx + 0x28]
test eax, eax
jne 0x50e08c
xor eax, eax
jmp 0x50e0c0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
jmp 0x50e0c0
xor eax, eax
test al, al
jne 0x50e0cd
mov eax, dword [esp + 0x3c]
jmp 0x50e18a
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov dword [esp + 4], edx
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x50e19f
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x98]
add ecx, edx
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call ebx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x5c]
lea ebp, [ebx + eax]
mov esi, dword [esp + 8]
mov dword [esp + 0x34], esi
mov edi, dword [esp + 0x60]
mov dword [esp], edi
mov dword [esp + 4], ebp
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 8]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
mov esi, dword [esp + 0x5c]
mov dword [esp + 4], esi
call ecx
mov eax, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x3c]
mov ecx, edx
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
jmp 0x50e2bf
xor eax, eax
test al, al
je 0x50e270
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0xa4]
lea ebx, [edx + ecx]
mov ebp, dword [eax + 0x24]
mov esi, dword [esp + 0xa8]
cmp esi, ebx
jb 0x50e1d1
mov edi, dword [esp + 0xa0]
jmp 0x50e21d
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x6c], ebp
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
lea eax, [0x6e08a0]
mov dword [esp + 0x10], eax
call fcn.0046cad0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xa4]
mov ebp, dword [esp + 0x6c]
mov edi, eax
mov esi, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x58], esi
lea eax, [edi + edx*4]
mov dword [esp], eax
mov dword [esp + 4], ebp
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.00472440
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0050dcb0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb4], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0050dcb0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x74
ret
mov dword [esp + 0x28], edi
mov edi, esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x34], ebp
mov ebp, edx
mov edx, dword [esp + 0x78]
mov edx, ecx
mov ecx, ebx
mov ebx, edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
mov edx, dword [edx + 0xc]
mov eax, dword [edx + 4]
cmp ecx, eax
jae 0x50e554
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x30], esi
mov edx, dword [edx]
lea eax, [ecx + ecx*8]
lea ecx, [edx + eax*4]
movzx ecx, byte [ecx]
lea ebx, [edx + eax*4]
mov dword [esp + 0x68], ebx
mov ebx, dword [edx + eax*4 + 4]
mov dword [esp + 0x54], ebx
cmp cl, 5
ja 0x50e3dc
mov dword [esp + 0x50], edi
cmp cl, 2
ja 0x50e385
cmp cl, 1
jbe 0x50e34c
mov eax, dword [edx + eax*4 + 8]
mov edx, dword [esp + 0x64]
mov ecx, dword [edx + 0x28]
cmp eax, ecx
jge 0x50e329
jae 0x50e54f
mov ecx, dword [edx + 0x24]
mov dword [ecx + eax*4], ebp
mov eax, dword [esp + 0x3c]
mov esi, edi
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
jmp 0x50e2a1
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.0050eb80
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
jmp 0x50e2a1
cmp cl, 3
jne 0x50e4d0
mov eax, dword [edx + eax*4 + 8]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov byte [esp + 8], al
call fcn.0050cd80
movzx eax, byte [esp + 0xc]
test al, al
je 0x50e4c9
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
jmp 0x50e2a1
cmp cl, 7
ja 0x50e431
cmp cl, 6
jne 0x50e409
mov eax, dword [esp + 0x3c]
mov esi, edi
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
jmp 0x50e2a1
lea eax, [edx + eax*4]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00505630
cmp dword [esp + 8], 0xffffffff
je 0x50e508
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov esi, dword [esp + 0x30]
jmp 0x50e466
cmp cl, 8
jne 0x50e44f
mov edi, dword [edx + eax*4 + 0x10]
mov edx, dword [edx + eax*4 + 0xc]
test edi, edi
jbe 0x50e53c
cmp dword [edx], esi
je 0x50e466
jmp 0x50e50f
cmp cl, 9
je 0x50e466
cmp cl, 0xa
jne 0x50e524
cmp esi, 0xa
je 0x50e51d
mov edx, dword [esp + 0x28]
test edx, edx
je 0x50e516
add edx, ebp
mov ebp, dword [esp + 0x34]
cmp ebp, 0xffffffff
jne 0x50e485
mov eax, ebp
mov ecx, dword [esp + 0x5c]
jmp 0x50e4c0
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1c]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebp, dword [esp + 0x5c]
lea esi, [edx + ebp]
mov dword [esp + 4], esi
call ecx
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x30]
mov ebp, eax
mov ecx, ebx
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x5c]
jmp 0x50e2a1
xor eax, eax
jmp 0x50e1a1
cmp cl, 4
jne 0x50e501
mov edx, dword [esp + 0x64]
mov ebx, dword [edx + 0x28]
test ebx, ebx
je 0x50e4f7
mov ebx, dword [edx + 0x24]
mov dword [ebx], 0
mov ecx, dword [edx + 0x28]
cmp ecx, 1
jbe 0x50e545
mov eax, dword [edx + 0x24]
mov dword [eax + 4], ebp
mov eax, 1
jmp 0x50e1a1
xor eax, eax
jmp 0x50e1a1
xor eax, eax
jmp 0x50e1a1
xor eax, eax
jmp 0x50e1a1
xor eax, eax
jmp 0x50e1a1
xor eax, eax
jmp 0x50e1a1
lea eax, [0x6e0660]
mov dword [esp], eax
lea eax, [0x7a3940]
mov dword [esp + 4], eax
call fcn.0046ae10
xor eax, eax
mov ecx, eax
call fcn.00471b30
mov eax, 1
call fcn.00471b30
call fcn.00471b40
mov edx, eax
mov eax, ecx
mov ecx, edx
call fcn.00471b30
mov edx, eax
mov eax, ecx
mov ecx, edx
call fcn.00471b30
call fcn.00471b30
call fcn.00471b70
nop
call fcn.004706b0
jmp fcn.0050dd80