Function at 0x45739b
Capabilities:
Inspect section memory permissions

Disassembly:
enter 0x18, 0
push eax
push ebx
push ecx
push edx
push esi
push edi
mov eax, dword [0x4957dc]
mov dword [ebp - 0x14], eax
and eax, 0xffff
shl eax, 0xa
add eax, dword [0x4a2d58]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edi, dword [0x4957ec]
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 0x45742e
mov edx, 3
mov eax, dword [ecx + 0x30]
cmp dword [0x49df84], 0
je 0x457420
shl eax, 0xa
add ax, ax
shr eax, 0xb
and eax, dword [0x49e4d0]
mov dword [edi + 0x28], eax
jmp 0x457556
test dword [ebp - 4], 0x40000000
je 0x457481
mov edx, 6
mov eax, dword [ecx + 0x30]
cmp dword [0x49df84], 0
je 0x457451
shl eax, 0xa
add ax, ax
shr eax, 0xb
cmp dword [ebp - 0x14], 0x10
jae 0x457473
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 [0x49e4d0]
mov dword [edi + 0x28], eax
jmp 0x457556
test dword [ebp - 4], 0x20000000
je 0x4574c3
mov edx, 9
mov eax, dword [ecx + 0x30]
cmp ax, 0x10
jbe 0x45749c
mov ax, 0x10
cmp dword [ebp - 0x14], 0x10
jae 0x4574ab
imul ax, word [ebp - 0x14]
shr ax, 4
ror eax, 0x10
cmp ax, 0x10
jbe 0x4574b8
mov ax, 0x10
ror eax, 0x10
mov dword [edi + 0x28], eax
jmp 0x457556
test dword [ebp - 4], 0x80000
je 0x4574d6
mov edx, 0x17
jmp 0x457556
test dword [ebp - 4], 0x40000
je 0x4574e9
mov edx, 0x1a
jmp 0x457556
test dword [ebp - 4], 0x2000000
je 0x4574f9
mov edx, 0xc
jmp 0x457556
test dword [ebp - 4], 0x400000
je 0x457509
mov edx, 0xf
jmp 0x457556
test dword [ebp - 4], 0x10000
je 0x457556
mov edx, 0x1d
mov eax, dword [ecx + 0x30]
cmp dword [0x49df84], 0
je 0x45752c
shl eax, 0xa
add ax, ax
shr eax, 0xb
cmp dword [ebp - 0x14], 0x10
jae 0x45754e
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 0x457564
add edx, 2
jmp 0x45757c
test dword [ebp - 4], 0x4000000
je 0x45757c
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 0x4575da
mov edx, 0x12
test dword [ebp - 4], 0x2000000
je 0x45759a
mov edx, 0x13
jmp 0x4575d4
mov eax, dword [ecx + 0x30]
cmp dword [0x49df84], 0
je 0x4575af
shl eax, 0xa
add ax, ax
shr eax, 0xb
cmp dword [ebp - 0x14], 0x10
jae 0x4575d1
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 0x4575e8
mov edx, 0x14
test dword [ebp - 4], 0x200000
je 0x4575f6
mov edx, 0x15
test dword [ebp - 4], 0x100000
je 0x457604
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 [0x49df8c]
mov word [edi + 0xc], ax
mov eax, dword [ecx + 8]
add eax, dword [0x49df90]
mov word [edi + 0xe], ax
test dword [ebp - 4], 0x8000000
je 0x4576c6
mov eax, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x18]
add eax, dword [0x49df8c]
add ebx, dword [0x49df8c]
push dword [0x49df7c]
push dword [0x49df74]
push ebx
push eax
call fcn.0045735a
add esp, 0x10
cmp eax, ebx
jne 0x457677
mov dword [edi], 0x20
mov eax, dword [0x49df74]
mov ebx, dword [0x49df7c]
mov word [edi + 0x14], ax
mov word [edi + 0x18], bx
mov eax, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x1c]
add eax, dword [0x49df90]
add ebx, dword [0x49df90]
push dword [0x49df80]
push dword [0x49df78]
push ebx
push eax
call fcn.0045735a
add esp, 0x10
cmp eax, ebx
jne 0x4576bc
mov dword [edi], 0x20
mov eax, dword [0x49df78]
mov ebx, dword [0x49df80]
mov word [edi + 0x16], ax
mov word [edi + 0x1a], bx
jmp 0x4576ea
mov eax, dword [0x49df74]
mov word [edi + 0x14], ax
mov eax, dword [0x49df78]
mov word [edi + 0x16], ax
mov eax, dword [0x49df7c]
mov word [edi + 0x18], ax
mov eax, dword [0x49df80]
mov word [edi + 0x1a], ax
mov edx, dword [ecx + 0xc]
cmp edx, dword [0x49df88]
jbe 0x4576fb
mov dword [0x49df88], edx
test dword [ebp - 4], 0x80000000
je 0x457722
mov eax, dword [edx*4 + 0x4957f4]
mov dword [edi + 0x2c], eax
mov dword [edx*4 + 0x4957f4], edi
or eax, eax
jne 0x457720
mov dword [edx*4 + 0x4997f4], edi
jmp 0x457747
mov eax, dword [edx*4 + 0x4997f4]
or eax, eax
je 0x457732
mov dword [eax + 0x2c], edi
jmp 0x457739
mov dword [edx*4 + 0x4957f4], edi
mov dword [edi + 0x2c], 0
mov dword [edx*4 + 0x4997f4], edi
test dword [ebp - 4], 0x2000000
je 0x45776d
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 + 0x4a31a8]
add esp, 8
mov edi, eax
jmp 0x4577d2
test dword [ebp - 4], 0x800000
jne 0x457782
test dword [ebp - 4], 0x200000
jne 0x457782
clc
jmp 0x457783
stc
jae 0x4577cf
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 0x4577d2
add edi, 0x30
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 6
jne 0x457808
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 0x457866
cmp dword [eax + 0x24], 0xffffffff
jne 0x457866
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 0x45785d
mov dword [0x4957ec], edi
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
ret