Function at 0x5696a0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
test dword [0x87ed4c], 0xfffff000
jne 0x5696d0
test dword [0x87ed4c], 0xffffffff
jne 0x56a5b0
call fcn.007663a0
jmp fcn.005696a0
push edi
push esi
push ebp
push ebx
sub esp, 0x90
mov ebp, ecx
mov ebx, edx
mov esi, eax
mov edx, dword [esi + 0x1fc]
mov eax, dword [esi]
test byte [eax + 0xc], 1
mov dword [esp + 0x8c], eax
jne 0x56973d
mov eax, dword [ebx + 8]
mov dword [esp + 0x84], eax
lea ecx, [ebp*8]
sub ecx, ebp
cmp dword [esp + 0xb0], 0
mov dword [esp + 0x80], ecx
lea ecx, [ecx*8]
mov edi, dword [eax + ecx + 0x20]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + ecx + 0x18]
mov dword [esp + 0x88], edi
je 0x56974a
cmp dword [esp + 0xb4], 0
je 0x569769
xor eax, eax
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret
cmp dword [esp + 0xb4], 0
je 0x569769
movsx edi, word [eax]
cmp edi, 1
jle 0x569769
xor eax, eax
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [ecx + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x56978a
cmp dword [ebx + 0x28], 0
je 0x56978a
xor eax, eax
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret
cmp dword [ecx + 0x2c], 0
je 0x56979d
xor eax, eax
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret
cmp dword [ebx + 0x24], 0
je 0x5697ba
test eax, eax
je 0x5697ba
cmp dword [ecx + 0x18], 0
je 0x5697ba
xor eax, eax
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x10]
movsx edi, word [ebx]
mov ebx, dword [esp + 0x78]
test edi, edi
je 0x56973d
test byte [ecx + 6], 1
jne 0x5697db
test eax, eax
je 0x569804
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x84]
movsx edi, word [ebx]
cmp edi, 1
mov ebx, dword [esp + 0x78]
jg 0x56973d
cmp dword [esp + 0xb0], 0
jne 0x56973d
movzx edi, word [ebx + 6]
and edi, 1
mov dword [esp + 0x10], edi
je 0x569828
cmp dword [esp + 0xb4], 0
je 0x569828
xor eax, eax
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret
mov edi, dword [ebx + 0x18]
mov dword [esp + 0x14], edi
test edi, edi
je 0x569846
cmp dword [ecx + 0x18], 0
je 0x569846
xor eax, eax
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret
cmp dword [esp + 0xb0], 0
je 0x569863
cmp dword [ecx + 0x18], 0
je 0x569863
xor eax, eax
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret
test eax, eax
je 0x56987a
cmp dword [ebx + 0xc], 0
je 0x56987a
xor eax, eax
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x84]
test byte [eax + edi + 0x1d], 0x20
jne 0x56973d
cmp dword [ecx + 0x1c], 0
je 0x56996c
cmp dword [ecx + 0x18], 0
je 0x5698ad
xor eax, eax
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret
cmp dword [esp + 0xb0], 0
jne 0x5698c6
cmp dword [esp + 0x10], 0
jne 0x5698c6
movsx edi, word [eax]
cmp edi, 1
je 0x5698d3
xor eax, eax
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret
mov edi, ecx
mov dword [esp + 0x40], ebp
test byte [edi + 6], 5
jne 0x56973d
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x5698f7
movzx ebp, byte [edi + 4]
cmp ebp, 0x71
jne 0x56973d
mov ebp, dword [edi + 8]
test ebp, ebp
je 0x56973d
movsx ebp, word [ebp]
cmp ebp, 1
jne 0x56973d
mov edi, eax
test eax, eax
jne 0x5698d9
mov ebp, dword [esp + 0x40]
cmp dword [esp + 0x14], 0
je 0x56996c
mov eax, dword [esp + 0x14]
mov edi, dword [eax]
mov dword [esp + 0x10], edi
test edi, edi
jle 0x56996c
mov edi, dword [eax + 0xc]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], ebp
lea edx, [eax + eax*4]
movzx ebp, word [esi + edx*4 + 0xe]
test ebp, ebp
je 0x56973d
inc eax
cmp eax, edi
jb 0x56994b
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x84]
mov eax, dword [eax + edi + 0xc]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov dword [esi + 0x1fc], eax
movzx eax, byte [edi + 0x7c]
test eax, eax
jne 0x569a0f
movzx eax, byte [esi + 0x208]
test eax, eax
jne 0x569a0f
mov eax, edi
mov edi, dword [eax + 0xf8]
test edi, edi
je 0x569a0f
push dword [esp + 0x14]
xor eax, eax
push eax
push eax
push eax
push 0x15
mov eax, dword [esp + 0xa0]
push dword [eax + 0xfc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
call edi
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
add esp, 0x18
cmp eax, 1
je 0x56a3ff
test eax, eax
je 0x569a0f
cmp eax, 2
je 0x569a0f
push str.authorizer_malfunction
push esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
call fcn.005860f0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [esi + 4], 1
mov dword [esi + 0x1fc], edx
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x569aaf
mov edi, dword [ebx + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x40], ebp
mov ebp, eax
mov esi, dword [ebx + 0x18]
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x10], esi
xor edx, edx
mov esi, dword [ebx + 0x28]
xor ecx, ecx
mov dword [ebx + 0x18], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x28], edx
mov edx, ebx
call fcn.00572ab0
mov edx, esi
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x84]
mov dword [ebx + 0x28], edx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 8], esi
mov byte [ebx + 4], 0x71
mov dword [ebx + 0x24], 0
test eax, eax
je 0x569a86
mov dword [eax + 0x1c], edi
mov dword [eax + 0x24], 0
jmp 0x569a88
mov eax, edi
mov edx, dword [esp + 0x8c]
mov edi, eax
mov dword [ebx + 0x1c], eax
movzx ecx, byte [edx + 0x1e]
test ecx, ecx
jne 0x56a3ef
mov ebp, dword [ebp + 0x1c]
test ebp, ebp
jne 0x569a2d
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x8c]
mov ecx, dword [edi + edx + 0x18]
mov edx, dword [edi + edx + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x44], ecx
call fcn.004e33d8
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + edi + 0xc]
call fcn.004e33d8
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + edi + 0x10]
call fcn.004e33d8
mov ecx, edi
mov edx, dword [esp + 0x84]
xor eax, eax
mov dword [edx + ecx + 8], eax
mov dword [edx + ecx + 0xc], eax
mov dword [edx + ecx + 0x10], eax
mov dword [edx + ecx + 0x18], eax
mov ecx, dword [edx + ecx + 0x14]
test ecx, ecx
je 0x569b4e
movzx eax, word [ecx + 0x20]
cmp eax, 1
je 0x56a58e
dec eax
mov word [ecx + 0x20], ax
mov edx, edi
mov eax, dword [esp + 0x84]
mov dword [eax + edx + 0x14], 0
mov esi, dword [esp + 0x44]
lea eax, [ebp + 1]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
movsx edx, word [eax]
mov ecx, dword [ebx + 8]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x54], ecx
test ecx, ecx
je 0x56a55c
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x7c]
movzx edx, byte [edi + eax + 0x1d]
mov dword [esp + 0x50], edx
cmp dword [esp + 0x68], 1
jg 0x569baf
mov edx, dword [esp + 0x80]
cmp dword [esp + 0x68], 0
mov eax, dword [esp + 0x54]
lea edi, [eax + edx*8]
jg 0x569d97
jmp 0x569f09
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x68]
movsx edi, word [edx]
mov dword [esp + 0x10], edx
lea eax, [ecx + edi]
lea ecx, [ecx + edi - 1]
movsx edx, word [edx + 2]
cmp ecx, edx
jle 0x569c24
mov edx, dword [esp + 0x54]
lea edi, [eax*8]
sub edi, eax
mov eax, dword [esp + 0x8c]
lea ecx, [edi*8 - 0x30]
call fcn.00490370
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x56a54f
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x10]
call fcn.0044dae0
mov edx, eax
mov ecx, dword [esp + 0x10]
add edx, 0xffffffc0
shr edx, 3
mov eax, 0x24924925
mul edx
inc edx
mov word [ecx + 2], dx
mov eax, dword [esp + 0x10]
movsx edi, word [eax]
lea ecx, [edi - 1]
lea edx, [edi*8 - 8]
sub edx, ecx
shl edx, 3
cmp ecx, dword [esp + 0x18]
jl 0x569cf8
mov edi, dword [esp + 0x68]
lea eax, [edi*8]
sub eax, edi
mov edi, dword [esp + 0x10]
lea eax, [edi + eax*8]
mov dword [esp + 0x44], esi
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x40], ebp
mov ebp, edi
mov esi, dword [edx + ebp + 8]
mov dword [edx + eax - 0x30], esi
dec ecx
mov edi, dword [edx + ebp + 0xc]
mov dword [edx + eax - 0x2c], edi
mov esi, dword [edx + ebp + 0x10]
mov dword [edx + eax - 0x28], esi
mov edi, dword [edx + ebp + 0x14]
mov dword [edx + eax - 0x24], edi
mov esi, dword [edx + ebp + 0x18]
mov dword [edx + eax - 0x20], esi
mov edi, dword [edx + ebp + 0x1c]
mov dword [edx + eax - 0x1c], edi
mov esi, dword [edx + ebp + 0x20]
mov dword [edx + eax - 0x18], esi
mov edi, dword [edx + ebp + 0x24]
mov dword [edx + eax - 0x14], edi
mov esi, dword [edx + ebp + 0x28]
mov dword [edx + eax - 0x10], esi
mov edi, dword [edx + ebp + 0x2c]
mov dword [edx + eax - 0xc], edi
mov esi, dword [edx + ebp + 0x30]
mov dword [edx + eax - 8], esi
mov edi, dword [edx + ebp + 0x34]
mov dword [edx + eax - 4], edi
mov esi, dword [edx + ebp + 0x38]
mov dword [edx + eax], esi
mov edi, dword [edx + ebp + 0x3c]
mov dword [edx + eax + 4], edi
add edx, 0xffffffc8
cmp ecx, ebx
jge 0x569c6a
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
movsx edi, word [eax]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x10]
lea edx, [eax - 1]
and edx, 0xffff
add edx, edi
mov edi, dword [esp + 0x80]
mov word [ecx], dx
lea ecx, [ecx + edi*8 + 0x40]
lea edx, [eax*8]
sub edx, eax
lea eax, [edx*8 - 0x38]
push eax
push 0
push ecx
call fcn.00766740
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
lea edx, [ebp*8 + 8]
sub edx, ecx
shl edx, 3
add eax, ebp
cmp ecx, eax
jge 0x569d73
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x40], ebp
mov dword [edx + ebx + 0x20], 0xffffffff
add edx, 0x38
inc ecx
cmp ecx, eax
jl 0x569d5b
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x8c]
mov dword [ebx + 8], eax
movzx ecx, byte [edx + 0x1e]
test ecx, ecx
jne 0x56a3c8
mov edx, dword [esp + 0x80]
lea edi, [eax + edx*8]
xor eax, eax
pxor xmm0, xmm0
mov dword [esp + 0x70], eax
mov dword [esp + 0x44], esi
mov esi, eax
mov dword [esp + 0x78], ebx
mov ebx, eax
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x8c]
mov edx, dword [esp + 0x70]
mov ecx, dword [edx + edi + 0x28]
mov dword [esp + 0x74], ecx
test ecx, ecx
je 0x569e3a
mov edx, ecx
mov ecx, dword [edx + 4]
mov edx, dword [edx]
test ecx, ecx
jle 0x569e28
mov eax, ebx
mov dword [esp + 0x64], esi
mov esi, eax
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x74]
mov eax, dword [edx + esi*8]
test eax, eax
je 0x569e1b
cmp eax, dword [ebp + 0xf0]
jb 0x56a540
cmp eax, dword [ebp + 0xf4]
jae 0x56a540
mov edx, dword [ebp + 0xec]
mov dword [eax], edx
dec dword [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
inc esi
cmp esi, ecx
jl 0x569de3
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov eax, ebp
call fcn.004e33d8
mov edx, dword [esp + 0x74]
mov eax, ebp
call fcn.004e33d8
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
pxor xmm0, xmm0
mov eax, dword [edx + ecx + 8]
mov dword [ecx + edi + 8], eax
mov eax, dword [edx + ecx + 0xc]
mov dword [ecx + edi + 0xc], eax
mov eax, dword [edx + ecx + 0x10]
mov dword [ecx + edi + 0x10], eax
mov eax, dword [edx + ecx + 0x14]
mov dword [ecx + edi + 0x14], eax
mov eax, dword [edx + ecx + 0x18]
mov dword [ecx + edi + 0x18], eax
mov eax, dword [edx + ecx + 0x1c]
mov dword [ecx + edi + 0x1c], eax
mov eax, dword [edx + ecx + 0x20]
mov dword [ecx + edi + 0x20], eax
mov eax, dword [edx + ecx + 0x24]
mov dword [ecx + edi + 0x24], eax
mov eax, dword [edx + ecx + 0x28]
mov dword [ecx + edi + 0x28], eax
mov eax, dword [edx + ecx + 0x2c]
mov dword [ecx + edi + 0x2c], eax
mov eax, dword [edx + ecx + 0x30]
mov dword [ecx + edi + 0x30], eax
mov eax, dword [edx + ecx + 0x34]
mov dword [ecx + edi + 0x34], eax
mov eax, dword [edx + ecx + 0x38]
mov dword [ecx + edi + 0x38], eax
mov eax, dword [edx + ecx + 0x3c]
mov dword [ecx + edi + 0x3c], eax
lea eax, [edx + ecx + 0x17]
and eax, 0xfffffff0
movq qword [edx + ecx + 8], xmm0
mov dword [edx + ecx + 0x10], ebx
mov word [edx + ecx + 0x14], bx
mov byte [edx + ecx + 0x16], bl
movq qword [edx + ecx + 0x28], xmm0
movq qword [edx + ecx + 0x30], xmm0
movq qword [edx + ecx + 0x38], xmm0
movaps xmmword [eax], xmm0
movaps xmmword [eax + 0x10], xmm0
mov edx, ecx
add edx, 0x38
mov dword [esp + 0x70], edx
inc esi
cmp esi, dword [esp + 0x68]
jl 0x569db8
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x50]
mov byte [edi + 0x1d], al
mov edi, dword [ebx]
cmp dword [edi], 0
jle 0x56a539
xor eax, eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x40], ebp
mov ebp, eax
mov edx, dword [edi + 0xc]
lea esi, [ebp + ebp*4]
cmp dword [edx + esi*4 + 4], 0
je 0x56a4da
inc ebp
cmp ebp, dword [edi]
jl 0x569f2b
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
mov edi, dword [ebx]
mov edx, dword [esi]
test edi, edi
je 0x569fa4
cmp dword [edi], 0
jle 0x569fa4
xor eax, eax
mov dword [esp + 0x44], esi
mov esi, edx
mov dword [esp + 0x78], ebx
mov ebx, eax
mov dword [esp + 0x40], ebp
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x8c]
lea ebp, [ebx + ebx*4]
mov edx, dword [ecx + ebp*4]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xc], esi
call fcn.0056b390
mov ecx, dword [edi + 0xc]
mov dword [ecx + ebp*4], eax
inc ebx
cmp ebx, dword [edi]
jl 0x569f6d
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
cmp dword [esp + 0xb0], 0
je 0x56a024
mov edx, dword [ebx + 0x10]
mov edi, dword [esi]
test edx, edx
je 0x56a007
cmp dword [edx], 0
jle 0x56a007
xor eax, eax
mov dword [esp + 0x44], esi
mov esi, eax
mov dword [esp + 0x78], ebx
mov ebx, edx
mov dword [esp + 0x40], ebp
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x8c]
lea ebp, [esi + esi*4]
mov edx, dword [ecx + ebp*4]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xc], edi
call fcn.0056b390
mov ecx, dword [ebx + 0xc]
mov dword [ecx + ebp*4], eax
inc esi
cmp esi, dword [ebx]
jl 0x569fce
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
mov edi, dword [esi]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [ebx + 0x14]
mov dword [esp + 0xc], edi
call fcn.0056b390
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x56a476
mov dword [ebx + 0x18], eax
mov dword [esi + 0x18], 0
mov edx, dword [esi + 0xc]
test edx, edx
je 0x56a05c
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], 0
xor ecx, ecx
call fcn.0044cfe0
mov dword [esp + 0x3c], eax
jmp 0x56a062
xor eax, eax
mov dword [esp + 0x3c], eax
cmp dword [esp + 0xb4], 0
je 0x56a321
mov edx, dword [ebx + 0xc]
mov edi, eax
mov ecx, dword [esp + 0x88]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0xc], edi
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x8c]
call fcn.0056b390
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x8c]
mov edx, dword [esi + 0x14]
mov dword [esp + 0xc], 0
xor ecx, ecx
call fcn.0044cfe0
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x34], eax
test eax, eax
je 0x56a453
cmp dword [esp + 0x30], 0
je 0x56a44a
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], 0
mov edx, 0x45
xor ecx, ecx
call fcn.004e34a0
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], edi
call fcn.004e3960
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x14], eax
mov edx, dword [esi + 0x10]
mov dword [esp + 0x5c], edx
test edx, edx
je 0x56a312
mov eax, dword [esp + 0x8c]
movzx edx, byte [eax + 0x1e]
test edx, edx
jne 0x56a312
movzx edx, byte [eax + 0xe2]
test edx, edx
je 0x56a188
movzx edx, word [eax + 0xe0]
cmp edx, 0x10
jl 0x56a188
mov edx, dword [eax + 0xec]
mov dword [esp + 0x24], edx
test edx, edx
je 0x56a188
mov eax, edx
mov edx, dword [eax]
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0xe4]
mov edi, dword [eax + 0xe8]
mov dword [eax + 0xec], edx
inc ecx
cmp ecx, edi
cmovge edi, ecx
mov dword [eax + 0xe4], ecx
mov dword [eax + 0xe8], edi
jmp 0x56a1a8
mov eax, 0x10
call fcn.0041ebd4
mov dword [esp + 0x24], eax
cmp dword [esp + 0x24], 0
jne 0x56a1a8
mov eax, dword [esp + 0x8c]
mov byte [eax + 0x1e], 1
cmp dword [esp + 0x24], 0
je 0x56a312
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], 0
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov edx, dword [eax]
lea edx, [edx + edx*4]
shl edx, 2
mov eax, dword [esp + 0x8c]
call fcn.004a76c0
mov edx, eax
mov ecx, edi
mov dword [ecx + 0xc], edx
test edx, edx
je 0x56a437
mov ecx, dword [esp + 0x5c]
cmp dword [ecx], 0
mov edi, dword [ecx + 0xc]
jle 0x56a318
xor eax, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x78], ebx
mov ebx, eax
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x8c]
mov edx, dword [edi]
mov dword [esp + 0xc], 0
xor ecx, ecx
call fcn.0044cfe0
mov edx, dword [esp + 0x58]
mov dword [edx], eax
mov esi, dword [edi + 4]
test esi, esi
je 0x56a430
movsx edx, byte [esi]
mov ebp, esi
test edx, edx
je 0x56a24b
inc ebp
movsx edx, byte [ebp]
test edx, edx
jne 0x56a242
mov eax, dword [esp + 0x8c]
sub ebp, esi
and ebp, 0x3fffffff
inc ebp
mov edx, ebp
call fcn.004a76c0
test eax, eax
je 0x56a279
push ebp
push esi
push eax
mov dword [esp + 0x54], eax
call fcn.007666b0
mov eax, dword [esp + 0x54]
add esp, 0xc
mov edx, dword [esp + 0x58]
mov dword [edx + 4], eax
mov esi, dword [edi + 8]
test esi, esi
je 0x56a429
movsx edx, byte [esi]
mov ebp, esi
test edx, edx
je 0x56a29d
inc ebp
movsx edx, byte [ebp]
test edx, edx
jne 0x56a294
mov eax, dword [esp + 0x8c]
sub ebp, esi
and ebp, 0x3fffffff
inc ebp
mov edx, ebp
call fcn.004a76c0
test eax, eax
je 0x56a2cb
push ebp
push esi
push eax
mov dword [esp + 0x58], eax
call fcn.007666b0
mov eax, dword [esp + 0x58]
add esp, 0xc
mov esi, dword [esp + 0x58]
mov dword [esi + 8], eax
inc ebx
movzx edx, byte [edi + 0xc]
mov byte [esi + 0xc], dl
mov edx, dword [esp + 0x5c]
mov byte [esi + 0xd], 0
movzx ecx, word [edi + 0xe]
mov word [esi + 0xe], cx
movzx ebp, word [edi + 0x10]
mov word [esi + 0x10], bp
add esi, 0x14
add edi, 0x14
cmp ebx, dword [edx]
mov dword [esp + 0x58], esi
jl 0x56a210
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
jmp 0x56a318
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x10], eax
jmp 0x56a39e
mov edi, dword [esi]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edi
call fcn.0056b390
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x2c], 0
je 0x56a469
cmp dword [esp + 0x3c], 0
je 0x56a460
mov edi, eax
mov eax, dword [esp + 0x8c]
mov dword [ebx + 0xc], edi
mov edx, 0x45
xor ecx, ecx
mov dword [esp + 0xc], 0
call fcn.004e34a0
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xc], edi
call fcn.004e3960
mov eax, dword [esp + 0x28]
mov dword [ebx + 0xc], eax
movzx eax, word [esi + 6]
and eax, 1
or word [ebx + 6], ax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x56a3ba
mov dword [ebx + 0x28], eax
mov dword [esi + 0x28], 0
mov ebx, dword [ebx + 0x1c]
mov esi, dword [esi + 0x1c]
test ebx, ebx
jne 0x569b59
cmp dword [esp + 0x1c], 0
je 0x56a3ef
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x1c]
call fcn.004ce330
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x1c]
call fcn.004e33d8
mov eax, 1
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret
push str.not_authorized
push esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
call fcn.005860f0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [esi + 4], 0x17
jmp 0x569a0f
xor eax, eax
jmp 0x56a2cb
xor eax, eax
jmp 0x56a279
mov eax, dword [esp + 0x8c]
mov edx, ecx
call fcn.004e33d8
jmp 0x56a312
mov dword [esp + 0x38], eax
jmp 0x56a109
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
jmp 0x56a109
mov dword [esp + 0x28], eax
jmp 0x56a397
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
jmp 0x56a397
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x56a039
mov edi, dword [esi]
cmp dword [edx], 0
jle 0x56a039
xor eax, eax
mov dword [esp + 0x44], esi
mov esi, eax
mov dword [esp + 0x78], ebx
mov ebx, edx
mov dword [esp + 0x40], ebp
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x8c]
lea ebp, [esi + esi*4]
mov edx, dword [ecx + ebp*4]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0xc], edi
call fcn.0056b390
mov ecx, dword [ebx + 0xc]
mov dword [ecx + ebp*4], eax
inc esi
cmp esi, dword [ebx]
jl 0x56a49e
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x40]
jmp 0x56a039
mov ecx, dword [edx + esi*4 + 8]
test ecx, ecx
je 0x569f3d
movsx edx, byte [ecx]
mov ebx, ecx
test edx, edx
je 0x56a4f7
inc ebx
movsx edx, byte [ebx]
test edx, edx
jne 0x56a4ef
mov eax, dword [esp + 0x8c]
sub ebx, ecx
and ebx, 0x3fffffff
inc ebx
mov dword [esp + 0x20], ecx
mov edx, ebx
call fcn.004a76c0
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x56a52d
push ebx
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.007666b0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [edi + 0xc]
mov dword [edx + esi*4 + 4], eax
jmp 0x569f3d
mov edx, dword [esi]
jmp 0x569f56
call fcn.004c69c4
mov ecx, dword [edi + 4]
mov edx, dword [edi]
jmp 0x569e1b
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
jmp 0x569d73
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], 0
xor edx, edx
xor ecx, ecx
call fcn.005569f0
mov dword [esp + 0x54], eax
mov dword [ebx + 8], eax
test eax, eax
je 0x56a3c8
xor eax, eax
mov dword [esp + 0x50], eax
jmp 0x569b8a
mov eax, dword [esi + 0x1a8]
test eax, eax
cmovne esi, eax
mov edx, dword [esi + 0x218]
mov dword [ecx + 0x48], edx
mov dword [esi + 0x218], ecx
jmp 0x569b3d
push edi
push esi
push ebp
push ebx
sub esp, 0x84
mov edi, ecx
mov esi, edx
mov ebp, eax
mov eax, dword [ebp + 0x1fc]
mov dword [esp + 0x1c], eax
mov ebx, dword [ebp]
test byte [ebx + 0xc], 1
jne 0x56a611
mov eax, dword [esi + 8]
mov dword [esp + 0x7c], eax
lea edx, [edi*8]
sub edx, edi
mov dword [esp + 0x74], edx
shl edx, 3
mov dword [esp + 0x78], edx
mov ecx, dword [eax + edx + 0x20]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + edx + 0x18]
cmp dword [esp + 0xa4], 0
je 0x56a61e
cmp dword [esp + 0xa8], 0
je 0x56a63d
xor eax, eax
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
cmp dword [esp + 0xa8], 0
je 0x56a63d
movsx ecx, word [eax]
cmp ecx, 1
jle 0x56a63d
xor eax, eax
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, dword [edx + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x28]
test eax, eax
je 0x56a65e
cmp dword [esi + 0x28], 0
je 0x56a65e
xor eax, eax
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
cmp dword [edx + 0x2c], 0
je 0x56a671
xor eax, eax
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
cmp dword [esi + 0x24], 0
je 0x56a68e
test eax, eax
je 0x56a68e
cmp dword [edx + 0x18], 0
je 0x56a68e
xor eax, eax
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0x70], esi
mov ecx, dword [esp + 0x10]
movsx esi, word [ecx]
test esi, esi
mov esi, dword [esp + 0x70]
je 0x56a611
test byte [edx + 6], 1
jne 0x56a6af
test eax, eax
je 0x56a6d5
mov dword [esp + 0x70], esi
mov ecx, dword [esp + 0x7c]
movsx esi, word [ecx]
cmp esi, 1
mov esi, dword [esp + 0x70]
jg 0x56a611
cmp dword [esp + 0xa4], 0
jne 0x56a611
movzx ecx, word [esi + 6]
and ecx, 1
mov dword [esp + 0x10], ecx
je 0x56a6f9
cmp dword [esp + 0xa8], 0
je 0x56a6f9
xor eax, eax
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x56a717
cmp dword [edx + 0x18], 0
je 0x56a717
xor eax, eax
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
cmp dword [esp + 0xa4], 0
je 0x56a734
cmp dword [edx + 0x18], 0
je 0x56a734
xor eax, eax
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
test eax, eax
je 0x56a74b
cmp dword [esi + 0xc], 0
je 0x56a74b
xor eax, eax
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
test byte [eax + ecx + 0x1d], 0x20
jne 0x56a611
cmp dword [edx + 0x1c], 0
je 0x56a82b
cmp dword [edx + 0x18], 0
je 0x56a77b
xor eax, eax
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
cmp dword [esp + 0xa4], 0
jne 0x56a794
cmp dword [esp + 0x10], 0
jne 0x56a794
movsx ecx, word [eax]
cmp ecx, 1
je 0x56a7a1
xor eax, eax
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
mov ecx, edx
mov dword [esp + 0x34], edi
test byte [ecx + 6], 5
jne 0x56a611
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x56a7c5
movzx edi, byte [ecx + 4]
cmp edi, 0x71
jne 0x56a611
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x56a611
movsx ecx, word [ecx]
cmp ecx, 1
jne 0x56a611
mov ecx, eax
test eax, eax
jne 0x56a7a7
mov edi, dword [esp + 0x34]
cmp dword [esp + 0x14], 0
je 0x56a82b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
test ecx, ecx
jle 0x56a82b
mov ecx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], edi
mov ebp, ecx
mov ecx, dword [esp + 0x10]
lea edi, [eax + eax*4]
movzx edi, word [ebp + edi*4 + 0xe]
test edi, edi
je 0x56a611
inc eax
cmp eax, ecx
jb 0x56a80e
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + ecx + 0xc]
mov dword [esp + 0x18], eax
mov dword [ebp + 0x1fc], eax
movzx ecx, byte [ebx + 0x7c]
test ecx, ecx
jne 0x56a8ab
movzx eax, byte [ebp + 0x208]
test eax, eax
jne 0x56a8ab
mov ecx, dword [ebx + 0xf8]
test ecx, ecx
je 0x56a8ab
push dword [esp + 0x18]
xor eax, eax
push eax
push eax
push eax
push 0x15
push dword [ebx + 0xfc]
mov dword [esp + 0x28], edx
call ecx
mov edx, dword [esp + 0x28]
add esp, 0x18
cmp eax, 1
je 0x56b1ea
test eax, eax
je 0x56a8ab
cmp eax, 2
je 0x56a8ab
push str.authorizer_malfunction
push ebp
mov dword [esp + 0x18], edx
call fcn.005860f0
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [ebp + 4], 1
mov eax, dword [esp + 0x1c]
mov dword [ebp + 0x1fc], eax
mov edx, dword [edx + 0x1c]
test edx, edx
je 0x56a94a
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], edi
mov ebp, eax
mov edi, edx
mov ebx, dword [esi + 0x18]
mov dword [esp + 0x10], ebx
mov ebx, dword [esi + 0x28]
xor ecx, ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x28], ecx
mov eax, dword [esp + 0x64]
mov edx, esi
call fcn.00572ab0
mov dword [esi + 0x28], ebx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x18], ecx
mov ebx, dword [esp + 0x7c]
mov dword [esi + 8], ebx
mov byte [esi + 4], 0x71
mov dword [esi + 0x24], 0
test eax, eax
je 0x56a922
mov dword [eax + 0x1c], ebp
mov dword [eax + 0x24], 0
jmp 0x56a924
mov eax, ebp
mov ebp, eax
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x64]
movzx ebx, byte [ecx + 0x1e]
test ebx, ebx
jne 0x56b1da
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x56a8d3
mov ebx, ecx
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + ecx + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
mov eax, ebx
mov edx, dword [edx + ecx + 8]
call fcn.004e33d8
mov eax, ebx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + edx + 0xc]
call fcn.004e33d8
mov eax, ebx
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + edx + 0x10]
call fcn.004e33d8
xor eax, eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [edx + ecx + 8], eax
mov dword [edx + ecx + 0xc], eax
mov dword [edx + ecx + 0x10], eax
mov dword [edx + ecx + 0x18], eax
mov eax, dword [edx + ecx + 0x14]
test eax, eax
je 0x56a9d1
movzx edx, word [eax + 0x20]
cmp edx, 1
je 0x56b36c
dec edx
mov word [eax + 0x20], dx
mov edx, ecx
mov eax, dword [esp + 0x7c]
mov dword [eax + edx + 0x14], 0
lea eax, [edi + 1]
mov dword [esp + 0x18], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x34], edi
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0xa8]
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 8]
mov dword [esp + 0x6c], edx
movsx ecx, word [edx]
mov dword [esp + 0x68], ecx
mov edi, dword [esi + 8]
mov dword [esp + 0x4c], edi
test edi, edi
je 0x56b33d
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
movzx edx, byte [edi + eax + 0x1d]
mov dword [esp + 0x48], edx
cmp dword [esp + 0x68], 1
jg 0x56aa3b
mov eax, dword [esp + 0x4c]
lea edi, [eax + ebx*8]
cmp dword [esp + 0x68], 0
jg 0x56ac02
jmp 0x56ad3c
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
movsx edi, word [eax]
mov ecx, dword [esp + 0x68]
lea edx, [ecx + edi]
lea ecx, [ecx + edi - 1]
movsx eax, word [eax + 2]
cmp ecx, eax
jle 0x56aaaa
lea edi, [edx*8]
sub edi, edx
lea ecx, [edi*8 - 0x30]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x4c]
call fcn.00490370
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x56b330
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x10]
call fcn.0044dae0
mov edx, eax
add edx, 0xffffffc0
shr edx, 3
mov eax, 0x24924925
mul edx
inc edx
mov ecx, dword [esp + 0x10]
mov word [ecx + 2], dx
mov eax, dword [esp + 0x10]
movsx edi, word [eax]
lea ecx, [edi - 1]
lea edx, [edi*8 - 8]
sub edx, ecx
shl edx, 3
cmp ecx, dword [esp + 0x18]
jl 0x56ab79
mov edi, dword [esp + 0x68]
lea eax, [edi*8]
sub eax, edi
mov edi, dword [esp + 0x10]
lea eax, [edi + eax*8]
mov dword [esp + 0x70], esi
mov ebp, edi
mov ebx, dword [esp + 0x18]
mov esi, dword [edx + ebp + 8]
mov dword [edx + eax - 0x30], esi
mov edi, dword [edx + ebp + 0xc]
mov dword [edx + eax - 0x2c], edi
mov esi, dword [edx + ebp + 0x10]
mov dword [edx + eax - 0x28], esi
mov edi, dword [edx + ebp + 0x14]
mov dword [edx + eax - 0x24], edi
mov esi, dword [edx + ebp + 0x18]
mov dword [edx + eax - 0x20], esi
mov edi, dword [edx + ebp + 0x1c]
mov dword [edx + eax - 0x1c], edi
mov esi, dword [edx + ebp + 0x20]
mov dword [edx + eax - 0x18], esi
mov edi, dword [edx + ebp + 0x24]
mov dword [edx + eax - 0x14], edi
mov esi, dword [edx + ebp + 0x28]
mov dword [edx + eax - 0x10], esi
mov edi, dword [edx + ebp + 0x2c]
mov dword [edx + eax - 0xc], edi
mov esi, dword [edx + ebp + 0x30]
mov dword [edx + eax - 8], esi
mov edi, dword [edx + ebp + 0x34]
mov dword [edx + eax - 4], edi
mov esi, dword [edx + ebp + 0x38]
mov dword [edx + eax], esi
mov edi, dword [edx + ebp + 0x3c]
mov dword [edx + eax + 4], edi
dec ecx
add edx, 0xffffffc8
cmp ecx, ebx
jge 0x56aae8
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0xa8]
mov eax, dword [esp + 0x10]
movsx edi, word [eax]
mov eax, dword [esp + 0x68]
lea edx, [eax - 1]
and edx, 0xffff
add edx, edi
mov ecx, dword [esp + 0x10]
mov word [ecx], dx
lea edx, [ecx + ebx*8 + 0x40]
lea edi, [eax*8]
sub edi, eax
lea eax, [edi*8 - 0x38]
push eax
push 0
push edx
call fcn.00766740
add esp, 0xc
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
lea ecx, [eax*8 + 8]
sub ecx, edi
shl ecx, 3
mov edx, dword [esp + 0x68]
add eax, edx
cmp edi, eax
jge 0x56abe8
mov edx, dword [esp + 0x10]
mov dword [ecx + edx + 0x20], 0xffffffff
add ecx, 0x38
inc edi
cmp edi, eax
jl 0x56abd1
mov ebp, dword [esp + 0xa8]
mov eax, dword [esp + 0x10]
mov dword [esi + 8], eax
mov edx, dword [esp + 0x64]
movzx ecx, byte [edx + 0x1e]
test ecx, ecx
jne 0x56b329
lea edi, [eax + ebx*8]
xor edx, edx
mov dword [esp + 0x70], esi
mov ebp, edx
mov ebx, edx
mov esi, dword [ebp + edi + 0x28]
test esi, esi
je 0x56ac8e
mov eax, dword [esi + 4]
mov edx, dword [esi]
test eax, eax
jle 0x56ac7a
xor ecx, ecx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov ebx, ecx
mov ebp, dword [esp + 0x64]
mov edi, dword [edx + ebx*8]
test edi, edi
je 0x56ac69
cmp edi, dword [ebp + 0xf0]
jb 0x56b318
cmp edi, dword [ebp + 0xf4]
jae 0x56b318
mov edx, dword [ebp + 0xec]
mov dword [edi], edx
mov dword [ebp + 0xec], edi
dec dword [ebp + 0xe4]
mov eax, dword [esi + 4]
mov edx, dword [esi]
inc ebx
cmp ebx, eax
jl 0x56ac31
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x64]
call fcn.004e33d8
mov eax, dword [esp + 0x64]
mov edx, esi
call fcn.004e33d8
xor edx, edx
mov ecx, dword [esp + 0x6c]
lea eax, [ecx + ebp + 8]
mov esi, dword [eax]
mov dword [ebp + edi + 8], esi
mov ecx, dword [eax + 4]
mov dword [ebp + edi + 0xc], ecx
mov esi, dword [eax + 8]
mov dword [ebp + edi + 0x10], esi
mov ecx, dword [eax + 0xc]
mov dword [ebp + edi + 0x14], ecx
mov esi, dword [eax + 0x10]
mov dword [ebp + edi + 0x18], esi
mov ecx, dword [eax + 0x14]
mov dword [ebp + edi + 0x1c], ecx
mov esi, dword [eax + 0x18]
mov dword [ebp + edi + 0x20], esi
mov ecx, dword [eax + 0x1c]
mov dword [ebp + edi + 0x24], ecx
mov esi, dword [eax + 0x20]
mov dword [ebp + edi + 0x28], esi
mov ecx, dword [eax + 0x24]
mov dword [ebp + edi + 0x2c], ecx
mov esi, dword [eax + 0x28]
mov dword [ebp + edi + 0x30], esi
mov ecx, dword [eax + 0x2c]
mov dword [ebp + edi + 0x34], ecx
mov esi, dword [eax + 0x30]
mov dword [ebp + edi + 0x38], esi
mov ecx, dword [eax + 0x34]
mov dword [ebp + edi + 0x3c], ecx
mov ecx, 0x38
mov dword [eax + ecx - 4], edx
mov dword [eax + ecx - 8], edx
mov dword [eax + ecx - 0xc], edx
mov dword [eax + ecx - 0x10], edx
mov dword [eax + ecx - 0x14], edx
mov dword [eax + ecx - 0x18], edx
mov dword [eax + ecx - 0x1c], edx
sub ecx, 0x1c
jne 0x56acfe
add ebp, 0x38
inc ebx
cmp ebx, dword [esp + 0x68]
jl 0x56ac0c
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0xa8]
mov eax, dword [esp + 0x48]
mov byte [edi + 0x1d], al
mov edi, dword [esi]
cmp dword [edi], 0
jle 0x56b30d
xor eax, eax
mov dword [esp + 0x70], esi
mov ebp, eax
mov edx, dword [edi + 0xc]
lea esi, [ebp + ebp*4]
cmp dword [edx + esi*4 + 4], 0
je 0x56b2b1
inc ebp
cmp ebp, dword [edi]
jl 0x56ad56
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0xa8]
mov edi, dword [esi]
mov eax, dword [esp + 0x44]
mov edx, dword [eax]
test edi, edi
je 0x56adce
cmp dword [edi], 0
jle 0x56adce
xor eax, eax
mov dword [esp + 0x70], esi
mov ebx, eax
mov ebp, edx
lea esi, [ebx + ebx*4]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0xc], ebp
mov eax, dword [esp + 0x64]
mov edx, dword [ecx + esi*4]
mov ecx, dword [esp + 0x80]
call fcn.0056b390
mov ecx, dword [edi + 0xc]
mov dword [ecx + esi*4], eax
inc ebx
cmp ebx, dword [edi]
jl 0x56ad97
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0xa8]
cmp dword [esp + 0xa4], 0
je 0x56ae4c
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x44]
mov edx, dword [edx]
test eax, eax
je 0x56ae32
cmp dword [eax], 0
jle 0x56ae32
xor edi, edi
mov dword [esp + 0x70], esi
mov ebp, eax
mov ebx, edx
lea esi, [edi + edi*4]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x64]
mov edx, dword [ecx + esi*4]
mov ecx, dword [esp + 0x80]
call fcn.0056b390
mov ecx, dword [ebp + 0xc]
mov dword [ecx + esi*4], eax
inc edi
cmp edi, dword [ebp]
jl 0x56adf4
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0xa8]
mov eax, dword [esp + 0x44]
mov edx, dword [eax]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x64]
mov edx, dword [esi + 0x14]
mov ecx, dword [esp + 0x80]
call fcn.0056b390
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x56b250
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [eax + 0x18], 0
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x56ae8d
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x64]
xor ecx, ecx
call fcn.0044cfe0
mov dword [esp + 0x38], eax
jmp 0x56ae93
xor eax, eax
mov dword [esp + 0x38], eax
test ebp, ebp
je 0x56b114
mov edx, dword [esi + 0xc]
mov dword [esi + 0x14], edx
mov edi, eax
mov dword [esi + 0xc], edi
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x80]
call fcn.0056b390
mov dword [esi + 0x14], eax
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x44]
mov edx, dword [edi + 0x14]
xor ecx, ecx
call fcn.0044cfe0
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x30], eax
test eax, eax
je 0x56b231
cmp dword [esp + 0x2c], 0
je 0x56b22a
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x64]
mov edx, 0x45
xor ecx, ecx
call fcn.004e34a0
mov edi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov edx, edi
mov ecx, dword [esp + 0x30]
call fcn.004e3960
mov dword [esi + 0x14], edi
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x54], edx
test edx, edx
je 0x56b10d
mov eax, dword [esp + 0x64]
movzx edx, byte [eax + 0x1e]
test edx, edx
jne 0x56b10d
movzx edx, byte [eax + 0xe2]
test edx, edx
je 0x56af9c
movzx edx, word [eax + 0xe0]
cmp edx, 0x10
jl 0x56af9c
mov edi, dword [eax + 0xec]
test edi, edi
je 0x56af9c
mov edx, dword [edi]
mov dword [eax + 0xec], edx
mov edx, dword [eax + 0xe4]
inc edx
mov dword [eax + 0xe4], edx
mov ecx, dword [eax + 0xe8]
cmp edx, ecx
jge 0x56af94
mov edx, ecx
mov dword [eax + 0xe8], edx
jmp 0x56afb4
mov eax, 0x10
call fcn.0041ebd4
mov edi, eax
test edi, edi
jne 0x56afb4
mov eax, dword [esp + 0x64]
mov byte [eax + 0x1e], 1
test edi, edi
je 0x56b10d
mov dword [edi + 8], 0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov dword [edi + 4], ecx
mov dword [edi], ecx
mov edx, dword [eax]
lea edx, [edx + edx*4]
shl edx, 2
mov eax, dword [esp + 0x64]
call fcn.004a76c0
mov dword [edi + 0xc], eax
test eax, eax
je 0x56b21a
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 0xc]
cmp dword [ecx], 0
jle 0x56b10f
xor ecx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x70], esi
mov ebx, edx
mov edi, ecx
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x64]
mov edx, dword [ebx]
xor ecx, ecx
call fcn.0044cfe0
mov ebp, dword [esp + 0x50]
mov dword [ebp], eax
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x56b213
mov esi, ebp
movsx eax, byte [ebp]
test eax, eax
je 0x56b045
inc esi
movsx eax, byte [esi]
test eax, eax
jne 0x56b03d
sub esi, ebp
and esi, 0x3fffffff
inc esi
mov eax, dword [esp + 0x64]
mov edx, esi
call fcn.004a76c0
test eax, eax
je 0x56b070
push esi
push ebp
push eax
mov dword [esp + 0x48], eax
call fcn.007666b0
mov eax, dword [esp + 0x48]
add esp, 0xc
mov ebp, dword [esp + 0x50]
mov dword [ebp + 4], eax
mov ebp, dword [ebx + 8]
test ebp, ebp
je 0x56b20c
mov esi, ebp
movsx eax, byte [ebp]
test eax, eax
je 0x56b094
inc esi
movsx eax, byte [esi]
test eax, eax
jne 0x56b08c
sub esi, ebp
and esi, 0x3fffffff
inc esi
mov eax, dword [esp + 0x64]
mov edx, esi
call fcn.004a76c0
test eax, eax
je 0x56b0bf
push esi
push ebp
push eax
mov dword [esp + 0x4c], eax
call fcn.007666b0
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov edx, dword [esp + 0x50]
mov dword [edx + 8], eax
movzx eax, byte [ebx + 0xc]
mov byte [edx + 0xc], al
mov byte [edx + 0xd], 0
movzx ebp, word [ebx + 0xe]
mov word [edx + 0xe], bp
movzx esi, word [ebx + 0x10]
mov word [edx + 0x10], si
inc edi
add edx, 0x14
mov dword [esp + 0x50], edx
add ebx, 0x14
mov eax, dword [esp + 0x54]
cmp edi, dword [eax]
jl 0x56b00c
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0xa8]
jmp 0x56b10f
xor edi, edi
mov dword [esi + 0x10], edi
jmp 0x56b183
mov edi, dword [esp + 0x44]
mov eax, dword [edi]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x80]
call fcn.0056b390
mov edi, eax
test edi, edi
je 0x56b243
cmp dword [esp + 0x38], 0
je 0x56b23a
mov dword [esi + 0xc], edi
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x64]
mov edx, 0x45
xor ecx, ecx
call fcn.004e34a0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x28]
mov ecx, edi
call fcn.004e3960
mov eax, dword [esp + 0x28]
mov dword [esi + 0xc], eax
mov edx, dword [esp + 0x44]
movzx eax, word [edx + 6]
and eax, 1
or word [esi + 6], ax
mov eax, dword [edx + 0x28]
test eax, eax
je 0x56b1a5
mov dword [esi + 0x28], eax
mov eax, edx
mov dword [eax + 0x28], 0
mov esi, dword [esi + 0x1c]
mov eax, edx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x44], edx
test esi, esi
jne 0x56a9eb
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x1c], 0
je 0x56b1da
mov eax, ebx
mov edx, dword [esp + 0x1c]
call fcn.004ce330
mov eax, ebx
mov edx, dword [esp + 0x1c]
call fcn.004e33d8
mov eax, 1
add esp, 0x84
pop ebx
pop ebp
pop esi
pop edi
ret
push str.not_authorized
push ebp
mov dword [esp + 0x18], edx
call fcn.005860f0
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [ebp + 4], 0x17
jmp 0x56a8ab
xor eax, eax
jmp 0x56b0bf
xor eax, eax
jmp 0x56b070
mov eax, dword [esp + 0x64]
mov edx, edi
call fcn.004e33d8
jmp 0x56b10d
mov edi, eax
jmp 0x56af2c
mov edi, dword [esp + 0x2c]
jmp 0x56af2c
mov dword [esp + 0x28], edi
jmp 0x56b17c
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
jmp 0x56b17c
mov eax, dword [esi + 0x18]
test eax, eax
je 0x56ae69
mov edx, dword [esp + 0x44]
mov edx, dword [edx]
cmp dword [eax], 0
jle 0x56ae69
xor edi, edi
mov dword [esp + 0x70], esi
mov ebp, eax
mov ebx, edx
lea esi, [edi + edi*4]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x64]
mov edx, dword [ecx + esi*4]
mov ecx, dword [esp + 0x80]
call fcn.0056b390
mov ecx, dword [ebp + 0xc]
mov dword [ecx + esi*4], eax
inc edi
cmp edi, dword [ebp]
jl 0x56b274
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0xa8]
jmp 0x56ae69
mov ecx, dword [edx + esi*4 + 8]
test ecx, ecx
je 0x56ad68
mov ebx, ecx
movsx edx, byte [ecx]
test edx, edx
je 0x56b2ce
inc ebx
movsx edx, byte [ebx]
test edx, edx
jne 0x56b2c6
sub ebx, ecx
and ebx, 0x3fffffff
inc ebx
mov eax, dword [esp + 0x64]
mov edx, ebx
mov dword [esp + 0x24], ecx
call fcn.004a76c0
mov ecx, dword [esp + 0x24]
test eax, eax
je 0x56b301
push ebx
push ecx
push eax
mov dword [esp + 0x20], eax
call fcn.007666b0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [edi + 0xc]
mov dword [edx + esi*4 + 4], eax
jmp 0x56ad68
mov eax, dword [esp + 0x44]
mov edx, dword [eax]
jmp 0x56ad88
mov eax, edi
call fcn.004c69c4
mov eax, dword [esi + 4]
mov edx, dword [esi]
jmp 0x56ac69
mov ebx, edx
jmp 0x56b1bd
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
jmp 0x56abe8
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x64]
xor edx, edx
xor ecx, ecx
call fcn.005569f0
mov dword [esp + 0x4c], eax
mov dword [esi + 8], eax
test eax, eax
je 0x56b1b9
xor eax, eax
mov dword [esp + 0x48], eax
jmp 0x56aa1d
mov edx, dword [ebp + 0x1a8]
test edx, edx
jne 0x56b378
mov edx, ebp
mov ebp, dword [edx + 0x218]
mov dword [eax + 0x48], ebp
mov dword [edx + 0x218], eax
jmp 0x56a9c3