Function at 0x409f30
Capabilities:
Print debug messages
Read .ini file

Disassembly:
sub esp, 0x50
push ebx
push esi
push edi
mov edi, dword [esp + 0x68]
and edi, 0xffff
lea eax, [edi - 4]
cmp eax, 0x4c
ja case.0x409f54.38
xor ecx, ecx
mov cl, byte [eax + 0x40accc]
jmp dword [ecx*4 + 0x40ac40]
mov edx, dword [esp + 0x60]
push 0
push 0x40add0
push edx
push 3
call fcn.004014e0
add esp, 4
and eax, 0xffff
push eax
mov eax, dword [0x4404ec]
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
push str.Close_AP_by_menu__exit_n
call fcn.0040c6d0
mov ecx, dword [esp + 0x64]
add esp, 4
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
mov edx, dword [esp + 0x60]
push edx
call fcn.00404980
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
mov eax, dword [esp + 0x60]
push eax
call fcn.0040b2b0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0040b060
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
mov edx, dword [esp + 0x60]
push edx
call fcn.00404700
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
mov eax, dword [0x440374]
test eax, eax
je case.0x409f54.38
mov eax, dword [esp + 0x60]
push eax
call fcn.00404790
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
mov eax, dword [0x43f62c]
test eax, eax
je case.0x409f54.38
mov eax, dword [0x43f624]
test eax, eax
jne case.0x409f54.38
mov eax, dword [0x440394]
test eax, eax
jne case.0x409f54.38
push 0x43fb50
push 0
push str.TakePicture_SXGA
push str.annie
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x40a08e
call fcn.0040d130
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
push 1
push 1
call fcn.00402bf0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
call fcn.00401460
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
mov eax, dword [0x43f62c]
test eax, eax
je case.0x409f54.38
mov eax, dword [0x43fb10]
test eax, eax
je case.0x409f54.38
call fcn.00401380
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
call fcn.00404b60
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
call fcn.00404c00
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
call fcn.00404ca0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
call fcn.00404d00
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
push 0x3c
mov ecx, 0x440f0c
call fcn.00410c40
inc eax
cmp eax, 0x1e
jle 0x40a136
mov eax, 0x1e
push eax
push 0x3c
mov ecx, 0x440f0c
call fcn.00410cd0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
push 0x3c
mov ecx, 0x440f0c
call fcn.00410c40
dec eax
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, 0x440f0c
push eax
push 0x3c
call fcn.00410cd0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
mov eax, dword [0x43f62c]
test eax, eax
je 0x40a18b
call fcn.00407f30
mov ecx, dword [0x43f630]
mov eax, dword [0x43f61c]
xor edx, edx
test ecx, ecx
sete dl
test eax, eax
mov dword [0x43f630], edx
jne 0x40a1b0
mov eax, dword [0x43f620]
test eax, eax
je 0x40a1b5
call fcn.00404ee0
mov eax, dword [0x43f6a8]
test eax, eax
je case.0x409f54.38
call fcn.004076a0
push 0
call fcn.00407e40
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
mov edx, dword [0x43f6a8]
xor eax, eax
test edx, edx
sete al
test eax, eax
mov dword [0x43f6a8], eax
je 0x40a203
call fcn.004076a0
push 0
call fcn.00407e40
add esp, 4
jmp 0x40a208
call fcn.00407f30
mov eax, dword [0x43f6a8]
push 1
push eax
push 0xf
mov ecx, 0x441208
call fcn.004184c0
mov eax, dword [0x440584]
test eax, eax
je case.0x409f54.38
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push str._n_New_Start__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, dword [0x43f6a8]
xor ecx, ecx
test ebx, ebx
sete cl
push 1
mov dword [0x440584], 0
mov dword [0x43f6a8], ecx
call fcn.0040c780
mov edx, dword [0x43f6a8]
add esp, 4
mov ecx, 0x441208
push 1
push edx
push 0xf
call fcn.004184c0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
mov eax, dword [0x43f614]
mov dword [0x43f618], 0xffffffff
test eax, eax
je case.0x409f54.38
mov ecx, dword [eax]
push 0xffffffffffffffff
jmp 0x40a2f7
mov eax, dword [0x43f614]
mov dword [0x43f618], 1
test eax, eax
je case.0x409f54.38
mov edx, dword [eax]
push 1
push eax
call dword [edx + 0xc]
test eax, eax
je case.0x409f54.38
push 0xf
call fcn.00402220
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
mov eax, dword [0x43f614]
mov dword [0x43f618], 0
test eax, eax
je case.0x409f54.38
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
je case.0x409f54.38
push 0xf
call fcn.00402220
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
mov eax, dword [0x43f62c]
test eax, eax
je 0x40a326
call fcn.00407f30
mov ecx, dword [0x43f634]
mov eax, dword [0x43f61c]
xor edx, edx
test ecx, ecx
sete dl
test eax, eax
mov dword [0x43f634], edx
jne 0x40a1b0
mov eax, dword [0x43f620]
test eax, eax
je 0x40a1b5
jmp 0x40a1b0
mov eax, dword [0x43f62c]
test eax, eax
je 0x40a366
call fcn.00407f30
mov ecx, dword [0x43f638]
xor eax, eax
test ecx, ecx
sete al
mov dword [0x43f638], eax
mov eax, dword [0x43f61c]
test eax, eax
jne 0x40a1b0
mov eax, dword [0x43f620]
test eax, eax
je 0x40a1b5
jmp 0x40a1b0
call fcn.00409de0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
call fcn.00409c70
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
call fcn.00409d80
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
call fcn.00409db0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
lea ecx, [edi - 0x10]
lea edx, [esp + 0x1c]
push ecx
push str.PostMessage_ChooseDevices___for_Video:__d_n
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x28]
push eax
call fcn.0040c6d0
mov ecx, dword [0x43f69c]
mov edx, dword [edi*4 + 0x43f608]
push ecx
push edx
call fcn.004092f0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
push str.PostMessage_ChooseDevices___for_Audio_n
call fcn.0040c6d0
mov eax, dword [edi*4 + 0x43f608]
mov ecx, dword [0x43f698]
push eax
push ecx
call fcn.004092f0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
mov ecx, dword [0x43f7cc]
lea eax, [edi - 0x2a]
cmp eax, ecx
jne 0x40a4e0
mov eax, dword [0x43f6a8]
test eax, eax
je 0x40a462
call fcn.00407f30
mov eax, dword [0x43f5f0]
mov ecx, dword [0x440530]
push ecx
push 2
mov edx, dword [eax]
push eax
call dword [edx + 0x10]
cmp eax, 0x80040217
jne 0x40a482
call fcn.00404ee0
mov eax, dword [0x43f5f8]
test eax, eax
je 0x40a1b5
mov edx, dword [eax]
lea ecx, [esp + 0x60]
push ecx
push eax
call dword [edx + 0x10]
test eax, eax
jne 0x40a1b5
mov eax, dword [esp + 0x60]
mov ecx, 4
mov edi, 0x431914
xor edx, edx
lea esi, [eax + 0x2c]
repe cmpsd dword [esi], dword es:[edi]
jne 0x40a4d5
mov ecx, dword [eax + 0x44]
mov eax, dword [ecx + 0x38]
cdq
xor eax, edx
sub eax, edx
push eax
mov eax, dword [ecx + 0x34]
push eax
call fcn.00404840
mov eax, dword [esp + 0x68]
add esp, 8
push eax
call fcn.0041a630
jmp 0x40a1b5
cmp eax, dword [0x43f7d0]
jne 0x40a508
mov eax, dword [0x43f6a8]
test eax, eax
je 0x40a4f6
call fcn.00407f30
mov eax, dword [0x43f5f0]
mov edx, dword [0x440530]
push edx
push 1
mov ecx, dword [eax]
jmp 0x40a52e
cmp eax, dword [0x43f7d4]
jne 0x40a554
mov eax, dword [0x43f6a8]
test eax, eax
je 0x40a51e
call fcn.00407f30
mov eax, dword [0x43f5f0]
mov edx, dword [0x440530]
push edx
push 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [0x43f6a8]
test eax, eax
je case.0x409f54.38
push 0
call fcn.00407e40
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
cmp eax, dword [0x43f7d8]
jne 0x40a56c
call fcn.00404d50
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
cmp eax, dword [0x43f7f0]
jne 0x40a58c
mov eax, dword [esp + 0x60]
push eax
call fcn.00404980
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
cmp eax, dword [0x43f7f4]
jne 0x40a690
mov eax, dword [0x43f6a8]
test eax, eax
je 0x40a5ab
call fcn.00407f30
call fcn.00404ee0
mov eax, dword [0x43f5d8]
lea edx, [esp + 0x60]
push edx
mov edx, dword [0x43f604]
mov ecx, dword [eax]
push 0x4305c4
push edx
push 0x432594
push 0x431124
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x40a5fb
mov eax, dword [0x43f5d8]
lea edx, [esp + 0x60]
push edx
mov edx, dword [0x43f604]
mov ecx, dword [eax]
push 0x4305c4
push edx
push 0x4325e4
push 0x431124
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x6c]
push edx
push 0x433418
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jne 0x40a65f
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push 0
push 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0
push eax
mov eax, dword [0x440530]
lea edx, [esp + 0x70]
push ecx
push edx
push 1
push 0
push 0x1e
push 0x1e
push eax
call dword [sym.imp.OLEPRO32.DLL_OleCreatePropertyFrame]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x6c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x43f6a8]
test eax, eax
je case.0x409f54.38
call fcn.004076a0
push 0
call fcn.00407e40
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
cmp eax, dword [0x43f7dc]
jne 0x40a766
mov eax, dword [0x43f5d8]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [0x43f604]
mov edx, dword [eax]
push 0x4304f4
push ecx
push 0x432594
push 0x431134
push eax
call dword [edx + 0xc]
test eax, eax
je 0x40a6ec
mov eax, dword [0x43f5d8]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [0x43f604]
mov edx, dword [eax]
push 0x4304f4
push ecx
push 0x4325e4
push 0x431134
push eax
call dword [edx + 0xc]
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x6c]
push ecx
push 0x433418
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jne 0x40a751
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
push 0
push 0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0
push edx
mov edx, dword [0x440530]
lea ecx, [esp + 0x70]
push eax
push ecx
push 1
push 0
push 0x1e
push 0x1e
push edx
call dword [sym.imp.OLEPRO32.DLL_OleCreatePropertyFrame]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x60]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
cmp eax, dword [0x43f7e0]
jne 0x40a83b
mov eax, dword [0x43f5d8]
lea edx, [esp + 0x60]
push edx
mov edx, dword [0x43f604]
mov ecx, dword [eax]
push 0x4304c4
push edx
push 0x432594
push 0x431134
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x40a7c2
mov eax, dword [0x43f5d8]
lea edx, [esp + 0x60]
push edx
mov edx, dword [0x43f604]
mov ecx, dword [eax]
push 0x4304c4
push edx
push 0x4325e4
push 0x431134
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x6c]
push edx
push 0x433418
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jne 0x40a826
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push 0
push 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0
push eax
mov eax, dword [0x440530]
lea edx, [esp + 0x70]
push ecx
push edx
push 1
push 0
push 0x1e
push 0x1e
push eax
call dword [sym.imp.OLEPRO32.DLL_OleCreatePropertyFrame]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x6c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
cmp eax, dword [0x43f7e4]
jne 0x40a8b8
mov eax, dword [0x43f608]
lea ecx, [esp + 0x60]
push ecx
push 0x433418
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jne case.0x409f54.38
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
push 0
mov ecx, dword [0x440530]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push 0
push edx
push eax
push 0x43f608
push 1
push 0
push 0x1e
push 0x1e
push ecx
call dword [sym.imp.OLEPRO32.DLL_OleCreatePropertyFrame]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
cmp eax, dword [0x43f7f8]
jne 0x40a989
mov eax, dword [0x43f6a8]
test eax, eax
je 0x40a8d2
call fcn.00407f30
mov eax, dword [0x43f5d8]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [0x43f608]
mov edx, dword [eax]
push 0x4305c4
push ecx
push 0x4325d4
push 0x431134
push eax
call dword [edx + 0xc]
lea ecx, [esp + 0x6c]
mov eax, dword [esp + 0x60]
push ecx
push 0x433418
push eax
mov edx, dword [eax]
call dword [edx]
test eax, eax
jne 0x40a95d
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
push 0
push 0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0
push edx
mov edx, dword [0x440530]
lea ecx, [esp + 0x70]
push eax
push ecx
push 1
push 0
push 0x1e
push 0x1e
push edx
call dword [sym.imp.OLEPRO32.DLL_OleCreatePropertyFrame]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x60]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x43f6a8]
test eax, eax
je case.0x409f54.38
push 0
call fcn.00407e40
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x50
ret 0x10
cmp eax, dword [0x43f7e8]
jne 0x40aaa6
mov eax, dword [0x43f5d8]
lea edx, [esp + 0x6c]
push edx
mov edx, dword [0x43f604]
mov ecx, dword [eax]
push 0x4304f4
push edx
push 0x432594
push 0x431134
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x40a9e5
mov eax, dword [0x43f5d8]
lea edx, [esp + 0x6c]
push edx
mov edx, dword [0x43f604]
mov ecx, dword [eax]
push 0x4304f4
push edx
push 0x4325e4
push 0x431134
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0xc]
push edx
push 0x430804
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [0x43f5d8]
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push 0x4304f4
push edx
push 0
push 0x431074
push eax
call dword [ecx + 0xc]
lea edx, [esp + 0x68]
mov eax, dword [esp + 0x60]
push edx
push 0x433418
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jne 0x40aa7d
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push 0
push 0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0
push eax
mov eax, dword [0x440530]
lea edx, [esp + 0x70]
push ecx
push edx
push 1
push 0
push 0x1e
push 0x1e
push eax
call dword [sym.imp.OLEPRO32.DLL_OleCreatePropertyFrame]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x68]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
cmp eax, dword [0x43f7ec]
jne 0x40ab52
mov eax, dword [0x43f5d8]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [0x43f608]
mov edx, dword [eax]
push 0x4304a4
push ecx
push 0x4325d4
push 0x431134
push eax
call dword [edx + 0xc]
lea ecx, [esp + 0x6c]
mov eax, dword [esp + 0x60]
push ecx
push 0x433418
push eax
mov edx, dword [eax]
call dword [edx]
test eax, eax
jne 0x40ab3d
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x14]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
push 0
push 0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 0
push edx
mov edx, dword [0x440530]
lea ecx, [esp + 0x70]
push eax
push ecx
push 1
push 0
push 0x1e
push 0x1e
push edx
call dword [sym.imp.OLEPRO32.DLL_OleCreatePropertyFrame]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x60]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
mov edx, dword [0x43f80c]
cmp eax, edx
jle case.0x409f54.38
mov ecx, dword [0x43f810]
lea esi, [ecx + edx]
cmp eax, esi
jg case.0x409f54.38
xor esi, esi
test ecx, ecx
jle 0x40abad
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, edi
xor ecx, ecx
sub eax, edx
mov edx, dword [0x43f814]
sub eax, 0x2b
cmp esi, eax
setne cl
dec ecx
and ecx, 8
or ch, 4
push ecx
push esi
push edx
call ebx
mov eax, dword [0x43f810]
mov edx, dword [0x43f80c]
inc esi
cmp esi, eax
jl 0x40ab7d
mov ecx, dword [0x43f808]
test ecx, ecx
je case.0x409f54.38
sub edi, edx
sub edi, 0x2b
push edi
call fcn.0040e9a0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
mov esi, dword [esp + 0x6c]
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call fcn.0040ca50
add esp, 0xc
test eax, eax
push esi
jl 0x40ac04
mov eax, dword [0x43f448]
push 0x190
push eax
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
mov ecx, dword [0x43f448]
push 0x191
push ecx
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10
mov edx, dword [esp + 0x6c]
push edx
call fcn.0040cc50
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x50
ret 0x10