Function at 0x578df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62a3d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x2c]
push edi
push eax
mov ebp, ecx
call fcn.0057a440
mov ebx, eax
lea ecx, [esp + 0x10]
push ebx
push ecx
mov ecx, ebp
call fcn.0057a620
mov edx, dword [0x6e0ea0]
mov dword [esp + 0x24], esi
mov eax, edx
mov dword [esp + 0x30], eax
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
xor eax, eax
mov ecx, dword [ecx + 8]
mov byte [esp + 0x24], 1
add ecx, 0xfdfcffff
test ecx, ecx
setge al
dec eax
mov ecx, esi
and al, 0xc5
add eax, 0x5f
cmp word [ecx], 0
mov edi, eax
mov eax, edx
je 0x578f05
mov ax, word [esi]
cmp ax, di
jne 0x578e8e
add esi, 2
lea ecx, [esp + 0x30]
cmp word [esi], di
jne 0x578e8a
push edi
jmp 0x578ee7
push 0x26
jmp 0x578ed8
cmp ax, 0x5c
jne 0x578ee2
add esi, 2
xor eax, eax
mov ax, word [esi]
add eax, 0xffffffa4
cmp eax, 0x18
ja case.0x578eac.96
xor edx, edx
mov dl, byte [eax + 0x57916c]
jmp dword [edx*4 + 0x579158]
push 0xa
jmp 0x578ee3
push 9
jmp 0x578ee3
push 0xd
jmp 0x578ee3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
add eax, 0xfdfafd00
test eax, eax
jl case.0x578eac.96
push 0x5c
jmp 0x578ee3
push 0x5c
lea ecx, [esp + 0x34]
push 1
call fcn.004e9db0
mov ax, word [esi]
push eax
lea ecx, [esp + 0x34]
push 1
call fcn.004e9db0
add esi, 2
cmp word [esi], 0
jne 0x578e73
mov eax, dword [esp + 0x30]
mov edx, dword [0x6e0ea0]
mov ecx, dword [ebp + 8]
test byte [ecx + 0xc], 1
je 0x5790e4
mov cl, byte [esp + 0x34]
test cl, cl
je 0x579085
test ebx, ebx
je 0x579085
test edx, edx
mov eax, edx
jne 0x578f31
mov eax, 0x6fdb50
mov edx, dword [0x65329c]
lea ecx, [esp + 0x14]
push edx
push 0
push eax
call fcn.004e9b90
mov eax, dword [0x65329c]
lea ecx, [esp + 0x34]
push eax
push 0
push str.translate
mov byte [esp + 0x30], 2
call fcn.004e9b90
lea ecx, [esp + 0x14]
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebx
mov byte [esp + 0x30], 3
call fcn.0059fbb0
push 0x6c6598
mov ecx, eax
mov byte [esp + 0x28], 4
call fcn.004eb1b0
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.MSVCRT.dll_free]
test eax, eax
lea eax, [ecx - 0xc]
setne bl
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x578fb1
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x578fb1
push eax
call edi
add esp, 4
mov edx, dword [esp + 0x34]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x578fcd
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x578fcd
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x14]
mov byte [esp + 0x24], 1
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x578fed
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x578fed
push eax
call edi
add esp, 4
test bl, bl
je 0x579079
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x30]
mov edi, dword [ecx + 0x5c]
call fcn.004f0590
test eax, eax
je 0x579013
mov edx, dword [eax]
push edi
push esi
mov ecx, eax
call dword [edx + 8]
jmp 0x579015
mov eax, esi
test eax, eax
jne 0x57901e
mov eax, 0x6fdb50
mov ecx, dword [0x65329c]
mov esi, dword [esp + 0x2c]
push ecx
push 0
push eax
mov ecx, esi
call fcn.004e9b90
mov edx, dword [esp + 0x30]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x579053
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x579053
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5790e0
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5790e0
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, esi
jmp 0x579141
mov eax, dword [esp + 0x30]
mov edx, dword [0x6e0ea0]
jmp 0x57908b
mov edi, dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [eax - 8]
mov esi, dword [esp + 0x2c]
test ecx, ecx
jne 0x57909a
mov dword [esi], edx
jmp 0x5790ac
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x5790ac
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x5790c4
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5790c4
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5790e0
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5790e0
push eax
call edi
add esp, 4
mov eax, esi
jmp 0x579141
mov ecx, dword [eax - 8]
mov edi, dword [esp + 0x2c]
test ecx, ecx
jne 0x5790f3
mov dword [edi], edx
jmp 0x579105
mov dword [edi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x579105
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
mov esi, dword [sym.imp.MSVCRT.dll_free]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
je 0x579123
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x579123
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x57913f
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x57913f
push eax
call esi
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc