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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, eax
cmp dword [ebx + 0x94], 0
push esi
push edi
je 0x50d0b3
mov edx, dword [ebx + 0x98]
mov ecx, dword [ebx + 0x78]
mov dword [ebx + 0x98], 0
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 8]
lea esi, [ebx + 4]
sar eax, 1
mov dword [ebp - 0xc], eax
mov eax, 0x44
mov dword [ebp - 0x20], edx
call fcn.00503874
mov edi, eax
xor esi, esi
mov dword [ebp - 8], edi
cmp edi, esi
je 0x558633
mov eax, dword [ebp - 0xc]
mov dword [edi + 8], eax
mov dword [edi], 0x45
mov dword [edi + 4], esi
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 8]
mov eax, dword [ebp + 8]
sar ecx, 1
mov dword [edi + 0xc], ecx
mov edx, dword [ebx + 0x88]
mov dword [edi + 0x34], edx
inc dword [ebx + 0x88]
mov dword [edi + 0x40], eax
mov eax, dword [ebx + 0x78]
call fcn.005044c9
mov ecx, dword [ebx + 0x80]
mov dword [ecx], edi
mov dword [edi + 0x10], esi
lea eax, [edi + 0x10]
xor edx, edx
cmp dword [ebx + 0x7c], esi
mov dword [ebx + 0x80], eax
setne dl
mov dword [edi + 0x3c], edx
mov eax, dword [ebx + 0x7c]
mov ecx, dword [ebx + 0x80]
mov dword [ebx + 0x7c], edi
mov dword [ebp - 0x18], eax
lea eax, [edi + 0x20]
mov dword [eax], esi
mov dword [ebx + 0x80], eax
mov dword [edi + 0x18], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x1c], esi
cmp dword [ebx + 0x68], 0x4b
mov dword [ebp - 0x1c], ecx
jne 0x50ceaf
mov ecx, dword [ebx + 0x78]
mov dword [ebp - 4], esi
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 8]
sar eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 8]
mov edx, dword [ebx + 0x70]
sar eax, 1
mov dword [ebp + 8], eax
mov eax, 0x14
lea esi, [ebx + 4]
mov dword [ebp - 0xc], edx
call fcn.00503874
test eax, eax
je 0x558762
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov dword [eax], 1
mov dword [eax + 4], 0
mov ecx, dword [ebx + 0x78]
mov edx, dword [ecx + 0x14]
sub edx, dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
sar edx, 1
mov dword [eax + 0xc], edx
mov esi, eax
mov dword [eax + 0x10], ecx
mov eax, dword [ebx + 0x78]
mov dword [ebp + 8], esi
call fcn.005044c9
cmp dword [ebx + 0x68], 0x7b
je 0x558646
cmp dword [ebx + 0x68], 0x7c
je 0x537e5d
cmp dword [esi], 1
mov edx, dword [esi + 0xc]
mov dword [ebp + 8], edx
jne 0x50ce6c
mov eax, dword [esi + 0x10]
push eax
mov eax, ebx
call fcn.0050c937
or dword [eax + 4], 0x2000
mov eax, dword [ebp - 4]
test eax, eax
jne 0x558721
lea eax, [edi + 0x14]
mov dword [eax], esi
cmp dword [ebx + 0x68], 0x51
mov dword [ebp - 4], eax
je 0x55873d
mov edx, dword [edi + 0x14]
mov eax, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov ecx, dword [edi + 0x14]
mov edx, dword [ebp + 8]
mov dword [ecx + 0xc], edx
mov ecx, dword [edi + 0x14]
cmp dword [ecx], 1
jne 0x537edc
mov edx, dword [ecx + 0x10]
mov dword [edi + 0x18], edx
xor esi, esi
cmp dword [ebx + 0x68], 0x79
jne 0x558775
mov eax, dword [ebx + 0x78]
call fcn.005044c9
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x24]
mov dword [eax], esi
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x68]
cmp eax, 0x4d
je 0x50cf0e
cmp eax, 0x4b
jne 0x558788
nop
mov ecx, dword [ebx + 0x70]
push ecx
mov eax, ebx
call fcn.0050c937
mov eax, dword [ebx + 0x78]
call fcn.005044c9
cmp dword [ebx + 0x68], 0x51
je 0x510cd1
cmp dword [ebx + 0x68], 0x4d
jne 0x55879b
mov eax, dword [ebx + 0x78]
call fcn.005044c9
mov eax, dword [edi + 4]
mov ecx, eax
and eax, 0xfffffffe
mov dword [edi + 4], eax
lea eax, [edi + 0x28]
and ecx, 1
mov dword [eax], esi
cmp dword [ebx + 0x68], 0x4f
mov dword [ebp + 8], ecx
mov dword [ebx + 0x84], eax
jne 0x5587ae
mov eax, dword [ebx + 0x78]
call fcn.005044c9
lea edx, [ebp - 4]
push edx
lea esi, [edi + 0x30]
push esi
mov ecx, ebx
call fcn.005071e7
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 8]
push 0x47
sar ecx, 1
mov eax, ebx
mov dword [edi + 0xc], ecx
call fcn.0050869d
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x5468e9
mov edi, dword [ecx]
push eax
push 0x43
mov eax, ebx
call fcn.00508987
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov dword [edx], eax
add eax, 0x18
mov dword [ebp - 4], eax
cmp dword [ebx + 0x68], 0x50
jne 0x5587c1
mov eax, dword [ebx + 0x78]
call fcn.005044c9
test byte [edi + 4], 1
jne 0x50cfbb
cmp dword [ebp + 8], 0
jne 0x50cfbb
mov eax, dword [ebx + 0x94]
push eax
mov eax, ebx
call fcn.0050c937
mov ecx, dword [ebx + 0x84]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x2c], edx
mov eax, dword [ebx + 0x84]
mov edx, dword [ebp - 0x18]
mov dword [eax], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], ecx
mov ecx, dword [ebp - 0x20]
mov eax, edi
pop edi
pop esi
mov dword [ebx + 0x7c], edx
mov dword [ebx + 0x98], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x6341df2c]
mov ecx, dword [0x6341df28]
push 0
push eax
push ecx
mov ecx, dword [ebx]
call fcn.00505ef1
mov dword [ebx + 0x94], eax
jmp 0x50cd07
mov eax, dword [ebx + 0x78]
call fcn.005044c9
cmp dword [ebx + 0x68], 0x4b
je 0x50cee7
jmp 0x558788
mov eax, dword [ebx + 0x78]
call fcn.005044c9
cmp dword [ebx + 0x68], 0x4b
jne 0x55874f
mov eax, dword [ebx + 0x70]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x78]
mov edi, dword [eax + 0x10]
sub edi, dword [eax + 8]
mov eax, 0x14
lea esi, [ebx + 4]
sar edi, 1
call fcn.00503874
test eax, eax
je 0x558762
mov dword [eax + 8], edi
mov edi, dword [ebp + 8]
mov dword [eax], 1
mov dword [eax + 4], 0
mov ecx, dword [ebx + 0x78]
mov edx, dword [ecx + 0x14]
sub edx, dword [ecx + 8]
mov ecx, dword [ebp - 0x10]
sar edx, 1
mov dword [eax + 0xc], edx
push eax
mov dword [eax + 0x10], ecx
push 0x41
mov eax, ebx
call fcn.00508987
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x78]
call fcn.005044c9
mov edi, dword [ebp - 8]
mov esi, dword [ebp + 8]
jmp 0x50ce4f
mov ecx, dword [ebx + 0x78]
mov ecx, dword [ecx + 8]
push 0
sub edx, eax
push edx
lea edx, [ecx + eax*2]
mov ecx, dword [ebx]
push edx
call fcn.00505ef1
mov dword [edi + 0x18], eax
jmp 0x50cead
mov dword [esi], eax
mov dword [ebp - 4], esi
jmp 0x50cf8f
lea eax, [ebx + 0x18]
push 1
push eax
mov dword [eax + 0x40], 0x800a03e9
call dword [0x633810bc]
mov eax, dword [ebx + 0x78]
call fcn.005044c9
cmp dword [ebx + 0x68], 0x4b
jne 0x55874f
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 8]
mov edx, dword [ebx + 0x70]
sar eax, 1
mov dword [ebp - 0xc], eax
mov eax, 0x14
lea esi, [ebx + 4]
mov dword [ebp - 0x10], edx
call fcn.00503874
mov edi, eax
test edi, edi
je 0x558762
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [edi + 8], eax
mov dword [edi], 1
mov dword [edi + 4], 0
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 8]
mov eax, 0x1c
sar ecx, 1
mov dword [edi + 0xc], ecx
lea esi, [ebx + 4]
mov dword [edi + 0x10], edx
call fcn.00503874
xor edx, edx
cmp eax, edx
je 0x558762
mov ecx, dword [ebp + 8]
mov dword [eax], 0x27
mov dword [eax + 4], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edi
cmp ecx, edx
jne 0x5586f5
mov ecx, dword [ebx + 0x78]
mov edx, dword [ecx + 0x10]
sub edx, dword [ecx + 8]
sar edx, 1
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x78]
mov edx, dword [ecx + 0x14]
sub edx, dword [ecx + 8]
sar edx, 1
jmp 0x5586fe
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x78]
call fcn.005044c9
cmp dword [ebx + 0x68], 0x7b
je 0x558646
mov edi, dword [ebp - 8]
mov esi, dword [ebp + 8]
jmp 0x50ce45
mov edi, dword [eax]
push esi
push 0x43
mov eax, ebx
call fcn.00508987
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov dword [ecx], eax
add eax, 0x18
jmp 0x50ce7c
mov eax, dword [ebx + 0x78]
call fcn.005044c9
cmp dword [ebx + 0x68], 0x4b
je 0x50cdde
add ebx, 0x18
push 1
push ebx
mov dword [ebx + 0x40], 0x800a03f2
call dword [0x633810bc]
add ebx, 0x18
push 1
push ebx
mov dword [ebx + 0x40], 0x800a03e9
call dword [0x633810bc]
add ebx, 0x18
push 1
push ebx
mov dword [ebx + 0x40], 0x800a03ed
call dword [0x633810bc]
add ebx, 0x18
push 1
push ebx
mov dword [ebx + 0x40], 0x800a03f2
call dword [0x633810bc]
add ebx, 0x18
push 1
push ebx
mov dword [ebx + 0x40], 0x800a03ee
call dword [0x633810bc]
add ebx, 0x18
push 1
push ebx
mov dword [ebx + 0x40], 0x800a03f0
call dword [0x633810bc]
add ebx, 0x18
push 1
push ebx
mov dword [ebx + 0x40], 0x800a03f1
call dword [0x633810bc]