Function at 0x414690
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbicmp]
push esi
push edi
push 5
mov esi, ecx
mov edi, edx
push 0x4c9738
push esi
mov dword [esp + 0x2c], esi
call ebx
add esp, 0xc
test eax, eax
jne 0x414772
push 3
lea eax, [esi + 5]
push 0x4c9740
push eax
call ebx
add esp, 0xc
mov edx, 8
test eax, eax
mov ecx, 5
sete bl
test eax, eax
push str.Active
cmove ecx, edx
add esi, ecx
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4146fc
mov al, 1
jmp 0x414711
push str.Exist
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x414729
mov al, 3
push dword [ebp + 8]
lea ecx, [eax + ebx]
mov edx, edi
call fcn.00413850
add esp, 4
test eax, eax
jne 0x414823
mov eax, dword [0x4d70f4]
test byte [eax + 0xe0], 1
jne 0x414754
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c40b0
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4dbe24]
push 0x4c3c29
push 0
push 0x4c40b0
call fcn.0044d1f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4c974c
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x41488f
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x4147ac
push 0x4c3c29
push str.Parameter_3_must_be_blank_in_this_case.
mov ecx, 0x4dba98
call fcn.0044da60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x414840
mov cl, byte [eax + 0x17]
test cl, cl
jne 0x4147c3
mov edx, dword [eax + 0xc]
jmp 0x4147c5
mov edx, eax
test byte [edx + 0x15], 2
je 0x414840
test cl, cl
jne 0x4147d2
mov eax, dword [eax + 0xc]
mov esi, dword [0x4da2a8]
mov edi, dword [eax]
test esi, esi
je 0x4147f1
nop
cmp byte [esi], 6
jne 0x4147ea
cmp dword [esi + 0xc], edi
je 0x41481d
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x4147e0
call fcn.00413b30
mov esi, eax
test esi, esi
jne 0x414803
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov byte [esi], 6
mov dword [esi + 0xc], edi
mov dword [esi + 4], 0x4c3c29
mov dword [esi + 8], 0x4c3c29
mov dword [0x4da2b4], esi
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c3cb0
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi], 0
jne 0x414849
xor esi, esi
jmp 0x41481d
mov esi, dword [0x4da2a8]
test esi, esi
je 0x414874
mov ebx, dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
nop dword [eax]
push dword [esi + 4]
push edi
call ebx
add esp, 8
test eax, eax
je 0x41481d
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x414860
push 0x4c3c29
push str.Parameter_2_must_match_an_existing_If_expression.
mov ecx, 0x4dba98
call fcn.0044da60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov edx, str.UseErrorLevel
mov ecx, ebx
mov dword [esp + 0x18], ebx
call fcn.004ac1a0
test eax, eax
setne byte [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [ebp + 0xc], eax
jne 0x414928
mov dl, 1
mov ecx, edi
call fcn.00413680
movzx eax, ax
mov dword [esp + 0x28], eax
test ax, ax
jne 0x414928
push 0
push dword [ebp + 0x10]
mov ecx, 0x4dba98
push edi
call fcn.00433180
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x414928
mov cl, byte [edi]
test cl, cl
jne 0x4148fb
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x414928
cmp byte [eax + 0x17], cl
jne 0x4148f5
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
je 0x414928
cmp byte [esp + 0x1c], 0
jne 0x414737
test cl, cl
mov edx, str.Parameters_of_hotkey_functions_must_be_optional.
mov eax, str.Target_label_does_not_exist.
mov ecx, 0x4dba98
push edi
cmove eax, edx
push eax
call fcn.0044da60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x13]
mov ecx, esi
push eax
lea edx, [esp + 0x28]
call fcn.004160c0
mov edi, eax
add esp, 4
test edi, edi
je 0x41495c
mov esi, dword [edi + 0x20]
test esi, esi
je 0x41495c
mov eax, dword [0x4da2b4]
nop dword [eax]
cmp dword [esi + 4], eax
je 0x41495e
mov esi, dword [esi + 8]
test esi, esi
jne 0x414950
xor esi, esi
mov eax, dword [esp + 0x28]
xor dl, dl
movzx ecx, ax
mov dword [esp + 0x14], edx
mov byte [esp + 0x12], dl
mov dword [esp + 0x28], 1
sub ecx, 1
je 0x414b31
sub ecx, 1
je 0x414b31
sub ecx, 1
je 0x414b31
test edi, edi
jne 0x4149eb
test ax, ax
je 0x4149a1
mov edx, eax
xor ecx, ecx
jmp 0x4149b0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x414b35
xor edx, edx
mov ecx, eax
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.00414fa0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4149d6
movzx eax, byte [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x24]
mov edx, 1
mov dword [esp + 0x14], edx
mov byte [esp + 0x12], dl
jmp 0x414c58
cmp word [edi + 6], ax
je 0x414a10
mov word [edi + 6], ax
test ax, ax
jne 0x414a00
mov byte [edi + 0x19], 1
jmp 0x414a0a
cmp byte [edi + 0x12], 0
jne 0x414a0a
mov byte [edi + 0x14], 1
mov dl, 1
mov dword [esp + 0x14], edx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x414ae6
test esi, esi
je 0x414a7d
cmp ecx, dword [esi]
je 0x414aee
cmp byte [esi + 0x1c], 0
je 0x414a64
cmp byte [0x4d99f8], 0
je 0x414a64
mov dword [esp + 0x2c], ecx
mov ecx, esi
call fcn.0049da70
lea ecx, [esp + 0x2c]
mov bl, al
call fcn.0049da70
mov ecx, dword [esp + 0x14]
cmp al, bl
mov ebx, dword [ebp + 8]
movzx ecx, cl
cmovne ecx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [esi]
test ecx, ecx
je 0x414a76
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
jmp 0x414aee
push dword [esp + 0x24]
push ecx
mov ecx, edi
call fcn.00415840
mov esi, eax
test esi, esi
jne 0x414acb
cmp byte [esp + 0x1c], al
je 0x414ab1
mov ecx, dword [0x4d995c]
push 1
push eax
push 0xffffffffffffffff
push 0x4c9844
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x20]
mov ecx, 0x4dba98
push str.Out_of_memory.
call fcn.0044da60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x4d9a11], 0
mov ecx, 1
mov byte [esp + 0x12], 1
mov dword [esp + 0x14], ecx
je 0x414aee
mov dl, cl
jmp 0x414af2
test esi, esi
je 0x414c5c
mov dl, byte [esp + 0x13]
mov eax, dword [esp + 0x24]
test al, al
mov byte [esi + 0x19], al
sete al
lea eax, [eax*2 + 2]
or byte [edi + 0x13], al
cmp byte [edi + 0x14], 0
jne 0x414c54
test dl, dl
jne 0x414b20
cmp byte [esp + 0x24], dl
je 0x414c54
mov edx, 1
mov dword [esp + 0x14], edx
mov byte [edi + 0x14], dl
jmp 0x414c58
test edi, edi
jne 0x414b73
cmp byte [esp + 0x1c], 0
je 0x414b59
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c9804
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x20]
mov ecx, 0x4dba98
push str.Nonexistent_hotkey.
call fcn.0044da60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x414bbb
cmp word [edi + 6], si
jne 0x414bbb
cmp byte [esp + 0x1c], 0
je 0x414ba1
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c981c
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x20]
mov ecx, 0x4dba98
push str.Nonexistent_hotkey_variant__IfWin_.
call fcn.0044da60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ax, 3
jne 0x414bd8
xor eax, eax
cmp word [edi + 6], ax
je 0x414bce
cmp byte [edi + 0x19], al
jmp 0x414bd1
cmp byte [esi + 0x1c], al
setne al
inc eax
movzx eax, ax
movzx ecx, word [edi + 6]
cmp ax, 1
jne 0x414c23
test cx, cx
je 0x414c05
cmp byte [edi + 0x19], 0
je 0x414bf7
xor al, al
mov dl, al
mov dword [esp + 0x14], edx
jmp 0x414c58
mov al, 1
mov byte [edi + 0x19], 1
mov dl, al
mov dword [esp + 0x14], edx
jmp 0x414c58
cmp byte [esi + 0x1c], 0
je 0x414c15
xor al, al
mov dl, al
mov dword [esp + 0x14], edx
jmp 0x414c58
mov al, 1
mov byte [esi + 0x1c], 1
mov dl, al
mov dword [esp + 0x14], edx
jmp 0x414c58
test cx, cx
je 0x414c3d
cmp byte [edi + 0x19], 0
je 0x414c58
mov edx, 1
mov byte [edi + 0x19], 0
mov dword [esp + 0x14], edx
jmp 0x414c58
cmp byte [esi + 0x1c], 0
je 0x414c58
mov edx, 1
mov word [esi + 0x1b], 0
mov dword [esp + 0x14], edx
jmp 0x414c58
mov edx, dword [esp + 0x14]
test esi, esi
jne 0x414c67
cmp word [edi + 6], 0
je 0x414b7d
mov al, byte [ebx]
test al, al
je 0x414dcd
movzx ebx, al
test ebx, 0xffffff80
jne 0x414c8f
push 2
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
je 0x414c8f
and ebx, 0xffffffdf
movsx eax, bl
add eax, 0xffffffbe
cmp eax, 0x13
ja case.0x414ca5.67
movzx eax, byte [eax + 0x414f84]
jmp dword [eax*4 + 0x414f68]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x2c], eax
movzx ebx, byte [eax]
test ebx, 0xffffff80
jne 0x414cd3
push 2
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
test eax, eax
je 0x414cd3
and ebx, 0xffffffdf
cmp bl, 0x4e
jne 0x414d1b
cmp word [edi + 6], 0
mov eax, dword [esp + 0x2c]
je 0x414cff
cmp byte [edi + 0x19], 0
jne 0x414dba
mov edx, 1
mov byte [edi + 0x19], 1
mov dword [esp + 0x14], edx
jmp 0x414dbe
cmp byte [esi + 0x1c], 0
jne 0x414dba
mov edx, 1
mov byte [esi + 0x1c], 1
mov dword [esp + 0x14], edx
jmp 0x414dbe
push 3
push 0x4c9668
push dword [esp + 0x20]
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x414dba
add eax, 2
cmp word [edi + 6], 0
je 0x414d5a
cmp byte [edi + 0x19], 0
je 0x414d71
mov edx, 1
mov byte [edi + 0x19], 0
mov dword [esp + 0x14], edx
jmp 0x414d75
cmp byte [esi + 0x1c], 0
je 0x414d71
mov edx, 1
mov word [esi + 0x1b], 0
mov dword [esp + 0x14], edx
jmp 0x414d75
mov edx, dword [esp + 0x14]
cmp byte [esp + 0x12], 0
je 0x414dbe
xor dl, dl
mov dword [esp + 0x14], edx
jmp 0x414dbe
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test esi, esi
je 0x414dbe
cmp byte [eax + 1], 0x30
setne al
mov byte [esi + 0x1a], al
mov eax, dword [esp + 0x18]
jmp 0x414dbe
mov eax, dword [esp + 0x18]
test esi, esi
je 0x414dba
inc eax
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x18], eax
mov al, byte [eax]
test al, al
jne 0x414c71
test dl, dl
je 0x414dd6
call fcn.00413bb0
cmp byte [esp + 0x1c], 0
je 0x414f39
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c3cb0
call fcn.004b04f0
cmp byte [edi + 0x12], 0
jne 0x414f39
cmp byte [edi + 0x18], 0
jne 0x414f39
cmp byte [0x4d99f8], 0
je 0x414f16
cmp word [edi + 6], 0
jne 0x414f39
mov esi, dword [edi + 0x20]
test esi, esi
je 0x414f39
nop
mov ecx, esi
call fcn.0049da70
test al, al
jne 0x414f16
mov esi, dword [esi + 8]
test esi, esi
jne 0x414e30
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
test esi, esi
je 0x414dba
inc eax
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov edx, dword [0x4d70f0]
add esp, 4
movzx ecx, al
mov byte [esi + 0x17], al
cmp ecx, edx
jle 0x414e80
mov byte [esi + 0x17], dl
jmp case.0x414ca5.67
mov edx, dword [esp + 0x14]
cmp al, 1
mov eax, dword [esp + 0x18]
jae 0x414dbe
mov byte [esi + 0x17], 1
jmp 0x414dbe
push str.UseErrorLevel
push dword [esp + 0x1c]
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
mov edx, dword [esp + 0x1c]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x414dbe
add eax, 0xc
jmp 0x414dbe
mov eax, dword [esp + 0x18]
test esi, esi
je 0x414dba
inc eax
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
cmp eax, 0x64
ja case.0x414ca5.67
test eax, eax
je 0x414f06
cmp byte [edi + 0x14], 0
jne 0x414f06
mov byte [edi + 0x14], 1
mov edx, 1
mov byte [esi + 0x18], al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
jmp 0x414dbe
mov edx, dword [esp + 0x14]
mov byte [esi + 0x18], al
mov eax, dword [esp + 0x18]
jmp 0x414dbe
cmp word [edi + 6], 0
je 0x414f44
cmp byte [edi + 0x19], 0
je 0x414f39
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c9848
call fcn.004b04f0
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x20]
test eax, eax
je 0x414f39
nop dword [eax + eax]
cmp byte [eax + 0x1c], 0
jne 0x414f23
mov eax, dword [eax + 8]
test eax, eax
jne 0x414f50
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret