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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673315
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x703034]
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], 0x712100
jne 0x5660f4
push 0x18
call fcn.006201c3
add esp, 4
test eax, eax
je 0x5660ef
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x5660e8
mov ecx, dword [eax]
mov byte [ecx], 0
jmp 0x5660f1
mov ecx, eax
mov byte [ecx], 0
jmp 0x5660f1
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 0x56615c
or dword [esi + 0x84], 2
cmp dword [esi + 0xc], 0x712100
jne 0x56614f
push 0x18
call fcn.006201c3
add esp, 4
test eax, eax
je 0x56614a
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x566143
mov ecx, dword [eax]
mov byte [ecx], 0
jmp 0x56614c
mov ecx, eax
mov byte [ecx], 0
jmp 0x56614c
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 0x5661ce
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 0x56618f
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 0x5661b6
mov eax, dword [esi + 0x1c]
cmp edx, eax
jne 0x5661a0
inc eax
lea ecx, [esi + 0x10]
push eax
call fcn.005594f0
inc dword [esi + 0x18]
call fcn.005595c0
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 0x566166
xor edi, edi
cmp dword [ebx + 0x14], edi
jle 0x56627f
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 0x566266
lea edx, [eax + 1]
mov ecx, eax
mov dword [ebp - 0x18], edx
cmp ecx, edx
jge 0x566266
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, 0x683864
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.00620204
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x20], edx
test eax, eax
je 0x566266
mov ecx, dword [esi + 0x24]
shl ecx, 2
push ecx
push eax
push edx
call fcn.00638420
mov eax, dword [ebp - 0x10]
push eax
call fcn.006201f6
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 0x5661e0
xor edi, edi
cmp dword [ebx + 0x1c], edi
jle 0x56632f
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 0x566316
lea edx, [eax + 1]
mov ecx, eax
mov dword [ebp - 0x1c], edx
cmp ecx, edx
jge 0x566316
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, 0x683864
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.00620204
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x2c], edx
test eax, eax
je 0x566316
mov ecx, dword [esi + 0x30]
shl ecx, 2
push ecx
push eax
push edx
call fcn.00638420
mov eax, dword [ebp - 0x10]
push eax
call fcn.006201f6
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 0x566290
cmp dword [ebx + 0x24], 0
mov dword [ebp - 0x10], 0
jle 0x5663c5
lea edi, [esi + 0x38]
xor esi, esi
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ecx, eax
jge 0x56635c
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
jmp 0x5663a8
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x56636e
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.005594f0
inc dword [edi + 8]
push 0x68
call fcn.006201c3
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x566394
mov ecx, eax
call fcn.00590710
mov edx, eax
jmp 0x566396
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.00562030
mov edx, dword [ebp - 0x10]
add esi, 0x40
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x24]
jl 0x566345
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x2c], 0
mov dword [ebp - 0x10], 0
jle 0x566460
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 0x5663f7
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
jmp 0x566443
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x566409
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.005594f0
inc dword [edi + 8]
push 0x28
call fcn.006201c3
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x56642f
mov ecx, eax
call fcn.00592e90
mov edx, eax
jmp 0x566431
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.00564430
mov edx, dword [ebp - 0x10]
add esi, 0x20
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x2c]
jl 0x5663e0
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x34], 0
mov dword [ebp - 0x10], 0
jle 0x5664f6
lea edi, [esi + 0x58]
xor esi, esi
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ecx, eax
jge 0x56648d
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
jmp 0x5664d9
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x56649f
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.005594f0
inc dword [edi + 8]
push 0x28
call fcn.006201c3
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x5664c5
mov ecx, eax
call fcn.005946b0
mov edx, eax
jmp 0x5664c7
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.005651e0
mov edx, dword [ebp - 0x10]
add esi, 0x18
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x34]
jl 0x566476
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x3c], 0
mov dword [ebp - 0x10], 0
jle 0x566590
lea edi, [esi + 0x68]
xor esi, esi
nop dword [eax]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ecx, eax
jge 0x566527
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
lea eax, [ecx + 1]
mov dword [edi + 4], eax
jmp 0x566573
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jne 0x566539
lea eax, [ecx + 1]
mov ecx, edi
push eax
call fcn.005594f0
inc dword [edi + 8]
push 0x30
call fcn.006201c3
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x56655f
mov ecx, eax
call fcn.00591cc0
mov edx, eax
jmp 0x566561
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.00563580
mov edx, dword [ebp - 0x10]
add esi, 0x48
inc edx
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x3c]
jl 0x566510
mov esi, dword [ebp + 8]
mov edi, dword [ebx + 0x44]
call fcn.00596350
cmp edi, eax
je 0x5665e5
mov edi, dword [ebx + 0x44]
or dword [esi + 0x84], 0x200
cmp dword [esi + 0x78], 0
jne 0x5665dc
push 0x40
call fcn.006201c3
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x5665d0
mov ecx, eax
call fcn.00596110
jmp 0x5665d2
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x78], eax
mov ecx, dword [esi + 0x78]
push edi
call fcn.005965a0
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