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

Disassembly:
push 0xffffffffffffffff
push 0x100297c0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100342b0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100342b0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x94]
mov ebp, dword [esp + 0x8c]
mov ebx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
call fcn.0057cf44
mov edi, eax
lea esi, [esp + 0x58]
mov ecx, edi
call fcn.0057c6e4
mov dword [esp + 0x80], 0
cmp dword [esp + 0x6c], 0
jne 0x57acf3
mov dword [esp + 0x38], 0
jmp 0x57ad03
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
movzx ecx, ax
mov dword [esp + 0x38], ecx
add ebx, 8
push ebx
xor eax, eax
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
push 1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x28], 0x30
mov dword [esp + 0x44], ebx
call fcn.00581676
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x48]
add esp, 0x14
mov esi, ebp
mov dword [esp + 0x28], edx
call fcn.0057d564
test al, al
jne 0x57addc
xor eax, eax
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push 1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x28], 0x2b
call fcn.00581676
movzx edi, word [esp + 0x30]
add esp, 0x14
call fcn.0057c624
cmp ax, di
jne 0x57ad8f
mov eax, dword [esp + 0x2c]
mov byte [eax], 0x2b
jmp 0x57add0
xor eax, eax
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push 1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x28], 0x2d
call fcn.00581676
movzx edi, word [esp + 0x30]
add esp, 0x14
mov esi, ebp
call fcn.0057c624
cmp ax, di
jne 0x57addc
mov eax, dword [esp + 0x2c]
mov byte [eax], 0x2d
inc eax
mov esi, ebp
mov dword [esp + 0x28], eax
call fcn.0057c684
mov eax, dword [esp + 0x90]
and eax, 0xe00
cmp eax, 0x400
jne 0x57adfa
mov ebx, 8
mov dword [esp + 0x1c], ebx
jmp 0x57ae19
cmp eax, 0x800
jne 0x57ae0c
mov ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x57ae19
neg eax
sbb eax, eax
and eax, 0xa
mov ebx, eax
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x34]
mov esi, ebp
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0
call fcn.0057d564
test al, al
jne 0x57aee0
call fcn.0057c624
cmp ax, word [esp + 0x20]
jne 0x57aee0
mov byte [esp + 0x1a], 1
call fcn.0057c684
call fcn.0057d564
test al, al
jne 0x57aed1
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x28]
push ecx
push 1
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x28], 0x78
call fcn.00581676
movzx edi, word [esp + 0x34]
add esp, 0x14
call fcn.0057c624
cmp ax, di
je 0x57aeb1
mov ecx, dword [esp + 0x30]
push ecx
push 0x58
call fcn.005769a4
add esp, 8
mov di, ax
call fcn.0057c624
cmp ax, di
jne 0x57aed1
test ebx, ebx
je 0x57aeba
cmp ebx, 0x10
jne 0x57aed1
mov ebx, 0x10
mov esi, ebp
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x1a], 0
call fcn.0057c684
jmp 0x57aee9
test ebx, ebx
jne 0x57aee4
mov ebx, 8
mov dword [esp + 0x1c], ebx
jmp 0x57aee9
test ebx, ebx
je 0x57aefe
cmp ebx, 0xa
je 0x57aefe
mov eax, ebx
sub eax, 8
neg eax
sbb eax, eax
and eax, 0xe
add eax, 8
mov dword [esp + 0x20], eax
jmp 0x57af06
mov dword [esp + 0x20], 0xa
mov dl, byte [esp + 0x1a]
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], dl
mov dword [esp + 0x50], 1
mov byte [esp + 0x41], 0
mov edi, dword [esp + 0x34]
mov esi, ebp
mov byte [esp + 0x80], 1
xor ebx, ebx
call fcn.0057d564
test al, al
jne 0x57b10f
lea esp, [esp]
cmp byte [ebp + 4], 0
mov edi, dword [esp + 0x38]
jne 0x57af94
mov ecx, dword [ebp]
test ecx, ecx
je 0x57af89
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x57af6c
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x57af6c
mov eax, dword [eax]
movzx eax, word [eax]
jmp 0x57af76
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
movzx eax, ax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x57af89
mov word [ebp + 6], ax
jmp 0x57af90
mov dword [ebp], 0
mov byte [ebp + 4], 1
mov edx, dword [esp + 0x30]
movzx ecx, word [ebp + 6]
push edx
lea eax, [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x24], 0
mov dword [esp + 0x34], 0
call fcn.005814a9
mov al, byte [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
movsx edx, al
push ecx
push edx
push 0x1002f38c
mov byte [esi], al
call fcn.005829f4
add esp, 0x1c
test eax, eax
je 0x57b046
cmp byte [esp + 0x1b], 0
jne 0x57afea
cmp byte [esi], 0x30
je 0x57afff
mov eax, dword [esp + 0x2c]
add eax, 0x1f
cmp esi, eax
jae 0x57afff
inc esi
mov dword [esp + 0x28], esi
mov byte [esp + 0x1b], 1
mov byte [esp + 0x1a], 1
cmp ebx, dword [esp + 0x50]
jbe 0x57b00f
call fcn.00582e92
mov eax, dword [esp + 0x40]
mov esi, 0x10
cmp dword [esp + 0x54], esi
jae 0x57b022
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0x7f
je 0x57b081
cmp ebx, dword [esp + 0x50]
jbe 0x57b033
call fcn.00582e92
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], esi
jae 0x57b041
lea eax, [esp + 0x40]
inc byte [eax + ebx]
jmp 0x57b081
cmp ebx, dword [esp + 0x50]
jbe 0x57b051
call fcn.00582e92
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x57b060
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0
je 0x57b0e3
test di, di
je 0x57b0e3
mov esi, ebp
call fcn.0057c624
cmp ax, di
jne 0x57b0e3
lea edi, [esp + 0x3c]
call fcn.0057c2a4
inc ebx
mov ecx, dword [ebp]
test ecx, ecx
je 0x57b0c5
mov eax, dword [ecx + 0x20]
cmp dword [eax], 0
je 0x57b0ab
mov edx, dword [ecx + 0x30]
cmp dword [edx], 0
jle 0x57b0ab
mov eax, edx
dec dword [eax]
mov ecx, dword [ecx + 0x20]
mov eax, dword [ecx]
lea edx, [eax + 2]
mov dword [ecx], edx
movzx eax, word [eax]
jmp 0x57b0b5
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x57b0c5
mov byte [ebp + 4], 0
jmp 0x57b0d0
mov dword [ebp], 0
mov byte [ebp + 4], 1
mov edi, dword [esp + 0x34]
mov esi, ebp
call fcn.0057d564
test al, al
je 0x57af44
test ebx, ebx
je 0x57b10f
cmp ebx, dword [esp + 0x50]
jbe 0x57b0f2
call fcn.00582e92
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x57b101
lea eax, [esp + 0x40]
cmp byte [eax + ebx], 0
jle 0x57b10a
inc ebx
jmp 0x57b10f
mov byte [esp + 0x1a], 0
mov esi, dword [esp + 0x5c]
mov edi, 0x10
cmp dword [esp + 0x70], edi
jae 0x57b122
lea esi, [esp + 0x5c]
cmp byte [esp + 0x1a], 0
je 0x57b195
test ebx, ebx
jbe 0x57b184
cmp byte [esi], 0x7f
je 0x57b184
sub ebx, 1
je 0x57b157
cmp ebx, dword [esp + 0x50]
jbe 0x57b142
call fcn.00582e92
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], edi
jae 0x57b150
lea eax, [esp + 0x40]
mov dl, byte [esi]
cmp dl, byte [eax + ebx]
jne 0x57b195
test ebx, ebx
jne 0x57b17b
cmp ebx, dword [esp + 0x50]
jbe 0x57b166
call fcn.00582e92
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], edi
jae 0x57b174
lea eax, [esp + 0x40]
mov cl, byte [esi]
cmp cl, byte [eax + ebx]
jl 0x57b195
cmp byte [esi + 1], 0
jle 0x57b129
inc esi
jmp 0x57b129
cmp byte [esp + 0x1b], 0
mov eax, dword [esp + 0x28]
jne 0x57b199
mov byte [eax], 0x30
inc eax
jmp 0x57b199
mov eax, dword [esp + 0x2c]
mov byte [eax], 0
cmp dword [esp + 0x54], edi
jb 0x57b1af
mov edx, dword [esp + 0x40]
push edx
call fcn.005822f1
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
cmp dword [esp + 0x70], edi
jb 0x57b1d7
mov eax, dword [esp + 0x5c]
push eax
call fcn.005822f1
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00582121
add esp, 0x70
ret