Function at 0x405cc0
Capabilities:
Enumerate devices by category
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4101b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ebx
push dword [0x413ac8]
mov dword [0x414618], 0
xor eax, eax
mov dword [ebp - 0x14], eax
xor edx, edx
mov ecx, 0xffffffff
mov dword [ebp - 0x1c], edx
mov dword [0x4145c4], ecx
mov dword [0x4145c8], ecx
mov dword [0x4145cc], ecx
mov dword [0x4145d0], ecx
mov dword [0x4145d4], ecx
mov dword [0x4145d8], ecx
mov dword [0x4145dc], ecx
mov dword [0x4145e0], ecx
mov dword [0x4145e4], ecx
mov dword [0x4145e8], ecx
mov dword [0x4145ec], ecx
mov dword [0x4145f0], ecx
call dword [sym.imp.USER32.dll_GetMenu]
push 1
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x18], eax
push dword [0x413ac8]
call dword [sym.imp.USER32.dll_GetMenu]
push 2
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.004058a0
pop ecx
mov eax, dword [ebp - 0x20]
push eax
call fcn.004058a0
pop ecx
xor ebx, ebx
lea eax, [ebx + ebx]
lea edx, [eax + ebx*2 + 0x413c44]
push edx
call fcn.00401508
pop ecx
add ebx, 1
cmp ebx, 0xa
jb 0x405d91
xor ebx, ebx
lea eax, [ebx + ebx]
lea edx, [eax + ebx*2 + 0x413c6c]
push edx
call fcn.00401508
pop ecx
add ebx, 1
cmp ebx, 0xa
jb 0x405dac
xor ebx, ebx
lea eax, [ebx + ebx]
lea edx, [eax + ebx*2 + 0x413c9c]
push edx
call fcn.00401508
pop ecx
add ebx, 1
cmp ebx, 0x100
jb 0x405dc7
xor ebx, ebx
lea eax, [ebx + ebx]
lea edx, [eax + ebx*2 + 0x41409c]
push edx
call fcn.00401508
pop ecx
add ebx, 1
cmp ebx, 0x100
jb 0x405de5
lea eax, [ebp - 0x178]
push eax
push 0x4113b8
push 1
push 0
push 0x411508
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x407234
mov edx, dword [ebp - 0x178]
lea eax, [ebp - 0x174]
push 0
mov ecx, dword [edx]
push eax
push 0x4114f8
push edx
call dword [ecx + 0xc]
test eax, eax
jne 0x407224
mov eax, dword [ebp - 0x174]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov ecx, dword [ebp - 0x174]
lea edx, [ebp - 0x16c]
lea eax, [ebp - 0x170]
push eax
mov ebx, dword [ecx]
push edx
push 1
push ecx
call dword [ebx + 0xc]
test eax, eax
jne 0x40600a
mov dword [ebp - 0x168], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x16c]
lea eax, [ebp - 0x168]
push eax
mov ebx, dword [ecx]
xor edx, edx
push 0x4112a8
push edx
push edx
push ecx
call dword [ebx + 0x24]
test eax, eax
jne 0x405fbf
mov ecx, dword [ebp - 0x168]
lea edx, [ebp - 0x1d8]
push 0
mov eax, 8
mov word [ebp - 0x1d8], ax
push edx
mov ebx, dword [ecx]
push 0x415c04
push ecx
call dword [ebx + 0xc]
test eax, eax
jne 0x405fbf
mov edi, dword [ebp - 0x1d0]
test edi, edi
jne 0x405ee7
xor ebx, ebx
jmp 0x405f12
push edi
call fcn.0040ef18
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.0040e930
and esp, 0xfffffff0
mov eax, esp
mov ebx, eax
xor edx, edx
push edx
push edx
mov byte [ebx], dl
push esi
push ebx
push 0xffffffffffffffff
push edi
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x26e
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov edi, eax
push 0x26e
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, dword [ebp - 0x14]
lea esi, [esi + 0x9c4a]
push eax
mov eax, dword [ebp - 0x18]
push edi
push ebx
push esi
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [0x413c94]
test eax, eax
je 0x405f71
push dword [ebp - 0x16c]
push eax
mov edx, dword [eax]
call dword [edx + 0x34]
test eax, eax
jne 0x405f71
mov eax, 8
jmp 0x405f73
xor eax, eax
push eax
mov eax, dword [ebp - 0x18]
push esi
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x413c3c]
test eax, eax
je 0x405f8f
mov eax, 2
jmp 0x405f91
xor eax, eax
push eax
mov eax, dword [ebp - 0x18]
push esi
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push dword [ebp - 0x1d0]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x14]
mov dword [eax*4 + 0x413c44], edx
mov ecx, dword [edx]
push edx
call dword [ecx + 4]
mov eax, dword [ebp - 0x16c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
add dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x405fe6
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [ebp - 0x174]
lea edx, [ebp - 0x16c]
lea eax, [ebp - 0x170]
push eax
mov ebx, dword [ecx]
push edx
push 1
push ecx
call dword [ebx + 0xc]
test eax, eax
je 0x405e76
mov eax, dword [ebp - 0x174]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x14]
mov dword [0x414618], eax
mov ecx, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
push 0
mov ebx, dword [ecx]
xor eax, eax
mov dword [ebp - 0x14], eax
push edx
push 0x4114c8
push ecx
call dword [ebx + 0xc]
test eax, eax
je 0x406064
mov eax, dword [ebp - 0x178]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x174]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov ecx, dword [ebp - 0x174]
lea edx, [ebp - 0x16c]
lea eax, [ebp - 0x170]
push eax
mov ebx, dword [ecx]
push edx
push 1
push ecx
call dword [ebx + 0xc]
test eax, eax
jne 0x406228
mov dword [ebp - 0x164], 0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x16c]
lea eax, [ebp - 0x164]
push eax
mov ebx, dword [ecx]
xor edx, edx
push 0x4112a8
push edx
push edx
push ecx
call dword [ebx + 0x24]
test eax, eax
jne 0x4061dd
mov ecx, dword [ebp - 0x164]
lea edx, [ebp - 0x1c8]
push 0
mov eax, 8
mov word [ebp - 0x1c8], ax
push edx
mov ebx, dword [ecx]
push 0x415c04
push ecx
call dword [ebx + 0xc]
test eax, eax
jne 0x4061dd
mov edi, dword [ebp - 0x1c0]
test edi, edi
jne 0x406105
xor ebx, ebx
jmp 0x406130
push edi
call fcn.0040ef18
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.0040e930
and esp, 0xfffffff0
mov eax, esp
mov ebx, eax
xor edx, edx
push edx
push edx
mov byte [ebx], dl
push esi
push ebx
push 0xffffffffffffffff
push edi
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x263
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov edi, eax
push 0x263
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, dword [ebp - 0x14]
lea esi, [esi + 0x9c54]
push eax
mov eax, dword [ebp - 0x20]
push edi
push ebx
push esi
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [0x413c98]
test eax, eax
je 0x40618f
push dword [ebp - 0x16c]
push eax
mov edx, dword [eax]
call dword [edx + 0x34]
test eax, eax
jne 0x40618f
mov eax, 8
jmp 0x406191
xor eax, eax
push eax
mov eax, dword [ebp - 0x20]
push esi
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x413c3c]
test eax, eax
je 0x4061ad
mov eax, 2
jmp 0x4061af
xor eax, eax
push eax
mov eax, dword [ebp - 0x20]
push esi
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push dword [ebp - 0x1c0]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x14]
mov dword [eax*4 + 0x413c6c], edx
mov ecx, dword [edx]
push edx
call dword [ecx + 4]
mov eax, dword [ebp - 0x16c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
add dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x406204
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [ebp - 0x174]
lea edx, [ebp - 0x16c]
lea eax, [ebp - 0x170]
push eax
mov ebx, dword [ecx]
push edx
push 1
push ecx
call dword [ebx + 0xc]
test eax, eax
je 0x406094
mov eax, dword [ebp - 0x174]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x178]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov edx, dword [ebp - 0x18]
xor eax, eax
push eax
push eax
push eax
push eax
push 0x800
push edx
call fcn.0040d6fc
add esp, 0x18
mov edx, dword [ebp - 0x20]
xor eax, eax
push eax
push eax
push eax
push eax
push 0x800
push edx
call fcn.0040d6fc
add esp, 0x18
mov edx, dword [0x413bfc]
test edx, edx
je 0x4062bf
push 2
push edx
mov eax, dword [edx]
call dword [eax + 0xc]
test eax, eax
je 0x40628c
mov edx, dword [0x413bfc]
jmp 0x4062bf
mov edx, dword [ebp - 0x18]
xor eax, eax
push eax
push eax
push 0x41603c
push 0xc350
push eax
push edx
call fcn.0040d6fc
add esp, 0x18
mov edx, dword [0x413bfc]
mov dword [0x4145c4], 0
mov eax, 1
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x40630e
push 1
push edx
mov eax, dword [edx]
call dword [eax + 0xc]
test eax, eax
je 0x4062d7
mov edx, dword [0x413bfc]
jmp 0x40630e
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
lea edx, [eax + 0xc350]
xor ecx, ecx
push ecx
push ecx
push 0x41604c
push edx
push ecx
push ebx
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov dword [0x4145c8], edx
mov edx, dword [0x413bfc]
add eax, 1
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x40634f
push 4
push edx
mov eax, dword [edx]
call dword [eax + 0xc]
test eax, eax
jne 0x40634f
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
lea edx, [eax + 0xc350]
xor ecx, ecx
push ecx
push ecx
push 0x41605c
push edx
push ecx
push ebx
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov dword [0x4145cc], edx
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [0x413c1c]
test eax, eax
je 0x406397
push eax
call fcn.004058fc
pop ecx
movzx eax, al
test eax, eax
je 0x406397
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
lea edx, [eax + 0xc350]
xor ecx, ecx
push ecx
push ecx
push 0x416070
push edx
push ecx
push ebx
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov dword [0x4145dc], edx
add eax, 1
mov dword [ebp - 0x1c], eax
mov edx, dword [0x413c18]
test edx, edx
je 0x4063ab
mov eax, dword [0x4145c4]
cmp eax, 0xffffffff
je 0x4063c2
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edx
call fcn.004058fc
pop ecx
movzx eax, al
test eax, eax
je 0x406424
push 0x272
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x272
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [ebp - 0x1c]
lea ecx, [edx + 0xc350]
push eax
mov eax, dword [ebp - 0x18]
push ebx
push 0x416088
push ecx
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov dword [0x4145d0], edx
add eax, 1
mov dword [ebp - 0x1c], eax
mov edx, dword [0x413be8]
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [edx]
push 0x411358
push dword [0x413c18]
push 0x411568
push 0x411448
push edx
call dword [ecx + 0x18]
test eax, eax
je 0x40647c
mov edx, dword [0x413be8]
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [edx]
push 0x411358
push dword [0x413c18]
push 0x411588
push 0x411448
push edx
call dword [ecx + 0x18]
test eax, eax
jne 0x4064ef
push dword [ebp - 0x160]
call fcn.004058fc
pop ecx
movzx eax, al
test eax, eax
je 0x4064e3
push 0x26b
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x26b
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [ebp - 0x1c]
lea ecx, [edx + 0xc350]
push eax
mov eax, dword [ebp - 0x18]
push ebx
push 0x4160a0
push ecx
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov dword [0x4145e8], edx
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x160]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov edx, dword [0x413be8]
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [edx]
push 0x411358
push dword [0x413c18]
push 0x411568
push 0x411438
push edx
call dword [ecx + 0x18]
test eax, eax
je 0x406547
mov edx, dword [0x413be8]
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [edx]
push 0x411358
push dword [0x413c18]
push 0x411588
push 0x411438
push edx
call dword [ecx + 0x18]
test eax, eax
jne 0x4065ba
push dword [ebp - 0x160]
call fcn.004058fc
pop ecx
movzx eax, al
test eax, eax
je 0x4065ae
push 0x26c
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x26c
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [ebp - 0x1c]
lea ecx, [edx + 0xc350]
push eax
mov eax, dword [ebp - 0x18]
push ebx
push 0x4160b8
push ecx
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov dword [0x4145ec], edx
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x160]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x413c0c]
test eax, eax
je 0x40660f
push eax
call fcn.0040599c
pop ecx
movzx eax, al
test eax, eax
je 0x40660f
push 0x276
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x276
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov eax, dword [ebp - 0x18]
push ebx
push 0x4160d0
push 0x9c7c
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov edx, dword [0x413be8]
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [edx]
push 0x4112f8
push dword [0x413c18]
push 0x411568
push 0x411448
push edx
call dword [ecx + 0x18]
test eax, eax
je 0x40666b
mov edx, dword [0x413be8]
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [edx]
push 0x4112f8
push dword [0x413c18]
push 0x411588
push 0x411448
push edx
call dword [ecx + 0x18]
test eax, eax
jne 0x4067a5
mov edx, dword [ebp - 0x15c]
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [edx]
push 0x411398
push edx
call dword [ecx]
test eax, eax
jne 0x406799
push dword [ebp - 0x15c]
call fcn.004058fc
pop ecx
movzx eax, al
test eax, eax
je 0x4066f1
push 0x273
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x273
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [ebp - 0x1c]
lea ecx, [edx + 0xc350]
push eax
mov eax, dword [ebp - 0x18]
push ebx
push 0x4160ec
push ecx
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov dword [0x4145d4], edx
add eax, 1
mov dword [ebp - 0x1c], eax
mov edx, dword [0x413be8]
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [edx]
push 0x4112f8
push dword [ebp - 0x158]
push 0
push 0x4113f8
push edx
call dword [ecx + 0x18]
test eax, eax
jne 0x40678d
push dword [ebp - 0x154]
call fcn.004058fc
pop ecx
movzx eax, al
test eax, eax
je 0x406781
push 0x273
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x273
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [ebp - 0x1c]
lea ecx, [edx + 0xc350]
push eax
mov eax, dword [ebp - 0x18]
push ebx
push 0x416100
push ecx
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov dword [0x4145e0], edx
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x154]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x158]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x15c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov edx, dword [0x413be8]
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [edx]
push 0x4112e8
push dword [0x413c18]
push 0x411568
push 0x411448
push edx
call dword [ecx + 0x18]
test eax, eax
je 0x4067fd
mov edx, dword [0x413be8]
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [edx]
push 0x4112e8
push dword [0x413c18]
push 0x411588
push 0x411448
push edx
call dword [ecx + 0x18]
test eax, eax
jne 0x406870
push dword [ebp - 0x150]
call fcn.004058fc
pop ecx
movzx eax, al
test eax, eax
je 0x406864
push 0x26f
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x26f
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [ebp - 0x1c]
lea ecx, [edx + 0xc350]
push eax
mov eax, dword [ebp - 0x18]
push ebx
push 0x416114
push ecx
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov dword [0x4145d8], edx
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x150]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov edx, dword [0x413c1c]
test edx, edx
je 0x40720d
mov ecx, dword [0x413be8]
lea eax, [ebp - 0x160]
push eax
mov ebx, dword [ecx]
push 0x411358
push edx
push 0x411578
push 0x411448
push ecx
call dword [ebx + 0x18]
test eax, eax
jne 0x40693b
push dword [ebp - 0x160]
call fcn.004058fc
pop ecx
movzx eax, al
test eax, eax
je 0x4068ef
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
lea edx, [eax + 0xc350]
xor ecx, ecx
push ecx
push ecx
push 0x416120
push edx
push ecx
push ebx
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov dword [0x4145f0], edx
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x40692d
push 0x271
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x271
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov eax, dword [ebp - 0x20]
push ebx
push 0x416138
push 0x9c47
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x160]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x406979
push 0x271
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x271
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov eax, dword [ebp - 0x20]
push ebx
push 0x416138
push 0x9c47
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov edx, dword [0x413c18]
mov dword [ebp - 0x14c], 0
mov ecx, dword [edx]
lea eax, [ebp - 0x14c]
push eax
push 0x4112c8
push edx
call dword [ecx]
test eax, eax
jne 0x406a25
lea edx, [ebp - 0x1b8]
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov ebx, dword [ebp - 0x14c]
mov dword [ebp - 0x148], 0
mov esi, dword [ebx]
lea ecx, [ebp - 0x1a0]
lea edx, [ebp - 0x1b8]
lea eax, [ebp - 0x148]
push eax
push 0x20
push edx
push 8
push ecx
push 0x30000001
push 0x4131c0
push ebx
call dword [esi + 0x10]
test eax, eax
jne 0x406a19
mov edx, dword [ebp - 0x20]
xor eax, eax
push eax
push eax
push 0x41614c
push 0x9c7a
push eax
push edx
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x14c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov edx, dword [0x413be8]
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [edx]
push 0x4112d8
push dword [0x413c1c]
push 0x411578
push 0x411448
push edx
call dword [ecx + 0x18]
test eax, eax
je 0x406a7d
mov edx, dword [0x413be8]
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [edx]
push 0x4112d8
push dword [0x413c18]
push 0x411588
push 0x411448
push edx
call dword [ecx + 0x18]
test eax, eax
jne 0x406acd
push dword [ebp - 0x144]
call fcn.004058fc
pop ecx
movzx eax, al
test eax, eax
je 0x406ac1
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
lea edx, [eax + 0xc350]
xor ecx, ecx
push ecx
push ecx
push 0x416170
push edx
push ecx
push ebx
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov edx, eax
mov dword [0x4145e4], edx
add eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x144]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x413c10]
test eax, eax
je 0x406b14
push 0x274
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x274
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov eax, dword [ebp - 0x20]
push ebx
push 0x41617c
push 0x9c7b
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [0x414608]
test eax, eax
je 0x406b2a
mov eax, dword [0x414610]
test eax, eax
jne 0x40708f
mov edx, dword [ebp - 0x18]
xor eax, eax
push eax
push eax
push eax
push eax
push 0x800
push edx
call fcn.0040d6fc
add esp, 0x18
mov edx, dword [ebp - 0x20]
xor eax, eax
push eax
push eax
push eax
push eax
push 0x800
push edx
call fcn.0040d6fc
add esp, 0x18
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edi, eax
mov ecx, dword [ebp - 0x18]
xor edx, edx
push edx
push edx
push 0x4161a4
push edi
push 0x10
push ecx
call fcn.0040d6fc
add esp, 0x18
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
xor edx, edx
push edx
push edx
push 0x4161b8
push ecx
push 0x10
push ebx
call fcn.0040d6fc
add esp, 0x18
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004058a0
pop ecx
push edi
call fcn.004058a0
pop ecx
lea edx, [ebp - 0x178]
push edx
push 0x4113b8
push 1
push 0
push 0x411508
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x4071df
mov ecx, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
push 0
mov ebx, dword [ecx]
push edx
push 0x4114e8
push ecx
call dword [ebx + 0xc]
test eax, eax
je 0x406e72
mov eax, dword [ebp - 0x178]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push 0x4161cc
call fcn.0040967c
pop ecx
mov edx, dword [ebp - 0x178]
lea eax, [ebp - 0x174]
push 0
mov ecx, dword [edx]
xor edi, edi
push eax
push 0x4114d8
push edx
call dword [ecx + 0xc]
mov ebx, eax
mov edx, dword [ebp - 0x178]
push edx
mov ecx, dword [edx]
call dword [ecx + 8]
test ebx, ebx
je 0x406c4e
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x174]
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
push 0x274
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x274
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov eax, dword [ebp - 0x1c]
push ebx
push 0x4161f4
push 0x9d46
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [0x4144a0]
test eax, eax
je 0x4071ba
xor eax, eax
push eax
push 0x9d46
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x413c3c]
test eax, eax
je 0x406cc7
mov eax, 2
jmp 0x406cc9
xor eax, eax
push eax
push 0x9d46
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov ecx, dword [ebp - 0x174]
lea edx, [ebp - 0x16c]
lea eax, [ebp - 0x170]
push eax
mov ebx, dword [ecx]
push edx
push 1
push ecx
call dword [ebx + 0xc]
test eax, eax
jne 0x407201
mov ecx, dword [ebp - 0x16c]
lea eax, [ebp - 0x30]
push eax
mov ebx, dword [ecx]
xor edx, edx
push 0x4112a8
push edx
push edx
push ecx
call dword [ebx + 0x24]
test eax, eax
jl 0x406e3a
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x188]
push 0
mov eax, 8
mov word [ebp - 0x188], ax
push edx
mov ebx, dword [ecx]
push 0x415c04
push ecx
call dword [ebx + 0xc]
test eax, eax
jne 0x406e31
mov ebx, dword [ebp - 0x180]
test ebx, ebx
jne 0x406d57
xor esi, esi
jmp 0x406d86
push ebx
call fcn.0040ef18
lea eax, [eax + eax + 2]
mov dword [ebp - 0x20], eax
call fcn.0040e930
and esp, 0xfffffff0
mov eax, esp
mov esi, eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
push edx
mov byte [esi], dl
push edx
push ecx
push esi
push 0xffffffffffffffff
push ebx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x274
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x20], eax
push 0x274
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [ebp - 0x20]
lea ebx, [edi + 0x9c7d]
push eax
mov eax, dword [ebp - 0x1c]
push edx
push esi
push ebx
push 0
push eax
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [0x4144a0]
test eax, eax
je 0x406de6
push dword [ebp - 0x16c]
push eax
mov edx, dword [eax]
call dword [edx + 0x34]
test eax, eax
jne 0x406de6
mov eax, 8
jmp 0x406de8
xor eax, eax
push eax
mov eax, dword [ebp - 0x1c]
push ebx
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x413c3c]
test eax, eax
je 0x406e04
mov eax, 2
jmp 0x406e06
xor eax, eax
push eax
mov eax, dword [ebp - 0x1c]
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push dword [ebp - 0x180]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x16c]
mov dword [edi*4 + 0x41409c], eax
push eax
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x16c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [ebp - 0x174]
lea edx, [ebp - 0x16c]
lea eax, [ebp - 0x170]
push eax
mov ebx, dword [ecx]
push edx
push 1
add edi, 1
push ecx
call dword [ebx + 0xc]
test eax, eax
je 0x406cfd
jmp 0x407201
push 0x276
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x276
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push ebx
push 0x4161f4
push 0x9d45
push 0
push edi
call fcn.0040d6fc
add esp, 0x18
mov edx, dword [0x41449c]
test edx, edx
je 0x4071d5
xor edx, edx
push edx
push 0x9d45
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov edx, dword [0x413c3c]
test edx, edx
je 0x406edb
mov edx, 2
jmp 0x406edd
xor edx, edx
push edx
push 0x9d45
push edi
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov edx, dword [ebp - 0x174]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
mov ebx, dword [ebp - 0x174]
lea ecx, [ebp - 0x16c]
lea edx, [ebp - 0x170]
push edx
mov esi, dword [ebx]
push ecx
push 1
push ebx
call dword [esi + 0xc]
test eax, eax
jne 0x4071c4
mov ebx, dword [ebp - 0x16c]
lea edx, [ebp - 0x34]
push edx
mov esi, dword [ebx]
xor ecx, ecx
push 0x4112a8
push ecx
push ecx
push ebx
call dword [esi + 0x24]
test eax, eax
jne 0x407056
mov ebx, dword [ebp - 0x34]
lea ecx, [ebp - 0x198]
push 0
mov edx, 8
mov word [ebp - 0x198], dx
push ecx
mov esi, dword [ebx]
push 0x415c04
push ebx
call dword [esi + 0xc]
test eax, eax
jne 0x40704d
mov ebx, dword [ebp - 0x190]
test ebx, ebx
jne 0x406f74
xor esi, esi
jmp 0x406fa3
push ebx
call fcn.0040ef18
lea eax, [eax + eax + 2]
mov dword [ebp - 0x20], eax
call fcn.0040e930
and esp, 0xfffffff0
mov eax, esp
mov esi, eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
push edx
mov byte [esi], dl
push edx
push ecx
push esi
push 0xffffffffffffffff
push ebx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x276
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x20], eax
push 0x276
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
lea ebx, [ebx + 0x9ce1]
push eax
push edx
push esi
push ebx
push 0
push edi
call fcn.0040d6fc
add esp, 0x18
mov edx, dword [0x41449c]
test edx, edx
je 0x407004
push dword [ebp - 0x16c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x34]
test eax, eax
jne 0x407004
mov edx, 8
jmp 0x407006
xor edx, edx
push edx
push ebx
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov edx, dword [0x413c3c]
test edx, edx
je 0x407020
mov edx, 2
jmp 0x407022
xor edx, edx
push edx
push ebx
push edi
call dword [sym.imp.USER32.dll_EnableMenuItem]
push dword [ebp - 0x190]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x16c]
mov edx, dword [ebp - 0x14]
mov dword [edx*4 + 0x413c9c], ecx
mov ebx, dword [ecx]
push ecx
call dword [ebx + 4]
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [edx]
call dword [ecx + 8]
mov edx, dword [ebp - 0x16c]
push edx
mov ecx, dword [edx]
call dword [ecx + 8]
mov ebx, dword [ebp - 0x174]
mov esi, dword [ebx]
add dword [ebp - 0x14], 1
lea ecx, [ebp - 0x16c]
lea edx, [ebp - 0x170]
push edx
push ecx
push 1
push ebx
call dword [esi + 0xc]
test eax, eax
je 0x406f1a
jmp 0x4071c4
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ecx, dword [0x414608]
mov dword [ebp - 0x140], 0xffffffff
mov dword [0x414614], eax
lea eax, [ebp - 0x140]
push eax
call fcn.0040d460
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [0x41460c], eax
add eax, 1
xor edx, edx
mov dword [ebp - 0x1c], eax
push edx
push edx
push edx
push edx
push 0x800
push ecx
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [0x414610]
xor esi, esi
test eax, eax
jle 0x40716f
mov ecx, dword [0x414608]
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.0040d2a0
mov ecx, dword [0x414608]
lea eax, [ebp - 0x138]
push 0x104
push eax
push esi
call fcn.0040d308
push 0x273
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push 0x273
push dword [0x413a68]
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [ebp - 0x1c]
lea edi, [edx + 0xc350]
lea ecx, [ebp - 0x138]
push eax
push ebx
push ecx
push edi
push 0
push dword [0x414614]
call fcn.0040d6fc
add esp, 0x18
add dword [ebp - 0x1c], 1
add esi, 1
cmp esi, dword [0x414610]
jl 0x4070ea
mov edx, dword [ebp - 0x18]
xor eax, eax
push eax
push eax
push 0x416198
push dword [0x414614]
push 0x10
push edx
call fcn.0040d6fc
add esp, 0x18
mov eax, dword [ebp - 0x140]
cmp eax, 0xffffffff
jne 0x4071a3
mov dword [ebp - 0x140], 0
xor eax, eax
push 0x408
push eax
push dword [0x414614]
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x406b2a
mov eax, 8
jmp 0x406ca7
mov eax, dword [ebp - 0x174]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x406c09
mov edx, 8
jmp 0x406ebd
push 0x415fec
call fcn.0040967c
pop ecx
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x174]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x416010
call fcn.0040967c
pop ecx
jmp 0x40601e
push 0x415fec
call fcn.0040967c
pop ecx
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret