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

Disassembly:
sub esp, 0x64
or ecx, 0xffffffff
push ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x6c]
xor eax, eax
push ebp
push esi
mov edx, dword [ecx + 0x18]
push edi
cmp edx, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], eax
jne 0x57f5ee
mov eax, dword [0xc764fc]
test eax, eax
jne 0x57f5ee
mov eax, ecx
mov ecx, dword [esp + 0x7c]
push ecx
push eax
mov edx, dword [eax]
mov dword [esp + 0x40], edx
call fcn.00575b90
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x57f5ee
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
push edx
push 0x69
push ebp
push esi
call fcn.0056e8d0
mov edx, dword [ebp + 0x18]
xor ecx, ecx
test edx, edx
push eax
push ebp
setne cl
push esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
call fcn.00575bf0
add esp, 0x1c
test eax, eax
jne 0x57f5ee
mov eax, dword [esp + 0x18]
test eax, eax
je 0x57ec32
mov edx, esi
push ebp
push edx
call fcn.00561c70
add esp, 8
test eax, eax
jne 0x57f5ee
mov eax, dword [ebp + 4]
shl eax, 2
push eax
call fcn.00557630
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x57f5ee
mov ecx, dword [ebp + 4]
xor ebx, ebx
xor eax, eax
cmp ecx, ebx
jle 0x57ec6d
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0xffffffff
mov edx, dword [ebp + 4]
inc eax
add ecx, 4
cmp eax, edx
jl 0x57ec5c
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x78]
cmp eax, ebx
je 0x57ec89
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x2c], eax
inc eax
mov dword [esp + 0x34], eax
inc eax
mov dword [edx + 0x1c], eax
mov esi, dword [esp + 0x7c]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x1c], eax
mov word [esi + 0x1a], ax
mov eax, dword [edx + 0x1c]
inc eax
mov dword [edx + 0x1c], eax
mov ecx, eax
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x57ecb3
inc ecx
mov dword [edx + 0x1c], ecx
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x57eca8
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x54]
mov dword [esp + 0x14], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x3c], ebx
cmp dword [ecx], ebx
jle 0x57ee07
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 8]
lea edx, [esp + 0x54]
mov ecx, dword [eax + ebx]
push ecx
push edx
call fcn.00573490
add esp, 8
test eax, eax
jne 0x57f5ee
mov eax, dword [ebp + 4]
xor esi, esi
test eax, eax
jle 0x57ed65
xor edi, edi
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 8]
mov edx, dword [ecx + ebx + 4]
mov ecx, dword [eax + edi]
push edx
push ecx
call fcn.00557960
add esp, 8
test eax, eax
je 0x57ed3c
mov eax, dword [ebp + 4]
inc esi
add edi, 0x14
cmp esi, eax
jl 0x57ed0d
jmp 0x57ed65
cmp esi, dword [ebp + 0xc]
jne 0x57ed5a
mov edx, dword [esp + 0x80]
mov dword [esp + 0x14], 1
mov eax, dword [edx + 8]
mov ecx, dword [eax + ebx]
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov dword [eax + esi*4], edx
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x80]
cmp esi, eax
jl 0x57ed9d
mov ecx, dword [edi + 8]
mov edx, dword [ecx + ebx + 4]
push edx
call fcn.00573440
add esp, 4
test eax, eax
je 0x57ee26
mov eax, dword [edi + 8]
mov dword [esp + 0x14], 1
mov ecx, dword [eax + ebx]
mov dword [esp + 0x40], ecx
xor eax, eax
mov al, byte [ebp + 0x1d]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x38]
shl edx, 4
mov ecx, dword [eax + 4]
lea eax, [esi + esi*4]
mov edx, dword [edx + ecx]
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x7c]
push edx
push eax
push 0x17
push ecx
call fcn.00575450
add esp, 0x14
cmp eax, 1
je 0x57f5ee
cmp eax, 2
jne 0x57edef
mov edx, dword [esp + 0x10]
mov dword [edx + esi*4], 0xffffffff
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi]
inc eax
add ebx, 0xc
cmp eax, ecx
mov dword [esp + 0x3c], eax
jl 0x57ecdf
xor ebx, ebx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x3c], ebx
cmp edx, ebx
mov dword [esp + 0x48], ebx
je 0x57eeae
mov eax, dword [esp + 0x14]
test eax, eax
je 0x57ee4c
xor eax, eax
jmp 0x57ee6c
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 8]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*4 + 4]
mov eax, dword [esp + 0x78]
push edx
push 0xbeb498
push eax
call fcn.00557860
add esp, 0xc
jmp 0x57f5ee
mov esi, dword [edx + 4]
xor eax, eax
test esi, esi
jle 0x57ee6c
mov ecx, dword [edx + 8]
mov edi, dword [esp + 0x10]
mov ebx, dword [ecx]
cmp dword [edi + ebx*4], 0
jge 0x57ee6c
inc eax
add ecx, 4
cmp eax, esi
jl 0x57ee5c
cmp eax, dword [edx + 4]
jge 0x57ee75
inc dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov edx, dword [edx + 0x20]
inc ecx
test edx, edx
mov dword [esp + 0x3c], ecx
jne 0x57ee1a
mov eax, ecx
test eax, eax
jle 0x57eeae
mov esi, dword [esp + 0x48]
lea edx, [ecx + esi*4]
push edx
call fcn.00557630
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
je 0x57f5ee
lea ecx, [eax + esi*4]
mov dword [esp + 0x28], ecx
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x57ef41
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x57eed9
xor eax, eax
jmp 0x57eef5
mov edx, dword [esi + 4]
xor eax, eax
test edx, edx
jle 0x57eef5
mov ecx, dword [esi + 8]
mov ebx, dword [ecx]
cmp dword [edi + ebx*4], 0
jge 0x57eef5
inc eax
add ecx, 4
cmp eax, edx
jl 0x57eee5
cmp eax, dword [esi + 4]
jge 0x57ef2a
mov ecx, dword [esp + 0x78]
push esi
push ecx
call fcn.00561350
add esp, 8
test eax, eax
jne 0x57f5ee
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x10]
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x48], eax
mov byte [edx], 1
jmp 0x57ef31
mov eax, dword [esp + 0x3c]
mov byte [eax], 0
mov ecx, dword [esp + 0x3c]
mov esi, dword [esi + 0x20]
inc ecx
test esi, esi
mov dword [esp + 0x3c], ecx
jne 0x57eecd
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x54]
push ecx
push edx
call fcn.00573490
add esp, 8
test eax, eax
jne 0x57f5ee
mov eax, dword [esp + 0x18]
test eax, eax
je 0x57ef7c
mov eax, dword [ebp]
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x4c]
push eax
push ecx
push edx
call fcn.005754e0
add esp, 0xc
mov eax, dword [esp + 0x78]
push eax
call fcn.0056fc60
mov esi, eax
add esp, 4
test esi, esi
je 0x57f5ee
mov ebx, dword [esp + 0x78]
mov al, byte [ebx + 0x13]
test al, al
jne 0x57efa7
push esi
call fcn.0055f300
add esp, 4
xor ecx, ecx
mov cl, byte [ebp + 0x1d]
push ecx
push 1
push ebx
call fcn.005634b0
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x57efea
mov edx, dword [ebp + 0x18]
push edx
call fcn.00573000
push 0
mov edi, eax
mov eax, dword [esp + 0x24]
push 0
push 0
push 0
push eax
push 8
push edi
push ebx
call fcn.0056ff40
push edi
call fcn.0056f070
add esp, 0x28
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
push 0
push ecx
push edx
push ebx
call fcn.0057f640
mov edi, eax
add esp, 0x10
test edi, edi
je 0x57f5ee
mov ebx, dword [esp + 0x1c]
push 0
push ebx
push 0x26
push esi
call fcn.0055d380
push 0
push 0
push 0x3a
push esi
call fcn.0055d380
push edi
call fcn.00581640
mov eax, dword [esp + 0x5c]
add esp, 0x24
test byte [eax + 8], 0x80
je 0x57f057
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0xa0]
test eax, eax
jne 0x57f057
push 0
push 0
push 0x31
push esi
call fcn.0055d380
add esp, 0x10
mov eax, dword [esp + 0x30]
test eax, eax
je 0x57f24c
mov edi, dword [esp + 0x34]
push 0
push edi
push 0x7a
push esi
call fcn.0055d380
mov edx, dword [ebp + 4]
push edx
push edi
push 0x6a
push esi
call fcn.0055d380
mov eax, dword [esp + 0x4c]
push 0
push eax
push 0x7a
push esi
call fcn.0055d380
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x5c]
push ecx
push edx
push 0x6a
push esi
call fcn.0055d380
add esp, 0x40
push 0
push 0
push 0x63
push esi
call fcn.0055d380
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jne 0x57f0e0
push 0
push 0
push 0x61
push esi
call fcn.0055d380
push 0
push 0
push 0x61
push esi
call fcn.0055d380
push ebp
push ebx
push esi
call fcn.00575c60
add esp, 0x2c
push 0
push ebx
push 0x7f
push esi
call fcn.0055d380
push 0
push ebx
push 0x26
push esi
call fcn.0055d380
push 0
push ebx
push 0x2a
push esi
call fcn.0055d380
push 0
push edi
push 0x74
push esi
call fcn.0055d380
mov eax, dword [esp + 0x54]
add esp, 0x40
test eax, eax
je 0x57f12b
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x78]
push eax
push ecx
call fcn.00574a20
add esp, 8
jmp 0x57f139
push 0
push ebx
push 0x26
push esi
call fcn.0055d380
add esp, 0x10
mov eax, dword [ebp + 4]
xor edi, edi
test eax, eax
jle 0x57f1b2
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
cmp edi, dword [ebp + 0xc]
jne 0x57f160
push 0
push 0
push 0x7b
push esi
call fcn.0055d380
add esp, 0x10
jmp 0x57f19f
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
test eax, eax
jge 0x57f181
push edi
push ebx
push 2
push esi
call fcn.0055d380
push edi
push ebp
push esi
call fcn.0057eb00
add esp, 0x1c
jmp 0x57f19f
mov edx, dword [esp + 0x80]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x78]
mov ecx, dword [eax + ecx*4]
push ecx
push edx
call fcn.00574a20
add esp, 8
mov ecx, dword [esp + 0x48]
mov eax, dword [ebp + 4]
inc edi
add ecx, 4
cmp edi, eax
mov dword [esp + 0x48], ecx
jl 0x57f14a
mov eax, dword [ebp + 4]
push 0
push eax
push 0x5d
push esi
call fcn.0055d380
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jne 0x57f1d5
push ebp
push esi
call fcn.0057d430
add esp, 8
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x57f5ee
mov edi, dword [esp + 0x2c]
push 0
push edi
push 0x74
push esi
call fcn.0055d380
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jne 0x57f210
mov edx, dword [esp + 0x1c]
push 0
push edx
push 0x1e
push esi
call fcn.0055d380
add esp, 0x10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push edi
push ebp
push 1
push eax
push 0x69
push ecx
call fcn.0056e9a0
add esp, 0x24
test eax, eax
jne 0x57f5ee
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x57f44f
xor edx, edx
push 0
mov dl, byte [ebp + 0x1d]
push edx
push 0x31
push esi
call fcn.0055d380
mov eax, dword [ebp + 0x14]
push eax
push ebx
push 9
push esi
call fcn.0055d380
mov ecx, dword [ebp + 4]
push ecx
push ebx
push 0x6a
push esi
call fcn.0055d380
mov eax, dword [esp + 0xb8]
mov ecx, 5
add esp, 0x30
cmp eax, ecx
je 0x57f2b2
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], 0
test eax, eax
je 0x57f2ba
cmp byte [eax + 0x18], cl
je 0x57f2b2
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x57f2a4
jmp 0x57f2ba
mov dword [esp + 0x24], 1
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
je 0x57f30b
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x57f2d5
mov edx, dword [esp + 0x28]
cmp byte [ebx + edx], 0
je 0x57f303
xor eax, eax
push 0
mov al, byte [edi + 0x1a]
push eax
push 0x31
push esi
call fcn.0055d380
mov eax, dword [esp + 0x2c]
mov edx, dword [edi + 0x14]
lea ecx, [edi + 0x24]
push 0xfffffffffffffffa
push ecx
lea ecx, [eax + ebx + 1]
push edx
push ecx
push 9
push esi
call fcn.0055d460
add esp, 0x28
mov edi, dword [edi + 0x20]
inc ebx
test edi, edi
jne 0x57f2c3
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x57f332
push 0
push 0
push 0x63
push esi
call fcn.0055d380
push 0
push 0
push 0x61
push esi
mov dword [esp + 0x40], eax
call fcn.0055d380
add esp, 0x20
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
push edx
push ebx
push 0x2d
push esi
call fcn.0055d380
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
je 0x57f36d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x78]
push eax
push ecx
call fcn.00574050
push 0
push 0
push 0x24
push esi
call fcn.0055d380
add esp, 0x18
mov eax, dword [ebp + 4]
xor edi, edi
test eax, eax
jle 0x57f3e6
mov edx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
cmp edi, dword [ebp + 0xc]
jne 0x57f394
push 0
push 0
push 0x7b
push esi
call fcn.0055d380
add esp, 0x10
jmp 0x57f3d3
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
test eax, eax
jge 0x57f3b5
push edi
push ebx
push 2
push esi
call fcn.0055d380
push edi
push ebp
push esi
call fcn.0057eb00
add esp, 0x1c
jmp 0x57f3d3
mov edx, dword [esp + 0x80]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x78]
mov ecx, dword [eax + ecx*4]
push ecx
push edx
call fcn.00574050
add esp, 8
mov ecx, dword [esp + 0x48]
mov eax, dword [ebp + 4]
inc edi
add ecx, 4
cmp edi, eax
mov dword [esp + 0x48], ecx
jl 0x57f37e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push 1
push edx
push edi
push ebx
push ebp
push eax
call fcn.0057e270
mov ecx, dword [esp + 0x58]
push edi
push ebx
push ebp
push esi
push ecx
call fcn.005762c0
mov eax, dword [esp + 0x48]
add esp, 0x34
test eax, eax
je 0x57f432
push 0
push ebx
push 0x5f
push esi
call fcn.0055d380
add esp, 0x10
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
push 0xffffffffffffffff
push 1
push edx
push edi
push ebx
push ebp
push eax
call fcn.0057e970
mov ebx, dword [esp + 0x38]
add esp, 0x1c
mov ecx, dword [esp + 0x38]
test byte [ecx + 8], 0x80
je 0x57f476
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0xa0]
test eax, eax
jne 0x57f476
push 0
push 1
push 0x28
push esi
call fcn.0055d380
add esp, 0x10
mov eax, dword [esp + 0x30]
test eax, eax
je 0x57f519
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x57f4d9
mov eax, dword [ebp + 0x10]
xor edi, edi
test eax, eax
mov dword [esp + 0x48], eax
je 0x57f4cb
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x57f4a9
mov ecx, dword [esp + 0x28]
cmp byte [edi + ecx], 0
je 0x57f4bf
lea edx, [ebx + edi + 1]
push 0
push edx
push 0x1e
push esi
call fcn.0055d380
mov eax, dword [esp + 0x58]
add esp, 0x10
mov eax, dword [eax + 0x20]
inc edi
test eax, eax
mov dword [esp + 0x48], eax
jne 0x57f497
push 0
push ebx
push 0x1e
push esi
call fcn.0055d380
add esp, 0x10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x84]
push eax
push ebp
push 2
push ecx
push 0x69
push edx
call fcn.0056e9a0
add esp, 0x24
test eax, eax
jne 0x57f5ee
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
push edi
push 0
push 0x62
push esi
call fcn.0055d380
push esi
call fcn.0055d510
push eax
push edi
push esi
call fcn.0055d600
mov eax, dword [esp + 0x50]
add esp, 0x20
test eax, eax
jne 0x57f586
mov ebp, dword [ebp + 0x10]
xor edi, edi
test ebp, ebp
je 0x57f576
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x57f55c
mov eax, dword [esp + 0x28]
cmp byte [edi + eax], 0
je 0x57f56e
lea ecx, [ebx + edi + 1]
push 0
push ecx
push 0x1e
push esi
call fcn.0055d380
add esp, 0x10
mov ebp, dword [ebp + 0x20]
inc edi
test ebp, ebp
jne 0x57f54a
push 0
push ebx
push 0x1e
push esi
call fcn.0055d380
add esp, 0x10
jmp 0x57f5a7
mov edx, dword [esp + 0x2c]
push 0
push edx
push 0x1e
push esi
call fcn.0055d380
mov eax, dword [esp + 0x44]
push 0
push eax
push 0x1e
push esi
call fcn.0055d380
add esp, 0x20
mov ecx, dword [esp + 0x38]
test byte [ecx + 8], 0x80
je 0x57f5ee
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0xa0]
test eax, eax
jne 0x57f5ee
mov eax, edx
mov cl, byte [eax + 0x13]
test cl, cl
jne 0x57f5ee
push 0
push 1
push 0x3b
push esi
call fcn.0055d380
push 1
push esi
call fcn.0055e0b0
push 0xfffffffffffffffe
push 0xbebd74
push 0
push esi
call fcn.0055e100
add esp, 0x28
lea ecx, [esp + 0x4c]
push ecx
call fcn.00575510
mov edx, dword [esp + 0x48]
push edx
call fcn.00557660
mov eax, dword [esp + 0x18]
push eax
call fcn.00557660
mov ecx, dword [esp + 0x88]
push ecx
call fcn.005631c0
mov edx, dword [esp + 0x90]
push edx
call fcn.00573160
mov eax, dword [esp + 0x98]
push eax
call fcn.00572bf0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret