Function at 0x4158a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
push edi
push 5
push 0x4e52d0
push ebx
mov edi, edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], eax
call eax
add esp, 0xc
test eax, eax
jne 0x41598f
push 3
lea eax, [ebx + 0xa]
push 0x4e52dc
push eax
call dword [esp + 0x3c]
mov esi, eax
add esp, 0xc
mov eax, 0x10
test esi, esi
mov ecx, 0xa
cmove ecx, eax
add ebx, ecx
push str.Active
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x415916
test esi, esi
sete cl
inc cl
jmp 0x415931
push str.Exist
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x415946
test esi, esi
sete cl
add cl, 3
push dword [ebp + 8]
mov edx, edi
call fcn.00414a50
add esp, 4
test eax, eax
jne 0x415a43
mov eax, dword [0x4f8174]
test byte [eax + 0x100], 1
jne 0x415971
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4e513c
call fcn.004b4bf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4fd25c]
push 0x4cec30
push 0
push 0x4e513c
call fcn.0044d640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
push 0x4e52f4
push ebx
mov dword [esp + 0x3c], eax
call eax
add esp, 8
test eax, eax
jne 0x415a92
mov eax, dword [ebp + 8]
cmp word [eax], 0
je 0x4159cf
push 0x4cec30
push str.Parameter_3_must_be_blank_in_this_case.
mov ecx, 0x4fcc10
call fcn.0044df00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x415a60
mov cl, byte [esi + 0x17]
lea eax, [esi + 0xc]
test cl, cl
jne 0x4159e5
mov edx, dword [eax]
jmp 0x4159e7
mov edx, esi
test byte [edx + 0x15], 2
je 0x415a60
test cl, cl
jne 0x4159f3
mov esi, dword [eax]
mov edi, dword [esi]
mov esi, dword [0x4fb440]
test esi, esi
je 0x415a11
nop
cmp byte [esi], 6
jne 0x415a0a
cmp dword [esi + 0xc], edi
je 0x415a3d
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x415a00
call fcn.00414cb0
mov esi, eax
test esi, esi
jne 0x415a23
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], 0x4cec30
mov dword [esi + 8], 0x4cec30
mov dword [0x4fb44c], esi
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4cecf8
call fcn.004b4bf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [edi], 0
jne 0x415a6a
xor esi, esi
jmp 0x415a3d
mov ecx, edi
call fcn.00414d30
mov esi, eax
test esi, esi
jne 0x415a3d
push 0x4cec30
push str.Parameter_2_must_match_an_existing_If_expression.
mov ecx, 0x4fcc10
call fcn.0044df00
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.004b09f0
test eax, eax
mov dword [esp + 0x20], eax
setne byte [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp dword [ebp + 0xc], ecx
jne 0x415b2d
mov dl, 1
mov ecx, edi
call fcn.00414870
movzx ecx, ax
mov dword [esp + 0x28], ecx
test cx, cx
jne 0x415b2d
push 0
push esi
push edi
mov ecx, 0x4fcc10
call fcn.00433d00
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x415b2d
movzx ecx, word [edi]
test cx, cx
jne 0x415aff
test esi, esi
je 0x415b2d
cmp byte [esi + 0x17], cl
jne 0x415af9
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 2
je 0x415b2d
cmp dword [esp + 0x20], 0
jne 0x415954
test cx, cx
mov edx, str.Parameters_of_hotkey_functions_must_be_optional.
mov eax, str.Target_label_does_not_exist.
mov ecx, 0x4fcc10
push edi
cmove eax, edx
push eax
call fcn.0044df00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x13]
push eax
lea edx, [esp + 0x28]
call fcn.00417680
mov edi, eax
add esp, 4
test edi, edi
je 0x415b60
mov esi, dword [edi + 0x20]
test esi, esi
je 0x415b60
mov eax, dword [0x4fb44c]
cmp dword [esi + 4], eax
je 0x415b62
mov esi, dword [esi + 8]
test esi, esi
jne 0x415b54
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 0x415d39
sub ecx, 1
je 0x415d39
sub ecx, 1
je 0x415d39
test edi, edi
jne 0x415bed
test ax, ax
je 0x415ba5
mov edx, eax
xor ecx, ecx
jmp 0x415bb4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x415d3d
xor edx, edx
mov ecx, eax
push dword [esp + 0x2c]
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.00416190
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x415bdc
cmp dword [esp + 0x20], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x24]
mov edx, 1
mov byte [esp + 0x12], dl
jmp 0x415e3d
cmp word [edi + 6], ax
je 0x415c12
mov word [edi + 6], ax
test ax, ax
jne 0x415c02
mov byte [edi + 0x19], 1
jmp 0x415c0c
cmp byte [edi + 0x12], 0
jne 0x415c0c
mov byte [edi + 0x14], 1
mov dl, 1
mov dword [esp + 0x14], edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x415cf1
test esi, esi
je 0x415c8b
cmp ecx, dword [esi]
je 0x415cf9
cmp byte [esi + 0x1c], 0
je 0x415c6e
cmp byte [0x4fa944], 0
je 0x415c6e
mov dword [esp + 0x2c], ecx
mov ecx, esi
call fcn.004a01a0
lea ecx, [esp + 0x2c]
mov bl, al
call fcn.004a01a0
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 0x415c80
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esi], eax
jmp 0x415cf9
push eax
push ecx
mov ecx, edi
call fcn.00416bd0
mov esi, eax
test esi, esi
jne 0x415cd6
cmp dword [esp + 0x20], eax
je 0x415cbc
mov ecx, dword [0x4faa64]
push 1
push eax
push 0xffffffffffffffff
push 0x4e54e0
call fcn.004b4bf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x1c]
mov ecx, 0x4fcc10
push 0x4e2be8
call fcn.0044df00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x4fa947], 0
mov edx, 1
mov byte [esp + 0x12], 1
mov dword [esp + 0x14], edx
je 0x415cf9
mov cl, dl
jmp 0x415cfd
test esi, esi
je 0x415e45
mov cl, byte [esp + 0x13]
cmp byte [esp + 0x24], 0
mov eax, dword [esp + 0x24]
mov byte [esi + 0x19], al
mov al, byte [edi + 0x13]
je 0x415d12
or al, 2
jmp 0x415d14
or al, 4
mov byte [edi + 0x13], al
cmp byte [edi + 0x14], 0
jne 0x415e41
test cl, cl
jne 0x415d2f
cmp byte [esp + 0x24], cl
je 0x415e41
mov dl, 1
mov byte [edi + 0x14], dl
jmp 0x415e3d
test edi, edi
jne 0x415d7b
cmp dword [esp + 0x20], 0
je 0x415d61
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4e5464
call fcn.004b4bf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x1c]
mov ecx, 0x4fcc10
push 0x4e5468
call fcn.0044df00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x415dc3
cmp word [edi + 6], si
jne 0x415dc3
cmp dword [esp + 0x20], 0
je 0x415da9
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4e5490
call fcn.004b4bf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x1c]
mov ecx, 0x4fcc10
push str.Nonexistent_hotkey_variant__IfWin_.
call fcn.0044df00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ax, 3
jne 0x415de0
xor eax, eax
cmp word [edi + 6], ax
je 0x415dd6
cmp byte [edi + 0x19], al
jmp 0x415dd9
cmp byte [esi + 0x1c], al
setne al
inc eax
movzx eax, ax
movzx ecx, word [edi + 6]
cmp ax, 1
jne 0x415e1b
test cx, cx
je 0x415e05
cmp byte [edi + 0x19], 0
je 0x415dfb
xor al, al
mov dl, al
jmp 0x415e3d
mov al, 1
mov byte [edi + 0x19], 1
mov dl, al
jmp 0x415e3d
cmp byte [esi + 0x1c], 0
je 0x415e11
xor al, al
mov dl, al
jmp 0x415e3d
mov al, 1
mov byte [esi + 0x1c], 1
mov dl, al
jmp 0x415e3d
test cx, cx
je 0x415e2c
cmp byte [edi + 0x19], 0
je 0x415e41
mov byte [edi + 0x19], 0
jmp 0x415e38
cmp byte [esi + 0x1c], 0
je 0x415e41
mov word [esi + 0x1b], 0
mov edx, 1
mov dword [esp + 0x14], edx
test esi, esi
jne 0x415e50
cmp word [edi + 6], 0
je 0x415d85
movzx eax, word [ebx]
test ax, ax
je 0x415fc3
mov ecx, eax
nop
movzx ebx, cx
test ebx, 0xffffff80
jne 0x415e7e
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 0x415e7e
and ebx, 0xffffffdf
add ebx, 0xffffffbe
cmp ebx, 0x13
ja case.0x415e91.67
movzx eax, byte [ebx + 0x416178]
jmp dword [eax*4 + 0x41615c]
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x2c], eax
movzx ebx, word [eax]
test ebx, 0xffffff80
jne 0x415ec1
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 0x415ec1
and ebx, 0xffffffdf
cmp bx, 0x4e
jne 0x415f0a
cmp word [edi + 6], 0
mov eax, dword [esp + 0x2c]
je 0x415eee
cmp byte [edi + 0x19], 0
jne 0x415faa
mov edx, 1
mov byte [edi + 0x19], 1
mov dword [esp + 0x14], edx
jmp 0x415fae
cmp byte [esi + 0x1c], 0
jne 0x415faa
mov edx, 1
mov byte [esi + 0x1c], 1
mov dword [esp + 0x14], edx
jmp 0x415fae
push 3
push 0x4e5140
push dword [esp + 0x20]
call dword [esp + 0x3c]
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x415faa
add eax, 4
cmp word [edi + 6], 0
je 0x415f47
cmp byte [edi + 0x19], 0
je 0x415f5e
mov edx, 1
mov byte [edi + 0x19], 0
mov dword [esp + 0x14], edx
jmp 0x415f62
cmp byte [esi + 0x1c], 0
je 0x415f5e
mov edx, 1
mov word [esi + 0x1b], 0
mov dword [esp + 0x14], edx
jmp 0x415f62
mov edx, dword [esp + 0x14]
cmp byte [esp + 0x12], 0
je 0x415fae
xor dl, dl
mov dword [esp + 0x14], edx
jmp 0x415fae
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test esi, esi
je 0x415fae
cmp word [eax + 2], 0x30
setne al
mov byte [esi + 0x1a], al
mov eax, dword [esp + 0x18]
jmp 0x415fae
mov eax, dword [esp + 0x18]
test esi, esi
je 0x415faa
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add eax, 2
mov dword [esp + 0x18], eax
movzx eax, word [eax]
mov ecx, eax
test ax, ax
jne 0x415e60
test dl, dl
je 0x415fcc
call fcn.00414d90
cmp dword [esp + 0x20], 0
je 0x41612f
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4cecf8
call fcn.004b4bf0
cmp byte [edi + 0x12], 0
jne 0x41612f
cmp byte [edi + 0x18], 0
jne 0x41612f
cmp byte [0x4fa944], 0
je 0x41610c
cmp word [edi + 6], 0
jne 0x41612f
mov esi, dword [edi + 0x20]
test esi, esi
je 0x41612f
mov ecx, esi
call fcn.004a01a0
test al, al
jne 0x41610c
mov esi, dword [esi + 8]
test esi, esi
jne 0x416024
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 0x415faa
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov edx, dword [0x4f8170]
add esp, 4
movzx ecx, al
mov byte [esi + 0x17], al
cmp ecx, edx
jle 0x416076
mov byte [esi + 0x17], dl
jmp case.0x415e91.67
mov edx, dword [esp + 0x14]
cmp al, 1
mov eax, dword [esp + 0x18]
jae 0x415fae
mov byte [esi + 0x17], 1
jmp 0x415fae
push str.UseErrorLevel
push dword [esp + 0x1c]
call dword [esp + 0x3c]
mov edx, dword [esp + 0x1c]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x415fae
add eax, 0x18
jmp 0x415fae
mov eax, dword [esp + 0x18]
test esi, esi
je 0x415faa
add eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
cmp eax, 0x64
ja case.0x415e91.67
test eax, eax
je 0x4160fc
cmp byte [edi + 0x14], 0
jne 0x4160fc
mov byte [edi + 0x14], 1
mov edx, 1
mov byte [esi + 0x18], al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
jmp 0x415fae
mov edx, dword [esp + 0x14]
mov byte [esi + 0x18], al
mov eax, dword [esp + 0x18]
jmp 0x415fae
cmp word [edi + 6], 0
je 0x41613a
cmp byte [edi + 0x19], 0
je 0x41612f
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4e54e8
call fcn.004b4bf0
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 0x41612f
cmp byte [eax + 0x1c], 0
jne 0x416119
mov eax, dword [eax + 8]
test eax, eax
jne 0x416141
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret