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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673865
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x704034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebx]
or dword [esi + 0x84], 1
cmp dword [esi + 8], 0x713100
jne 0x5668a4
push 0x18
call fcn.006206b8
add esp, 4
test eax, eax
je 0x56689f
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x566898
mov ecx, dword [eax]
mov byte [ecx], 0
jmp 0x5668a1
mov ecx, eax
mov byte [ecx], 0
jmp 0x5668a1
xor eax, eax
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push 0
push edi
call fcn.004296dd
mov edi, dword [ebx + 4]
cmp dword [edi + 0x10], 0
je 0x56690c
or dword [esi + 0x84], 2
cmp dword [esi + 0xc], 0x713100
jne 0x5668ff
push 0x18
call fcn.006206b8
add esp, 4
test eax, eax
je 0x5668fa
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x5668f3
mov ecx, dword [eax]
mov byte [ecx], 0
jmp 0x5668fc
mov ecx, eax
mov byte [ecx], 0
jmp 0x5668fc
xor eax, eax
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push 0
push edi
call fcn.004296dd
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp dword [ebx + 0xc], ecx
jle 0x56697e
mov eax, dword [ebx + 0x10]
mov edx, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esi + 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp ecx, edx
jge 0x56693f
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x14], eax
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
jmp 0x566966
mov eax, dword [esi + 0x1c]
cmp edx, eax
jne 0x566950
inc eax
lea ecx, [esi + 0x10]
push eax
call fcn.00559bd0
inc dword [esi + 0x18]
call fcn.00559ca0
mov edx, dword [esi + 0x14]
mov ecx, eax
mov eax, dword [esi + 0x10]
mov dword [eax + edx*4], ecx
inc dword [esi + 0x14]
push 0xffffffffffffffff
push 0
push dword [ebp - 0x18]
call fcn.004296dd
mov ecx, dword [ebp - 0x10]
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebx + 0xc]
jl 0x566916
xor edi, edi
cmp dword [ebx + 0x14], edi
jle 0x566a2f
nop dword [eax]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x28]
cmp dword [esi + 0x24], eax
jne 0x566a16
lea edx, [eax + 1]
mov ecx, eax
mov dword [ebp - 0x18], edx
cmp ecx, edx
jge 0x566a16
mov eax, dword [esi + 0x20]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ecx + ecx]
cmp eax, edx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov edx, 4
lea ecx, [ebp - 0x18]
cmovge ecx, eax
mov eax, 0x684864
cmp dword [ecx], 4
cmovg eax, ecx
xor ecx, ecx
mov eax, dword [eax]
mov dword [esi + 0x28], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006206f9
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x20], edx
test eax, eax
je 0x566a16
mov ecx, dword [esi + 0x24]
shl ecx, 2
push ecx
push eax
push edx
call fcn.00638910
mov eax, dword [ebp - 0x10]
push eax
call fcn.006206eb
add esp, 0x10
mov ecx, dword [esi + 0x24]
inc edi
mov eax, dword [esi + 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [eax + ecx*4], edx
inc dword [esi + 0x24]
cmp edi, dword [ebx + 0x14]
jl 0x566990
xor edi, edi
cmp dword [ebx + 0x1c], edi
jle 0x566adf
nop word [eax + eax]
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x34]
cmp dword [esi + 0x30], eax
jne 0x566ac6
lea edx, [eax + 1]
mov ecx, eax
mov dword [ebp - 0x1c], edx
cmp ecx, edx
jge 0x566ac6
mov eax, dword [esi + 0x2c]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ecx + ecx]
cmp eax, edx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov edx, 4
lea ecx, [ebp - 0x1c]
cmovge ecx, eax
mov eax, 0x684864
cmp dword [ecx], 4
cmovg eax, ecx
xor ecx, ecx
mov eax, dword [eax]
mov dword [esi + 0x34], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006206f9
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x2c], edx
test eax, eax
je 0x566ac6
mov ecx, dword [esi + 0x30]
shl ecx, 2
push ecx
push eax
push edx
call fcn.00638910
mov eax, dword [ebp - 0x10]
push eax
call fcn.006206eb
add esp, 0x10
mov ecx, dword [esi + 0x30]
inc edi
mov eax, dword [esi + 0x2c]
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4], edx
inc dword [esi + 0x30]
cmp edi, dword [ebx + 0x1c]
jl 0x566a40
cmp dword [ebx + 0x24], 0
mov dword [ebp - 0x10], 0
jle 0x566b75
lea edi, [esi + 0x38]
xor esi, esi
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ecx, eax
jge 0x566b0c
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
jmp 0x566b58
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x566b1e
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.00559bd0
inc dword [edi + 8]
push 0x68
call fcn.006206b8
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x566b44
mov ecx, eax
call fcn.00591070
mov edx, eax
jmp 0x566b46
xor edx, edx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + ecx*4], edx
inc dword [edi + 4]
mov ecx, dword [ebx + 0x28]
push edx
add ecx, esi
call fcn.005627e0
mov edx, dword [ebp - 0x10]
add esi, 0x40
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x24]
jl 0x566af5
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x2c], 0
mov dword [ebp - 0x10], 0
jle 0x566c10
lea edi, [esi + 0x48]
xor esi, esi
nop dword [eax + eax]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ecx, eax
jge 0x566ba7
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
jmp 0x566bf3
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x566bb9
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.00559bd0
inc dword [edi + 8]
push 0x28
call fcn.006206b8
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x566bdf
mov ecx, eax
call fcn.005937f0
mov edx, eax
jmp 0x566be1
xor edx, edx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + ecx*4], edx
inc dword [edi + 4]
mov ecx, dword [ebx + 0x30]
push edx
add ecx, esi
call fcn.00564be0
mov edx, dword [ebp - 0x10]
add esi, 0x20
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x2c]
jl 0x566b90
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x34], 0
mov dword [ebp - 0x10], 0
jle 0x566ca6
lea edi, [esi + 0x58]
xor esi, esi
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ecx, eax
jge 0x566c3d
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
jmp 0x566c89
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x566c4f
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.00559bd0
inc dword [edi + 8]
push 0x28
call fcn.006206b8
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x566c75
mov ecx, eax
call fcn.00595010
mov edx, eax
jmp 0x566c77
xor edx, edx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + ecx*4], edx
inc dword [edi + 4]
mov ecx, dword [ebx + 0x38]
push edx
add ecx, esi
call fcn.00565990
mov edx, dword [ebp - 0x10]
add esi, 0x18
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x34]
jl 0x566c26
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x3c], 0
mov dword [ebp - 0x10], 0
jle 0x566d40
lea edi, [esi + 0x68]
xor esi, esi
nop dword [eax]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ecx, eax
jge 0x566cd7
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
jmp 0x566d23
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x566ce9
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.00559bd0
inc dword [edi + 8]
push 0x30
call fcn.006206b8
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x566d0f
mov ecx, eax
call fcn.00592620
mov edx, eax
jmp 0x566d11
xor edx, edx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + ecx*4], edx
inc dword [edi + 4]
mov ecx, dword [ebx + 0x40]
push edx
add ecx, esi
call fcn.00563d30
mov edx, dword [ebp - 0x10]
add esi, 0x48
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x3c]
jl 0x566cc0
mov esi, dword [ebp + 8]
mov edi, dword [ebx + 0x44]
call fcn.00596cb0
cmp edi, eax
je 0x566d95
mov edi, dword [ebx + 0x44]
or dword [esi + 0x84], 0x200
cmp dword [esi + 0x78], 0
jne 0x566d8c
push 0x40
call fcn.006206b8
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x566d80
mov ecx, eax
call fcn.00596a70
jmp 0x566d82
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x78], eax
mov ecx, dword [esi + 0x78]
push edi
call fcn.00596f00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4