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

Disassembly:
push 0xffffffffffffffff
push 0x100d79b0
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x1010b334]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1010b334]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
mov esi, ecx
push 0x100f48f0
mov dword [esp + 0x20], esi
or edi, 0xffffffff
mov dword [esp + 0x1c], ebx
call fcn.0048ff50
call dword [0x100e31b4]
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x50de03
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [0x100e331c]
mov ecx, eax
cmp ecx, ebx
mov dword [esp + 0x1c], ecx
je 0x50de03
mov eax, dword [esp + 0x14]
cmp eax, 2
jl 0x50de03
lea ebp, [edi + 2]
cmp eax, ebp
jle 0x50ddb7
lea edi, [ebx + 8]
jmp 0x50dbb4
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + ebp*4]
mov eax, ecx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
lea esi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x50dbd0
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x64]
call fcn.0048ff50
mov dword [esp + 0xa0], ebx
mov eax, dword [esp + 0x70]
cmp eax, 2
jbe 0x50dc73
cmp dword [esp + 0x74], edi
mov ecx, dword [esp + 0x60]
jae 0x50dc08
lea ecx, [esp + 0x60]
cmp word [ecx], 0x22
jne 0x50dc73
lea esi, [eax - 1]
cmp esi, eax
jbe 0x50dc1e
call 0x536640
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x74], edi
mov ecx, dword [esp + 0x60]
jae 0x50dc2c
lea ecx, [esp + 0x60]
cmp word [ecx + esi*2], 0x22
jne 0x50dc73
add eax, 0xfffffffe
push eax
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x64]
push eax
mov ecx, 1
call fcn.004dd460
mov byte [esp + 0xa0], 1
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x64]
call fcn.0048fea0
mov byte [esp + 0xa0], bl
lea esi, [esp + 0x40]
call fcn.004a5140
mov eax, dword [esp + 0x70]
cmp eax, 6
jbe 0x50dd62
push 0x100f1d18
mov ebx, 6
xor eax, eax
lea edx, [esp + 0x60]
call fcn.004cb480
test eax, eax
jne 0x50dd60
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x78]
call fcn.0048d770
mov byte [esp + 0xa0], 2
mov eax, 0x100f1d24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x50dcb6
sub eax, edx
sar eax, 1
mov ebx, eax
push 0x100f1d24
xor eax, eax
lea edx, [esp + 0x7c]
call fcn.004cb480
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x80]
push edx
mov ecx, eax
call fcn.004dd460
mov byte [esp + 0xa0], 3
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0x64]
call fcn.0048fea0
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x3c], edi
jb 0x50dd1e
mov eax, dword [esp + 0x28]
push eax
call 0x5352f4
add esp, 4
mov esi, 7
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
mov byte [esp + 0xa0], bl
cmp dword [esp + 0x90], edi
jb 0x50dd4d
mov ecx, dword [esp + 0x7c]
push ecx
call 0x5352f4
add esp, 4
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], bx
xor ebx, ebx
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
jae 0x50dd70
lea eax, [esp + 0x60]
push eax
call dword [0x100e33a8]
test eax, eax
jne 0x50ddbb
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x74], edi
jb 0x50dd99
mov edx, dword [esp + 0x60]
push edx
call 0x5352f4
add esp, 4
add ebp, 1
cmp ebp, dword [esp + 0x14]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
jl 0x50dbb0
xor eax, eax
jmp 0x50de05
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x64]
call fcn.0048fea0
mov esi, 1
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x74], edi
jb 0x50ddee
mov eax, dword [esp + 0x60]
push eax
call 0x5352f4
add esp, 4
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
mov eax, esi
jmp 0x50de05
mov eax, edi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call 0x5361f8
add esp, 0x90
ret