Function at 0x407b00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x2f00
call fcn.00493680
mov al, byte [0x4c1a31]
or al, byte [0x4c1a30]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x2c], al
jne 0x407b36
push 0
push 0
call fcn.00408670
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f00
ret
mov ebp, dword [0x4c1a28]
xor esi, esi
cmp ebp, esi
jne 0x407ca7
push 0x12000
call fcn.00487188
add esp, 4
mov dword [0x4c1a28], eax
cmp eax, esi
je 0x407c97
push 0x24000
call fcn.00487188
add esp, 4
mov dword [0x4c1a2c], eax
cmp eax, esi
je 0x407c97
push 0x20000
call fcn.00487188
add esp, 4
mov dword [0x4c1a1c], eax
cmp eax, esi
je 0x407c97
push 0x40000
call fcn.00487188
add esp, 4
mov dword [0x4c1a20], eax
cmp eax, esi
je 0x407c97
push 0x7d0
call fcn.00487188
add esp, 4
mov dword [0x4c1a24], eax
cmp eax, esi
je 0x407c97
mov ebp, dword [0x4c1a28]
push 0x12000
push esi
push ebp
call fcn.00490160
mov ebx, dword [0x4c1a2c]
add esp, 0xc
push 0x24000
push esi
push ebx
call fcn.00490160
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], 0x4bd4f4
mov dword [ebp + 0x1680], 0x4bd4f0
mov dword [ebp + 0xa200], str._a_a_a_v
jmp 0x407cad
call fcn.00408d50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f00
ret
mov ebx, dword [0x4c1a2c]
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 0x407cb5
lea eax, [ebx + 0x14]
mov ecx, 0x80
jmp 0x407d50
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 0x407d50
mov ecx, 0x4be594
mov edi, edi
movzx eax, word [ecx]
cmp ax, si
jbe 0x407dfd
mov edx, 0x1ff
cmp ax, dx
ja 0x407dfd
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebx + 0x12], 1
add ecx, 8
cmp ecx, 0x4be5fc
jl 0x407de0
mov edi, dword [0x4c1a1c]
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 [0x4c1a20]
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 [0x4c1a24]
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.00490160
add esp, 0xc
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x2f14], esi
jle 0x40859f
lea ecx, [esp + 0x36]
mov dword [esp + 0x24], ecx
lea esp, [esp]
mov edx, dword [esp + 0x18]
mov esi, dword [edx*4 + 0x4c1a40]
mov al, byte [esi + 0x14]
test al, al
je 0x408288
cmp al, 4
jae 0x408288
cmp byte [0x4c0fcb], 0
je 0x407ed2
mov eax, esi
call fcn.00404200
mov ebp, dword [0x4c1a28]
mov ebx, dword [0x4c1a2c]
test al, al
je 0x408288
cmp word [esi + 2], 0
je 0x407f2c
cmp byte [esi + 0x1c], 0
sete al
test al, al
jne 0x408288
mov cl, byte [esi + 0x12]
test cl, cl
jne 0x407efa
cmp word [esi + 8], 0
je 0x408288
cmp cl, 0xff
ja 0x408288
movzx eax, word [esi + 8]
mov edx, 0x1ff
cmp ax, dx
ja 0x408288
test cl, cl
jne 0x407f49
mov edi, eax
lea edi, [edi + edi*8]
shl edi, 5
add edi, ebx
mov byte [edi + 0x12], 1
jmp 0x408035
mov eax, dword [esi + 0x20]
test eax, eax
je 0x408288
cmp byte [eax + 0x24], 0
jne 0x407ee8
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x407f37
jmp 0x408288
movzx eax, byte [esi + 0x12]
lea edi, [eax + eax*8]
shl edi, 5
add edi, ebp
sub eax, 0x10
je 0x407ff3
dec eax
je 0x407faf
dec eax
jne 0x408035
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 0x408035
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 0x408035
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 0x408054
or edx, 0x4000
mov byte [edi + 0xa], 1
mov dword [esp + 0x20], edx
cmp byte [edi + 4], 0
je 0x40808b
cmp byte [esi + 0x11], 0
jne 0x40808b
cmp byte [esi + 0x13], 0
jne 0x40808b
cmp word [esi + 0xa], 0
jne 0x40808b
test byte [esi + 0x15], 2
jne 0x40808b
mov ax, word [esi + 8]
mov bl, byte [esi + 0x12]
xor cl, cl
call fcn.00407960
mov ebx, dword [0x4c1a2c]
mov edx, dword [esp + 0x20]
mov al, byte [esi + 0x13]
test al, al
je 0x40819f
movzx ecx, al
lea ecx, [ecx + ecx*8]
shl ecx, 5
add ecx, ebp
cmp byte [ecx + 4], 0
je 0x408141
lea ecx, [eax - 0x10]
movzx eax, al
cmp cl, 2
ja 0x408134
sub eax, 0x10
je 0x40810f
dec eax
je 0x4080ea
dec eax
jne 0x40815e
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 0x40815e
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 0x40815e
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 0x40815e
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebp + 8], 1
jmp 0x40815e
mov byte [ecx + 8], 1
test byte [esi + 0x15], 1
je 0x40815e
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 0x408246
mov al, byte [esi + 0x13]
movzx ecx, cl
mov byte [edi + ecx*4 + 0x16], al
movzx eax, word [esi + 2]
test ax, ax
je 0x40818e
movzx edx, byte [edi + 0x13]
mov word [edi + edx*4 + 0x18], ax
inc byte [edi + 0x13]
jmp 0x408288
movzx eax, byte [edi + 0x13]
mov word [edi + eax*4 + 0x18], dx
inc byte [edi + 0x13]
jmp 0x408288
movzx eax, word [esi + 0xa]
test ax, ax
je 0x408236
mov ecx, eax
lea ecx, [ecx + ecx*8]
shl ecx, 5
cmp byte [ecx + ebx + 4], 0
je 0x4081c8
lea eax, [eax + eax*8]
shl eax, 5
mov byte [eax + ebx + 8], 1
jmp 0x4081f5
mov byte [ecx + ebx + 8], 1
test byte [esi + 0x15], 1
je 0x4081e6
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 0x408246
movzx ecx, al
mov ax, word [esi + 0xa]
mov word [edi + ecx*4 + 0xde], ax
movzx eax, word [esi + 2]
test ax, ax
je 0x408225
movzx ecx, byte [edi + 0x14]
mov word [edi + ecx*4 + 0xe0], ax
inc byte [edi + 0x14]
jmp 0x408288
movzx eax, byte [edi + 0x14]
mov word [edi + eax*4 + 0xe0], dx
inc byte [edi + 0x14]
jmp 0x408288
cmp byte [esi + 0x11], 0
jne 0x408246
test byte [esi + 0x15], 2
je 0x408246
or byte [edi + 0xb], 1
movzx eax, word [esi + 2]
mov ecx, eax
test ax, ax
jne 0x408254
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 0x407e90
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x40859f
push 0x407890
push 0xc
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00487230
add esp, 0x10
test esi, esi
jle 0x40859f
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 0x408320
xor edx, edx
test cl, 0xc0
je 0x408302
mov edx, 8
test cl, 0xc
je 0x40830a
or edx, 1
test cl, 0x30
je 0x408312
or edx, 4
test cl, 3
je 0x40831a
or edx, 2
or ebx, edx
mov dword [esp + 0x24], ebx
mov ebp, dword [0x4c1a20]
mov edi, dword [0x4c1a1c]
xor edx, edx
xor esi, esi
add ebp, 0x270
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
add edi, 0x14a
jmp 0x40834a
mov ebx, dword [esp + 0x24]
xor ecx, ecx
test dl, 0xc0
je 0x408356
mov ecx, 8
test dl, 0xc
je 0x40835e
or ecx, 1
test dl, 0x30
je 0x408366
or ecx, 4
test dl, 3
je 0x40836e
or ecx, 2
cmp byte [eax + 1], 0
je 0x408376
and ecx, ebx
cmp ebx, ecx
jne case.0x4084de.19
mov cl, byte [eax]
test cl, cl
je 0x408395
movzx ecx, cl
mov edx, ecx
and edx, dword [esp + 0x1c]
cmp ecx, edx
jne case.0x4084de.19
mov cl, byte [eax + 2]
test cl, cl
jne 0x408438
movzx ecx, word [eax + 4]
mov edx, dword [0x4c1a20]
add ecx, esi
lea esi, [edx + ecx*2]
movzx ecx, word [esi]
mov edx, 0x3fff
cmp cx, dx
jne 0x4083c8
mov cx, word [eax + 6]
mov word [esi], cx
jmp case.0x4084de.19
mov edx, ecx
shr edx, 0xe
and dl, 1
cmp byte [esp + 0x17], 0
je 0x4083f4
test dl, dl
jne 0x408413
mov dx, word [eax + 6]
mov esi, dword [0x4c1a24]
and ecx, 0x3fff
mov word [esi + ecx*2], dx
jmp case.0x4084de.19
test dl, dl
je 0x408413
movzx edx, word [esp + 0x18]
mov ebx, dword [0x4c1a24]
mov word [ebx + edx*2], cx
mov cx, word [eax + 6]
mov word [esi], cx
jmp case.0x4084de.19
mov edx, dword [0x4c1a24]
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.0x4084de.19
mov edx, dword [0x4c1a1c]
movzx ecx, cl
add ecx, esi
lea esi, [edx + ecx*2]
movzx ecx, word [esi]
mov edx, 0x3fff
cmp cx, dx
jne 0x40845c
mov cx, word [eax + 6]
mov word [esi], cx
jmp 0x4084c4
mov edx, ecx
shr edx, 0xe
and dl, 1
cmp byte [esp + 0x17], 0
je 0x408488
test dl, dl
jne 0x4084a4
mov dx, word [eax + 6]
mov esi, dword [0x4c1a24]
and ecx, 0x3fff
mov word [esi + ecx*2], dx
jmp case.0x4084de.19
test dl, dl
je 0x4084a4
movzx edx, word [esp + 0x18]
mov ebx, dword [0x4c1a24]
mov word [ebx + edx*2], cx
mov cx, word [eax + 6]
mov word [esi], cx
jmp 0x4084c4
mov edx, dword [0x4c1a24]
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.0x4084de.19
movzx ecx, byte [ecx + 0x4085d8]
jmp dword [ecx*4 + 0x4085bc]
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.0x4084de.19
mov dx, word [eax + 6]
mov word [edi], dx
mov cx, word [eax + 6]
mov word [ebp], cx
jmp case.0x4084de.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.0x4084de.19
mov dx, word [eax + 6]
mov word [edi - 8], dx
mov cx, word [eax + 6]
mov word [ebp - 4], cx
jmp case.0x4084de.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.0x4084de.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 0x408346
add eax, 0xc
dec dword [esp + 0x28]
jne 0x4082cf
mov edx, dword [esp + 0x2c]
push 0
push edx
call fcn.00408670
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2f00
ret