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

Disassembly:
push 0xffffffffffffffff
push 0x6969bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call fcn.004031c0
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x50], 0
cmp eax, 3
jl 0x57aeba
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
call fcn.004031c0
mov edi, 0x6d7224
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.00403350
test al, al
je 0x57ab4e
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
mov esi, 0x6d7224
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], 1
push ecx
mov ecx, dword [ebp + 0x48]
call fcn.00402320
push 1
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x54], 0
call fcn.004031c0
mov edx, dword [0x6a3564]
add esi, 0xbc
push edx
push 0
push esi
lea ecx, [esp + 0x34]
call fcn.00402fc0
mov eax, dword [ebp + 0x48]
test eax, eax
je 0x57ac17
mov al, byte [esp + 0x28]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push 0
mov ecx, esi
mov byte [esi], al
call fcn.004031c0
mov ecx, dword [0x6a3564]
lea edx, [esp + 0x38]
push ecx
push 0
push edx
mov ecx, esi
call fcn.00402fc0
mov ecx, dword [ebp + 0x48]
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x64], 0
call fcn.004bd510
mov ecx, dword [0x6a3564]
mov byte [esp + 0x50], 3
push ecx
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.00402fc0
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x50], 0
test eax, eax
je 0x57ac17
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x57ac0e
cmp al, 0xff
je 0x57ac0e
dec al
mov byte [ecx], al
jmp 0x57ac17
push ecx
call fcn.006713a0
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x57ac24
mov eax, 0x6a3560
push eax
call fcn.0067504b
mov edx, dword [0x818794]
add esp, 4
mov edi, 0xb8
mov ecx, dword [edx + 0x810]
add ecx, eax
mov dword [edx + 0x810], ecx
mov eax, dword [ebp + 0x48]
xor ebx, ebx
mov esi, dword [eax + edi]
cmp esi, ebx
je 0x57adf4
mov edx, dword [esi + 0x30]
mov cl, byte [edx + 0x5a]
cmp cl, 1
je 0x57acf9
cmp cl, 3
je 0x57acf9
mov ecx, dword [esi]
push eax
call fcn.004015a0
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax + edi + 0xb8]
mov dword [eax + ecx*4 + 0x100], esi
mov edx, dword [ebp + 0x48]
mov dword [edx + edi], ebx
mov ecx, dword [ebp + 0x48]
mov edx, dword [ecx + edi + 0xb8]
mov eax, dword [ecx]
push edx
push 0xc
call dword [eax + 0x78]
cmp eax, ebx
je 0x57adf4
lea ebx, [eax + 0x80]
mov eax, ebx
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
call dword [eax + 0x28]
mov esi, dword [esi]
mov eax, dword [ebx]
add esi, 0x90
mov dword [esi], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
jmp 0x57adf2
mov ecx, dword [eax + edi + 0xb8]
mov ecx, dword [eax + ecx*4 + 0x100]
cmp ecx, ebx
je 0x57ad70
mov edx, dword [esi + 0x38]
mov eax, dword [ecx + 0x38]
add eax, edx
mov dword [ecx + 0x38], eax
mov eax, dword [esi]
mov ecx, dword [ebp + 0x48]
push eax
call fcn.00401550
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [esi]
cmp ecx, ebx
je 0x57ad34
mov eax, dword [ecx]
push 1
call dword [eax + 4]
cmp esi, ebx
mov dword [esi], ebx
mov dword [esp + 0x14], esi
je 0x57ad65
push 1
lea ecx, [esi + 0x20]
mov byte [esp + 0x54], 4
call fcn.004031c0
push 1
lea ecx, [esi + 4]
mov byte [esp + 0x54], 0
call fcn.004031c0
push esi
call fcn.006713a0
add esp, 4
mov ecx, dword [ebp + 0x48]
mov dword [ecx + edi], ebx
jmp 0x57adf4
mov ecx, dword [esi]
push eax
call fcn.004015a0
mov eax, dword [ebp + 0x48]
mov edx, dword [eax + edi + 0xb8]
mov dword [eax + edx*4 + 0x100], esi
mov eax, dword [ebp + 0x48]
mov dword [eax + edi], ebx
mov ecx, dword [ebp + 0x48]
mov eax, dword [ecx + edi + 0xb8]
mov edx, dword [ecx]
push eax
push 0xc
call dword [edx + 0x78]
cmp eax, ebx
je 0x57adf4
lea ebx, [eax + 0x80]
mov ecx, ebx
mov edx, dword [ecx]
mov dword [esp + 0x38], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x40], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esi]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x38]
mov edx, dword [ecx]
push eax
call dword [edx + 0x28]
mov esi, dword [esi]
mov ecx, dword [ebx]
add esi, 0x90
mov dword [esi], ecx
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0xc], ecx
xor ebx, ebx
mov ecx, dword [ebp + 0x48]
mov esi, dword [ecx + edi + 0x24]
cmp esi, ebx
je 0x57ae9c
mov edx, dword [esi]
push edx
call fcn.00401550
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi]
cmp ecx, ebx
je 0x57ae1e
mov edx, dword [ecx]
push 1
call dword [edx + 4]
cmp esi, ebx
mov dword [esi], ebx
mov dword [esp + 0x14], esi
je 0x57ae95
mov eax, dword [esi + 0x24]
mov byte [esp + 0x50], 6
cmp eax, ebx
je 0x57ae51
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x57ae48
cmp al, 0xff
je 0x57ae48
dec al
mov byte [ecx], al
jmp 0x57ae51
push ecx
call fcn.006713a0
add esp, 4
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
mov byte [esp + 0x50], 0
je 0x57ae83
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x57ae7a
cmp al, 0xff
je 0x57ae7a
dec al
mov byte [ecx], al
jmp 0x57ae83
push ecx
call fcn.006713a0
add esp, 4
push esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.006713a0
add esp, 4
mov eax, dword [ebp + 0x48]
mov dword [eax + edi + 0x24], ebx
add edi, 4
cmp edi, 0xdc
jl 0x57ac46
mov ecx, dword [ebp + 0x48]
call fcn.004bb7f0
mov dword [ebp + 0x50], 0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x50], 0xffffffff
test ecx, ecx
je 0x57aef7
mov al, byte [ecx - 1]
test al, al
je 0x57aeed
cmp al, 0xff
je 0x57aeed
dec al
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret