Function at 0x4627b0
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4eed88
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.00466e90
mov ecx, dword [0x5130b0]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x462902
mov al, byte [ecx + 0x24]
test al, al
je 0x462880
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
jbe 0x462876
lea ecx, [esi + 0x40]
call fcn.00462cc0
mov eax, dword [eax]
add esi, 4
push esi
mov ecx, eax
call fcn.00462f00
test al, al
je 0x462870
mov esi, dword [0x5130b0]
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x30]
dec eax
push eax
call fcn.00462c80
lea ebx, [esi + 0x40]
mov ecx, ebx
call fcn.00462cc0
mov esi, dword [eax]
mov ecx, ebx
call fcn.00462d10
lea ecx, [esi + 0x10]
call fcn.00462bf0
test esi, esi
je 0x46285b
mov ecx, esi
call fcn.00463260
push esi
call fcn.004db420
add esp, 4
mov ecx, dword [0x5130b0]
mov al, byte [ecx + 0x90]
test al, al
jne 0x462876
call fcn.0047b310
mov ecx, dword [0x5130b0]
mov byte [ecx + 0x24], 0
mov ecx, dword [0x5130b0]
test ecx, ecx
je 0x462902
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
jbe 0x462902
lea ecx, [esi + 0x40]
call fcn.00462cc0
mov eax, dword [eax]
add esi, 4
push esi
mov ecx, eax
call fcn.00462f00
test al, al
je 0x462902
mov esi, dword [0x5130b0]
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x30]
dec eax
push eax
call fcn.00462c80
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.00462cc0
mov esi, dword [eax]
mov ecx, edi
call fcn.00462d10
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x10]
push eax
push edx
call fcn.00462c30
test esi, esi
je 0x4628e9
push 1
mov ecx, esi
call fcn.00463240
mov ecx, dword [0x5130b0]
mov al, byte [ecx + 0x90]
test al, al
jne 0x4628fe
call fcn.0047b310
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.004670f0
mov cx, word [esi + 6]
push 6
push ecx
mov ecx, dword [edi + 4]
call fcn.004670f0
mov ecx, dword [edi + 4]
call fcn.00466e00
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.004019e0
mov edi, 0x512a68
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.00401d50
test al, al
je 0x462994
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov eax, ecx
mov esi, 0x512a68
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.00401d30
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 0x462a02
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.00401d50
test al, al
je 0x4629f5
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.00401d30
lea eax, [esp + 0x24]
push eax
call fcn.00469a80
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 0x462a22
cmp dl, cl
jne 0x462a22
or esi, 0xffffffff
jmp 0x462a3b
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 [0x5130b0]
cmp ecx, edi
je 0x462baa
mov eax, dword [ecx]
push esi
call dword [eax + 0xc]
mov ecx, dword [0x5130b0]
cmp byte [ecx + 0x90], 1
jne 0x462baa
cmp eax, 1
je 0x462a9b
cmp eax, 3
jne 0x462ba2
cmp esi, 0xffffffff
je 0x462baa
mov dl, byte [esp + 0x64]
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], dl
call fcn.004019e0
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 [0x5130b0]
mov edx, dword [0x4f4164]
push edx
push edi
lea esi, [ecx + 4]
lea ecx, [esp + 0x3c]
push esi
mov byte [esp + 0x68], 1
call fcn.004017e0
add esi, 0x10
lea ecx, [esp + 0x44]
push esi
call fcn.00403df0
sub esp, 0x10
lea ecx, [esp + 0x44]
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00462ff0
mov ebx, dword [esp + 0x20]
mov ecx, ebx
call fcn.004623b0
xor esi, esi
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
cmp ecx, edi
jne 0x462b1e
xor eax, eax
jmp 0x462b25
mov eax, edx
sub eax, ecx
sar eax, 2
cmp esi, eax
jge 0x462b47
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
push ecx
lea ecx, [esp + 0x4c]
call fcn.00463120
mov ecx, ebx
call fcn.00462590
inc esi
jmp 0x462b0e
push edx
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 2
call fcn.00404010
mov edx, dword [esp + 0x48]
push edx
call fcn.004db420
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.004019e0
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x60], 0xffffffff
call fcn.004019e0
mov ecx, dword [0x5130b0]
mov edi, dword [esp + 0x10]
jmp 0x462880
cmp eax, 2
jne 0x462baa
or esi, 0xffffffff
mov ecx, dword [esp + 0x28]
cmp ecx, edi
je 0x462bce
mov al, byte [ecx - 1]
test al, al
je 0x462bc4
cmp al, 0xff
je 0x462bc4
dec al
mov byte [ecx - 1], al
jmp 0x462bce
dec ecx
push ecx
call fcn.004db420
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