Function at 0x4076d0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x2f00
call fcn.00488480
mov al, byte [0x4a14e1]
or al, byte [0x4a14e0]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x2c], al
jne 0x407706
push 0
push 0
call fcn.00408230
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f00
ret
mov ebp, dword [0x4a14d8]
xor esi, esi
cmp ebp, esi
jne 0x407877
push 0x12000
call fcn.00477d59
add esp, 4
mov dword [0x4a14d8], eax
cmp eax, esi
je 0x407867
push 0x24000
call fcn.00477d59
add esp, 4
mov dword [0x4a14dc], eax
cmp eax, esi
je 0x407867
push 0x20000
call fcn.00477d59
add esp, 4
mov dword [0x4a14cc], eax
cmp eax, esi
je 0x407867
push 0x40000
call fcn.00477d59
add esp, 4
mov dword [0x4a14d0], eax
cmp eax, esi
je 0x407867
push 0x7d0
call fcn.00477d59
add esp, 4
mov dword [0x4a14d4], eax
cmp eax, esi
je 0x407867
mov ebp, dword [0x4a14d8]
push 0x12000
push esi
push ebp
call fcn.004812e0
mov ebx, dword [0x4a14dc]
add esp, 0xc
push 0x24000
push esi
push ebx
call fcn.004812e0
mov byte [ebp + 0x1324], 3
mov byte [ebp + 0xb644], 1
mov byte [ebp + 0xb764], 2
mov byte [ebp + 0x1444], 0xc
mov byte [ebp + 0xb884], 4
mov byte [ebp + 0xb9a4], 8
mov byte [ebp + 0x1204], 0x30
mov byte [ebp + 0xb404], 0x10
mov byte [ebp + 0x6664], 0x40
mov byte [ebp + 0x6784], 0x80
mov al, 0x20
mov byte [ebp + 0xb524], al
mov byte [ebx + 0x20a4], 1
mov byte [ebx + 0x140a4], 2
mov byte [ebx + 0x3f04], 4
mov byte [ebx + 0x15f04], 8
mov byte [ebx + 0x2f44], 0x10
mov byte [ebx + 0x15cc4], al
mov byte [ebx + 0x18664], 0x40
mov byte [ebx + 0x18784], 0x80
add esp, 0xc
mov dword [ebp + 0xa320], 0x49d3d4
mov dword [ebp + 0x1680], 0x49d3d0
mov dword [ebp + 0xa200], 0x49d3cc
jmp 0x40787d
call fcn.00408900
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f00
ret
mov ebx, dword [0x4a14dc]
lea eax, [ebp + 0x14]
mov ecx, 0x40
and byte [eax - 9], 8
and byte [eax + 0x117], 8
and byte [eax + 0x237], 8
and byte [eax + 0x357], 8
mov word [eax - 1], si
mov word [eax - 0xc], si
mov byte [eax - 0xa], 0
mov byte [eax - 2], 0
mov word [eax + 0x11f], si
mov word [eax + 0x114], si
mov byte [eax + 0x116], 0
mov byte [eax + 0x11e], 0
mov word [eax + 0x23f], si
mov word [eax + 0x234], si
mov byte [eax + 0x236], 0
mov byte [eax + 0x23e], 0
mov word [eax + 0x35f], si
mov word [eax + 0x354], si
mov byte [eax + 0x356], 0
mov byte [eax + 0x35e], 0
add eax, 0x480
dec ecx
jne 0x407885
lea eax, [ebx + 0x14]
mov ecx, 0x80
jmp 0x407920
and byte [eax - 9], 8
and byte [eax + 0x117], 8
and byte [eax + 0x237], 8
and byte [eax + 0x357], 8
mov word [eax - 1], si
mov word [eax - 0xc], si
mov byte [eax - 0xa], 0
mov byte [eax - 2], 0
mov word [eax + 0x11f], si
mov word [eax + 0x114], si
mov byte [eax + 0x116], 0
mov byte [eax + 0x11e], 0
mov word [eax + 0x23f], si
mov word [eax + 0x234], si
mov byte [eax + 0x236], 0
mov byte [eax + 0x23e], 0
mov word [eax + 0x35f], si
mov word [eax + 0x354], si
mov byte [eax + 0x356], 0
mov byte [eax + 0x35e], 0
add eax, 0x480
dec ecx
jne 0x407920
mov ecx, 0x49e474
mov edi, edi
movzx eax, word [ecx]
cmp ax, si
jbe 0x4079cd
mov edx, 0x1ff
cmp ax, dx
ja 0x4079cd
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebx + 0x12], 1
add ecx, 8
cmp ecx, 0x49e4dc
jl 0x4079b0
mov edi, dword [0x4a14cc]
mov eax, 0x3fff
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x8000
rep stosd dword es:[edi], eax
mov edi, dword [0x4a14d0]
mov eax, 0x3fff
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x10000
rep stosd dword es:[edi], eax
mov edi, dword [0x4a14d4]
mov eax, 0x3fff
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, 0x1f4
push 0x2ee0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push esi
push eax
call fcn.004812e0
add esp, 0xc
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x2f14], esi
jle 0x40815f
lea ecx, [esp + 0x36]
mov dword [esp + 0x24], ecx
lea esp, [esp]
mov edx, dword [esp + 0x18]
mov esi, dword [edx*4 + 0x4a14f0]
mov al, byte [esi + 0x14]
test al, al
je 0x407e48
cmp al, 4
jae 0x407e48
cmp byte [0x4a0b7f], 0
je 0x407aa2
mov eax, esi
call fcn.004040a0
mov ebp, dword [0x4a14d8]
mov ebx, dword [0x4a14dc]
test al, al
je 0x407e48
cmp word [esi + 2], 0
je 0x407afc
cmp byte [esi + 0x1c], 0
sete al
test al, al
jne 0x407e48
mov cl, byte [esi + 0x12]
test cl, cl
jne 0x407aca
cmp word [esi + 8], 0
je 0x407e48
cmp cl, 0xff
ja 0x407e48
movzx eax, word [esi + 8]
mov edx, 0x1ff
cmp ax, dx
ja 0x407e48
test cl, cl
jne 0x407b19
mov edi, eax
lea edi, [edi + edi*8]
shl edi, 5
add edi, ebx
mov byte [edi + 0x12], 1
jmp 0x407c05
mov eax, dword [esi + 0x20]
test eax, eax
je 0x407e48
cmp byte [eax + 0x24], 0
jne 0x407ab8
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x407b07
jmp 0x407e48
movzx eax, byte [esi + 0x12]
lea edi, [eax + eax*8]
shl edi, 5
add edi, ebp
sub eax, 0x10
je 0x407bc3
dec eax
je 0x407b7f
dec eax
jne 0x407c05
mov byte [ebp + 0xb889], 1
mov byte [ebp + 0xb9a9], 1
mov byte [ebx + 0x3f09], 1
mov byte [ebx + 0x15f09], 1
movzx eax, byte [esi + 0x18]
mov byte [ebp + 0xb88a], al
mov cl, byte [esi + 0x18]
mov byte [ebp + 0xb9aa], cl
mov dl, byte [esi + 0x18]
mov byte [ebx + 0x3f0a], dl
movzx eax, byte [esi + 0x18]
mov byte [ebx + 0x15f0a], al
jmp 0x407c05
mov byte [ebp + 0xb649], 1
mov byte [ebp + 0xb769], 1
mov byte [ebx + 0x20a9], 1
mov byte [ebx + 0x140a9], 1
movzx ecx, byte [esi + 0x18]
mov byte [ebp + 0xb64a], cl
mov dl, byte [esi + 0x18]
mov byte [ebp + 0xb76a], dl
mov al, byte [esi + 0x18]
mov byte [ebx + 0x20aa], al
movzx ecx, byte [esi + 0x18]
mov byte [ebx + 0x140aa], cl
jmp 0x407c05
mov byte [ebp + 0xb409], 1
mov byte [ebp + 0xb529], 1
mov byte [ebx + 0x2f49], 1
mov byte [ebx + 0x15cc9], 1
movzx edx, byte [esi + 0x18]
mov byte [ebp + 0xb40a], dl
mov al, byte [esi + 0x18]
mov byte [ebp + 0xb52a], al
mov cl, byte [esi + 0x18]
mov byte [ebx + 0x2f4a], cl
movzx edx, byte [esi + 0x18]
mov byte [ebx + 0x15cca], dl
mov byte [edi + 9], 1
cmp byte [esi + 0x18], 0
movzx edx, word [esi]
mov dword [esp + 0x20], edx
je 0x407c24
or edx, 0x4000
mov byte [edi + 0xa], 1
mov dword [esp + 0x20], edx
cmp byte [edi + 4], 0
je 0x407c5b
cmp byte [esi + 0x11], 0
jne 0x407c5b
cmp byte [esi + 0x13], 0
jne 0x407c5b
cmp word [esi + 0xa], 0
jne 0x407c5b
test byte [esi + 0x15], 2
jne 0x407c5b
mov ax, word [esi + 8]
mov bl, byte [esi + 0x12]
xor cl, cl
call fcn.00407530
mov ebx, dword [0x4a14dc]
mov edx, dword [esp + 0x20]
mov al, byte [esi + 0x13]
test al, al
je 0x407d6f
movzx ecx, al
lea ecx, [ecx + ecx*8]
shl ecx, 5
add ecx, ebp
cmp byte [ecx + 4], 0
je 0x407d11
lea ecx, [eax - 0x10]
movzx eax, al
cmp cl, 2
ja 0x407d04
sub eax, 0x10
je 0x407cdf
dec eax
je 0x407cba
dec eax
jne 0x407d2e
mov byte [ebp + 0x1448], 2
mov byte [ebp + 0xb888], 2
mov byte [ebp + 0xb9a8], 2
mov byte [ebx + 0x3f08], 2
mov byte [ebx + 0x15f08], 2
jmp 0x407d2e
mov byte [ebp + 0x1328], 2
mov byte [ebp + 0xb648], 2
mov byte [ebp + 0xb768], 2
mov byte [ebx + 0x20a8], 2
mov byte [ebx + 0x140a8], 2
jmp 0x407d2e
mov byte [ebp + 0x1208], 2
mov byte [ebp + 0xb408], 2
mov byte [ebp + 0xb528], 2
mov byte [ebx + 0x2f48], 2
mov byte [ebx + 0x15cc8], 2
jmp 0x407d2e
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebp + 8], 1
jmp 0x407d2e
mov byte [ecx + 8], 1
test byte [esi + 0x15], 1
je 0x407d2e
movzx eax, byte [esi + 0x13]
lea ecx, [eax + eax*8]
shl ecx, 5
or byte [ecx + ebp + 0xb], 1
lea eax, [ecx + ebp + 0xb]
mov cl, byte [edi + 0x13]
cmp cl, 0x32
jae 0x407e06
mov al, byte [esi + 0x13]
movzx ecx, cl
mov byte [edi + ecx*4 + 0x16], al
movzx eax, word [esi + 2]
test ax, ax
je 0x407d5e
movzx edx, byte [edi + 0x13]
mov word [edi + edx*4 + 0x18], ax
inc byte [edi + 0x13]
jmp 0x407e48
movzx eax, byte [edi + 0x13]
mov word [edi + eax*4 + 0x18], dx
inc byte [edi + 0x13]
jmp 0x407e48
movzx eax, word [esi + 0xa]
test ax, ax
je 0x407e06
mov ecx, eax
lea ecx, [ecx + ecx*8]
shl ecx, 5
cmp byte [ecx + ebx + 4], 0
je 0x407d98
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebx + 8], 1
jmp 0x407dc5
mov byte [ecx + ebx + 8], 1
test byte [esi + 0x15], 1
je 0x407db6
movzx eax, word [esi + 0xa]
lea ecx, [eax + eax*8]
shl ecx, 5
or byte [ecx + ebx + 0xb], 1
lea eax, [ecx + ebx + 0xb]
movzx eax, word [esi + 0xa]
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebx + 0x12], 1
mov al, byte [edi + 0x14]
cmp al, 0x10
jae 0x407e06
movzx ecx, al
mov ax, word [esi + 0xa]
mov word [edi + ecx*4 + 0xde], ax
movzx eax, word [esi + 2]
test ax, ax
je 0x407df5
movzx ecx, byte [edi + 0x14]
mov word [edi + ecx*4 + 0xe0], ax
inc byte [edi + 0x14]
jmp 0x407e48
movzx eax, byte [edi + 0x14]
mov word [edi + eax*4 + 0xe0], dx
inc byte [edi + 0x14]
jmp 0x407e48
movzx eax, word [esi + 2]
mov ecx, eax
test ax, ax
jne 0x407e14
movzx ecx, dx
mov eax, dword [esp + 0x24]
inc dword [esp + 0x1c]
mov word [eax + 4], cx
movzx ecx, byte [esi + 0x12]
mov byte [eax], cl
mov dx, word [esi + 8]
mov word [eax + 2], dx
mov ecx, dword [esi + 0xc]
mov dword [eax - 6], ecx
mov dl, byte [esi + 0x10]
mov byte [eax - 2], dl
movzx ecx, byte [esi + 0x17]
mov byte [eax - 1], cl
add eax, 0xc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x2f14]
jl 0x407a60
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x40815f
push 0x407460
push 0xc
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00477e00
add esp, 0x10
test esi, esi
jle 0x40815f
lea eax, [esp + 0x34]
mov dword [esp + 0x28], esi
movzx ecx, word [eax + 6]
mov ebx, dword [eax - 4]
mov edx, ecx
and ecx, 0x3fff
shr edx, 0xe
mov dword [esp + 0x18], ecx
mov cl, byte [eax]
and dl, 1
mov byte [esp + 0x17], dl
mov dword [esp + 0x24], ebx
test cl, cl
je 0x407ee0
xor edx, edx
test cl, 0xc0
je 0x407ec2
mov edx, 8
test cl, 0xc
je 0x407eca
or edx, 1
test cl, 0x30
je 0x407ed2
or edx, 4
test cl, 3
je 0x407eda
or edx, 2
or ebx, edx
mov dword [esp + 0x24], ebx
mov ebp, dword [0x4a14d0]
mov edi, dword [0x4a14cc]
xor edx, edx
xor esi, esi
add ebp, 0x270
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
add edi, 0x14a
jmp 0x407f0a
mov ebx, dword [esp + 0x24]
xor ecx, ecx
test dl, 0xc0
je 0x407f16
mov ecx, 8
test dl, 0xc
je 0x407f1e
or ecx, 1
test dl, 0x30
je 0x407f26
or ecx, 4
test dl, 3
je 0x407f2e
or ecx, 2
cmp byte [eax + 1], 0
je 0x407f36
and ecx, ebx
cmp ebx, ecx
jne case.0x40809e.19
mov cl, byte [eax]
test cl, cl
je 0x407f55
movzx ecx, cl
mov edx, ecx
and edx, dword [esp + 0x1c]
cmp ecx, edx
jne case.0x40809e.19
mov cl, byte [eax + 2]
test cl, cl
jne 0x407ff8
movzx ecx, word [eax + 4]
mov edx, dword [0x4a14d0]
add ecx, esi
lea esi, [edx + ecx*2]
movzx ecx, word [esi]
mov edx, 0x3fff
cmp cx, dx
jne 0x407f88
mov cx, word [eax + 6]
mov word [esi], cx
jmp case.0x40809e.19
mov edx, ecx
shr edx, 0xe
and dl, 1
cmp byte [esp + 0x17], 0
je 0x407fb4
test dl, dl
jne 0x407fd3
mov dx, word [eax + 6]
mov esi, dword [0x4a14d4]
and ecx, 0x3fff
mov word [esi + ecx*2], dx
jmp case.0x40809e.19
test dl, dl
je 0x407fd3
movzx edx, word [esp + 0x18]
mov ebx, dword [0x4a14d4]
mov word [ebx + edx*2], cx
mov cx, word [eax + 6]
mov word [esi], cx
jmp case.0x40809e.19
mov edx, dword [0x4a14d4]
movzx ebx, word [esp + 0x18]
and ecx, 0x3fff
mov cx, word [edx + ecx*2]
mov word [edx + ebx*2], cx
mov dx, word [eax + 6]
mov word [esi], dx
jmp case.0x40809e.19
mov edx, dword [0x4a14cc]
movzx ecx, cl
add ecx, esi
lea esi, [edx + ecx*2]
movzx ecx, word [esi]
mov edx, 0x3fff
cmp cx, dx
jne 0x40801c
mov cx, word [eax + 6]
mov word [esi], cx
jmp 0x408084
mov edx, ecx
shr edx, 0xe
and dl, 1
cmp byte [esp + 0x17], 0
je 0x408048
test dl, dl
jne 0x408064
mov dx, word [eax + 6]
mov esi, dword [0x4a14d4]
and ecx, 0x3fff
mov word [esi + ecx*2], dx
jmp case.0x40809e.19
test dl, dl
je 0x408064
movzx edx, word [esp + 0x18]
mov ebx, dword [0x4a14d4]
mov word [ebx + edx*2], cx
mov cx, word [eax + 6]
mov word [esi], cx
jmp 0x408084
mov edx, dword [0x4a14d4]
movzx ebx, word [esp + 0x18]
and ecx, 0x3fff
mov cx, word [edx + ecx*2]
mov word [edx + ebx*2], cx
mov dx, word [eax + 6]
mov word [esi], dx
movzx ecx, byte [eax + 2]
add ecx, 0xfffffff0
cmp ecx, 0x95
ja case.0x40809e.19
movzx ecx, byte [ecx + 0x408198]
jmp dword [ecx*4 + 0x40817c]
mov dx, word [eax + 6]
mov word [edi - 2], dx
mov cx, word [eax + 6]
mov word [ebp - 0x200], cx
cmp byte [eax + 2], 0xa4
je case.0x40809e.19
mov dx, word [eax + 6]
mov word [edi], dx
mov cx, word [eax + 6]
mov word [ebp], cx
jmp case.0x40809e.19
mov dx, word [eax + 6]
mov word [edi - 0xa], dx
mov cx, word [eax + 6]
mov word [ebp - 0x21c], cx
cmp byte [eax + 2], 0xa0
je case.0x40809e.19
mov dx, word [eax + 6]
mov word [edi - 8], dx
mov cx, word [eax + 6]
mov word [ebp - 4], cx
jmp case.0x40809e.19
mov dx, word [eax + 6]
mov word [edi - 6], dx
mov cx, word [eax + 6]
mov word [ebp - 0x236], cx
cmp byte [eax + 2], 0xa2
je case.0x40809e.19
mov dx, word [eax + 6]
mov word [edi - 4], dx
mov cx, word [eax + 6]
mov word [ebp - 0x36], cx
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add esi, 0x100
inc edx
add edi, 0x200
add ebp, 0x200
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
cmp esi, 0xff00
jle 0x407f06
add eax, 0xc
dec dword [esp + 0x28]
jne 0x407e8f
mov edx, dword [esp + 0x2c]
push 0
push edx
call fcn.00408230
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f00
ret