Function at 0x455f8b
Capabilities:
Inspect section memory permissions

Disassembly:
enter 0x18, 0
push eax
push ebx
push ecx
push edx
push esi
push edi
mov eax, dword [0x495054]
mov dword [ebp - 0x14], eax
and eax, 0xffff
shl eax, 0xa
add eax, dword [0x4a25d0]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edi, dword [0x495064]
mov dword [ebp - 0x10], edi
mov eax, dword [ecx]
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0xc], eax
mov edx, 0
mov dword [edi + 0x1c], 0x10000
mov dword [edi + 0x20], 0x10000
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [ebp - 0x14]
mov word [edi + 8], ax
test dword [ebp - 4], 0x10000000
je 0x45601e
mov edx, 3
mov eax, dword [ecx + 0x30]
cmp dword [0x49d7fc], 0
je 0x456010
shl eax, 0xa
add ax, ax
shr eax, 0xb
and eax, dword [0x49dd48]
mov dword [edi + 0x28], eax
jmp 0x456146
test dword [ebp - 4], 0x40000000
je 0x456071
mov edx, 6
mov eax, dword [ecx + 0x30]
cmp dword [0x49d7fc], 0
je 0x456041
shl eax, 0xa
add ax, ax
shr eax, 0xb
cmp dword [ebp - 0x14], 0x10
jae 0x456063
push ecx
push edx
xor ecx, ecx
mov cl, ah
and eax, 0xff
mov edx, dword [ebp - 0x18]
mov ax, word [edx + eax*2]
add ax, word [edx + ecx*2 + 0x200]
pop edx
pop ecx
and eax, dword [0x49dd48]
mov dword [edi + 0x28], eax
jmp 0x456146
test dword [ebp - 4], 0x20000000
je 0x4560b3
mov edx, 9
mov eax, dword [ecx + 0x30]
cmp ax, 0x10
jbe 0x45608c
mov ax, 0x10
cmp dword [ebp - 0x14], 0x10
jae 0x45609b
imul ax, word [ebp - 0x14]
shr ax, 4
ror eax, 0x10
cmp ax, 0x10
jbe 0x4560a8
mov ax, 0x10
ror eax, 0x10
mov dword [edi + 0x28], eax
jmp 0x456146
test dword [ebp - 4], 0x80000
je 0x4560c6
mov edx, 0x17
jmp 0x456146
test dword [ebp - 4], 0x40000
je 0x4560d9
mov edx, 0x1a
jmp 0x456146
test dword [ebp - 4], 0x2000000
je 0x4560e9
mov edx, 0xc
jmp 0x456146
test dword [ebp - 4], 0x400000
je 0x4560f9
mov edx, 0xf
jmp 0x456146
test dword [ebp - 4], 0x10000
je 0x456146
mov edx, 0x1d
mov eax, dword [ecx + 0x30]
cmp dword [0x49d7fc], 0
je 0x45611c
shl eax, 0xa
add ax, ax
shr eax, 0xb
cmp dword [ebp - 0x14], 0x10
jae 0x45613e
push ecx
push edx
xor ecx, ecx
mov cl, ah
and eax, 0xff
mov edx, dword [ebp - 0x18]
mov ax, word [edx + eax*2]
add ax, word [edx + ecx*2 + 0x200]
pop edx
pop ecx
mov word [edi + 0x28], ax
mov word [edi + 0x2a], ax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 6
jne 0x456154
add edx, 2
jmp 0x45616c
test dword [ebp - 4], 0x4000000
je 0x45616c
add edx, 1
mov eax, dword [ecx + 0x20]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 0x24]
mov dword [edi + 0x20], eax
test dword [ebp - 4], 0x1000000
je 0x4561ca
mov edx, 0x12
test dword [ebp - 4], 0x2000000
je 0x45618a
mov edx, 0x13
jmp 0x4561c4
mov eax, dword [ecx + 0x30]
cmp dword [0x49d7fc], 0
je 0x45619f
shl eax, 0xa
add ax, ax
shr eax, 0xb
cmp dword [ebp - 0x14], 0x10
jae 0x4561c1
push ecx
push edx
xor ecx, ecx
mov cl, ah
and eax, 0xff
mov edx, dword [ebp - 0x18]
mov ax, word [edx + eax*2]
add ax, word [edx + ecx*2 + 0x200]
pop edx
pop ecx
mov dword [edi + 0x28], eax
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x24], eax
test dword [ebp - 4], 0x800000
je 0x4561d8
mov edx, 0x14
test dword [ebp - 4], 0x200000
je 0x4561e6
mov edx, 0x15
test dword [ebp - 4], 0x100000
je 0x4561f4
mov edx, 0x16
mov eax, edx
mov dword [edi], eax
mov eax, dword [ecx + 0x2c]
mov dword [edi + 0x10], eax
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov eax, dword [ecx + 4]
add eax, dword [0x49d804]
mov word [edi + 0xc], ax
mov eax, dword [ecx + 8]
add eax, dword [0x49d808]
mov word [edi + 0xe], ax
test dword [ebp - 4], 0x8000000
je 0x4562b6
mov eax, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x18]
add eax, dword [0x49d804]
add ebx, dword [0x49d804]
push dword [0x49d7f4]
push dword [0x49d7ec]
push ebx
push eax
call fcn.00455f4a
add esp, 0x10
cmp eax, ebx
jne 0x456267
mov dword [edi], 0x20
mov eax, dword [0x49d7ec]
mov ebx, dword [0x49d7f4]
mov word [edi + 0x14], ax
mov word [edi + 0x18], bx
mov eax, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x1c]
add eax, dword [0x49d808]
add ebx, dword [0x49d808]
push dword [0x49d7f8]
push dword [0x49d7f0]
push ebx
push eax
call fcn.00455f4a
add esp, 0x10
cmp eax, ebx
jne 0x4562ac
mov dword [edi], 0x20
mov eax, dword [0x49d7f0]
mov ebx, dword [0x49d7f8]
mov word [edi + 0x16], ax
mov word [edi + 0x1a], bx
jmp 0x4562da
mov eax, dword [0x49d7ec]
mov word [edi + 0x14], ax
mov eax, dword [0x49d7f0]
mov word [edi + 0x16], ax
mov eax, dword [0x49d7f4]
mov word [edi + 0x18], ax
mov eax, dword [0x49d7f8]
mov word [edi + 0x1a], ax
mov edx, dword [ecx + 0xc]
cmp edx, dword [0x49d800]
jbe 0x4562eb
mov dword [0x49d800], edx
test dword [ebp - 4], 0x80000000
je 0x456312
mov eax, dword [edx*4 + 0x49506c]
mov dword [edi + 0x2c], eax
mov dword [edx*4 + 0x49506c], edi
or eax, eax
jne 0x456310
mov dword [edx*4 + 0x49906c], edi
jmp 0x456337
mov eax, dword [edx*4 + 0x49906c]
or eax, eax
je 0x456322
mov dword [eax + 0x2c], edi
jmp 0x456329
mov dword [edx*4 + 0x49506c], edi
mov dword [edi + 0x2c], 0
mov dword [edx*4 + 0x49906c], edi
test dword [ebp - 4], 0x2000000
je 0x45635d
mov eax, edi
add edi, 0x30
mov dword [eax + 0x28], edi
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx]
push ecx
push edi
call dword [eax*4 + 0x4a2a20]
add esp, 8
mov edi, eax
jmp 0x4563c2
test dword [ebp - 4], 0x800000
jne 0x456372
test dword [ebp - 4], 0x200000
jne 0x456372
clc
jmp 0x456373
stc
jae 0x4563bf
mov eax, edi
add edi, 0x30
mov dword [eax + 0x28], edi
mov ecx, dword [ecx + 0x30]
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x28], eax
add edi, 0x2c
jmp 0x4563c2
add edi, 0x30
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 6
jne 0x4563f8
mov dword [eax + 0x10], edi
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x18], eax
add edi, 0x1c
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
test dword [ebp - 4], 0x1000000
je 0x456456
cmp dword [eax + 0x24], 0xffffffff
jne 0x456456
mov dword [eax + 0x24], 0
mov dword [eax + 0x10], edi
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov eax, edi
add edi, 0x20
mov dword [eax + 0x1c], edi
mov esi, dword [ebx + 0x1c]
mov ebx, dword [eax + 0x10]
imul ebx, dword [eax + 0x18]
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
dec ebx
jne 0x45644d
mov dword [0x495064], edi
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
ret