Function at 0x40caa0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
push 5
mov esi, ecx
mov edi, edx
push 0x4d9cd0
push esi
mov dword [esp + 0x2c], esi
call fcn.004b653e
add esp, 0xc
test eax, eax
jne 0x40cb81
push 3
lea eax, [esi + 5]
push 0x4d9cd8
push eax
call fcn.004b653e
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 fcn.004b626e
add esp, 8
test eax, eax
jne 0x40cb0b
mov al, 1
jmp 0x40cb1f
push str.Exist
push esi
call fcn.004b626e
add esp, 8
test eax, eax
jne 0x40cb38
mov al, 3
push dword [ebp + 8]
add bl, al
mov edx, edi
mov cl, bl
call fcn.0040bcc0
add esp, 4
test eax, eax
jne 0x40cc33
mov eax, dword [0x4e88cc]
test byte [eax + 0xe0], 1
jne 0x40cb63
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9c00
call fcn.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4edbbc]
push 0x4d5231
push 0
push 0x4d9c00
call fcn.0043e650
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4d9ce4
push esi
call fcn.004b626e
add esp, 8
test eax, eax
jne 0x40cc95
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x40cbba
push 0x4d5231
push str.Parameter_3_must_be_blank_in_this_case.
mov ecx, 0x4ed830
call fcn.0043ed90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40cc50
mov cl, byte [eax + 0x17]
test cl, cl
jne 0x40cbd1
mov edx, dword [eax + 0xc]
jmp 0x40cbd3
mov edx, eax
test byte [edx + 0x15], 2
je 0x40cc50
test cl, cl
jne 0x40cbe0
mov eax, dword [eax + 0xc]
mov esi, dword [0x4ec064]
mov edi, dword [eax]
test esi, esi
je 0x40cc01
nop dword [eax]
cmp byte [esi], 6
jne 0x40cbfa
cmp dword [esi + 0xc], edi
je 0x40cc2d
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x40cbf0
call fcn.0040bfa0
mov esi, eax
test esi, esi
jne 0x40cc13
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], 0x4d5231
mov dword [esi + 8], 0x4d5231
mov dword [0x4ec070], esi
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d5290
call fcn.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edi], 0
jne 0x40cc59
xor esi, esi
jmp 0x40cc2d
mov esi, dword [0x4ec064]
test esi, esi
je 0x40cc7a
push dword [esi + 4]
push edi
call fcn.004b6442
add esp, 8
test eax, eax
je 0x40cc2d
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x40cc63
push 0x4d5231
push str.Parameter_2_must_match_an_existing_If_expression.
mov ecx, 0x4ed830
call fcn.0043ed90
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.0049e4d0
test eax, eax
setne byte [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [ebp + 0xc], eax
jne 0x40cd2e
mov dl, 1
mov ecx, edi
call fcn.0040baf0
movzx eax, ax
mov dword [esp + 0x28], eax
test ax, ax
jne 0x40cd2e
push 0
push dword [ebp + 0x10]
mov ecx, 0x4ed830
push edi
call fcn.00428810
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x40cd2e
mov cl, byte [edi]
test cl, cl
jne 0x40cd01
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40cd2e
cmp byte [eax + 0x17], cl
jne 0x40ccfb
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
je 0x40cd2e
cmp byte [esp + 0x1c], 0
jne 0x40cb46
test cl, cl
mov edx, str.Parameters_of_hotkey_functions_must_be_optional.
mov eax, str.Target_label_does_not_exist.
mov ecx, 0x4ed830
push edi
cmove eax, edx
push eax
call fcn.0043ed90
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.0040e480
mov edi, eax
add esp, 4
test edi, edi
je 0x40cd5f
mov esi, dword [edi + 0x20]
test esi, esi
je 0x40cd5f
mov eax, dword [0x4ec070]
cmp dword [esi + 4], eax
je 0x40cd61
mov esi, dword [esi + 8]
test esi, esi
jne 0x40cd53
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 0x40cf32
sub ecx, 1
je 0x40cf32
sub ecx, 1
je 0x40cf32
test edi, edi
jne 0x40cdea
test ax, ax
je 0x40cda4
mov edx, eax
xor ecx, ecx
jmp 0x40cdb3
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40cf36
xor edx, edx
mov ecx, eax
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.0040d370
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40cdd9
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 byte [esp + 0x12], dl
jmp 0x40d036
cmp word [edi + 6], ax
je 0x40ce0f
mov word [edi + 6], ax
test ax, ax
jne 0x40cdff
mov byte [edi + 0x19], 1
jmp 0x40ce09
cmp byte [edi + 0x12], 0
jne 0x40ce09
mov byte [edi + 0x14], 1
mov dl, 1
mov dword [esp + 0x14], edx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40cee9
test esi, esi
je 0x40ce80
cmp ecx, dword [esi]
je 0x40cef1
cmp byte [esi + 0x1c], 0
je 0x40ce63
cmp byte [0x4ec075], 0
je 0x40ce63
mov dword [esp + 0x2c], ecx
mov ecx, esi
call fcn.00490050
lea ecx, [esp + 0x2c]
mov bl, al
call fcn.00490050
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 0x40ce75
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 0x40cef1
push dword [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0040dc10
mov esi, eax
test esi, esi
jne 0x40cece
cmp byte [esp + 0x1c], al
je 0x40ceb4
mov ecx, dword [0x4eb720]
push 1
push eax
push 0xffffffffffffffff
push 0x4d9ddc
call fcn.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x20]
mov ecx, 0x4ed830
push str.Out_of_memory.
call fcn.0043ed90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x4eb7cf], 0
mov edx, 1
mov byte [esp + 0x12], 1
mov dword [esp + 0x14], edx
je 0x40cef1
mov ch, dl
jmp 0x40cef5
test esi, esi
je 0x40d03e
mov ch, byte [esp + 0x13]
mov eax, dword [esp + 0x24]
test al, al
mov byte [esi + 0x19], al
mov cl, byte [edi + 0x13]
sete al
lea eax, [eax*2 + 2]
or cl, al
cmp byte [edi + 0x14], 0
mov byte [edi + 0x13], cl
jne 0x40d03a
test ch, ch
jne 0x40cf28
cmp byte [esp + 0x24], ch
je 0x40d03a
mov dl, 1
mov byte [edi + 0x14], dl
jmp 0x40d036
test edi, edi
jne 0x40cf74
cmp byte [esp + 0x1c], 0
je 0x40cf5a
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9d9c
call fcn.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x20]
mov ecx, 0x4ed830
push str.Nonexistent_hotkey.
call fcn.0043ed90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x40cfbc
cmp word [edi + 6], si
jne 0x40cfbc
cmp byte [esp + 0x1c], 0
je 0x40cfa2
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9db4
call fcn.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x20]
mov ecx, 0x4ed830
push str.Nonexistent_hotkey_variant__IfWin_.
call fcn.0043ed90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ax, 3
jne 0x40cfd9
xor eax, eax
cmp word [edi + 6], ax
je 0x40cfcf
cmp byte [edi + 0x19], al
jmp 0x40cfd2
cmp byte [esi + 0x1c], al
setne al
inc eax
movzx eax, ax
movzx ecx, word [edi + 6]
cmp ax, 1
jne 0x40d014
test cx, cx
je 0x40cffe
cmp byte [edi + 0x19], 0
je 0x40cff4
xor al, al
mov dl, al
jmp 0x40d036
mov al, 1
mov byte [edi + 0x19], 1
mov dl, al
jmp 0x40d036
cmp byte [esi + 0x1c], 0
je 0x40d00a
xor al, al
mov dl, al
jmp 0x40d036
mov al, 1
mov byte [esi + 0x1c], 1
mov dl, al
jmp 0x40d036
test cx, cx
je 0x40d025
cmp byte [edi + 0x19], 0
je 0x40d03a
mov byte [edi + 0x19], 0
jmp 0x40d031
cmp byte [esi + 0x1c], 0
je 0x40d03a
mov word [esi + 0x1b], 0
mov edx, 1
mov dword [esp + 0x14], edx
test esi, esi
jne 0x40d049
cmp word [edi + 6], 0
je 0x40cf7e
mov al, byte [ebx]
test al, al
je 0x40d1ab
movzx ebx, al
test ebx, 0xffffff80
jne 0x40d070
push 2
push ebx
call fcn.004b8e5e
add esp, 8
test eax, eax
je 0x40d070
and ebx, 0xffffffdf
movsx eax, bl
add eax, 0xffffffbe
cmp eax, 0x13
ja case.0x40d086.67
movzx eax, byte [eax + 0x40d35c]
jmp dword [eax*4 + 0x40d340]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x2c], eax
movzx ebx, byte [eax]
test ebx, 0xffffff80
jne 0x40d0b3
push 2
push ebx
call fcn.004b8e5e
add esp, 8
test eax, eax
je 0x40d0b3
and ebx, 0xffffffdf
cmp bl, 0x4e
jne 0x40d0fb
cmp word [edi + 6], 0
mov eax, dword [esp + 0x2c]
je 0x40d0df
cmp byte [edi + 0x19], 0
jne 0x40d198
mov edx, 1
mov byte [edi + 0x19], 1
mov dword [esp + 0x14], edx
jmp 0x40d19c
cmp byte [esi + 0x1c], 0
jne 0x40d198
mov edx, 1
mov byte [esi + 0x1c], 1
mov dword [esp + 0x14], edx
jmp 0x40d19c
push 3
push 0x4d9c04
push dword [esp + 0x20]
call fcn.004b653e
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x40d198
add eax, 2
cmp word [edi + 6], 0
je 0x40d139
cmp byte [edi + 0x19], 0
je 0x40d150
mov edx, 1
mov byte [edi + 0x19], 0
mov dword [esp + 0x14], edx
jmp 0x40d154
cmp byte [esi + 0x1c], 0
je 0x40d150
mov edx, 1
mov word [esi + 0x1b], 0
mov dword [esp + 0x14], edx
jmp 0x40d154
mov edx, dword [esp + 0x14]
cmp byte [esp + 0x12], 0
je 0x40d19c
xor dl, dl
mov dword [esp + 0x14], edx
jmp 0x40d19c
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test esi, esi
je 0x40d19c
cmp byte [eax + 1], 0x30
setne al
mov byte [esi + 0x1a], al
mov eax, dword [esp + 0x18]
jmp 0x40d19c
mov eax, dword [esp + 0x18]
test esi, esi
je 0x40d198
inc eax
push eax
call fcn.004b9548
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 0x40d053
test dl, dl
je 0x40d1b4
call fcn.0040c020
cmp byte [esp + 0x1c], 0
je 0x40d316
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d5290
call fcn.004a2730
cmp byte [edi + 0x12], 0
jne 0x40d316
cmp byte [edi + 0x18], 0
jne 0x40d316
cmp byte [0x4ec075], 0
je 0x40d2f3
cmp word [edi + 6], 0
jne 0x40d316
mov esi, dword [edi + 0x20]
test esi, esi
je 0x40d316
nop dword [eax]
mov ecx, esi
call fcn.00490050
test al, al
jne 0x40d2f3
mov esi, dword [esi + 8]
test esi, esi
jne 0x40d210
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 0x40d198
inc eax
push eax
call fcn.004b9548
mov edx, dword [0x4e88c8]
add esp, 4
movzx ecx, al
mov byte [esi + 0x17], al
cmp ecx, edx
jle 0x40d25f
mov byte [esi + 0x17], dl
jmp case.0x40d086.67
mov edx, dword [esp + 0x14]
cmp al, 1
mov eax, dword [esp + 0x18]
jae 0x40d19c
mov byte [esi + 0x17], 1
jmp 0x40d19c
push str.UseErrorLevel
push dword [esp + 0x1c]
call fcn.004b626e
mov edx, dword [esp + 0x1c]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x40d19c
add eax, 0xc
jmp 0x40d19c
mov eax, dword [esp + 0x18]
test esi, esi
je 0x40d198
inc eax
push eax
call fcn.004b9548
add esp, 4
cmp eax, 0x64
ja case.0x40d086.67
test eax, eax
je 0x40d2e3
cmp byte [edi + 0x14], 0
jne 0x40d2e3
mov byte [edi + 0x14], 1
mov edx, 1
mov byte [esi + 0x18], al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
jmp 0x40d19c
mov edx, dword [esp + 0x14]
mov byte [esi + 0x18], al
mov eax, dword [esp + 0x18]
jmp 0x40d19c
cmp word [edi + 6], 0
je 0x40d321
cmp byte [edi + 0x19], 0
je 0x40d316
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9de0
call fcn.004a2730
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 0x40d316
cmp byte [eax + 0x1c], 0
jne 0x40d300
mov eax, dword [eax + 8]
test eax, eax
jne 0x40d328
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret