Function at 0x4a34f0
Capabilities:
Capture webcam image
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52368c
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x553150]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x553150]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x59b3a4]
mov edx, 0x59b3a8
call fcn.004a5600
test al, al
jne 0x4a354d
xor al, al
jmp 0x4a39d0
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call ebx
mov edi, eax
push 0x10
sub edi, 0x258
call ebx
mov ebx, eax
mov eax, dword [0x558cdc]
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
mov ecx, dword [0x59b3a4]
mov edx, dword [esi]
mov edx, dword [edx + 8]
push ecx
push eax
push 0
sub esp, 0x10
mov dword [esp + 0x34], eax
mov eax, esp
xor ecx, ecx
push 0xcf0000
mov dword [eax], edi
mov dword [eax + 4], ecx
push 0x59b3a8
mov ecx, 0x1f4
mov dword [eax + 8], ebx
push 0x59b3a8
mov dword [eax + 0xc], ecx
push 0
mov ecx, esi
call edx
test al, al
je 0x4a3546
push 0x4a5210
mov ebx, 0x9c43
mov eax, esi
call fcn.004a5a80
push 0x4a51a0
mov ebx, 0x9c41
mov eax, esi
call fcn.004a5a80
push 0x4a51d0
mov ebx, 0x9c44
mov eax, esi
call fcn.004a5a80
push 0x4a51e0
mov ebx, 0x9c48
mov eax, esi
call fcn.004a5a80
push 0x4a51f0
push 0x4e
mov eax, esi
call fcn.004a5990
push 0x4a5180
push 0x14
mov eax, esi
call fcn.004a5990
push 0x4a51c0
push 0x9000
mov eax, esi
call fcn.004a5990
push 0x4a51b0
push 0x112
mov eax, esi
call fcn.004a5990
mov eax, dword [esi + 0x14]
push 0
push 0x3e8
push 0
push eax
call dword [sym.imp.USER32.dll_SetTimer]
sub esp, 0x10
mov eax, esp
xor ecx, ecx
xor ebx, ebx
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov ecx, dword [0x59b3a4]
mov edx, 0x12c
mov edi, edx
mov dword [eax + 8], edx
push ecx
mov dword [esp + 0x3c], edi
mov dword [eax + 0xc], edi
call fcn.004a5760
test eax, eax
mov dword [esi + 0x8c], eax
je 0x4a3546
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x130
push ebx
push 0x1036
push eax
call edi
push 0x3c
push esi
mov edx, str.Type
xor ecx, ecx
call fcn.004a3270
push 0x140
push esi
mov edx, 0x52f784
lea ecx, [ebx + 1]
call fcn.004a3270
push 0x96
push esi
mov edx, str.Time
lea ecx, [ebx + 2]
call fcn.004a3270
push 0xfe
lea edx, [esp + 0x31]
push ebx
push edx
mov byte [esp + 0x38], bl
call fcn.004ebfe0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx eax, ax
cmp eax, 0x419
jg 0x4a373a
je 0x4a3733
sub eax, 0x404
je 0x4a3722
sub eax, 0xd
je 0x4a3711
sub eax, 1
jne 0x4a3748
push str.Gulim
jmp 0x4a376f
push str.MS_Gothic
push 0xff
lea ecx, [esp + 0x34]
push ecx
jmp 0x4a3779
push str.PMingliu
push 0xff
lea edx, [esp + 0x34]
push edx
jmp 0x4a3779
push str.Tahoma
jmp 0x4a376f
cmp eax, 0x41e
je 0x4a376a
cmp eax, 0x804
je 0x4a3759
push str.Gulim
push 0xff
lea ecx, [esp + 0x34]
push ecx
jmp 0x4a3779
push str.SimSun
push 0xff
lea edx, [esp + 0x34]
push edx
jmp 0x4a3779
push str.Microsoft_Sans_Serif
push 0xff
lea eax, [esp + 0x34]
push eax
call fcn.004e71d2
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xb
call dword [sym.imp.GDI32.dll_CreateFontA]
mov edx, dword [esi + 0x8c]
push 0
push eax
push 0x30
push edx
call edi
push 0x184
call fcn.004e6b60
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x140], 0
test eax, eax
je 0x4a37dc
push eax
call fcn.0049bdc0
jmp 0x4a37de
xor eax, eax
mov dword [esp + 0x140], 0xffffffff
lea edi, [esi + 0xc0]
push 0x158
mov dword [edi], eax
call fcn.004e6b60
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x140], 1
test eax, eax
je 0x4a3819
push eax
call fcn.004b15b0
jmp 0x4a381b
xor eax, eax
mov dword [esp + 0x140], 0xffffffff
mov ecx, dword [edi]
push 0x101
mov dword [esi + 0xbc], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
xor edx, edx
mov dword [eax + 4], edx
mov edx, 0x12c
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x14]
mov edx, dword [0x59b3a4]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push edx
call eax
test al, al
je 0x4a3546
mov ecx, dword [esi + 0xbc]
mov ebx, dword [ecx]
push 0x102
sub esp, 0x10
mov eax, esp
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov edx, 0x12c
mov dword [eax + 8], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x14]
mov edx, dword [0x59b3a4]
push eax
mov eax, dword [ebx + 0x10]
push edx
call eax
test al, al
je 0x4a3546
lea ebx, [esi + 0x98]
mov eax, edi
call fcn.004a4860
lea eax, [esi + 0xbc]
call fcn.004a4860
push str.arial
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xc
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ecx, dword [esi + 0x14]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x90], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0xbc]
mov eax, dword [edx + 0x14]
mov ecx, dword [edi]
mov dword [esi + 0xb0], eax
mov eax, dword [esi + 0x8c]
mov edx, dword [ecx + 0x14]
mov dword [esi + 0xb8], eax
lea ebx, [esi + 0xa4]
mov eax, edi
mov dword [esi + 0xb4], edx
call fcn.004a4860
fld dword [0x5317c4]
mov eax, dword [esi + 0xb0]
push ecx
mov ecx, dword [esi + 0xb4]
fstp dword [esp]
mov edx, esi
call fcn.004ac4a0
fld dword [0x5317c0]
mov eax, dword [esi + 0xb4]
push ecx
mov ecx, dword [esi + 0xb8]
fstp dword [esp]
mov edx, esi
call fcn.004ac4a0
push 5
call fcn.004a58d0
call fcn.004a5900
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.USER32.dll_GetSubMenu]
push 0
push ecx
mov ebx, eax
call edi
push 2
push eax
call edi
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
push str.MainView
push ebx
push 0x10
push eax
call edi
push str.ArchitectureView
push 0xbb9
push 0
push ebx
call edi
push 8
push 0xbb9
push ebx
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0x4a5200
mov ebx, 0xbb9
mov eax, esi
call fcn.004a5a80
mov al, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.004e6578
mov esp, ebp
pop ebp
ret