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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x551178
sub esp, 0x60
mov ecx, dword [esp + 0x6c]
cmp ecx, 1
je 0x551163
mov edx, dword [esp + 0x64]
mov edi, dword [edx + 0x10]
lea ebx, [edx + 0x10]
mov dword [esp + 0x5c], ebx
test edi, edi
je 0x551144
mov dword [esp + 0x44], edi
mov ebp, dword [0xcc2260]
mov esi, dword [edi + 0x10]
test ebp, ebp
jne 0x551115
mov dword [edx + 0x10], esi
xor eax, eax
call fcn.0044dd61
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
movzx ecx, byte [esp + 0x74]
mov byte [eax], cl
lea ebp, [eax + 0x10]
test byte [ebp], al
mov dword [eax + 8], 0
mov dword [eax + 0xc], 1
mov esi, dword [0xcc2260]
lea edi, [eax + 4]
mov dword [esp + 0x58], edi
test esi, esi
jne 0x5510ef
mov dword [eax + 4], ebp
xor ebp, ebp
jmp 0x550dfc
inc ebp
movzx ecx, byte [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x6c]
cmp ebp, esi
jge 0x55102a
mov dword [esp + 0x34], ebp
mov ebx, dword [esp + 0x68]
mov edi, dword [ebx + ebp*4]
mov dword [esp + 0x40], edi
movzx edx, byte [edi]
cmp dl, cl
je 0x550ed2
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
lea esi, [ecx + 1]
cmp esi, ebx
jg 0x550e60
lea ebx, [ecx + 1]
mov dword [eax + 8], ebx
lea ebx, [edx + ecx*4]
mov esi, dword [0xcc2260]
test esi, esi
jne 0x550e4a
mov dword [edx + ecx*4], edi
jmp 0x550dea
mov dword [esp], ebx
mov dword [esp + 4], edi
call fcn.0040f360
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
jmp 0x550dea
lea eax, [0x816460]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.0043a030
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 0xc], edx
mov edx, dword [0xcc2260]
test edx, edx
jne 0x550eac
mov dword [ebx + 4], eax
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x40]
mov edx, eax
mov eax, ebx
jmp 0x550e32
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0040f360
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
jmp 0x550e9e
mov edx, dword [eax + 8]
mov ecx, dword [edi + 8]
lea ebx, [edx + ecx]
mov dword [esp + 0x2c], ebx
mov esi, dword [eax + 0xc]
mov ebp, dword [eax + 4]
mov eax, dword [edi + 0xc]
mov edi, dword [edi + 4]
cmp ebx, esi
ja 0x550fdb
cmp ebx, esi
ja 0x551171
cmp edx, ebx
ja 0x551171
mov dword [esp + 0x28], esi
mov dword [esp + 0x50], ebp
sub esi, edx
mov dword [esp + 0x24], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
shl edx, 2
sar esi, 0x1f
and edx, esi
add edx, ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
lea edx, [0x816460]
mov dword [esp], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
call fcn.0040f6c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [0xcc2260]
test eax, eax
jne 0x550fc1
mov eax, dword [esp + 0x50]
mov dword [ecx + 4], eax
mov eax, dword [0xcc2260]
mov edx, dword [esp + 0x40]
lea ebx, [edx + 0x10]
mov ebp, dword [esp + 0x64]
mov esi, dword [ebp + 0x10]
test eax, eax
jne 0x550f97
mov dword [edx + 0x10], esi
mov dword [ebp + 0x10], edx
mov eax, ecx
mov ebp, dword [esp + 0x34]
jmp 0x550dea
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.0040f360
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.0040f360
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x64]
jmp 0x550f8c
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.0040f360
mov ecx, dword [esp + 0x3c]
jmp 0x550f6e
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x20], edx
lea eax, [0x816460]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0043a030
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x4c]
jmp 0x550ef3
cmp cl, 0x13
je 0x551037
mov dword [esp + 0x78], eax
add esp, 0x60
ret
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp], edx
call fcn.00551190
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
mov eax, dword [0xcc2260]
test eax, eax
jne 0x5510d1
mov dword [ebx + 4], edx
mov eax, dword [ebx + 8]
cmp eax, 1
jne 0x5510ca
mov eax, dword [edx]
mov ecx, dword [0xcc2260]
lea edx, [ebx + 0x10]
mov ebp, dword [esp + 0x64]
mov esi, dword [ebp + 0x10]
test ecx, ecx
jne 0x55109d
mov dword [ebx + 0x10], esi
mov dword [ebp + 0x10], ebx
jmp 0x55102f
mov dword [esp + 0x38], eax
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.0040f360
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0040f360
mov eax, dword [esp + 0x38]
jmp 0x55102f
mov eax, ebx
jmp 0x55102f
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0040f360
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
jmp 0x551077
mov dword [esp], edi
mov dword [esp + 4], ebp
call fcn.0040f360
mov eax, dword [esp + 0x3c]
movzx ecx, byte [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
jmp 0x550de6
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.0040f360
lea eax, [0x823060]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call fcn.0040f870
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
jmp 0x550dab
lea eax, [0x823060]
mov dword [esp], eax
call fcn.0040eaf0
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
jmp 0x550daf
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
mov dword [esp + 0x78], eax
add esp, 0x60
ret
call fcn.00426ad0
ud2
call fcn.0044c200
jmp fcn.00550d50