Function at 0x40f02c
Capabilities:
Contain obfuscated stackstrings
Get graphical window text
Reference cloudflare dns server
Send data
Send data on socket

Disassembly:
mov eax, 0x41924a
call fcn.00417ad0
sub esp, 0xec
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push 0x70
pop edi
cmp ecx, edi
jb case.0x40f060.104
mov esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, 0xffffff99
cmp eax, 0x13
ja case.0x40f060.104
jmp dword [eax*4 + 0x40fb32]
lea edi, [esi + 0x13]
mov dword [ebx + 8], 1
push edi
call sub.MSVCRT.dll_strlen
push eax
lea eax, [ebx + 0x1b]
push edi
mov edi, dword [sym.imp.MSVCRT.dll_strncpy]
push eax
call edi
add esi, 0x22
push esi
call sub.MSVCRT.dll_strlen
push eax
add ebx, 0x2a
push esi
push ebx
call edi
add esp, 0x20
jmp case.0x40f060.104
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_3
and dword [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
lea eax, [esi + 0x13]
lea ecx, [ebp + 8]
push eax
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator_2
lea eax, [esi + 4]
lea ecx, [ebp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp + 8]
push 0x4221b8
push eax
lea eax, [ebp - 0x38]
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x84]
push eax
call sub.MFC42.DLL_operator_1
push 0x4221b4
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 5
call fcn.00417506
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push dword [esi + 0x34]
lea eax, [ebp + 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x42383c]
call fcn.00411925
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
jmp 0x40fb1c
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_3
lea eax, [esi + 0x13]
lea ecx, [ebp + 8]
push eax
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::operator_2
lea eax, [esi + 4]
lea ecx, [ebp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp + 8]
push 0x4221b8
push eax
lea eax, [ebp - 0x68]
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call sub.MFC42.DLL_operator_1
push 0x4221b4
push eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0xa
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xb
call fcn.00417506
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
push dword [esi + 0x34]
lea eax, [ebp + 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x423838]
call fcn.00410092
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
jmp 0x40fb1c
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString_3
lea eax, [esi + 0x13]
lea ecx, [ebp + 8]
push eax
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::operator_2
lea eax, [esi + 4]
lea ecx, [ebp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp + 8]
push 0x4221b8
push eax
lea eax, [ebp - 0x50]
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea eax, [ebp - 0x88]
push eax
call sub.MFC42.DLL_operator_1
push 0x4221b4
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0x10
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x11
call fcn.00417506
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
mov esi, dword [esi + 0x34]
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebx
call fcn.0040fb82
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x402
test eax, eax
je 0x40f34e
push esi
push dword [ebp + 0x10]
push ebx
push eax
call edi
mov eax, dword [0x423838]
push esi
push dword [ebp + 0x10]
push ebx
push dword [eax + 0x20]
call edi
mov eax, dword [0x42383c]
push esi
push dword [ebp + 0x10]
push ebx
push dword [eax + 0x20]
call edi
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
jmp 0x40fb1c
lea eax, [ecx - 0xa8]
test eax, eax
jle case.0x40f060.104
lea eax, [ebx + 0xc]
push 0x6c
push eax
lea eax, [ebp - 0xf4]
push eax
mov dword [ebp - 0xf8], edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0xf8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push edi
push eax
push dword [ebx + 0x90]
call dword [sym.imp.WS2_32.dll_sendto]
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString_3
lea eax, [esi + 0x13]
lea ecx, [ebp + 8]
push eax
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::operator_2
lea eax, [esi + 4]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp + 8]
push 0x4221b8
push eax
lea eax, [ebp - 0x80]
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x15
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MFC42.DLL_operator_1
push 0x4221b4
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x16
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x17
call fcn.00417506
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x16
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp + 0x10], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebx
call fcn.0040fb82
push dword [ebp + 0xc]
test eax, eax
jne 0x40f4ac
mov eax, dword [0x423838]
add esi, 0x70
push esi
push 0x404
push dword [eax + 0x20]
jmp 0x40f4b6
add esi, 0x70
push esi
push 0x404
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
jmp 0x40fb1c
mov dword [ebx + 0xb4], 1
jmp case.0x40f060.104
lea eax, [ebx + 0xc]
push 0x6c
push eax
lea eax, [ebp - 0xf4]
push eax
mov dword [ebp - 0xf8], 0x6e
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov ecx, dword [eax + 4]
cmp ecx, dword [ebx + 0xac]
je 0x40f53b
push dword [ebp + 0x14]
push eax
push 0
lea eax, [ebp - 0xf8]
push edi
push eax
push dword [ebx + 0x90]
call dword [sym.imp.WS2_32.dll_sendto]
jmp case.0x40f060.104
xor eax, eax
lea edi, [ebp - 0x2a]
stosd dword es:[edi], eax
and dword [ebp + 0x10], 0
cmp byte [esi + 0x60], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x2c], 2
jbe case.0x40f060.104
lea edi, [esi + 0x3c]
mov eax, dword [edi - 4]
mov dword [ebp - 0x28], eax
mov ax, word [edi]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x2a], ax
lea eax, [ebp - 0x2c]
push 0x10
push eax
push 0
lea eax, [ebp - 0xf8]
push 0x70
push eax
push dword [ebx + 0x90]
call dword [sym.imp.WS2_32.dll_sendto]
movzx eax, byte [esi + 0x60]
inc dword [ebp + 0x10]
add edi, 8
cmp dword [ebp + 0x10], eax
jl 0x40f55c
jmp case.0x40f060.104
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0x18
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x19
call sub.MFC42.DLL_CString::CString_3
lea eax, [esi + 0x13]
lea ecx, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0x1a
call sub.MFC42.DLL_CString::operator_2
add esi, 4
lea ecx, [ebp + 8]
push esi
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp + 0xc]
push 0x4221b8
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1b
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MFC42.DLL_operator_1
push 0x4221b4
push eax
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x1c
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1d
call fcn.00417506
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1a
call sub.MFC42.DLL_CString::CString
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebx
call fcn.0040fb82
mov esi, eax
test esi, esi
je 0x40f685
mov edi, dword [ebp + 0x10]
mov ax, word [edi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
push dword [edi + 4]
push 0x403
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x19
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x18
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
jmp 0x40fb1c
mov eax, dword [0x423800]
push 0
push 0
push 0x406
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebx + 0xc]
push 0x6c
push eax
lea eax, [ebp - 0xf4]
push eax
mov dword [ebp - 0xf8], 0x78
call sub.MSVCRT.dll_memcpy
xor eax, eax
lea edi, [ebp - 0x2a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
add esp, 0xc
cmp dword [0x423808], edi
mov word [ebp - 0x2c], 2
jne 0x40f72f
mov eax, dword [0x423800]
cmp dword [eax + 0x329c], edi
jne 0x40f72f
movzx ecx, word [esi + 0x68]
mov dword [0x423808], ecx
mov cx, word [0x423804]
mov word [ebp - 0x90], cx
lea ecx, [esi + 4]
push ecx
lea ecx, [eax + 0xe0]
call sub.MFC42.DLL_CWnd::SetWindowTextA
jmp 0x40f736
mov word [ebp - 0x90], di
cmp byte [esi + 0x60], 0
mov dword [ebp + 0x10], edi
jbe case.0x40f060.104
lea edi, [esi + 0x3c]
mov eax, dword [edi - 4]
mov dword [ebp - 0x28], eax
mov ax, word [edi]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x2a], ax
lea eax, [ebp - 0x2c]
push 0x10
push eax
push 0
lea eax, [ebp - 0xf8]
push 0x70
push eax
push dword [ebx + 0x90]
call dword [sym.imp.WS2_32.dll_sendto]
movzx eax, byte [esi + 0x60]
inc dword [ebp + 0x10]
add edi, 8
cmp dword [ebp + 0x10], eax
jl 0x40f746
jmp case.0x40f060.104
mov ax, word [esi + 0x68]
test ax, ax
jne 0x40f79b
push str.0.0.0.0
jmp 0x40f7a6
cmp ax, 0x2710
jne 0x40f7b5
push str.1.1.1.1
mov ecx, 0x4236c0
call sub.MFC42.DLL_CString::operator_2
jmp case.0x40f060.104
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, 0x4236c0
call sub.MFC42.DLL_CString::operator_2
movzx eax, word [esi + 0x68]
mov dword [0x423808], eax
jmp case.0x40f060.104
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0x1e
call sub.MFC42.DLL_CString::CString_3
lea eax, [esi + 0x13]
lea ecx, [ebp + 0x10]
push eax
mov byte [ebp - 4], 0x1f
call sub.MFC42.DLL_CString::operator_2
lea eax, [esi + 4]
lea ecx, [ebp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [0x423838]
push 0
push esi
push 0x405
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x1e
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
jmp 0x40fb1c
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0x20
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x21
call sub.MFC42.DLL_CString::CString_3
lea eax, [esi + 0x13]
lea ecx, [ebp + 8]
push eax
mov byte [ebp - 4], 0x22
call sub.MFC42.DLL_CString::operator_2
lea eax, [esi + 4]
lea ecx, [ebp + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp + 8]
push 0x4221b8
push eax
lea eax, [ebp - 0x54]
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x23
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
call sub.MFC42.DLL_operator_1
push 0x4221b4
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x24
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x25
call fcn.00417506
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x24
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x23
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x22
call sub.MFC42.DLL_CString::CString
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x64]
push 0x4226dc
push eax
call sub.MFC42.DLL_operator_2
push 0x4226d0
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x26
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0x10
push 0x4226c0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x22
call sub.MFC42.DLL_CString::CString
push dword [esi + 0x34]
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x423838]
call fcn.00410092
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x21
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x20
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
jmp 0x40fb1c
add esi, 0x70
lea ecx, [ebp + 0x10]
push esi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x423838]
push 0
push dword [ebp + 0x10]
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp + 0x10]
jmp 0x40fb1c
mov eax, dword [0x423800]
push 0
push esi
push 0x408
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x40f060.104
lea ecx, [ebp - 0x18]
lea edi, [esi + 0x70]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0x27
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x28
call sub.MFC42.DLL_CString::CString_3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x29
call sub.MFC42.DLL_CString::CString_3
lea eax, [esi + 4]
lea ecx, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0x2a
call sub.MFC42.DLL_CString::operator_2
lea eax, [esi + 0x13]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp - 0x14]
push 0x4221b8
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MFC42.DLL_operator
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x2b
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MFC42.DLL_operator_1
push 0x4223b0
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x2c
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x2d
call fcn.00417506
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x2c
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x2b
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x2a
call sub.MFC42.DLL_CString::CString
lea eax, [edi + 0x38]
lea ecx, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::operator_2
xor ebx, ebx
push 0x20001
push ebx
push str.wavmsg.wav
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov eax, dword [0x423800]
cmp dword [eax + 0x3304], ebx
je 0x40fadf
push ecx
lea eax, [ebp + 0x14]
mov ecx, esp
mov dword [ebp + 0x10], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x423800]
push ebx
mov ecx, dword [eax + 0x3304]
call fcn.00408f06
push edi
push ecx
mov eax, esp
mov dword [ebp + 0x10], esp
lea ecx, [ebp - 0x1c]
push 0x422198
push ecx
push eax
call sub.MFC42.DLL_operator
mov eax, dword [0x423800]
mov ecx, dword [eax + 0x3304]
call fcn.00408deb
jmp 0x40faf1
push dword [ebp + 0x14]
push esi
push 0x409
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x29
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0x28
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x27
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10