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

Disassembly:
sub esp, 0xa4
mov eax, dword [0x680f10]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
mov ebx, ecx
push 0x6e636c32
mov ecx, esi
mov dword [esp + 0x10], ebx
call fcn.00578260
add esp, 4
test eax, eax
jne 0x578ce4
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0044abb9
add esp, 0xa4
ret
mov edx, dword [ebx]
push edi
xor edi, edi
mov dword [esp + 8], edi
movzx eax, byte [esp + 0xb]
mov byte [esp + 8], al
mov al, dl
mov byte [esp + 9], 0
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 0
mov ecx, dword [esp + 8]
mov dword [esp + 8], edx
movzx edx, byte [esp + 0xa]
mov dword [esp + 0x1c], ecx
mov cl, byte [esp + 9]
mov byte [esp + 0xa], cl
movzx ecx, byte [esp + 0xb]
mov byte [esp + 8], cl
mov byte [esp + 0xb], al
mov eax, dword [ebx + 8]
mov byte [esp + 9], dl
mov edx, dword [esp + 8]
mov dword [esp + 8], eax
mov cl, byte [esp + 9]
mov dword [esp + 0x18], edx
movzx edx, byte [esp + 0xa]
mov byte [esp + 0xa], cl
movzx ecx, byte [esp + 0xb]
mov byte [esp + 0xb], al
mov byte [esp + 8], cl
push 0x20
lea eax, [ebx + 0xc]
mov byte [esp + 0xd], dl
mov edx, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x20], edx
call fcn.005ba140
push 0x20
lea edx, [ebx + 0x2d]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.005ba140
mov edx, dword [esi + 0x84c]
lea ecx, [esp + 0x34]
push ecx
push 4
push esi
mov byte [esp + 0x8b], 0
mov byte [esp + 0x6b], 0
call edx
add esp, 0x24
test eax, eax
je 0x578e06
mov ecx, dword [esi + 0x84c]
lea eax, [esp + 0x18]
push eax
push 4
push esi
call ecx
add esp, 0xc
test eax, eax
je 0x578e06
mov eax, dword [esi + 0x84c]
lea edx, [esp + 0x14]
push edx
push 4
push esi
call eax
add esp, 0xc
test eax, eax
je 0x578e06
mov edx, dword [esi + 0x84c]
lea ecx, [esp + 0x48]
push ecx
push 0x20
push esi
call edx
add esp, 0xc
test eax, eax
je 0x578e06
mov ecx, dword [esi + 0x84c]
lea eax, [esp + 0x28]
push eax
push 0x20
push esi
call ecx
add esp, 0xc
test eax, eax
jne 0x578e1f
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0044abb9
add esp, 0xa4
ret
cmp dword [ebx], edi
push ebp
mov dword [esp + 0x10], edi
jle 0x578f54
lea edi, [ebx + 0x152]
push 0x20
lea edx, [edi - 0x104]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.005ba140
lea ecx, [esp + 0x78]
push ecx
mov byte [edi - 0xe4], 0
mov edx, dword [esi + 0x84c]
push 0x20
push esi
call edx
add esp, 0x18
test eax, eax
je 0x578f71
movzx eax, word [edi]
mov dword [esp + 0xc], eax
movzx ecx, byte [esp + 0xd]
mov byte [esp + 0xd], al
movzx eax, word [edi + 2]
mov byte [esp + 0xc], cl
movzx edx, word [esp + 0xc]
mov dword [esp + 0xc], eax
movzx ecx, byte [esp + 0xd]
mov byte [esp + 0xd], al
movzx eax, word [edi + 4]
mov byte [esp + 0xc], cl
mov word [esp + 0x24], dx
movzx edx, word [esp + 0xc]
mov dword [esp + 0xc], eax
movzx ecx, byte [esp + 0xd]
mov byte [esp + 0xd], al
lea eax, [esp + 0x24]
mov byte [esp + 0xc], cl
mov ecx, dword [esi + 0x84c]
push eax
mov word [esp + 0x2a], dx
movzx edx, word [esp + 0x10]
push 6
push esi
mov word [esp + 0x34], dx
call ecx
add esp, 0xc
test eax, eax
je 0x578f71
mov ebp, dword [ebx + 8]
xor eax, eax
test ebp, ebp
jle 0x578f1e
lea ecx, [edi + 6]
lea ebx, [ebx]
movzx edx, word [ecx]
mov dword [esp + 0xc], edx
mov bl, byte [esp + 0xd]
mov byte [esp + 0xc], bl
mov byte [esp + 0xd], dl
mov dx, word [esp + 0xc]
mov word [esp + eax*2 + 0x8c], dx
add eax, 1
add ecx, 2
cmp eax, ebp
jl 0x578ef0
mov ebx, dword [esp + 0x14]
mov edx, dword [esi + 0x84c]
lea eax, [esp + 0x8c]
push eax
lea ecx, [ebp + ebp]
push ecx
push esi
call edx
add esp, 0xc
test eax, eax
je 0x578f71
mov eax, dword [esp + 0x10]
add eax, 1
add edi, 0x12a
cmp eax, dword [ebx]
mov dword [esp + 0x10], eax
jl 0x578e32
pop ebp
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0044abb9
add esp, 0xa4
ret
mov ecx, dword [esp + 0xac]
pop ebp
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044abb9
add esp, 0xa4
ret