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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
mov ebp, dword [eax]
mov dword [esp + 0x20], ebp
mov esi, dword [ebp + 8]
test esi, esi
jne 0x5722f4
cmp dword [ebp + 0x74], esi
jne 0x5722e9
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x5722e9
mov byte [ebp + 0x17], 1
push ebp
call fcn.0054be70
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x24]
mov ebx, eax
test eax, eax
je 0x572a9c
push edi
cmp byte [ebx + 0x60], 0
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x14], edx
je 0x57231b
xor ecx, ecx
mov dword [esp + 0x18], ecx
jmp 0x572404
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x572329
mov ecx, dword [eax]
jmp 0x57232b
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x18], ecx
test ecx, ecx
jle 0x572404
lea esp, [esp]
cmp edi, 1
jne 0x572398
cmp dword [edx + 0x20], str.nth_value
jne 0x572398
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov edx, dword [ebx + 0x50]
inc eax
inc edx
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x57237d
push eax
push edx
push dword [esp + 0x24]
push 0x5d
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x5723ef
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
inc edx
jmp 0x5723d8
mov eax, dword [esp + 0x34]
mov edx, dword [ebx + 0x50]
add eax, edi
mov ecx, dword [esi + 0x74]
add edx, edi
cmp dword [esi + 0x78], ecx
jg 0x5723be
push eax
push edx
push dword [esp + 0x34]
push 0x5d
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x5723ef
mov ebp, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
add edx, edi
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4], 0x5d
mov ecx, dword [esp + 0x18]
inc edi
mov edx, dword [esp + 0x14]
cmp edi, ecx
jl 0x572340
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x58], 0
jne 0x57269e
test dword [edx + 4], 0x1000
je 0x57269e
cmp byte [ebx + 0x11], 0x5a
je 0x57269e
mov edi, dword [esi + 0x74]
cmp dword [esi + 0x78], edi
jg 0x572451
push 0
push 0
push eax
push 0x32
push esi
call fcn.004ffef0
mov edx, dword [esp + 0x48]
add esp, 0x14
mov edi, eax
jmp 0x572484
mov edx, dword [esp + 0x34]
lea eax, [edi + 1]
mov dword [esi + 0x74], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x30], 0
jne 0x5725ec
mov edx, dword [ebx + 0x40]
mov ecx, dword [esi + 0x74]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x5724ad
push 0
push 1
push edx
push 0x55
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x5724e0
mov ebp, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x40]
cmp dword [esi + 0x78], ecx
jg 0x5724ff
push 0
push edx
push dword [esp + 0x3c]
push 0x50
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x572532
mov ebp, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x40]
mov ecx, dword [esi + 0x74]
lea eax, [edx + 2]
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x78], ecx
jg 0x572555
push eax
push 2
push edx
push 0x60
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x572588
mov ebp, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x40]
mov ecx, dword [esi + 0x74]
add edx, 2
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x78], ecx
jg 0x5725b4
push 0
push edx
push eax
push 0x89
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x57267a
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x57267a
push 1
push edx
push 0
push dword [ebx + 0x3c]
push 0x19
push esi
call fcn.0054b580
mov ecx, dword [esi + 0x74]
add esp, 0x18
mov edx, dword [ebx + 0x3c]
cmp dword [esi + 0x78], ecx
jg 0x57261f
push 0
push 0
push edx
push 0x81
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x572652
mov ebp, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x81
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
lea ecx, [edx - 2]
test ecx, ecx
jns 0x57265f
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x57266e
mov eax, 0x5e05ac
jmp 0x572677
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x74]
test edi, edi
jns 0x572684
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x572696
mov eax, 0x5e05ac
jmp 0x572a8d
lea ecx, [edi + edi*4]
jmp 0x572a87
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x5726fb
sub edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x74]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x5726c7
push 0
push 1
push edx
push 0x55
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x572a90
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x572a90
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x10], 0x4d43e0
je 0x572a90
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [ebx + 0x28], eax
je 0x5727f1
mov al, byte [ebp + 0x13]
test al, al
jne 0x57272a
inc dword [ebp + 0x2c]
mov edi, dword [ebp + 0x2c]
jmp 0x572739
dec al
mov byte [ebp + 0x13], al
movzx eax, al
mov edi, dword [ebp + eax*4 + 0x98]
mov edx, dword [ebx + 0x50]
add edx, ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x572759
push edi
push edx
push dword [esp + 0x34]
push 0x5d
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x572788
mov ebp, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x78], edx
jg 0x5727aa
push 1
push 0
push edi
push 0x14
push esi
call fcn.004ffef0
add esp, 0x14
mov dword [esp + 0x1c], eax
jmp 0x5727d9
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
test edi, edi
je 0x5727f1
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x5727f1
movzx eax, al
mov dword [ebp + eax*4 + 0x98], edi
inc byte [ebp + 0x13]
cmp byte [ebx + 0x60], 0
je 0x5728bd
mov eax, dword [ebx + 0x48]
mov edi, dword [esi + 0x74]
mov eax, dword [eax + 0x14]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
cmp edx, 1
jne 0x572837
mov al, byte [ebp + 0x13]
test al, al
jne 0x572822
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x10], eax
jmp 0x572860
dec al
mov byte [ebp + 0x13], al
movzx eax, al
mov eax, dword [ebp + eax*4 + 0x98]
mov dword [esp + 0x10], eax
jmp 0x572860
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x10], eax
cmp edx, ecx
jg 0x572851
add eax, edx
sub ecx, edx
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x1c], ecx
jmp 0x572860
mov eax, dword [ebp + 0x2c]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x10], ecx
mov dword [ebp + 0x2c], eax
mov eax, dword [ebx + 0x48]
push 0
push 0
push dword [esp + 0x18]
push dword [eax + 0x14]
push ebp
call fcn.00524fc0
mov edx, dword [esi + 0x74]
add esp, 0x14
cmp edi, edx
jge 0x5728bd
mov ebp, dword [esp + 0x2c]
mov ecx, edi
test edi, edi
jns 0x57288c
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x57289b
mov ecx, 0x5e05ac
jmp 0x5728a4
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
cmp byte [ecx], 0x5d
jne 0x5728b4
mov eax, dword [ecx + 4]
cmp eax, dword [ebx + 0x30]
jne 0x5728b4
mov dword [ecx + 4], ebp
inc edi
cmp edi, edx
jl 0x572882
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
test byte [eax + 4], 0x20
je 0x572985
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x14]
push dword [eax + 8]
push ebp
call fcn.005276d0
mov edi, eax
add esp, 8
test edi, edi
jne 0x5728e9
mov eax, dword [ebp]
mov edi, dword [eax + 8]
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x572906
push 0
push 0
push 0
push 0x54
push esi
call fcn.004ffef0
add esp, 0x14
mov edx, eax
jmp 0x57293d
mov ebp, dword [esp + 0x24]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x54
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x572953
push edi
push 0xfffffffffffffffe
push eax
call fcn.004eccc0
add esp, 0xc
jmp 0x572985
test edx, edx
jns 0x57295b
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x57297a
push 0xfffffffffffffffe
push edi
push eax
push esi
call fcn.00564cf0
add esp, 0x10
jmp 0x572985
test edi, edi
je 0x572985
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfe
mov eax, dword [esp + 0x30]
mov edx, eax
mov ecx, dword [esi + 0x74]
neg edx
mov edi, dword [ebx + 0x34]
sbb edx, edx
add edx, 0xa1
cmp dword [esi + 0x78], ecx
jg 0x5729b3
push edi
mov edi, dword [esp + 0x14]
push edi
push eax
push edx
push esi
call fcn.004ffef0
add esp, 0x14
jmp 0x5729ec
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [esi]
mov edx, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
je 0x572a06
push edx
push 0xfffffffffffffff8
push eax
call fcn.004eccc0
add esp, 0xc
jmp 0x572a18
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x572a31
mov ecx, dword [esp + 0x18]
movzx edx, cl
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
cmp byte [ebx + 0x60], 0
je 0x572a65
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x572a5a
test edi, edi
je 0x572a65
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x572a65
movzx eax, al
mov dword [ebp + eax*4 + 0x98], edi
inc byte [ebp + 0x13]
jmp 0x572a65
cmp eax, dword [ebp + 0x1c]
jle 0x572a65
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], edi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x572a90
mov edx, dword [esi + 0x74]
jns 0x572a75
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x572a84
mov eax, 0x5e05ac
jmp 0x572a8d
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ebx, dword [ebx + 0x24]
test ebx, ebx
jne 0x572303
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret