Function at 0x414290
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x48b291
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
mov ebx, ecx
push ebp
push esi
mov ecx, dword [ebx + 4]
push edi
mov dword [esp + 0x18], ebx
call fcn.004155e0
mov ecx, dword [0x4a6734]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x414416
mov al, byte [ecx + 0x24]
test al, al
je 0x414364
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
jbe 0x41435a
lea ecx, [esi + 0x40]
call fcn.004147d0
mov eax, dword [eax]
add esi, 4
push esi
mov ecx, eax
call fcn.00414a80
test al, al
je 0x414354
mov esi, dword [0x4a6734]
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x30]
dec eax
push eax
call fcn.00414790
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.004147d0
mov esi, dword [eax]
mov ecx, edi
call fcn.00414820
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x10]
push eax
push edx
call fcn.00414740
test esi, esi
je 0x41433f
push 1
mov ecx, esi
call fcn.00414dc0
mov ecx, dword [0x4a6734]
mov al, byte [ecx + 0x90]
test al, al
jne 0x41435a
call fcn.0041f510
mov ecx, dword [0x4a6734]
mov byte [ecx + 0x24], 0
mov ecx, dword [0x4a6734]
test ecx, ecx
je 0x414416
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
jbe 0x414416
lea eax, [esi + 0x54]
push 1
mov ecx, dword [eax]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x5c]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0x6c], edx
call fcn.00414960
mov eax, dword [eax + 8]
add esi, 4
push esi
mov eax, dword [eax]
mov ecx, eax
call fcn.00414a80
test al, al
je 0x414416
mov esi, dword [0x4a6734]
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x30]
dec eax
push eax
call fcn.00414790
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.004147d0
mov esi, dword [eax]
mov ecx, edi
call fcn.00414820
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x10]
push eax
push edx
call fcn.00414740
test esi, esi
je 0x414401
push 1
mov ecx, esi
call fcn.00414dc0
mov ecx, dword [0x4a6734]
mov al, byte [ecx + 0x90]
test al, al
jne 0x414416
call fcn.0041f510
mov esi, dword [esp + 0xb8]
push 4
mov cx, word [esi + 4]
push ecx
mov ecx, dword [ebx + 4]
call fcn.00415840
mov dx, word [esi + 6]
mov ecx, dword [ebx + 4]
push 6
push edx
call fcn.00415840
mov ecx, dword [ebx + 4]
call fcn.00415550
mov edi, dword [str.MENU_CHOOSED]
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x6d]
mov ebp, ecx
mov ecx, 0xb
mov byte [esp + 0x6c], al
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
lea edi, [esp + 0x6c]
lea esi, [eax + 8]
mov al, byte [esp + 0x17]
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 + 0x20]
mov byte [esp + 0x20], al
call fcn.004024d0
lea edi, [esp + 0x68]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x20]
push ebx
call fcn.00402900
test al, al
je 0x4144d4
mov edi, dword [esp + 0x20]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x68]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004028e0
mov eax, dword [esp + 0x14]
xor ebx, ebx
add eax, 8
mov ecx, ebp
mov edi, eax
lea esi, [esp + 0x68]
xor edx, edx
mov dword [esp + 0xb0], ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41453e
lea esi, [eax + ebp]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call fcn.00402900
test al, al
je 0x414531
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov eax, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call fcn.004028e0
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041a030
add esp, 4
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 4]
mov dl, byte [eax + 5]
cmp cl, 0xff
mov byte [esp + 0x50], cl
mov byte [esp + 0x54], dl
jne 0x41455e
cmp dl, cl
jne 0x41455e
or esi, 0xffffffff
jmp 0x414577
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
and esi, 0xff
and edx, 0xff
shl esi, 8
add esi, edx
mov cl, byte [eax + 6]
mov dl, byte [eax + 7]
xor ax, ax
mov al, cl
xor cx, cx
shl eax, 8
mov cl, dl
add eax, ecx
mov ecx, dword [esp + 0xb8]
mov word [ecx + 4], si
mov word [ecx + 6], ax
mov ecx, dword [0x4a6734]
cmp ecx, ebx
je 0x4146f4
mov edx, dword [ecx]
push esi
call dword [edx + 0xc]
mov ecx, dword [0x4a6734]
cmp byte [ecx + 0x90], 1
jne 0x4146f4
cmp eax, 1
je 0x4145d9
cmp eax, 3
jne 0x4146ec
cmp esi, 0xffffffff
je 0x4146f4
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], dl
call fcn.004024d0
mov al, byte [esp + 0x13]
mov dword [esp + 0x40], ebx
mov byte [esp + 0x3c], al
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov ecx, dword [0x4a6734]
mov edx, dword [0x49014c]
push edx
push ebx
lea esi, [ecx + 4]
lea ecx, [esp + 0x34]
push esi
mov byte [esp + 0xbc], 1
call fcn.0040f3e0
add esi, 0x10
lea ecx, [esp + 0x3c]
push esi
call fcn.00411c90
sub esp, 0x10
lea ecx, [esp + 0x3c]
mov eax, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.00414b70
mov edi, dword [esp + 0x28]
mov ecx, edi
call fcn.00414130
xor esi, esi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
cmp ecx, ebx
jne 0x41465f
xor eax, eax
jmp 0x414666
mov eax, edx
sub eax, ecx
sar eax, 2
cmp esi, eax
jge 0x414688
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x5c], esp
push esi
push ecx
lea ecx, [esp + 0x44]
call fcn.00414ca0
mov ecx, edi
call fcn.004141b0
inc esi
jmp 0x41464f
push edx
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0xb8], 2
call fcn.00401320
mov edx, dword [esp + 0x40]
push edx
call fcn.0047e190
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
push 1
mov dword [esp + 0x4c], ebx
mov byte [esp + 0xb4], 0
call fcn.004024d0
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0xb4], 0xffffffff
call fcn.004024d0
mov ecx, dword [0x4a6734]
mov ebx, dword [esp + 0x18]
jmp 0x414364
cmp eax, 2
jne 0x4146f4
or esi, 0xffffffff
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x414718
mov al, byte [ecx - 1]
test al, al
je 0x41470e
cmp al, 0xff
je 0x41470e
dec al
mov byte [ecx - 1], al
jmp 0x414718
dec ecx
push ecx
call fcn.0047e190
add esp, 4
mov ecx, dword [esp + 0xa8]
mov ax, si
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa4
ret 4