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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x13e4
call fcn.006f8060
cmp dword [0x99b0a0], 4
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov byte [esp + 0x24], 0x53
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x26], 0x73
mov byte [esp + 0x27], 0x69
mov byte [esp + 0x28], 0x30
mov byte [esp + 0x29], 0x3a
mov byte [esp + 0x2a], 0
mov byte [esp + 0x30], 0x12
mov byte [esp + 0x31], 0
mov byte [esp + 0x32], 0
mov byte [esp + 0x33], 0
mov byte [esp + 0x34], 0x24
mov byte [esp + 0x35], 0
jle 0x57e52f
lea eax, [esp + 0x2c]
push eax
push 0x20019
push 0
push 0xb6ad20
push 0x80000002
call dword [fcn.00bba87b]
test eax, eax
je 0x57e52f
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
lea ecx, [esi + 0x74]
lea edx, [esi + 0x60]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
mov al, 0x41
lea ecx, [esi + 0x50]
lea edx, [esi + 0x30]
mov byte [esp + 0xf], al
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
movzx eax, al
push eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x4c]
push 0xb6ad38
push eax
call dword [fcn.00bba86b]
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x53], 0
call dword [fcn.00bba503]
cmp eax, 5
jne 0x57e93f
cmp dword [0x99b0a0], 4
mov byte [esp + 0x4e], 0
jg 0x57e5a5
mov dword [esp + 0x38], 0
mov eax, 0x80000000
jmp 0x57e5b2
mov dword [esp + 0x38], 3
mov eax, 0xc0000000
mov edx, dword [esp + 0x38]
mov edi, dword [fcn.00bba48f]
push 0
push 0
push 3
push 0
push edx
push eax
lea eax, [esp + 0x60]
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
push 0
jne 0x57e606
push 0
push 3
push 0
push 3
push 0x80000000
lea ecx, [esp + 0x60]
push ecx
call edi
cmp eax, ebx
je 0x57e975
mov edx, dword [esp + 0x4c]
push esi
push eax
push edx
call fcn.0057d670
add esp, 0xc
jmp 0x57e900
xor eax, eax
mov ecx, 0x200
lea edi, [esp + 0x3f4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x68]
push eax
push 0x800
lea ecx, [esp + 0x3fc]
push ecx
push 0
push 0
push 0x41018
push ebx
call dword [fcn.00bba5f7]
mov dl, byte [esp + 0xf]
xor eax, eax
mov ecx, 0x1f
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [esi + 0xc], eax
mov al, byte [esp + 0x3f4]
movzx ecx, al
shl ecx, 8
mov byte [esi + 0x10], dl
movzx edx, byte [esp + 0x3f5]
or ecx, edx
movzx edx, byte [esp + 0x3f6]
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0x3f7]
shl ecx, 8
or ecx, edx
mov dword [esi], ecx
mov cl, byte [esp + 0x28]
and al, 0xf
add cl, al
mov eax, dword [esp + 0x18]
push 0x20
mov byte [esp + 0x2c], cl
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esi + 8], 2
mov dword [esi + 4], ebx
call dword [fcn.00bba653]
push 1
push 0x40
lea edx, [esp + 0x3f8]
push edx
push 6
lea eax, [esp + 0x40]
push eax
push esi
call fcn.0057e380
mov edx, dword [esp + 0x34]
mov ebx, dword [fcn.00bba86b]
lea ecx, [esp + 0x410]
push ecx
push 0xb6ad04
push edx
call ebx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x424]
push eax
push 0xb6acfc
push ecx
call ebx
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x440]
push edx
push 0xb6acf4
push eax
call ebx
mov eax, dword [0x99b0a0]
add esp, 0x3c
cmp eax, 4
jle 0x57e900
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x40]
push edi
lea ecx, [esp + 0x6c]
push 0xb6ad0c
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x3f4]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x4c]
push ecx
push 0
lea edx, [esp + 0x78]
push edx
push eax
mov dword [esp + 0x5c], 3
mov dword [esp + 0x54], 0x800
call dword [fcn.00bba877]
test eax, eax
jne 0x57e93f
mov ebx, dword [esp + 0x3c]
xor ecx, ecx
test ebx, ebx
jle 0x57e79c
jmp 0x57e780
mov eax, ecx
cdq
sub eax, edx
mov dl, byte [esp + ecx + 0x3f0]
sar eax, 1
add ecx, 2
cmp ecx, ebx
mov byte [esp + eax + 0xbf0], dl
jl 0x57e780
push edi
lea eax, [esp + 0xac]
push 0xb6ad1c
push eax
call dword [fcn.00bba86b]
mov dl, byte [esp + 0xc00]
add esp, 0xc
cmp dl, 0x23
lea eax, [esp + 0xbf4]
lea ecx, [esp + 0xac]
je 0x57e7dc
lea ecx, [ecx]
mov byte [ecx], dl
mov dl, byte [eax + 1]
inc ecx
inc eax
cmp dl, 0x23
jne 0x57e7d0
inc eax
mov byte [ecx], 0
mov cl, byte [eax]
cmp cl, 0x23
lea edx, [esp + 0xcc]
je 0x57e7fc
mov edi, edi
mov byte [edx], cl
mov cl, byte [eax + 1]
inc edx
inc eax
cmp cl, 0x23
jne 0x57e7f0
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x23
mov byte [edx], 0
lea edx, [esp + 0x1cc]
je 0x57e81c
nop
mov byte [edx], cl
mov cl, byte [eax + 1]
inc edx
inc eax
cmp cl, 0x23
jne 0x57e810
cmp byte [esp + 0xac], 0x55
jne 0x57e900
cmp byte [esp + 0xad], 0x53
jne 0x57e900
cmp byte [esp + 0xae], 0x42
jne 0x57e900
cmp byte [esp + 0xaf], 0x53
jne 0x57e900
cmp byte [esp + 0xb0], 0x54
jne 0x57e900
cmp byte [esp + 0xb1], 0x4f
jne 0x57e900
cmp byte [esp + 0xb2], 0x52
jne 0x57e900
mov ecx, dword [0xac3e74]
push ecx
call fcn.004c054b
add esp, 4
test eax, eax
je 0x57e900
mov edx, dword [0xac3e74]
push edx
call fcn.004c058d
add esp, 4
test eax, eax
jne 0x57e8c6
mov eax, dword [0xac3e74]
push eax
call fcn.004c054b
add esp, 4
test eax, eax
je 0x57e900
mov ecx, dword [0xac3e74]
cmp word [ecx + 0x94], 3
jb 0x57e900
mov edx, dword [esi + 4]
push edx
call dword [fcn.00bba483]
mov eax, dword [esp + 0x38]
push 0
push 0
push 3
push 0
push eax
push 0x80000000
lea ecx, [esp + 0x60]
push ecx
call dword [fcn.00bba48f]
cmp eax, 0xffffffff
je 0x57e98c
mov dword [esi + 8], 3
mov dword [esi + 4], eax
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, 0x7c
add edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
add edx, ecx
add edi, ecx
add ebx, ecx
add esi, ecx
mov ecx, dword [ebp + 0xc]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], edx
je 0x57e951
mov al, byte [esp + 0xf]
inc al
cmp al, 0x5a
mov byte [esp + 0xf], al
jbe 0x57e554
mov ecx, dword [esp + 0x2c]
push ecx
call dword [fcn.00bba883]
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 8]
mov dword [0xa7aab4], eax
mov dword [0xa7ab10], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x2c]
push edx
call dword [fcn.00bba883]
mov eax, 0xfffffff5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x2c]
push eax
call dword [fcn.00bba883]
pop edi
pop esi
mov eax, 0xfffffff5
pop ebx
mov esp, ebp
pop ebp
ret