Function at 0x47b4b0
Capabilities:
Enumerate pe sections

Disassembly:
test ecx, ecx
js 0x47b5f3
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov edi, dword [eax]
mov ebx, dword [edi + 4]
mov dword [esp + 0x20], ebx
sub ebx, ecx
cmp ebx, 1
jle 0x47b593
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov ebp, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], 0xff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x24], 0
cmp ebp, dword [esp + 0x20]
jge 0x47b593
mov eax, dword [edi + 0xc]
mov esi, ebp
add eax, edi
lea eax, [eax + ebp*2]
movzx ebx, word [eax]
mov edx, ebx
and edx, 0xfffffc00
cmp edx, 0xd800
je 0x47b5a0
mov eax, ebx
call fcn.004fae60
movzx edx, byte [eax + 6]
cmp edx, dword [esp + 0x28]
jg 0x47b5d3
cmp dword [esp + 0x14], ebp
movzx ecx, byte [eax + 2]
sete dl
cmp dword [esp + 0x1c], ecx
setl al
or dl, al
je 0x47b561
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x18], edx
jge 0x47b5f5
test ecx, ecx
cmovne ebp, dword [esp + 0x18]
lea eax, [esi + 1]
mov esi, dword [esp + 0x14]
cmovne ebx, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
cmove esi, eax
mov dword [esp + 0x18], ebp
mov ebp, eax
cmp ebp, dword [esp + 0x20]
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], ebx
jl 0x47b50b
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x20]
lea edx, [esi - 1]
mov esi, ebp
cmp edx, ebp
jle 0x47b528
movzx eax, word [eax + 2]
lea esi, [ebp + 1]
mov edx, eax
and edx, 0xfffffc00
cmp edx, 0xdc00
je 0x47b840
mov esi, ebp
jmp 0x47b528
lea ebp, [esi + 1]
mov dword [esp + 0x1c], 0xff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0xffffffff
jmp 0x47b501
repz ret
mov eax, dword [esp + 0x24]
sub eax, 0x1100
cmp eax, 0xc6a4
ja 0x47b660
cmp eax, 0x12
ja 0x47b619
lea edx, [ebx - 0x1161]
cmp edx, 0x14
jbe 0x47b974
mov eax, dword [esp + 0x24]
sub eax, 0xac00
cmp eax, 0x2ba3
ja 0x47b660
mov edx, eax
mov dword [esp + 0x30], eax
mov eax, 0x24924925
shr edx, 2
mul edx
imul edx, edx, 0x1c
cmp dword [esp + 0x30], edx
jne 0x47b660
lea eax, [ebx - 0x11a7]
cmp eax, 0x1c
ja 0x47b660
add dword [esp + 0x24], eax
jmp 0x47b988
cmp ebx, 0x30ff
jbe 0x47b815
cmp ebx, 0x11fff
ja 0x47b561
lea eax, [ebx - 0x3100]
movzx edx, bl
shr eax, 8
movzx eax, word [eax + eax + 0x88fbb0]
add eax, edx
movzx eax, word [eax + eax + 0x88f8a0]
cmp ax, 0xffff
je 0x47b561
add eax, eax
cmp dword [esp + 0x24], 0xffff
lea edx, [eax + 0x88e942]
movzx eax, word [eax + 0x88e940]
mov dword [esp + 0x30], edx
jbe 0x47b850
shl eax, 3
mov dword [esp + 0x40], ebp
mov dword [esp + 0x4c], edi
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
add edx, eax
sar eax, 3
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ecx
mov esi, eax
test esi, esi
jle 0x47b736
mov edx, esi
sar edx, 1
lea ecx, [edi + edx*8]
movzx eax, word [ecx]
movzx ebx, word [ecx + 2]
shl eax, 0xa
lea eax, [eax + ebx - 0x35fdc00]
cmp ebp, eax
jbe 0x47b732
jmp 0x47b946
mov ebx, edx
sar ebx, 1
lea ecx, [edi + ebx*8]
movzx eax, word [ecx]
movzx esi, word [ecx + 2]
shl eax, 0xa
lea eax, [eax + esi - 0x35fdc00]
cmp ebp, eax
ja 0x47b950
mov edx, ebx
test edx, edx
jne 0x47b710
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x38], edx
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
je 0x47b561
movzx eax, word [edx]
movzx edx, word [edx + 2]
shl eax, 0xa
lea eax, [eax + edx - 0x35fdc00]
cmp dword [esp + 0x24], eax
jne 0x47b561
mov edx, dword [esp + 0x30]
movzx eax, word [edx + 4]
movzx edx, word [edx + 6]
shl eax, 0xa
lea eax, [eax + edx - 0x35fdc00]
test eax, eax
mov dword [esp + 0x30], eax
je 0x47b561
mov edi, dword [esp + 0x34]
mov ecx, edi
call fcn.005acf90
mov eax, dword [edi]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x30]
add eax, dword [eax + 0xc]
mov ecx, ebx
add ecx, ebx
cmp edi, 0xffff
lea ebx, [eax + ecx]
jbe 0x47b99d
mov edx, edi
shr edx, 0xa
sub dx, 0x2840
mov word [ebx], dx
mov ebx, edi
mov edx, edi
mov edi, dword [esp + 0x34]
and dx, 0x3ff
sub dx, 0x2400
mov word [eax + ecx + 2], dx
mov dword [esp], ebp
mov ebp, esi
mov ecx, edi
mov dword [esp + 4], 2
call fcn.005adc60
mov edi, dword [edi]
sub esp, 8
mov dword [esp + 0x24], ebx
mov eax, dword [edi + 4]
mov dword [esp + 0x20], eax
jmp 0x47b501
mov eax, ebx
mov edx, ebx
shr eax, 5
and edx, 0x1f
movzx eax, word [eax + eax + 0x88f8a0]
add eax, edx
movzx eax, word [eax + eax + 0x88f8a0]
jmp 0x47b696
shl ebx, 0xa
lea ebx, [eax + ebx - 0x35fdc00]
jmp 0x47b528
movzx edx, word [esp + 0x24]
mov dword [esp + 0x48], ebp
shl eax, 2
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
mov edx, dword [esp + 0x30]
movzx ebp, word [esp + 0x3c]
add edx, eax
sar eax, 2
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], eax
test eax, eax
jle 0x47b8b6
sar eax, 1
lea ebx, [esi + eax*4]
cmp bp, word [ebx]
jbe 0x47b8b2
jmp 0x47b95d
mov edx, eax
sar edx, 1
lea ebx, [esi + edx*4]
cmp bp, word [ebx]
ja 0x47b963
mov eax, edx
test eax, eax
jne 0x47b8a0
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x40], eax
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
je 0x47b561
movzx edx, word [esp + 0x3c]
cmp dx, word [eax]
jne 0x47b561
movzx edx, word [eax + 2]
test edx, edx
je 0x47b561
mov edi, dword [esp + 0x34]
mov dword [esp + 0x20], edx
mov ecx, edi
call fcn.005acf90
mov eax, dword [edi]
mov edx, dword [esp + 0x20]
add eax, dword [eax + 0xc]
mov dword [esp + 0x24], edx
lea esi, [esi]
movzx ecx, word [esp + 0x24]
mov edi, dword [esp + 0x18]
mov word [eax + edi*2], cx
mov edi, dword [esp + 0x34]
mov dword [esp], ebp
mov dword [esp + 4], 1
mov ebp, esi
mov ecx, edi
call fcn.005adc60
mov edi, dword [edi]
sub esp, 8
mov eax, dword [edi + 4]
mov dword [esp + 0x20], eax
jmp 0x47b501
mov ebx, edx
mov edx, esi
lea esi, [esi]
sub edx, ebx
lea edi, [ecx + 8]
lea esi, [edx - 1]
jmp 0x47b6eb
mov edx, eax
mov eax, dword [esp + 0x38]
sub eax, edx
lea esi, [ebx + 4]
sub eax, 1
mov dword [esp + 0x38], eax
jmp 0x47b883
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*4]
add eax, edx
imul eax, eax, 0x1c
add eax, 0xac00
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x34]
mov ecx, edi
call fcn.005acf90
mov eax, dword [edi]
add eax, dword [eax + 0xc]
jmp 0x47b910
mov edi, dword [esp + 0x30]
mov dword [esp + 0x24], edi
jmp 0x47b910