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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5521b9
sub esp, 0x6c
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0xc]
mov ebx, dword [0x7c95dc]
mov ebp, dword [0x7c95d8]
mov esi, dword [edx + 4]
mov eax, edx
mov edx, dword [edx]
test esi, esi
jne 0x551fda
mov edx, dword [0x7db370]
lea edi, [ecx + 0x10]
mov eax, dword [ecx + 0xc]
test edx, edx
jne 0x551fd0
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
mov esi, dword [edx + 0x24]
mov edx, dword [edx + 0x28]
test esi, esi
jne 0x551f75
movzx edx, byte [ecx + 1]
cmp dl, 1
je 0x551f37
cmp dl, 2
je 0x551ef9
cmp dl, 3
je 0x551ebb
lea eax, [0x5e7ec0]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.00407690
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 7
mov dword [esp + 0xc], 0
call fcn.00553240
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x551e45
je 0x551de5
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
lea eax, [0x6226aa]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00498df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
movzx eax, byte [eax + 1]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea ecx, [0x5dfee0]
mov dword [esp + 0x44], ecx
lea ecx, [0x79ee00]
add eax, ecx
mov dword [esp + 0x48], eax
lea eax, [0x621ffa]
mov dword [esp], eax
mov dword [esp + 4], 0x17
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00498df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.00552c00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.005529d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x6c
ret
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.005521d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x6c
ret
mov dword [esp + 0x40], edi
mov eax, dword [esi + 0x10]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [0x7db370]
test ebx, ebx
jne 0x551fbb
mov ebx, dword [esp + 0x74]
mov dword [ebx + 0x10], edx
mov ebx, eax
mov ebp, ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
jmp 0x551d76
mov edi, dword [esp + 0x40]
mov ebx, eax
mov eax, edx
call fcn.0044b680
mov eax, ebx
mov ebx, dword [esp + 0x74]
jmp 0x551faa
call fcn.0044b680
jmp 0x551d62
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov edi, dword [edi + 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp], ecx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
test ebx, ebx
jne 0x552052
mov ebx, dword [esp + 0x3c]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], edi
mov ebp, dword [0x7db370]
test ebp, ebp
jne 0x552046
mov dword [ebx + 8], esi
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x74]
jmp 0x551d4b
lea edi, [ebx + 8]
mov eax, esi
call fcn.0044b680
jmp 0x552039
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebp
lea eax, [0x5e7ec0]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.00407690
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 4
mov dword [esp + 0xc], 0
call fcn.00553240
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x55210c
test eax, eax
je 0x5520ac
mov eax, dword [eax + 4]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
lea eax, [0x6226aa]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00498df0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x6c
ret
mov eax, dword [esp + 0x30]
test eax, eax
je 0x552117
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
lea ecx, [0x5dfce0]
mov dword [esp], ecx
call fcn.004072a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], eax
lea eax, [0x6278b6]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00498df0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x6c
ret
call fcn.00449f20
jmp fcn.00551d10