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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5583ba
sub esp, 0x68
mov eax, dword [esp + 0x70]
cmp eax, 4
je 0x55836d
cmp eax, 0x10
jne 0x55820d
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 0xa
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
mov edx, dword [0xc557cc]
mov ebx, dword [0xc557d0]
mov ebp, dword [0xc557c8]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
call fcn.004021c0
movzx eax, byte [esp + 0x18]
test al, al
je 0x558204
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax + 0xa]
cmp cl, 0xff
jne 0x558100
movzx ecx, byte [eax + 0xb]
cmp cl, 0xff
je 0x5581d2
lea edi, [esp + 0x34]
lea esi, [0x921480]
call fcn.0044ce48
movzx ecx, byte [eax]
mov byte [esp + 0x34], cl
movzx ecx, byte [eax + 1]
mov byte [esp + 0x35], cl
movzx ecx, byte [eax + 2]
mov byte [esp + 0x36], cl
movzx ecx, byte [eax + 3]
mov byte [esp + 0x37], cl
movzx ecx, byte [eax + 4]
mov byte [esp + 0x38], cl
movzx ecx, byte [eax + 5]
mov byte [esp + 0x39], cl
movzx ecx, byte [eax + 6]
mov byte [esp + 0x3a], cl
movzx ecx, byte [eax + 7]
mov byte [esp + 0x3b], cl
movzx ecx, byte [eax + 8]
mov byte [esp + 0x3c], cl
movzx ecx, byte [eax + 9]
mov byte [esp + 0x3d], cl
movzx ecx, byte [eax + 0xa]
mov byte [esp + 0x3e], cl
movzx ecx, byte [eax + 0xb]
mov byte [esp + 0x3f], cl
movzx ecx, byte [eax + 0xc]
mov byte [esp + 0x40], cl
movzx ecx, byte [eax + 0xd]
mov byte [esp + 0x41], cl
movzx ecx, byte [eax + 0xe]
mov byte [esp + 0x42], cl
movzx eax, byte [eax + 0xf]
mov byte [esp + 0x43], al
lea edi, [esp + 0x24]
lea esi, [esp + 0x34]
call fcn.0044ce48
lea edi, [esp + 0x44]
lea esi, [esp + 0x24]
call fcn.0044ce48
lea eax, [0x926300]
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
call fcn.00407980
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
add eax, 0xc
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x74]
add eax, 0xfffffff4
mov dword [esp + 8], eax
call fcn.00558070
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
jmp 0x558100
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x64], eax
lea eax, [0x7e9560]
mov dword [esp], eax
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.004075a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
lea edx, [0x7f81e0]
mov dword [esp], edx
call fcn.00409d90
mov eax, dword [esp + 4]
lea ecx, [0x80a3e0]
mov dword [eax], ecx
mov ecx, dword [0xc6f140]
test ecx, ecx
jne 0x558356
lea ecx, [0x920498]
mov dword [eax + 4], ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [0xc6f140]
test ecx, ecx
jne 0x558345
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], ecx
lea eax, [0x85a5a0]
mov dword [esp], eax
call fcn.00409d90
mov eax, dword [esp + 4]
mov dword [eax + 0x18], 2
mov dword [eax + 0x1c], 2
mov ecx, dword [0xc6f140]
test ecx, ecx
jne 0x558333
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x14], ecx
lea ecx, [0x8159c0]
mov dword [eax], ecx
mov ecx, dword [0xc6f140]
test ecx, ecx
jne 0x55831f
lea ecx, [0xc6eed8]
mov dword [eax + 4], ecx
mov dword [eax + 0x28], 1
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0052fbc0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x68
ret
lea edi, [eax + 4]
mov ecx, eax
lea eax, [0xc6eed8]
call fcn.0044c860
mov eax, ecx
jmp 0x5582e4
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0044c860
mov eax, ecx
jmp 0x5582c9
lea edi, [eax + 0xc]
mov eax, dword [esp + 0x54]
call fcn.0044c860
jmp 0x558298
lea edi, [eax + 4]
mov ecx, eax
lea eax, [0x920498]
call fcn.0044c860
mov eax, ecx
jmp 0x558278
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
movzx ebx, byte [eax + 2]
movzx eax, byte [eax + 3]
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], al
lea eax, [0x9262e0]
mov dword [esp], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00407980
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
call fcn.0044b100
jmp fcn.00558070