Function at 0x49adf0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x52b248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov ecx, dword [edi + 4]
call fcn.004a9020
mov ecx, dword [0x55ebac]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x49af42
mov al, byte [ecx + 0x24]
test al, al
je 0x49aec0
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
jbe 0x49aeb6
lea ecx, [esi + 0x40]
call fcn.0049b2b0
mov eax, dword [eax]
add esi, 4
push esi
mov ecx, eax
call fcn.0049b4f0
test al, al
je 0x49aeb0
mov esi, dword [0x55ebac]
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x30]
dec eax
push eax
call fcn.0049b270
lea ebx, [esi + 0x40]
mov ecx, ebx
call fcn.0049b2b0
mov esi, dword [eax]
mov ecx, ebx
call fcn.0049b300
lea ecx, [esi + 0x10]
call fcn.0049b230
test esi, esi
je 0x49ae9b
mov ecx, esi
call fcn.0049b850
push esi
call fcn.00514120
add esp, 4
mov ecx, dword [0x55ebac]
mov al, byte [ecx + 0x90]
test al, al
jne 0x49aeb6
call fcn.004acd40
mov ecx, dword [0x55ebac]
mov byte [ecx + 0x24], 0
mov ecx, dword [0x55ebac]
test ecx, ecx
je 0x49af42
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
jbe 0x49af42
lea ecx, [esi + 0x40]
call fcn.0049b2b0
mov eax, dword [eax]
add esi, 4
push esi
mov ecx, eax
call fcn.0049b4f0
test al, al
je 0x49af42
mov esi, dword [0x55ebac]
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x30]
dec eax
push eax
call fcn.0049b270
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.0049b2b0
mov esi, dword [eax]
mov ecx, edi
call fcn.0049b300
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x10]
push eax
push edx
call fcn.004153d0
test esi, esi
je 0x49af29
push 1
mov ecx, esi
call fcn.0049b830
mov ecx, dword [0x55ebac]
mov al, byte [ecx + 0x90]
test al, al
jne 0x49af3e
call fcn.004acd40
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x64]
mov ecx, dword [edi + 4]
push 4
mov ax, word [esi + 4]
push eax
call fcn.004a9280
mov cx, word [esi + 6]
push 6
push ecx
mov ecx, dword [edi + 4]
call fcn.004a9280
mov ecx, dword [edi + 4]
call fcn.004a8f90
mov edi, dword [str.MENU_CHOOSED]
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + 0x64]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push eax
mov ebx, ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x28], dl
call fcn.00405cc0
mov edi, 0x55802c
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
call fcn.00408220
test al, al
je 0x49afd4
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov eax, ecx
mov esi, 0x55802c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00408200
mov edx, dword [esp + 0x14]
mov esi, dword [str.MENU_CHOOSED]
mov ecx, ebx
xor eax, eax
lea edi, [edx + 8]
mov dword [esp + 0x5c], 0
repe cmpsb byte [esi], byte es:[edi]
jne 0x49b042
mov ecx, edx
push 1
lea eax, [ecx + 8]
or ecx, 0xffffffff
lea esi, [eax + ebx]
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
call fcn.00408220
test al, al
je 0x49b035
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00408200
lea eax, [esp + 0x24]
push eax
call fcn.004a1920
add esp, 4
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 4]
mov dl, byte [eax + 5]
cmp cl, 0xff
mov byte [esp + 0x18], cl
mov byte [esp + 0x1c], dl
jne 0x49b062
cmp dl, cl
jne 0x49b062
or esi, 0xffffffff
jmp 0x49b07b
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
and esi, 0xff
and ecx, 0xff
shl esi, 8
add esi, ecx
mov cl, byte [eax + 6]
mov dl, byte [eax + 7]
xor ax, ax
xor edi, edi
mov al, cl
mov ecx, dword [esp + 0x64]
movzx dx, dl
shl eax, 8
add eax, edx
mov word [ecx + 4], si
mov word [ecx + 6], ax
mov ecx, dword [0x55ebac]
cmp ecx, edi
je 0x49b1ea
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov ecx, dword [0x55ebac]
cmp byte [ecx + 0x90], 1
jne 0x49b1ea
cmp eax, 1
je 0x49b0db
cmp eax, 3
jne 0x49b1e2
cmp esi, 0xffffffff
je 0x49b1ea
mov dl, byte [esp + 0x64]
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], dl
call fcn.00405cc0
mov al, byte [esp + 0x64]
mov dword [esp + 0x48], edi
mov byte [esp + 0x44], al
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov ecx, dword [0x55ebac]
mov edx, dword [0x531160]
push edx
push edi
lea esi, [ecx + 4]
lea ecx, [esp + 0x3c]
push esi
mov byte [esp + 0x68], 1
call fcn.00407be0
add esi, 0x10
lea ecx, [esp + 0x44]
push esi
call fcn.00498690
sub esp, 0x10
lea ecx, [esp + 0x44]
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0049b5e0
mov ebx, dword [esp + 0x20]
mov ecx, ebx
call fcn.0049a9f0
xor esi, esi
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
cmp ecx, edi
jne 0x49b15e
xor eax, eax
jmp 0x49b165
mov eax, edx
sub eax, ecx
sar eax, 2
cmp esi, eax
jge 0x49b187
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
push ecx
lea ecx, [esp + 0x4c]
call fcn.0049b710
mov ecx, ebx
call fcn.0049abd0
inc esi
jmp 0x49b14e
push edx
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 2
call fcn.00405f70
mov edx, dword [esp + 0x48]
push edx
call fcn.00514120
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
push 1
mov dword [esp + 0x54], edi
mov byte [esp + 0x60], 0
call fcn.00405cc0
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x60], 0xffffffff
call fcn.00405cc0
mov ecx, dword [0x55ebac]
mov edi, dword [esp + 0x10]
jmp 0x49aec0
cmp eax, 2
jne 0x49b1ea
or esi, 0xffffffff
mov ecx, dword [esp + 0x28]
cmp ecx, edi
je 0x49b20e
mov al, byte [ecx - 1]
test al, al
je 0x49b204
cmp al, 0xff
je 0x49b204
dec al
mov byte [ecx - 1], al
jmp 0x49b20e
dec ecx
push ecx
call fcn.00514120
add esp, 4
mov ecx, dword [esp + 0x54]
mov ax, si
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 4