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

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
cmp eax, 0xc
mov edx, dword [esi]
mov ecx, esi
jne 0x550993
call dword [edx + 0x158]
mov edi, dword [esi + 0x78]
mov ebx, eax
mov eax, dword [edi + 4]
sub ebx, 0xc
neg ebx
sbb ebx, ebx
inc ebx
test eax, eax
je 0x55098b
mov ebp, dword [esp + 0x30]
lea esp, [esp]
test ebx, ebx
mov ecx, esi
jne 0x550968
mov ecx, eax
mov edx, dword [esp + 0x2c]
push ebp
push edx
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.00550920
mov edi, dword [edi]
mov eax, dword [edi + 4]
add esp, 0x18
test eax, eax
jne 0x550960
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
call dword [edx + 0x78]
cmp eax, 1
je 0x55098b
mov ebx, dword [esi + 0x4c]
mov eax, dword [ebx]
mov edx, dword [esi]
mov edi, dword [ebx + 4]
mov dword [esp + 0x28], eax
lea eax, [ebx + 4]
mov ecx, esi
mov dword [esp + 0x14], eax
call dword [edx + 0x158]
mov ecx, dword [esp + 0x2c]
push 0
mov dword [esp + 0x14], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x20]
test eax, eax
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
je 0x550a9f
cmp ecx, ebp
je 0x550a9f
mov edx, dword [edi + 0x44]
mov eax, dword [esp + 0x2c]
cmp edx, dword [eax + 0x44]
jne 0x550a9f
mov edx, dword [ecx]
call dword [edx + 0x24]
test eax, eax
jne 0x550a17
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
test eax, eax
jne 0x550a17
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x38]
cmp edx, dword [ebp + 0x38]
jne 0x550a9b
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x74]
test eax, eax
mov ecx, dword [edi + 0x38]
mov dword [eax + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [eax + 0x3c], edx
je 0x55098b
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.0040bb45
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x8c]
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x550a5e
cmp eax, 2
jne 0x550b8b
mov edi, dword [esp + 0x24]
cmp edi, esi
je 0x550b8b
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x80]
test eax, eax
jne 0x550b8b
push 0x14
mov byte [esi + 0x30], 1
call fcn.0040105a
add esp, 4
test eax, eax
je 0x550b8b
push esi
push edi
jmp 0x550b76
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 0x20]
test eax, eax
je 0x55098b
cmp edi, ebp
je 0x55098b
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x44]
mov eax, dword [esp + 0x2c]
cmp edx, dword [eax + 0x44]
jne 0x55098b
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x24]
test eax, eax
jne 0x550af2
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
test eax, eax
jne 0x550af2
mov ecx, dword [edi + 0x38]
cmp ecx, dword [ebp + 0x38]
jne 0x55098b
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x74]
mov ebp, eax
test ebp, ebp
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x38]
mov dword [ebp + 0x38], ecx
mov edx, dword [eax + 0x3c]
mov dword [ebp + 0x3c], edx
je 0x55098b
mov ecx, dword [esp + 0x1c]
push ebp
push ebx
call fcn.0040bb45
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x8c]
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x550b37
cmp eax, 2
jne 0x550b8b
cmp dword [esp + 0x24], esi
je 0x550b8b
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x80]
test eax, eax
jne 0x550b8b
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
push ebp
mov dword [ebx], ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.0040bb45
push 0x14
mov byte [esi + 0x30], 1
call fcn.0040105a
add esp, 4
test eax, eax
je 0x550b8b
mov edx, dword [esp + 0x24]
push esi
push edx
mov ecx, eax
call fcn.00408a85
test eax, eax
je 0x550b8b
mov ecx, dword [esp + 0x20]
push eax
call fcn.0040687f
pop edi
mov ecx, esi
pop esi
pop ebp
pop ebx
add esp, 8
jmp fcn.00409278