Function at 0x470a2c
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [edi + 4], ebx
jne 0x470a01
cmp dword [edi + 0xc], ebx
je 0x470aab
mov esi, dword [edi + 0xc]
add esi, dword [ebp + 0xc]
push esi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x470a27
push esi
call dword [ebp - 0xc8]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x470c4d
call fcn.00470442
lds ecx, [edx + 0x6e]
xor cl, byte [ebx + 0x4d8b1047]
or al, 0x8d
xor al, 8
mov eax, dword [edi]
cmp eax, ebx
jne 0x470a44
mov dword [ebp + 0x10], esi
jmp 0x470a49
add eax, ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x470a9d
jmp 0x470a57
add ecx, eax
test eax, 0x80000000
je 0x470a68
and eax, 0xffff
push eax
jmp 0x470a6c
add ecx, 2
push ecx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00470407
add esp, 0xc
cmp esi, ebx
mov dword [esi], eax
je 0x470c4d
add dword [ebp + 0x10], 4
add esi, 4
call fcn.00470442
ret 0xb97d
mov esi, dword [ebp - 0x88]
add edi, 0x14
jmp 0x4709f3
mov eax, dword [esi + 0xa0]
cmp eax, ebx
je 0x470b01
add eax, dword [ebp + 0xc]
cmp dword [eax], ebx
je 0x470b01
lea edi, [eax + 8]
mov ecx, dword [eax + 4]
add ecx, eax
cmp edi, ecx
jae 0x470afc
movzx ecx, word [edi]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x470af0
mov edx, dword [ebp + 0xc]
and ecx, 0xfff
add ecx, dword [ebp + 0xc]
sub edx, dword [esi + 0x34]
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x470af8
cmp edx, ebx
jne 0x470c4d
inc edi
inc edi
jmp 0x470abf
add eax, dword [eax + 4]
jmp 0x470ab8
mov dword [ebp - 8], ebx
jmp 0x470b0c
mov esi, dword [ebp - 0x88]
mov ax, word [ebp - 8]
cmp ax, word [esi + 6]
jne 0x470b25
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov esi, 0x60000000
jmp 0x470b4d
call fcn.00470442
pop ss
int 0xc2
fisttp dword [edi]
mov bh, 0x45
clc
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*8 + 0x104]
mov edx, dword [esi + eax*8 + 0x108]
lea eax, [esi + eax*8 + 0xf8]
mov esi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp + 8], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp + 8]
ja 0x470ba3
mov edx, esi
mov edi, esi
and edx, 0x20000000
and edi, 0x40000000
and esi, 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x470b8c
or byte [eax + ecx], 1
cmp edi, ebx
je 0x470b94
or byte [eax + ecx], 2
cmp esi, ebx
je 0x470b9d
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp + 8]
jbe 0x470b81
inc dword [ebp - 8]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp - 8]
cmp cx, word [eax + 6]
jbe 0x470b06
mov esi, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x470bf0
dec eax
je 0x470be7
sub eax, 3
je 0x470bde
mov dword [ebp - 4], 0x40
jmp 0x470bf3
mov dword [ebp - 4], 4
jmp 0x470bf3
mov dword [ebp - 4], 0x20
jmp 0x470bf3
mov dword [ebp - 4], ecx
call fcn.00470442
adc eax, 0x83f762cc
jge 0x470bfb
test dword [ebx + 0x7440fc7d], 0xfc458d18
inc eax
je 0x470c1a
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push esi
call dword [ebp - 0xc4]
test eax, eax
je 0x470c4d
add esi, dword [ebp - 0xac]
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x470bbf
mov eax, dword [ebp - 0x88]
mov esi, dword [eax + 0x28]
add esi, dword [ebp + 0xc]
call fcn.00470442
retf
push 0x8000
push ebx
push dword [ebp + 0xc]
call dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret