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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42f85f
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4514c8]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x4514c8]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
mov dword [esp + 0x28], ebx
call dword [0x43201c]
push ecx
mov ecx, 0x4524e0
call fcn.0058156c
lea eax, [esp + 0x20]
push eax
push esi
call dword [0x432158]
mov esi, eax
mov dword [esp + 0x34], esi
cmp dword [esp + 0x20], ebx
je 0x577e74
test esi, esi
je 0x577e74
mov ecx, dword [0x432028]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x3c]
push eax
mov dword [esp + 0x2c], esi
call fcn.0057f23c
mov dword [esp + 0xf0], ebx
lea ecx, [esp + 0x64]
push 0x448068
xor edi, edi
call fcn.0057860c
mov byte [esp + 0xf0], 1
lea ecx, [esp + 0x4c]
push dword [esi]
call fcn.0057860c
mov byte [esp + 0xf0], 2
lea edx, [esp + 0x64]
lea ecx, [esp + 0x4c]
call fcn.0057670c
mov byte [esp + 0x16], al
mov byte [esp + 0xf0], 1
cmp dword [esp + 0x60], 8
jb 0x5776e9
push dword [esp + 0x4c]
call fcn.0058d803
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov byte [esp + 0xf0], al
cmp dword [esp + 0x78], 8
jb 0x57771a
push dword [esp + 0x64]
call fcn.0058d803
add esp, 4
xor eax, eax
mov dword [esp + 0x78], 7
cmp byte [esp + 0x16], 0
mov word [esp + 0x64], ax
mov eax, 1
cmovne edi, eax
mov dword [esp + 0x74], 0
cmp edi, dword [esp + 0x20]
jl 0x57774e
mov esi, 0x10000
jmp 0x577ddc
mov ecx, dword [esi + edi*4]
lea eax, [esi + edi*4]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], eax
call fcn.00577f1c
mov esi, eax
test esi, esi
jne 0x57788f
mov ecx, dword [esp + 0x2c]
call fcn.00576d1c
lea eax, [edi + 1]
mov byte [esp + 0x16], 0
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x20]
jge 0x577819
push 0x44807c
lea ecx, [esp + 0x80]
call fcn.0057860c
mov byte [esp + 0xf0], 3
lea ecx, [esp + 0x4c]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], 1
push dword [esi + 4]
call fcn.0057860c
mov dword [esp + 0xf0], 4
mov ebx, 3
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x7c]
cmp dword [esp + 0x90], 8
lea eax, [esp + 0x4c]
push dword [esp + 0x8c]
cmovae ecx, dword [esp + 0x80]
cmp dword [esp + 0x64], 8
push ecx
cmovae eax, dword [esp + 0x54]
push eax
call fcn.0058e4f4
add esp, 0xc
test eax, eax
jne 0x57781d
mov byte [esp + 0x15], 1
jmp 0x577822
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x15], 0
mov dword [esp + 0xf0], 3
test bl, 2
je 0x577842
and ebx, 0xfffffffd
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], ebx
call fcn.0057875c
mov dword [esp + 0xf0], 0
test bl, 1
je 0x577862
and ebx, 0xfffffffe
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], ebx
call fcn.0057875c
cmp byte [esp + 0x15], 0
je 0x57789b
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x40]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + edi*4]
lea eax, [eax + edi*4]
mov byte [esp + 0x16], 1
mov dword [esp + 0x1c], eax
call fcn.00577fac
mov esi, eax
test esi, esi
je 0x577897
shl esi, 0x10
jmp 0x577ddc
mov esi, dword [esp + 0x1c]
lea eax, [edi + 1]
mov byte [esp + 0x17], 0
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x20]
jge 0x57791d
push 0x448094
lea ecx, [esp + 0x50]
call fcn.0057860c
mov byte [esp + 0xf0], 5
or ebx, 4
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x7c]
push dword [esi + 4]
call fcn.0057860c
mov dword [esp + 0xf0], 6
or ebx, 8
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x4c]
cmp dword [esp + 0x60], 8
lea eax, [esp + 0x7c]
cmovae ecx, dword [esp + 0x4c]
cmp dword [esp + 0x90], 8
push ecx
cmovae eax, dword [esp + 0x80]
push eax
call fcn.0058d9b4
add esp, 8
mov byte [esp + 0x15], 1
test eax, eax
je 0x577922
mov byte [esp + 0x15], 0
mov dword [esp + 0xf0], 5
test bl, 8
je 0x577942
and ebx, 0xfffffff7
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], ebx
call fcn.0057875c
mov dword [esp + 0xf0], 0
test bl, 4
je 0x577962
and ebx, 0xfffffffb
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], ebx
call fcn.0057875c
cmp byte [esp + 0x15], 0
je 0x577972
mov edi, dword [esp + 0x24]
mov byte [esp + 0x17], 1
xor ebx, ebx
xor eax, eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], ax
mov byte [esp + 0xf0], 7
inc edi
cmp edi, dword [esp + 0x20]
jge 0x577a33
lea esp, [esp]
cmp dword [esp + 0xa4], 0
mov eax, dword [esp + 0x34]
mov esi, dword [eax + edi*4]
jne 0x577a0b
cmp word [esi], 0
jne 0x5779e5
xor ecx, ecx
push ecx
push esi
lea ecx, [esp + 0x9c]
call fcn.0057a4fc
jmp 0x577a28
mov ecx, esi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5779ec
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [esp + 0x9c]
call fcn.0057a4fc
jmp 0x577a28
test ebx, ebx
jne 0x577aa7
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.00577f1c
mov esi, eax
test esi, esi
jne 0x577a9f
mov ebx, dword [esp + 0x1c]
inc edi
cmp edi, dword [esp + 0x20]
jl 0x5779bc
test ebx, ebx
jne 0x577a38
mov ebx, 1
xor edi, edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov byte [esp + 0xf0], 8
cmp dword [esp + 0xa4], edi
je 0x577ab1
push ebx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xb4]
call fcn.005762bc
mov byte [esp + 0xf0], 9
lea ecx, [esp + 0x64]
push eax
call fcn.005796ec
mov byte [esp + 0xf0], 8
lea ecx, [esp + 0xac]
call fcn.00577eac
mov edi, dword [esp + 0x68]
jmp 0x577c13
shl esi, 0x10
jmp 0x577d9b
mov esi, 0x10000
jmp 0x577d9b
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov byte [esp + 0xf0], 0xa
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov byte [esp + 0xf0], 0xc
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0xf0], 0xd
lea ecx, [esp + 0xac]
push 0x43887c
call fcn.0057860c
mov byte [esp + 0xf0], 0xe
lea ecx, [esp + 0xc8]
push 0x438838
call fcn.0057860c
mov byte [esp + 0xf0], 0xf
lea eax, [esp + 0x4c]
push ecx
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.0058356c
mov byte [esp + 0xf0], 0xe
lea ecx, [esp + 0xc8]
call fcn.0057875c
mov byte [esp + 0xf0], 0xd
lea ecx, [esp + 0xac]
call fcn.0057875c
mov ecx, dword [esp + 0x50]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x4c]
sub ecx, esi
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x577bf1
push 1
push esi
lea ecx, [esp + 0xb4]
call fcn.005762bc
mov byte [esp + 0xf0], 0x10
lea ecx, [esp + 0x64]
push eax
call fcn.005796ec
mov byte [esp + 0xf0], 0xd
lea ecx, [esp + 0xac]
call fcn.00577eac
add esi, 0x18
dec ebx
jne 0x577bb2
mov edi, dword [esp + 0x68]
mov byte [esp + 0xf0], 0xc
lea ecx, [esp + 0x4c]
call fcn.0057897c
mov byte [esp + 0xf0], 8
lea ecx, [esp + 0x7c]
call fcn.005834ac
cmp byte [esp + 0x17], 0
je 0x577c32
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x64]
call fcn.005774ac
mov ebx, dword [esp + 0x64]
mov esi, eax
jmp 0x577d60
mov eax, dword [esp + 0x2c]
push eax
push 0
push 0x438
call dword [0x43203c]
mov ebx, eax
mov dword [esp + 0x34], ebx
test ebx, ebx
jne 0x577c65
call dword [fcn.00432014]
mov ebx, dword [esp + 0x64]
mov esi, eax
or esi, 0x20000
jmp 0x577d60
mov eax, dword [0x432024]
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x2c], ebx
call fcn.0057f1ac
mov byte [esp + 0xf0], 0x11
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0xf0], 0x12
cmp byte [esp + 0x16], 0
je 0x577df7
mov esi, dword [esp + 0x64]
cmp esi, edi
je 0x577d18
nop
cmp dword [esi + 0x14], 8
jb 0x577cc6
mov ecx, dword [esi]
jmp 0x577cc8
mov ecx, esi
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x4c]
push ecx
mov dword [esp + 0x28], eax
call fcn.00576b8c
add esp, 4
xor ecx, ecx
test eax, eax
je 0x577cf3
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov ecx, 1
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x34]
push ecx
push eax
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call fcn.00588edc
test eax, eax
je 0x577e66
add esi, 0x1c
cmp esi, edi
jne 0x577cbc
mov ebx, dword [esp + 0x64]
xor esi, esi
mov byte [esp + 0xf0], 0x11
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x577d4f
push eax
call fcn.0058d803
add esp, 4
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0xf0], 8
lea ecx, [esp + 0x48]
call fcn.00576c7c
mov byte [esp + 0xf0], 7
test ebx, ebx
je 0x577d9b
push dword [esp + 0x3c]
mov edx, edi
push ecx
mov ecx, ebx
call fcn.0058029c
push ebx
call fcn.0058d803
add esp, 0xc
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov byte [esp + 0xf0], 0
cmp dword [esp + 0xa8], 8
jb 0x577dbc
push dword [esp + 0x94]
call fcn.0058d803
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], 0
mov word [esp + 0x94], ax
mov dword [esp + 0xf0], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00576c7c
mov eax, esi
jmp 0x577e7f
mov ebx, dword [esp + 0x64]
mov esi, ebx
cmp ebx, edi
je 0x577d1c
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x577e16
mov ecx, dword [esi]
jmp 0x577e18
mov ecx, esi
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x4c]
push ecx
mov dword [esp + 0x28], eax
call fcn.00576b8c
add esp, 4
xor ecx, ecx
test eax, eax
je 0x577e43
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
mov ecx, 1
mov dword [esp + 0x2c], eax
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x34]
call fcn.00588c2c
test eax, eax
je 0x577e6a
add esi, 0x1c
cmp esi, edi
jne 0x577e0c
jmp 0x577d1c
mov ebx, dword [esp + 0x64]
mov esi, 0x30000
jmp 0x577d1e
call dword [fcn.00432014]
or eax, 0x10000
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.0058d808
mov esp, ebp
pop ebp
ret 0x10