Function at 0x40998b
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x433b5e
call fcn.0042617c
sub esp, 0x4f8
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x104]
mov dword [ebp - 4], edi
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x414
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x24]
test ecx, ecx
je 0x4099df
push edi
push edi
push dword [0x4446d0]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
push 0x43f7f8
call fcn.00402d55
pop ecx
mov dword [ebp - 0x6c], eax
pop ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.004042fb
and byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], 0x436448
call fcn.004031de
mov ecx, dword [ebp - 0x24]
lea eax, [esi + 0xb4]
push eax
push 0x436e58
mov edx, dword [ecx]
push ecx
call dword [edx]
mov edi, 0x43f660
push 0xffffffffffffffff
push edi
call fcn.00402d55
pop ecx
mov dword [ebp - 0x38], eax
pop ecx
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x94]
push eax
mov byte [ebp - 4], 2
call fcn.00409583
push dword [ebp - 0x38]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 4
call ebx
push 0xffffffffffffffff
push edi
call fcn.00402d55
pop ecx
mov dword [ebp - 0x2c], eax
pop ecx
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 5
call fcn.00409583
push dword [ebp - 0x2c]
mov byte [ebp - 4], 7
call ebx
push 0xffffffffffffffff
push edi
call fcn.00402d55
pop ecx
mov dword [ebp - 0x30], eax
pop ecx
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 8
call fcn.00409583
push dword [ebp - 0x30]
mov byte [ebp - 4], 0xa
call ebx
push 0xffffffffffffffff
push edi
call fcn.00402d55
pop ecx
mov dword [ebp - 0x28], eax
pop ecx
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xb
call fcn.00409583
push dword [ebp - 0x28]
mov byte [ebp - 4], 0xd
call ebx
push 0xffffffffffffffff
push edi
call fcn.00402d55
pop ecx
mov dword [ebp - 0x34], eax
pop ecx
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0xb4]
push eax
mov byte [ebp - 4], 0xe
call fcn.00409583
push dword [ebp - 0x34]
mov byte [ebp - 4], 0x10
call ebx
lea ecx, [ebp - 0x20]
call fcn.004030ad
mov dword [ebp - 0x20], 0x436480
mov eax, dword [esi + 0xb0]
mov byte [ebp - 4], 0x11
cmp eax, 0xffffffff
je 0x409be0
mov ecx, dword [esi + 0xac]
xor edi, edi
cmp ecx, edi
je 0x409be2
mov ecx, dword [ecx + eax*4]
lea eax, [ebp - 0x94]
push eax
push edi
call fcn.004016ae
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xac]
mov ecx, dword [ecx + eax*4]
lea eax, [ebp - 0x48]
push eax
push 0x12
call fcn.004016ae
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xac]
mov ecx, dword [ecx + eax*4]
lea eax, [ebp - 0xb4]
push eax
push 9
call fcn.004016ae
lea ecx, [ebp - 0x48]
call fcn.00403c8a
push 0xa
push dword [ebp - 0x44]
call fcn.00403220
pop ecx
cmp eax, 1
pop ecx
je 0x409b9d
cmp eax, 0x10
je 0x409b9d
cmp eax, 0x21
je 0x409b9d
cmp eax, 0x31
je 0x409b9d
push 0x43f7f4
jmp 0x409ba2
push 0x43f7f0
lea ecx, [ebp - 0x3c]
call fcn.00402cb9
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xac]
push dword [ebp - 0x4c]
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0xdc], 0
je 0x409bce
call ebx
push 0x43f0c0
jmp 0x409bd5
call ebx
push 0x43f7ec
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x4c], eax
jmp 0x409be2
xor edi, edi
mov eax, dword [esi + 0xac]
cmp eax, edi
je 0x409bfd
add eax, 0x201c
lea ecx, [ebp - 0xa4]
push eax
call fcn.00403cf7
mov ebx, 0x100
lea eax, [ebp - 0x78]
push ebx
push eax
lea ecx, [ebp - 0x20]
call fcn.0040b87f
push ebx
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.0040ab9d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x11
call fcn.0040ab62
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x20]
push eax
call fcn.0040438f
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x13
call fcn.00403cf7
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x11
call fcn.0040311b
push dword [esi + 0xd4]
lea ecx, [ebp - 0x20]
call fcn.00404baf
cmp dword [esi + 0xb0], 0xffffffff
jne 0x409c78
push str._toaster_multiple.htm
jmp 0x409c7d
push 0x43f7a4
lea ecx, [ebp - 0x20]
call fcn.00404baf
push 0x43f7a0
lea ecx, [ebp - 0x20]
call fcn.0040aaf1
push str.title
lea ecx, [ebp - 0x20]
call fcn.0040aaf1
mov ecx, dword [ebp - 0x88]
mov eax, ecx
cmp word [ecx], di
je 0x409cb3
inc eax
inc eax
cmp word [eax], di
jne 0x409cac
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00404b27
push 0x43f794
lea ecx, [ebp - 0x20]
call fcn.0040aaf1
mov ecx, dword [ebp - 0x98]
mov eax, ecx
cmp word [ecx], di
je 0x409ce2
inc eax
inc eax
cmp word [eax], di
jne 0x409cdb
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00404b27
push str.sev
lea ecx, [ebp - 0x20]
call fcn.0040aaf1
mov ecx, dword [ebp - 0x4c]
mov eax, ecx
cmp word [ecx], di
je 0x409d0e
inc eax
inc eax
cmp word [eax], di
jne 0x409d07
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00404b27
push str.type
lea ecx, [ebp - 0x20]
call fcn.0040aaf1
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
cmp word [ecx], di
je 0x409d3a
inc eax
inc eax
cmp word [eax], di
jne 0x409d33
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00404b27
push str.details
lea ecx, [ebp - 0x20]
call fcn.0040aaf1
mov ecx, dword [ebp - 0xa8]
mov eax, ecx
cmp word [ecx], di
je 0x409d69
inc eax
inc eax
cmp word [eax], di
jne 0x409d62
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00404b27
push str.language
lea ecx, [ebp - 0x20]
call fcn.0040aaf1
mov ecx, esi
call fcn.0040a83b
push eax
lea eax, [ebp - 0x504]
push 0x43f768
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x504]
lea ecx, [ebp - 0x20]
push eax
call fcn.0040aaf1
mov ecx, dword [esi + 0xc4]
mov eax, ecx
cmp word [ecx], di
je 0x409dc4
inc eax
inc eax
cmp word [eax], di
jne 0x409dbd
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.00404b27
push dword [ebp - 0x14]
lea ecx, [ebp - 0xe4]
mov word [ebp - 0xe4], di
call fcn.0040aa52
mov word [ebp - 0x68], di
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x15
mov word [ebp - 0xc4], di
call fcn.0040aa52
push 1
push esi
mov byte [ebp - 4], 0x16
call fcn.0040b43e
pop ecx
lea edx, [ebp - 0xc4]
pop ecx
mov eax, dword [esi + 0xb4]
push edx
lea edx, [ebp - 0x68]
push edx
lea edx, [ebp - 0x68]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x68]
push edx
push dword [ebp - 0x14]
push eax
call dword [ecx + 0x2c]
lea eax, [ebp - 0xd4]
push edi
push eax
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0x414
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0xf4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
sub eax, dword [ebp - 0xe8]
sub ecx, dword [ebp - 0xec]
push 0x204
push 0x10e
push 0x13c
push eax
push ecx
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xffffffffffffffec
push dword [esi + 4]
call ebx
mov ecx, eax
or cl, 0x80
cmp eax, ecx
je 0x409eb8
push ecx
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xfffffffffffffff0
push dword [esi + 4]
call ebx
mov ecx, eax
and ecx, 0xffdfffff
cmp eax, ecx
je 0x409ed7
push ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x414
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
push eax
mov dword [ebp - 0x10], eax
call ebx
mov ecx, eax
and ecx, 0xffdfffff
or ecx, 0x50000000
cmp eax, ecx
je 0x409f0b
push ecx
push 0xfffffffffffffff0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x246
push 0x109
push 0x136
push edi
push edi
push edi
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x4447d8
call fcn.0040abb3
mov ebx, eax
mov eax, esi
neg eax
lea ecx, [esi + 0x50]
sbb eax, eax
and eax, ecx
lea ecx, [ebx + 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040a9c4
mov eax, esi
lea ecx, [esi + 0x54]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040a9c4
push edi
push 0x7530
push dword [esi + 0x8c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xc4]
push eax
call esi
lea eax, [ebp - 0x68]
push eax
call esi
lea eax, [ebp - 0xe4]
push eax
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x10
call fcn.0040311b
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xd
call fcn.004031de
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call fcn.004031de
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.004031de
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.004031de
and byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.004031de
mov eax, dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
pop edi
pop esi
pop ebx
je 0x40a005
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
push 1
pop eax
mov dword fs:[0], ecx
leave
ret 0x10