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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x555cb4
sub esp, 0x4c
movzx edx, byte [esp + 0x54]
test dl, dl
jne 0x5559f0
mov ebx, dword [esp + 0x50]
mov ebp, dword [ebx + 0x18]
mov esi, dword [esp + 0x58]
mov dword [ebp + 0x70], esi
mov esi, dword [esp + 0x5c]
mov dword [ebp + 0x74], esi
mov esi, dword [esp + 0x60]
mov dword [ebp + 0x78], esi
mov esi, dword [esp + 0x64]
mov dword [ebp + 0x7c], esi
mov ebp, dword [ebx + 0x18]
test byte [ebp], al
jmp 0x555bf8
cmp dl, 1
je 0x555adf
cmp dl, 2
je 0x555a09
mov ebx, dword [esp + 0x50]
xor ebp, ebp
jmp 0x555bf8
lea edi, [esp + 0x1c]
lea esi, [esp + 0x98]
call fcn.004664c4
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0x3f800000
call fcn.0044e350
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp], ebp
mov dword [esp + 4], 0x3f800000
call fcn.0044e350
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x30]
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov ebp, dword [esp + 0x18]
mov dword [ecx + 0x20], ebp
mov ebp, dword [esp + 0x14]
mov dword [ecx + 0x24], ebp
mov ebp, dword [esp + 0x10]
mov dword [ecx + 0x28], ebp
mov ecx, dword [eax + 0x14]
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov ebp, dword [esp + 0xc]
mov dword [ecx + 0x30], ebp
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x38], ebx
mov ebp, dword [eax + 0x14]
test byte [ebp], al
movzx edx, byte [esp + 0x54]
mov ebx, eax
jmp 0x555bf8
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x68]
mov dword [ecx + 0x60], edx
mov edx, dword [esp + 0x6c]
mov dword [ecx + 0x64], edx
mov edx, dword [esp + 0x70]
mov dword [ecx + 0x68], edx
mov edx, dword [esp + 0x74]
mov dword [ecx + 0x6c], edx
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x78]
mov dword [ecx + 0x70], edx
mov edx, dword [esp + 0x7c]
mov dword [ecx + 0x74], edx
mov edx, dword [esp + 0x80]
mov dword [ecx + 0x78], edx
mov edx, dword [esp + 0x84]
mov dword [ecx + 0x7c], edx
lea edi, [esp + 0x34]
lea esi, [esp + 0x98]
call fcn.004664c4
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], 0x3f800000
call fcn.0044e350
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x44]
mov dword [esp], ebp
mov dword [esp + 4], 0x3f800000
call fcn.0044e350
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x48]
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov ebp, dword [esp + 0x18]
mov dword [ecx + 0x20], ebp
mov ebp, dword [esp + 0x14]
mov dword [ecx + 0x24], ebp
mov ebp, dword [esp + 0x10]
mov dword [ecx + 0x28], ebp
mov ecx, dword [eax + 0x1c]
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov ebp, dword [esp + 0xc]
mov dword [ecx + 0x30], ebp
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x38], ebx
mov ebp, dword [eax + 0x1c]
test byte [ebp], al
movzx edx, byte [esp + 0x54]
mov ebx, eax
mov dword [ebp + 0x40], 0
movzx esi, byte [esp + 0x55]
xchg esi, eax
test al, al
xchg esi, eax
je 0x555c11
mov dword [ebp + 0x40], 0x3f800000
mov esi, dword [esp + 0x88]
mov dword [ebp], esi
mov esi, dword [esp + 0x8c]
mov dword [ebp + 4], esi
mov esi, dword [esp + 0x90]
mov dword [ebp + 8], esi
mov esi, dword [esp + 0x94]
mov dword [ebp + 0xc], esi
mov esi, dword [esp + 0xb0]
mov dword [ebp + 0x10], esi
mov esi, dword [esp + 0xb4]
mov dword [ebp + 0x14], esi
mov esi, dword [esp + 0xb8]
mov dword [ebp + 0x18], esi
mov esi, dword [esp + 0xbc]
mov dword [ebp + 0x1c], esi
test byte [ebx], al
movzx eax, dl
cmp eax, 3
jae 0x555ca9
mov eax, dword [ebx + eax*4 + 8]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00551810
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 4
call ecx
add esp, 0x4c
ret
mov ecx, 3
call fcn.00465e00
nop
call fcn.004649b0
jmp fcn.005559a0