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

Disassembly:
push 0xffffffffffffffff
push 0x696bc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov al, byte [esp + 0x68]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], esi
mov byte [esp + 0x4c], al
call fcn.004031c0
mov cl, byte [esp + 0x78]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x28], cl
push ebx
lea ecx, [esp + 0x2c]
call fcn.004031c0
mov ebp, dword [esp + 0x78]
mov byte [esp + 0x70], 1
cmp ebp, 0x35a4e900
jne 0x57c4c7
mov dl, byte [esp + 0x78]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], dl
call fcn.004031c0
mov edi, 0x6d7210
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x3c]
push ebp
call fcn.00403350
test al, al
je 0x57c3ab
mov edi, dword [esp + 0x3c]
mov ecx, ebp
mov eax, ecx
mov esi, 0x6d7210
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
call fcn.00403330
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 2
push ecx
mov ecx, dword [esi + 0x48]
call fcn.00402320
push 1
lea ecx, [esp + 0x3c]
mov edi, eax
mov byte [esp + 0x74], 1
call fcn.004031c0
mov edx, dword [0x6a3564]
lea eax, [edi + 0xbc]
push edx
push ebx
push eax
lea ecx, [esp + 0x34]
call fcn.00402fc0
cmp dword [esi + 0x48], ebx
je 0x57c45e
mov cl, byte [esp + 0x28]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x88], esp
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.004031c0
mov edx, dword [0x6a3564]
lea eax, [esp + 0x38]
push edx
push ebx
push eax
mov ecx, esi
call fcn.00402fc0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x84], 1
mov ecx, dword [edx + 0x48]
call fcn.004bd510
mov ecx, dword [0x6a3564]
mov byte [esp + 0x70], 4
push ecx
push ebx
push eax
lea ecx, [esp + 0x34]
call fcn.00402fc0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 1
call fcn.004031c0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x57c46b
mov eax, 0x6a3560
push eax
call fcn.0067504b
mov ebp, dword [esp + 0x80]
mov ecx, dword [esi + 0x48]
add esp, 4
add eax, ebp
cmp ecx, ebx
je 0x57c4b6
lea edx, [esp + 0x58]
push eax
push edx
call fcn.004bd180
mov ecx, dword [0x6a3564]
mov byte [esp + 0x70], 5
push ecx
push ebx
push eax
lea ecx, [esp + 0x54]
call fcn.00402fc0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 1
call fcn.004031c0
mov edx, dword [edi]
lea eax, [esp + 0x48]
push eax
mov ecx, edi
call dword [edx + 0x78]
jmp 0x57cb00
mov eax, 0x10624dd3
mov esi, dword [0x8186f4]
imul ebp
sar edx, 6
mov ecx, edx
mov dword [esp + 0x1c], ebx
shr ecx, 0x1f
add edx, ecx
lea ecx, [esp + 0x24]
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [esp + 0x20]
push eax
push ecx
shl edx, 3
lea ecx, [esi + 0x14]
mov dword [esp + 0x28], edx
call fcn.004532a0
mov esi, dword [esi + 0x18]
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x57c883
lea esi, [eax + 0x10]
cmp esi, ebx
mov dword [esp + 0x18], esi
je 0x57c883
mov cl, byte [esi + 4]
cmp cl, 0x18
jae 0x57c56f
mov eax, ebp
mov edi, 0x3e8
cdq
idiv edi
and ecx, 0xff
lea eax, [esp + 0x10]
mov edi, dword [ecx*4 + 0x8186f8]
lea ecx, [edi + 0x14]
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00453310
mov edi, dword [edi + 0x18]
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x57c568
mov dword [esp + 0x1c], ebx
jmp 0x57c56f
add eax, 0x10
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], ebx
je 0x57c883
mov al, byte [esi + 0x5a]
cmp al, 1
je 0x57c82c
cmp al, 3
je 0x57c82c
mov ecx, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x78], esi
mov eax, dword [ecx + 0x48]
add eax, 0xdc
cmp dword [eax], ebx
je 0x57c5df
inc esi
add eax, 4
cmp esi, 9
jl 0x57c59e
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], esi
cmp eax, ebx
mov byte [esp + 0x70], 0
je 0x57cb2a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x57cb21
cmp al, 0xff
je 0x57cb21
dec al
mov byte [ecx], al
jmp 0x57cb2a
mov dword [esp + 0x78], esi
mov dl, byte [esp + 0x78]
mov byte [esp + 0x38], dl
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x44]
push ecx
push edx
push ebx
push ebp
push eax
mov byte [esp + 0x90], 0xb
call fcn.006157b0
push 0x40
call fcn.00673b05
mov ebp, eax
add esp, 0x24
mov dword [esp + 0x7c], ebp
cmp ebp, ebx
mov byte [esp + 0x70], 0xc
je 0x57c661
mov dl, byte [esp + 0x78]
lea ecx, [ebp + 4]
push ebx
mov byte [ecx], dl
call fcn.004031c0
mov al, byte [esp + 0x78]
lea ecx, [ebp + 0x20]
mov byte [esp + 0x70], 0xd
push ebx
mov byte [ecx], al
call fcn.004031c0
mov byte [esp + 0x70], 0xc
jmp 0x57c663
xor ebp, ebp
mov byte [esp + 0x70], 0xb
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
mov word [ebp + 0x14], bx
mov word [ebp + 0x16], bx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [ebp + 0x20]
mov edi, ecx
push 1
push edi
mov ecx, ebx
mov dword [esp + 0x84], edi
call fcn.00403350
test al, al
je 0x57c6cb
mov eax, dword [ebx + 4]
mov ecx, edi
mov edx, ecx
mov esi, 0x6dfe28
mov edi, eax
mov eax, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x78]
mov dword [ebx + 8], eax
mov ebx, dword [ebx + 4]
mov byte [ebx + eax], 0
add ebx, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], ecx
mov edx, dword [0x6a3564]
lea eax, [esp + 0x38]
push edx
push 0
push eax
lea ecx, [ebp + 4]
call fcn.00402fc0
mov ecx, dword [esp + 0x80]
push 0xf0
mov dword [ebp + 0x38], 1
mov dword [ebp + 0x3c], ecx
call fcn.00673b05
add esp, 4
mov dword [esp + 0x7c], eax
test eax, eax
mov byte [esp + 0x70], 0xf
je 0x57c723
mov ecx, eax
call fcn.004dd1e0
jmp 0x57c725
xor eax, eax
mov edi, dword [esp + 0x14]
mov byte [esp + 0x70], 0xb
mov dword [ebp], eax
mov edx, dword [eax]
mov ecx, dword [edi + 0x48]
push ecx
mov ecx, eax
call dword [edx + 0x5c]
mov ecx, dword [ebp]
lea edx, [esp + 0x38]
push edx
call fcn.00408db0
mov ecx, dword [ebp]
push 0x3f340000
push 0x3f340000
push 0
push 0
call fcn.00408fe0
mov eax, dword [ebp]
push 0x110
mov dword [eax + 0x70], 0xb
mov ecx, dword [ebp]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [ebp]
push 1
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [edi + 0x48]
push esi
push 5
mov eax, dword [ecx]
call dword [eax + 0x78]
test eax, eax
je 0x57c7dc
add eax, 0x80
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebp]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x64], edx
mov eax, dword [ecx]
lea edx, [esp + 0x58]
push edx
call dword [eax + 0x28]
mov esi, dword [ebp]
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
add esi, 0x90
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], ebx
mov esi, dword [esp + 0x78]
mov eax, dword [ebp + 0x3c]
test eax, eax
jne 0x57c7f2
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x78]
mov edx, dword [ecx]
or ah, 0x20
push eax
call dword [edx + 0x38]
mov eax, dword [edi + 0x48]
mov dword [eax + esi*4 + 0xdc], ebp
mov eax, dword [esp + 0x3c]
test eax, eax
mov byte [esp + 0x70], 1
je 0x57cafe
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x57caf5
cmp al, 0xff
je 0x57caf5
dec al
mov byte [ecx], al
jmp 0x57cafe
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x10], eax
mov edi, dword [ecx + 0x48]
lea esi, [edi + 0xdc]
mov ecx, esi
mov edx, dword [ecx]
cmp edx, ebx
je 0x57c859
mov edx, dword [edx + 0x30]
mov ebp, dword [esp + 0x18]
mov edx, dword [edx]
cmp edx, dword [ebp]
je 0x57c8bb
mov ebp, dword [esp + 0x78]
inc eax
add ecx, 4
cmp eax, 9
jl 0x57c841
mov dword [esp + 0x10], eax
mov dword [esp + 0x10], ebx
mov ecx, esi
mov eax, dword [ecx]
cmp eax, ebx
mov eax, dword [esp + 0x10]
je 0x57c8c3
inc eax
add ecx, 4
cmp eax, 9
mov dword [esp + 0x10], eax
jl 0x57c86c
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 0
call fcn.004031c0
push 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004031c0
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 0xc
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [edi + eax*4 + 0xdc]
cmp eax, ebx
je 0x57c8df
mov ecx, dword [esp + 0x7c]
mov edx, dword [eax + 0x38]
add edx, ecx
mov dword [eax + 0x38], edx
jmp 0x57cb00
mov dl, byte [esp + 0x78]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], dl
call fcn.004031c0
push 0xffffffffffffffff
lea eax, [esp + 0x7c]
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x44]
push ecx
push edx
push ebx
push ebp
push eax
mov byte [esp + 0x90], 6
call fcn.006157b0
push 0x40
call fcn.00673b05
mov ebp, eax
add esp, 0x24
mov dword [esp + 0x20], ebp
cmp ebp, ebx
mov byte [esp + 0x70], 7
je 0x57c95b
mov dl, byte [esp + 0x78]
lea ecx, [ebp + 4]
push ebx
mov byte [ecx], dl
call fcn.004031c0
mov al, byte [esp + 0x78]
lea ecx, [ebp + 0x20]
mov byte [esp + 0x70], 8
push ebx
mov byte [ecx], al
call fcn.004031c0
mov byte [esp + 0x70], 7
jmp 0x57c95d
xor ebp, ebp
mov byte [esp + 0x70], 6
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
mov word [ebp + 0x14], bx
mov word [ebp + 0x16], bx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [ebp + 0x20]
mov ebx, ecx
push 1
push ebx
mov ecx, esi
call fcn.00403350
test al, al
je 0x57c9b5
mov edi, dword [esi + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x6dfe28
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 [ebp + 0x24]
mov dword [ebp + 0x28], ebx
add ebx, eax
mov byte [ebx], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], ecx
mov edx, dword [0x6a3564]
lea eax, [esp + 0x38]
push edx
push 0
push eax
lea ecx, [ebp + 4]
call fcn.00402fc0
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
push 0xf0
mov dword [ebp + 0x38], ecx
mov dword [ebp + 0x3c], edx
call fcn.00673b05
add esp, 4
mov dword [esp + 0x7c], eax
test eax, eax
mov byte [esp + 0x70], 0xa
je 0x57ca0d
mov ecx, eax
call fcn.004dd1e0
jmp 0x57ca0f
xor eax, eax
mov esi, dword [esp + 0x14]
mov byte [esp + 0x70], 6
mov dword [ebp], eax
mov edx, dword [eax]
mov ecx, dword [esi + 0x48]
push ecx
mov ecx, eax
call dword [edx + 0x5c]
mov ecx, dword [ebp]
lea edx, [esp + 0x38]
push edx
call fcn.00408db0
mov ecx, dword [ebp]
push 0x3f340000
push 0x3f340000
push 0
push 0
call fcn.00408fe0
mov eax, dword [ebp]
push 0x110
mov dword [eax + 0x70], 0xb
mov ecx, dword [ebp]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [ebp]
push 1
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x10]
push edx
push 5
mov eax, dword [ecx]
call dword [eax + 0x78]
test eax, eax
je 0x57cac6
add eax, 0x80
mov ecx, dword [eax]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x60], ecx
mov ecx, dword [ebp]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x64], edx
mov eax, dword [ecx]
lea edx, [esp + 0x58]
push edx
call dword [eax + 0x28]
mov ebx, dword [ebp]
xor eax, eax
xor ecx, ecx
xor edx, edx
xor edi, edi
add ebx, 0x90
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0xdc], ebp
mov eax, dword [esp + 0x3c]
test eax, eax
mov byte [esp + 0x70], 1
je 0x57cafe
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x57caf5
cmp al, 0xff
je 0x57caf5
dec al
mov byte [ecx], al
jmp 0x57cafe
push ecx
call fcn.006713a0
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x70], 0
cmp eax, ebx
je 0x57cb2a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x57cb21
cmp al, 0xff
je 0x57cb21
dec al
mov byte [ecx], al
jmp 0x57cb2a
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp ecx, ebx
mov dword [esp + 0x70], 0xffffffff
je 0x57c8a6
mov al, byte [ecx - 1]
test al, al
je 0x57cb5f
cmp al, 0xff
je 0x57cb5f
dec al
mov byte [ecx - 1], al
jmp 0x57c8a6
dec ecx
push ecx
call fcn.006713a0
add esp, 4
jmp 0x57c8a6