Function at 0x40b3d0
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 0x4ca4e0
push esi
mov dword [esp + 0x2c], esi
call fcn.0049b726
add esp, 0xc
test eax, eax
jne 0x40b4b1
push 3
lea eax, [esi + 0xa]
push 0x4ca4ec
push eax
call fcn.0049b726
add esp, 0xc
mov edx, 0x10
test eax, eax
mov ecx, 0xa
sete bl
test eax, eax
push str.Active
cmove ecx, edx
add esi, ecx
push esi
call fcn.00499643
add esp, 8
test eax, eax
jne 0x40b43b
mov al, 1
jmp 0x40b44f
push str.Exist
push esi
call fcn.00499643
add esp, 8
test eax, eax
jne 0x40b468
mov al, 3
push dword [ebp + 8]
add bl, al
mov edx, edi
mov cl, bl
call fcn.0040a6e0
add esp, 4
test eax, eax
jne 0x40b583
mov eax, dword [0x4d98d8]
test byte [eax + 0x100], 1
jne 0x40b493
mov ecx, dword [0x4dc408]
push 1
push 0
push 0xffffffffffffffff
push 0x4ca34c
call fcn.0047faa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4de2d4]
push 0x4b70dc
push 0
push 0x4ca34c
call fcn.0042fd40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4ca504
push esi
call fcn.00499643
add esp, 8
test eax, eax
jne 0x40b616
mov eax, dword [ebp + 8]
cmp word [eax], 0
je 0x40b4eb
push 0x4b70dc
push str.Parameter_3_must_be_blank_in_this_case.
mov ecx, 0x4ddca0
call fcn.004302e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40b5a9
mov cl, byte [eax + 0x17]
test cl, cl
jne 0x40b502
mov edx, dword [eax + 0xc]
jmp 0x40b504
mov edx, eax
test byte [edx + 0x15], 2
je 0x40b5a9
test cl, cl
jne 0x40b515
mov eax, dword [eax + 0xc]
mov esi, dword [0x4dcd84]
mov edi, dword [eax]
test esi, esi
je 0x40b532
cmp byte [esi], 6
jne 0x40b52b
cmp dword [esi + 0xc], edi
je 0x40b57d
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x40b521
mov ecx, 0x14
call fcn.004798b0
mov esi, eax
test esi, esi
je 0x40b5a0
mov eax, dword [0x4dcd80]
mov dword [esi + 0x10], 0
test eax, eax
je 0x40b557
mov dword [eax + 0x10], esi
jmp 0x40b55d
mov dword [0x4dcd84], esi
mov eax, dword [edi]
push edi
mov dword [0x4dcd80], esi
call dword [eax + 4]
mov byte [esi], 6
mov dword [esi + 0xc], edi
mov dword [esi + 4], 0x4b70dc
mov dword [esi + 8], 0x4b70dc
mov dword [0x4dcd90], esi
mov ecx, dword [0x4dc408]
push 1
push 0
push 0xffffffffffffffff
push 0x4b716c
call fcn.0047faa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [edi], 0
jne 0x40b5b3
xor esi, esi
jmp 0x40b57d
mov esi, dword [0x4dcd84]
test esi, esi
je 0x40b5fb
nop dword [eax]
mov ecx, dword [esi + 4]
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b5eb
test dx, dx
je 0x40b5e7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b5eb
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b5c5
xor eax, eax
jmp 0x40b5f0
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b57d
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x40b5c0
push 0x4b70dc
push str.Parameter_2_must_match_an_existing_If_expression.
mov ecx, 0x4ddca0
call fcn.004302e0
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.0047cda0
test eax, eax
setne byte [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x28], esi
cmp dword [ebp + 0xc], esi
jne 0x40b6b2
mov dl, 1
mov ecx, edi
call fcn.0040a4f0
movzx esi, ax
mov dword [esp + 0x28], esi
test si, si
jne 0x40b6b2
push 0
push dword [ebp + 0x10]
mov ecx, 0x4ddca0
push edi
call fcn.0041b650
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x40b6b2
movzx ecx, word [edi]
test cx, cx
jne 0x40b684
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40b6b2
cmp byte [eax + 0x17], cl
jne 0x40b67e
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
je 0x40b6b2
cmp byte [esp + 0x1c], 0
jne 0x40b476
test cx, cx
mov edx, str.Parameters_of_hotkey_functions_must_be_optional.
mov eax, str.Target_label_does_not_exist.
mov ecx, 0x4ddca0
push edi
cmove eax, edx
push eax
call fcn.004302e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
movzx eax, si
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x13]
push eax
call fcn.0040ce60
mov edi, eax
add esp, 4
test edi, edi
je 0x40b6ec
mov esi, dword [edi + 0x20]
test esi, esi
je 0x40b6ec
mov eax, dword [0x4dcd90]
cmp dword [esi + 4], eax
je 0x40b6ee
mov esi, dword [esi + 8]
test esi, esi
jne 0x40b6e0
xor esi, esi
mov eax, dword [esp + 0x28]
xor dl, dl
cmp word [esp + 0x2c], 0
mov dword [esp + 0x14], edx
mov byte [esp + 0x12], dl
jbe 0x40b826
cmp ax, 3
ja 0x40b826
test edi, edi
jne 0x40b754
cmp byte [esp + 0x1c], 0
je 0x40b73a
mov ecx, dword [0x4dc408]
push 1
push 0
push 0xffffffffffffffff
push 0x4ca674
call fcn.0047faa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x20]
mov ecx, 0x4ddca0
push 0x4ca678
call fcn.004302e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x40b79c
cmp word [edi + 6], si
jne 0x40b79c
cmp byte [esp + 0x1c], 0
je 0x40b782
mov ecx, dword [0x4dc408]
push 1
push 0
push 0xffffffffffffffff
push 0x4ca6a0
call fcn.0047faa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x20]
mov ecx, 0x4ddca0
push str.Nonexistent_hotkey_variant__IfWin_.
call fcn.004302e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ax, 3
jne 0x40b7b9
xor eax, eax
cmp word [edi + 6], ax
je 0x40b7af
cmp byte [edi + 0x19], al
jmp 0x40b7b2
cmp byte [esi + 0x1c], al
setne al
inc eax
movzx eax, ax
movzx ecx, word [edi + 6]
cmp ax, 1
jne 0x40b7f9
test cx, cx
je 0x40b7e3
cmp byte [edi + 0x19], 0
je 0x40b7d5
xor dl, dl
jmp 0x40ba7c
mov byte [edi + 0x19], 1
mov edx, 1
jmp 0x40ba7c
cmp byte [esi + 0x1c], 0
je 0x40b7f0
xor dl, dl
jmp 0x40ba7c
mov byte [esi + 0x1c], 1
jmp 0x40ba7a
test cx, cx
je 0x40b811
cmp byte [edi + 0x19], 0
je 0x40ba80
mov byte [edi + 0x19], 0
jmp 0x40ba7a
cmp byte [esi + 0x1c], 0
je 0x40ba80
mov word [esi + 0x1b], 0
jmp 0x40ba7a
test edi, edi
jne 0x40b87b
test ax, ax
je 0x40b835
mov edx, eax
xor ecx, ecx
jmp 0x40b844
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40b716
xor edx, edx
mov ecx, eax
push dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.0040bdb0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40b86a
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 0x40ba7c
cmp word [edi + 6], ax
je 0x40b8a0
mov word [edi + 6], ax
test ax, ax
jne 0x40b890
mov byte [edi + 0x19], 1
jmp 0x40b89a
cmp byte [edi + 0x12], 0
jne 0x40b89a
mov byte [edi + 0x14], 1
mov dl, 1
mov dword [esp + 0x14], edx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40ba43
test esi, esi
je 0x40b9da
cmp ecx, dword [esi]
je 0x40ba47
cmp byte [esi + 0x1c], 0
je 0x40b9bd
cmp byte [0x4dcd95], 0
je 0x40b9bd
call fcn.004774b0
sub eax, 0
je 0x40b8e1
sub eax, 1
jne 0x40b934
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x40b934
cmp byte [eax], 0xcb
jne 0x40b934
mov cl, byte [eax + 1]
test cl, cl
je 0x40b92d
mov eax, dword [eax + 8]
mov cl, byte [eax]
test cl, cl
jne 0x40b914
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x40b90c
cmp dword [ecx], 0
jne 0x40b92d
cmp byte [eax + 1], 0
jne 0x40b92d
jmp 0x40b919
cmp cl, 1
je 0x40b92d
push 0x4ca344
push dword [eax + 4]
call fcn.00499643
add esp, 8
test eax, eax
je 0x40b934
mov byte [esp + 0x11], 1
jmp 0x40b939
mov byte [esp + 0x11], 0
mov eax, dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], eax
call fcn.004774b0
sub eax, 0
je 0x40b950
sub eax, 1
jne 0x40b9a1
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
test eax, eax
je 0x40b9a1
cmp byte [eax], 0xcb
jne 0x40b9a1
mov cl, byte [eax + 1]
test cl, cl
je 0x40b99d
mov eax, dword [eax + 8]
mov cl, byte [eax]
test cl, cl
jne 0x40b984
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x40b97c
cmp dword [ecx], 0
jne 0x40b99d
cmp byte [eax + 1], 0
jne 0x40b99d
jmp 0x40b989
cmp cl, 1
je 0x40b99d
push 0x4ca344
push dword [eax + 4]
call fcn.00499643
add esp, 8
test eax, eax
je 0x40b9a1
mov cl, 1
jmp 0x40b9a3
xor cl, cl
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x11], cl
mov ecx, 1
movzx eax, al
cmovne eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [esi]
test ecx, ecx
je 0x40b9cf
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 0x40ba47
push dword [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0040c5b0
mov esi, eax
test esi, esi
jne 0x40ba28
cmp byte [esp + 0x1c], al
je 0x40ba0e
mov ecx, dword [0x4dc408]
push 1
push eax
push 0xffffffffffffffff
push 0x4ca6f0
call fcn.0047faa0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x20]
mov ecx, 0x4ddca0
push str.Out_of_memory.
call fcn.004302e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x4dc475], 0
mov edx, 1
mov byte [esp + 0x12], 1
mov dword [esp + 0x14], edx
je 0x40ba47
mov ch, dl
jmp 0x40ba4b
test esi, esi
je 0x40ba84
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 al, cl
cmp byte [edi + 0x14], 0
mov byte [edi + 0x13], al
jne 0x40ba80
test ch, ch
jne 0x40ba76
cmp byte [esp + 0x24], ch
je 0x40ba80
mov byte [edi + 0x14], 1
mov dl, 1
mov dword [esp + 0x14], edx
test esi, esi
jne 0x40ba8f
cmp word [edi + 6], 0
je 0x40b75e
movzx eax, word [ebx]
test ax, ax
je 0x40bc16
mov ecx, eax
nop dword [eax]
movzx ebx, cx
test ebx, 0xffffff80
je 0x40baaf
xor eax, eax
jmp 0x40baba
push 2
push ebx
call fcn.0049bd84
add esp, 8
mov ecx, ebx
and ecx, 0xffffffdf
test eax, eax
cmove ecx, ebx
add ecx, 0xffffffbe
cmp ecx, 0x13
ja case.0x40bad7.67
movzx eax, byte [ecx + 0x40bd9c]
jmp dword [eax*4 + 0x40bd80]
mov ebx, dword [esp + 0x18]
movzx eax, word [ebx + 2]
mov ecx, eax
mov dword [esp + 0x28], ecx
test eax, 0xffffff80
je 0x40baf7
xor eax, eax
jmp 0x40bb06
push 2
push eax
call fcn.0049bd84
mov ecx, dword [esp + 0x30]
add esp, 8
and ecx, 0xffdf
test eax, eax
movzx edx, cx
mov ecx, dword [esp + 0x28]
movzx ecx, cx
cmove edx, ecx
cmp dx, 0x4e
jne 0x40bb5d
cmp word [edi + 6], 0
lea eax, [ebx + 2]
je 0x40bb44
cmp byte [edi + 0x19], 0
jne 0x40bbfd
mov dl, 1
mov byte [edi + 0x19], 1
mov dword [esp + 0x14], edx
jmp 0x40bc01
cmp byte [esi + 0x1c], 0
jne 0x40bbfd
mov dl, 1
mov byte [esi + 0x1c], 1
mov dword [esp + 0x14], edx
jmp 0x40bc01
push 3
push 0x4ca350
push dword [esp + 0x20]
call fcn.0049b726
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x40bbfd
add eax, 4
cmp word [edi + 6], 0
je 0x40bb9b
cmp byte [edi + 0x19], 0
je 0x40bbb2
mov edx, 1
mov byte [edi + 0x19], 0
mov dword [esp + 0x14], edx
jmp 0x40bbb6
cmp byte [esi + 0x1c], 0
je 0x40bbb2
mov edx, 1
mov word [esi + 0x1b], 0
mov dword [esp + 0x14], edx
jmp 0x40bbb6
mov edx, dword [esp + 0x14]
cmp byte [esp + 0x12], 0
je 0x40bc01
xor dl, dl
mov dword [esp + 0x14], edx
jmp 0x40bc01
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test esi, esi
je 0x40bc01
cmp word [eax + 2], 0x30
setne al
mov byte [esi + 0x1a], al
mov eax, dword [esp + 0x18]
jmp 0x40bc01
mov eax, dword [esp + 0x18]
test esi, esi
je 0x40bbfd
add eax, 2
push eax
call fcn.0049ccd5
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 0x40baa0
test dl, dl
je 0x40bc1f
call fcn.0040a910
cmp byte [esp + 0x1c], 0
je 0x40bc83
mov ecx, dword [0x4dc408]
push 1
push 0
push 0xffffffffffffffff
push 0x4b716c
call fcn.0047faa0
cmp byte [edi + 0x12], 0
jne 0x40bc83
cmp byte [edi + 0x18], 0
jne 0x40bc83
cmp byte [0x4dcd95], 0
je 0x40bc5c
mov ecx, edi
call fcn.004059a0
test al, al
je 0x40bc83
cmp word [edi + 6], 0
je 0x40bd55
cmp byte [edi + 0x19], 0
je 0x40bc83
mov ecx, dword [0x4dc408]
push 1
push 0
push 0xffffffffffffffff
push 0x4ca718
call fcn.0047faa0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
test esi, esi
je 0x40bbfd
add eax, 2
push eax
call fcn.0049ccd5
mov edx, dword [0x4d98d4]
add esp, 4
movzx ecx, al
mov byte [esi + 0x17], al
cmp ecx, edx
jle 0x40bcbf
mov byte [esi + 0x17], dl
jmp case.0x40bad7.67
mov edx, dword [esp + 0x14]
cmp al, 1
mov eax, dword [esp + 0x18]
jae 0x40bc01
mov byte [esi + 0x17], 1
jmp 0x40bc01
push str.UseErrorLevel
push dword [esp + 0x1c]
call fcn.00499643
mov edx, dword [esp + 0x1c]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x18]
jne 0x40bc01
add eax, 0x18
jmp 0x40bc01
mov eax, dword [esp + 0x18]
test esi, esi
je 0x40bbfd
add eax, 2
push eax
call fcn.0049ccd5
add esp, 4
cmp eax, 0x64
ja case.0x40bad7.67
test eax, eax
je 0x40bd45
cmp byte [edi + 0x14], 0
jne 0x40bd45
mov byte [edi + 0x14], 1
mov edx, 1
mov byte [esi + 0x18], al
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
jmp 0x40bc01
mov edx, dword [esp + 0x14]
mov byte [esi + 0x18], al
mov eax, dword [esp + 0x18]
jmp 0x40bc01
mov eax, dword [edi + 0x20]
test eax, eax
je 0x40bc83
cmp byte [eax + 0x1c], 0
jne 0x40bc6d
mov eax, dword [eax + 8]
test eax, eax
jne 0x40bd60
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret