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

Disassembly:
push 0xffffffffffffffff
push 0x5f3dac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [esp + 0x54]
push ebx
mov ebx, ecx
push ebp
mov ecx, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x74]
cmp eax, ecx
mov dword [esp + 0x18], ebx
jne 0x50e22a
cmp esi, edi
jne 0x50e22a
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x6c]
cmp edx, ecx
je 0x50e78a
push eax
mov ecx, ebx
mov dword [esp + 0x20], esi
call fcn.0050b7c0
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x24], ebp
je 0x50e78a
mov edx, dword [esp + 0x70]
mov ecx, ebx
push edx
call fcn.0050b7c0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x2c], ebx
je 0x50e78a
push esi
mov ecx, ebp
call fcn.004e2400
mov esi, eax
test esi, esi
je 0x50e78a
push edi
mov ecx, ebx
call fcn.004e2400
test eax, eax
mov dword [esp + 0x14], eax
je 0x50e78a
mov ebx, dword [esp + 0x68]
test ebx, ebx
jne 0x50e2da
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x50e2da
mov ecx, dword [ebp + 0x9c]
dec ecx
cmp edi, ecx
jne 0x50e2da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2f8]
cmp dword [esp + 0x78], eax
jne 0x50e2da
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x50e2c3
mov eax, dword [esi + 8]
push ebp
push eax
mov ecx, esi
call fcn.005c219b
xor ecx, ecx
test esi, esi
sete cl
push ecx
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.0050a680
jmp 0x50e73a
cmp ebx, edi
jne 0x50e498
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x14], 0
test edi, edi
je 0x50e387
push 0xdc
call fcn.005c35f5
add esp, 4
mov dword [esp + 0x7c], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x58], ebx
je 0x50e339
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
push ecx
push ebx
mov ecx, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x3f
call fcn.004e0d70
mov ebx, eax
lea edx, [ebp + 0xc8]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x14], ebx
mov eax, dword [edx]
mov dword [esp + 0x30], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x40]
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x30]
mov dword [esp + 0x3c], ecx
push edx
push eax
lea ecx, [ebx + 0xc8]
call fcn.004e09d0
mov eax, dword [edi + 8]
push ebx
push eax
mov ecx, edi
call fcn.005c219b
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x50e3c2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2f8]
cmp eax, dword [esp + 0x78]
jne 0x50e3c2
test edi, edi
je 0x50e3ad
mov ecx, dword [esp + 0x14]
push esi
call fcn.004e1e50
xor eax, eax
mov ecx, ebp
test edi, edi
sete al
push eax
push esi
call fcn.004e1730
jmp 0x50e73a
test edi, edi
je 0x50e41b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x80]
mov ecx, dword [esp + 0x78]
mov edi, eax
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x1c]
sub ecx, eax
lea ebx, [edi + 0x94]
push ecx
push eax
push edx
mov ecx, ebx
call fcn.005bf641
push eax
mov ecx, ebx
mov dword [esp + 0x5c], 1
call fcn.005c39ed
lea ecx, [esp + 0x1c]
mov dword [esp + 0x58], 0xffffffff
call fcn.005c38b4
mov ecx, dword [esp + 0x14]
push edi
call fcn.004e1e50
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x10]
add esi, 0x94
push eax
push ecx
mov ecx, esi
call fcn.005bf753
mov edx, dword [esi]
mov ecx, dword [esp + 0x78]
mov ebx, 2
mov eax, dword [edx - 8]
mov dword [esp + 0x58], ebx
sub eax, ecx
mov ecx, esi
push eax
lea eax, [esp + 0x80]
push eax
call fcn.005bf6d7
mov ecx, esi
mov byte [esp + 0x58], 3
call fcn.005c383f
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.005c3ccc
lea edx, [esp + 0x7c]
mov ecx, esi
push edx
call fcn.005c3ccc
lea ecx, [esp + 0x7c]
mov byte [esp + 0x58], bl
call fcn.005c38b4
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x50e735
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x10], 0
test ebx, ebx
je 0x50e545
push 0xdc
call fcn.005c35f5
add esp, 4
mov dword [esp + 0x7c], eax
xor edi, edi
mov dword [esp + 0x58], 4
cmp eax, edi
je 0x50e4f3
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x30]
push ecx
push edx
push edi
mov ecx, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], 0x3f
call fcn.004e0d70
mov edi, eax
lea eax, [ebp + 0xc8]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x10], edi
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x40]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x30]
push eax
push ecx
lea ecx, [edi + 0xc8]
mov dword [esp + 0x44], edx
call fcn.004e09d0
mov eax, dword [ebx + 8]
push edi
push eax
mov ecx, ebx
call fcn.005c219b
mov edi, dword [esp + 0x74]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
sub edi, edx
dec edi
test eax, eax
mov dword [esp + 0x28], edi
jne 0x50e584
test ebx, ebx
je 0x50e566
mov ecx, dword [esp + 0x10]
push esi
call fcn.004e1e50
xor edx, edx
mov ecx, ebp
test ebx, ebx
sete dl
push edx
push esi
call fcn.004e1730
mov eax, dword [esp + 0x68]
dec eax
mov dword [esp + 0x1c], eax
jmp 0x50e62b
mov edx, dword [esi + 0x94]
lea ecx, [esi + 0x94]
test ebx, ebx
mov edi, dword [edx - 8]
mov dword [esp + 0x7c], ecx
je 0x50e5f9
cmp edi, dword [esp + 0x6c]
je 0x50e5f9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov ecx, dword [esp + 0x6c]
mov esi, eax
sub edi, ecx
lea ecx, [esp + 0x20]
lea ebp, [esi + 0x94]
push edi
push ecx
mov ecx, ebp
call fcn.005bf6d7
push eax
mov ecx, ebp
mov dword [esp + 0x5c], 5
call fcn.005c39ed
lea ecx, [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
call fcn.005c38b4
mov ecx, dword [esp + 0x10]
push esi
call fcn.004e1e50
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.005bf753
mov ecx, dword [esp + 0x7c]
push eax
mov dword [esp + 0x5c], 6
call fcn.005c39ed
lea ecx, [esp + 0x24]
mov dword [esp + 0x58], 0xffffffff
call fcn.005c38b4
mov edi, dword [esp + 0x28]
cmp edi, 1
jl 0x50e66c
mov edx, dword [esp + 0x1c]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x7c], ecx
lea esi, [edx + 1]
push esi
mov ecx, ebp
call fcn.004e2400
test ebx, ebx
je 0x50e65c
mov ecx, dword [esp + 0x10]
push eax
call fcn.004e1e50
mov eax, dword [esp + 0x7c]
mov ecx, ebp
push eax
push esi
call fcn.004e1770
dec edi
jne 0x50e646
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x78]
mov edx, dword [ecx + 0x94]
lea ebp, [ecx + 0x94]
cmp dword [edx - 8], edi
jne 0x50e6b0
test ebx, ebx
je 0x50e695
mov eax, ecx
mov ecx, dword [esp + 0x10]
push eax
call fcn.004e1e50
mov edx, dword [esp + 0x14]
xor ecx, ecx
test ebx, ebx
sete cl
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.004e1730
jmp 0x50e73a
test ebx, ebx
je 0x50e704
test edi, edi
je 0x50e704
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x80]
mov esi, eax
lea ecx, [esp + 0x7c]
push edi
push ecx
lea ebx, [esi + 0x94]
mov ecx, ebx
call fcn.005bf753
push eax
mov ecx, ebx
mov dword [esp + 0x5c], 7
call fcn.005c39ed
lea ecx, [esp + 0x7c]
mov dword [esp + 0x58], 0xffffffff
call fcn.005c38b4
mov ecx, dword [esp + 0x10]
push esi
call fcn.004e1e50
mov edx, dword [ebp]
mov ecx, ebp
mov eax, dword [edx - 8]
sub eax, edi
push eax
lea eax, [esp + 0x74]
push eax
call fcn.005bf6d7
push eax
mov ecx, ebp
mov dword [esp + 0x5c], 8
call fcn.005c39ed
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x70]
call fcn.005c38b4
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x16c], 0xffffffff
jne 0x50e775
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xa0]
test eax, eax
je 0x50e775
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.0050b850
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
call dword [edx + 0x108]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0xc]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret 0x20