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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c0f5c
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4df210]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x4df210]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x56b4dc]
mov edx, 0x56b4e0
call fcn.004500f0
test al, al
jne 0x4571cd
xor al, al
jmp 0x457650
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 [0x4e9b28]
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
mov ecx, dword [0x56b4dc]
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 0x56b4e0
mov ecx, 0x1f4
mov dword [eax + 8], ebx
push 0x56b4e0
mov dword [eax + 0xc], ecx
push 0
mov ecx, esi
call edx
test al, al
je 0x4571c6
push 0x458e90
mov ebx, 0x9c43
mov eax, esi
call fcn.00450570
push 0x458e20
mov ebx, 0x9c41
mov eax, esi
call fcn.00450570
push 0x458e50
mov ebx, 0x9c44
mov eax, esi
call fcn.00450570
push 0x458e60
mov ebx, 0x9c48
mov eax, esi
call fcn.00450570
push 0x458e70
push 0x4e
mov eax, esi
call fcn.00450480
push 0x458e00
push 0x14
mov eax, esi
call fcn.00450480
push 0x458e40
push 0x9000
mov eax, esi
call fcn.00450480
push 0x458e30
push 0x112
mov eax, esi
call fcn.00450480
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 [0x56b4dc]
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.00450250
test eax, eax
mov dword [esi + 0x8c], eax
je 0x4571c6
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.00456ef0
push 0x140
push esi
mov edx, 0x4c87e4
lea ecx, [ebx + 1]
call fcn.00456ef0
push 0x96
push esi
mov edx, str.Time
lea ecx, [ebx + 2]
call fcn.00456ef0
push 0xfe
lea edx, [esp + 0x31]
push ebx
push edx
mov byte [esp + 0x38], bl
call fcn.00491650
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
movzx eax, ax
cmp eax, 0x419
jg 0x4573ba
je 0x4573b3
sub eax, 0x404
je 0x4573a2
sub eax, 0xd
je 0x457391
sub eax, 1
jne 0x4573c8
push str.Gulim
jmp 0x4573ef
push str.MS_Gothic
push 0xff
lea ecx, [esp + 0x34]
push ecx
jmp 0x4573f9
push str.PMingliu
push 0xff
lea edx, [esp + 0x34]
push edx
jmp 0x4573f9
push str.Tahoma
jmp 0x4573ef
cmp eax, 0x41e
je 0x4573ea
cmp eax, 0x804
je 0x4573d9
push str.Gulim
push 0xff
lea ecx, [esp + 0x34]
push ecx
jmp 0x4573f9
push str.SimSun
push 0xff
lea edx, [esp + 0x34]
push edx
jmp 0x4573f9
push str.Microsoft_Sans_Serif
push 0xff
lea eax, [esp + 0x34]
push eax
call fcn.0048e45e
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.0048d4ee
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x140], 0
test eax, eax
je 0x45745c
push eax
call fcn.0043af40
jmp 0x45745e
xor eax, eax
mov dword [esp + 0x140], 0xffffffff
lea edi, [esi + 0xc0]
push 0x158
mov dword [edi], eax
call fcn.0048d4ee
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x140], 1
test eax, eax
je 0x457499
push eax
call fcn.0045e2a0
jmp 0x45749b
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 [0x56b4dc]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push edx
call eax
test al, al
je 0x4571c6
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 [0x56b4dc]
push eax
mov eax, dword [ebx + 0x10]
push edx
call eax
test al, al
je 0x4571c6
lea ebx, [esi + 0x98]
mov eax, edi
call fcn.004584e0
lea eax, [esi + 0xbc]
call fcn.004584e0
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.004584e0
fld dword [0x4ca29c]
mov eax, dword [esi + 0xb0]
push ecx
mov ecx, dword [esi + 0xb4]
fstp dword [esp]
mov edx, esi
call fcn.00459070
fld dword [0x4ca298]
mov eax, dword [esi + 0xb4]
push ecx
mov ecx, dword [esi + 0xb8]
fstp dword [esp]
mov edx, esi
call fcn.00459070
push 5
call fcn.004503c0
call fcn.004503f0
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 0x458e80
mov ebx, 0xbb9
mov eax, esi
call fcn.00450570
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.0048cf20
mov esp, ebp
pop ebp
ret