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

Disassembly:
sub esp, 0x54
push ebx
mov ebx, dword [esp + 0x5c]
xor ecx, ecx
push esi
push edi
mov dword [esp + 0xc], 0
mov edx, dword [ebx]
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], edx
mov eax, dword [edx + 0x78]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov word [esp + 0x34], cx
cmp dword [edx + 0xc8], 1
jle 0x57a034
mov esi, dword [esp + 0x68]
mov al, byte [esi]
test al, al
je 0x57a3cb
nop dword [eax]
mov edi, esi
inc esi
cmp al, 0xa
je 0x579fad
mov al, byte [esi]
test al, al
jne 0x579fa2
mov edx, dword [esp + 0x30]
add edx, 3
cmp edx, dword [esp + 0x28]
jb 0x579fd0
push 3
lea eax, [esp + 0x24]
push 0x60d054
push eax
call fcn.004e88e0
add esp, 0xc
jmp 0x579fe8
mov ax, word [0x60d054]
mov dword [esp + 0x30], edx
mov word [edx + ecx - 3], ax
mov al, byte [0x60d056]
mov byte [edx + ecx - 1], al
mov edx, dword [esp + 0x30]
mov ecx, esi
sub ecx, edi
add edx, ecx
cmp edx, dword [esp + 0x28]
jb 0x57a006
push ecx
lea eax, [esp + 0x24]
push edi
push eax
call fcn.004e88e0
jmp 0x57a01e
test ecx, ecx
je 0x57a021
mov eax, dword [esp + 0x24]
push ecx
sub eax, ecx
mov dword [esp + 0x34], edx
add eax, edx
push edi
push eax
call fcn.00427770
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x57a367
mov ecx, dword [esp + 0x24]
jmp 0x579fa0
cmp word [ebx + 0x10], cx
jne 0x57a083
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x57a058
xor ecx, ecx
lea eax, [esp + 0x20]
push ecx
push edx
push eax
call fcn.004e88e0
add esp, 0xc
jmp 0x57a367
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57a060
sub ecx, esi
lea eax, [esp + 0x20]
and ecx, 0x3fffffff
push ecx
push edx
push eax
call fcn.004e88e0
add esp, 0xc
jmp 0x57a367
mov ebx, dword [esp + 0x68]
cmp byte [ebx], cl
je 0x57a3cb
push ebp
xor edi, edi
mov esi, ebx
xor ebp, ebp
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00552430
add esp, 8
cmp dword [esp + 0x1c], 0x9c
je 0x57a0b9
add esi, eax
add edi, eax
cmp byte [esi], 0
jne 0x57a096
jmp 0x57a0bb
mov ebp, eax
mov ecx, dword [esp + 0x34]
add ecx, edi
cmp ecx, dword [esp + 0x2c]
jb 0x57a0d5
push edi
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.004e88e0
jmp 0x57a0ed
test edi, edi
je 0x57a0f0
mov eax, dword [esp + 0x28]
push edi
sub eax, edi
mov dword [esp + 0x38], ecx
add eax, ecx
push ebx
push eax
call fcn.00427770
add esp, 0xc
add ebx, edi
test ebp, ebp
je 0x57a366
cmp byte [ebx], 0x3f
jne 0x57a121
cmp ebp, 1
jle 0x57a11b
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 1]
push eax
call fcn.00552220
mov eax, dword [esp + 0x18]
add esp, 8
jmp 0x57a139
mov eax, dword [esp + 0x14]
jmp 0x57a135
mov eax, dword [esp + 0x68]
push ebp
push ebx
push dword [eax + 0x80]
call fcn.0056fdf0
add esp, 0xc
mov dword [esp + 0x10], eax
lea ecx, [eax + 1]
add ebx, ebp
cmp ecx, dword [esp + 0x14]
lea edi, [eax + eax*4]
mov eax, dword [esp + 0x68]
lea edi, [edi - 5]
cmovle ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x64]
lea edi, [eax + edi*8]
movzx eax, word [edi + 0x10]
test al, 1
je 0x57a19e
mov ecx, dword [esp + 0x34]
add ecx, 4
cmp ecx, dword [esp + 0x2c]
jb 0x57a189
push 4
lea eax, [esp + 0x28]
push str.NULL
push eax
call fcn.004e88e0
add esp, 0xc
jmp 0x57a35d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov dword [eax + ecx - 4], 0x4c4c554e
jmp 0x57a35d
test al, 0x24
je 0x57a1be
push dword [edi + 4]
lea eax, [esp + 0x28]
push dword [edi]
push str._lld
push eax
call fcn.004c1fa0
add esp, 0x10
jmp 0x57a35d
test al, 8
je 0x57a1e5
movsd xmm0, qword [edi]
lea eax, [esp + 0x24]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call fcn.004c1fa0
add esp, 0x10
jmp 0x57a35d
test al, 2
je 0x57a2b2
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x18], al
cmp al, 1
je 0x57a268
xorps xmm0, xmm0
movups xmmword [esp + 0x4c], xmm0
push 0
push dword [esp + 0x1c]
movups xmmword [esp + 0x44], xmm0
mov dword [esp + 0x58], ecx
movq qword [esp + 0x64], xmm0
mov eax, dword [edi + 0xc]
cdq
push edx
push eax
push dword [edi + 8]
lea eax, [esp + 0x50]
push eax
call fcn.0057c300
add esp, 0x18
test byte [esp + 0x4c], 2
jne 0x57a23d
mov byte [esp + 0x4e], 1
jmp 0x57a264
cmp byte [esp + 0x4e], 1
je 0x57a264
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.0057c7c0
add esp, 8
cmp eax, 7
jne 0x57a264
mov byte [esp + 0x38], al
mov dword [esp + 0x2c], 0
lea edi, [esp + 0x3c]
push dword [edi + 8]
lea eax, [esp + 0x28]
push dword [edi + 0xc]
push str._.q
push eax
call fcn.004c1fa0
add esp, 0x10
cmp byte [esp + 0x18], 1
je 0x57a35d
test dword [esp + 0x4c], 0x9000
jne 0x57a2a0
cmp dword [esp + 0x54], 0
je 0x57a35d
lea eax, [esp + 0x3c]
push eax
call fcn.0058fe30
add esp, 4
jmp 0x57a35d
test eax, 0x400
je 0x57a2d2
push dword [edi]
lea eax, [esp + 0x28]
push str.zeroblob__d_
push eax
call fcn.004c1fa0
add esp, 0xc
jmp 0x57a35d
mov ecx, dword [esp + 0x34]
add ecx, 2
cmp ecx, dword [esp + 0x2c]
jb 0x57a2f5
push 2
lea eax, [esp + 0x28]
push 0x60d070
push eax
call fcn.004e88e0
add esp, 0xc
jmp 0x57a307
mov eax, dword [esp + 0x28]
mov edx, 0x2778
mov dword [esp + 0x34], ecx
mov word [ecx + eax - 2], dx
mov ebp, dword [edi + 0xc]
xor esi, esi
test ebp, ebp
jle 0x57a32f
mov eax, dword [edi + 8]
movzx eax, byte [eax + esi]
push eax
lea eax, [esp + 0x28]
push str._02x
push eax
call fcn.004c1fa0
inc esi
add esp, 0xc
cmp esi, ebp
jl 0x57a310
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, dword [esp + 0x2c]
jb 0x57a350
push 1
lea eax, [esp + 0x28]
push 0x60d07c
push eax
call fcn.004e88e0
add esp, 0xc
jmp 0x57a35d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov byte [eax + ecx - 1], 0x27
cmp byte [ebx], 0
jne 0x57a090
pop ebp
cmp byte [esp + 0x34], 0
je 0x57a395
test byte [esp + 0x35], 4
je 0x57a38a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x57a38a
push eax
push dword [esp + 0x24]
call fcn.0053c090
add esp, 8
pop edi
xor ecx, ecx
pop esi
mov eax, ecx
pop ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x57a3cb
mov eax, dword [esp + 0x30]
mov byte [eax + ecx], 0
cmp dword [esp + 0x2c], 0
jbe 0x57a3c7
test byte [esp + 0x35], 4
jne 0x57a3c7
lea eax, [esp + 0x20]
push eax
call fcn.0058ab10
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov eax, ecx
pop ebx
add esp, 0x54
ret