Function at 0x588910
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 0x588a04
mov esi, dword [esp + 0x68]
mov al, byte [esi]
test al, al
je 0x588d9b
nop dword [eax]
mov edi, esi
inc esi
cmp al, 0xa
je 0x58897d
mov al, byte [esi]
test al, al
jne 0x588972
mov edx, dword [esp + 0x30]
add edx, 3
cmp edx, dword [esp + 0x28]
jb 0x5889a0
push 3
lea eax, [esp + 0x24]
push 0x61bc24
push eax
call fcn.004f72b0
add esp, 0xc
jmp 0x5889b8
mov ax, word [0x61bc24]
mov dword [esp + 0x30], edx
mov word [edx + ecx - 3], ax
mov al, byte [0x61bc26]
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 0x5889d6
push ecx
lea eax, [esp + 0x24]
push edi
push eax
call fcn.004f72b0
jmp 0x5889ee
test ecx, ecx
je 0x5889f1
mov eax, dword [esp + 0x24]
push ecx
sub eax, ecx
mov dword [esp + 0x34], edx
add eax, edx
push edi
push eax
call fcn.00430da0
add esp, 0xc
mov al, byte [esi]
test al, al
je 0x588d37
mov ecx, dword [esp + 0x24]
jmp 0x588970
cmp word [ebx + 0x10], cx
jne 0x588a53
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x588a28
xor ecx, ecx
lea eax, [esp + 0x20]
push ecx
push edx
push eax
call fcn.004f72b0
add esp, 0xc
jmp 0x588d37
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x588a30
sub ecx, esi
lea eax, [esp + 0x20]
and ecx, 0x3fffffff
push ecx
push edx
push eax
call fcn.004f72b0
add esp, 0xc
jmp 0x588d37
mov ebx, dword [esp + 0x68]
cmp byte [ebx], cl
je 0x588d9b
push ebp
xor edi, edi
mov esi, ebx
xor ebp, ebp
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00560e00
add esp, 8
cmp dword [esp + 0x1c], 0x9c
je 0x588a89
add esi, eax
add edi, eax
cmp byte [esi], 0
jne 0x588a66
jmp 0x588a8b
mov ebp, eax
mov ecx, dword [esp + 0x34]
add ecx, edi
cmp ecx, dword [esp + 0x2c]
jb 0x588aa5
push edi
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.004f72b0
jmp 0x588abd
test edi, edi
je 0x588ac0
mov eax, dword [esp + 0x28]
push edi
sub eax, edi
mov dword [esp + 0x38], ecx
add eax, ecx
push ebx
push eax
call fcn.00430da0
add esp, 0xc
add ebx, edi
test ebp, ebp
je 0x588d36
cmp byte [ebx], 0x3f
jne 0x588af1
cmp ebp, 1
jle 0x588aeb
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 1]
push eax
call fcn.00560bf0
mov eax, dword [esp + 0x18]
add esp, 8
jmp 0x588b09
mov eax, dword [esp + 0x14]
jmp 0x588b05
mov eax, dword [esp + 0x68]
push ebp
push ebx
push dword [eax + 0x80]
call fcn.0057e7c0
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 0x588b6e
mov ecx, dword [esp + 0x34]
add ecx, 4
cmp ecx, dword [esp + 0x2c]
jb 0x588b59
push 4
lea eax, [esp + 0x28]
push str.NULL
push eax
call fcn.004f72b0
add esp, 0xc
jmp 0x588d2d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov dword [eax + ecx - 4], 0x4c4c554e
jmp 0x588d2d
test al, 0x24
je 0x588b8e
push dword [edi + 4]
lea eax, [esp + 0x28]
push dword [edi]
push str._lld
push eax
call fcn.004d0970
add esp, 0x10
jmp 0x588d2d
test al, 8
je 0x588bb5
movsd xmm0, qword [edi]
lea eax, [esp + 0x24]
sub esp, 8
movsd qword [esp], xmm0
push str.__.15g
push eax
call fcn.004d0970
add esp, 0x10
jmp 0x588d2d
test al, 2
je 0x588c82
mov ecx, dword [esp + 0x20]
mov al, byte [ecx + 0x54]
mov byte [esp + 0x18], al
cmp al, 1
je 0x588c38
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.0058acd0
add esp, 0x18
test byte [esp + 0x4c], 2
jne 0x588c0d
mov byte [esp + 0x4e], 1
jmp 0x588c34
cmp byte [esp + 0x4e], 1
je 0x588c34
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.0058b190
add esp, 8
cmp eax, 7
jne 0x588c34
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.004d0970
add esp, 0x10
cmp byte [esp + 0x18], 1
je 0x588d2d
test dword [esp + 0x4c], 0x9000
jne 0x588c70
cmp dword [esp + 0x54], 0
je 0x588d2d
lea eax, [esp + 0x3c]
push eax
call fcn.0059e800
add esp, 4
jmp 0x588d2d
test eax, 0x400
je 0x588ca2
push dword [edi]
lea eax, [esp + 0x28]
push str.zeroblob__d_
push eax
call fcn.004d0970
add esp, 0xc
jmp 0x588d2d
mov ecx, dword [esp + 0x34]
add ecx, 2
cmp ecx, dword [esp + 0x2c]
jb 0x588cc5
push 2
lea eax, [esp + 0x28]
push 0x61bc40
push eax
call fcn.004f72b0
add esp, 0xc
jmp 0x588cd7
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 0x588cff
mov eax, dword [edi + 8]
movzx eax, byte [eax + esi]
push eax
lea eax, [esp + 0x28]
push str._02x
push eax
call fcn.004d0970
inc esi
add esp, 0xc
cmp esi, ebp
jl 0x588ce0
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, dword [esp + 0x2c]
jb 0x588d20
push 1
lea eax, [esp + 0x28]
push 0x61bc4c
push eax
call fcn.004f72b0
add esp, 0xc
jmp 0x588d2d
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov byte [eax + ecx - 1], 0x27
cmp byte [ebx], 0
jne 0x588a60
pop ebp
cmp byte [esp + 0x34], 0
je 0x588d65
test byte [esp + 0x35], 4
je 0x588d5a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x588d5a
push eax
push dword [esp + 0x24]
call fcn.0054aa60
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 0x588d9b
mov eax, dword [esp + 0x30]
mov byte [eax + ecx], 0
cmp dword [esp + 0x2c], 0
jbe 0x588d97
test byte [esp + 0x35], 4
jne 0x588d97
lea eax, [esp + 0x20]
push eax
call fcn.005994e0
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