Function at 0x47f2e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5537ef
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call dword [0x55a6c4]
xor esi, esi
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x10]
call dword [0x55a6c4]
mov byte [esp + 0x40], 1
lea eax, [esp + 0x14]
push eax
lea ecx, [ebx + 0x13c]
call sub.mfc90u.dll_CWnd::GetWindowTextW
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [ebx + 0xa3c]
call fcn.0040bd70
mov byte [esp + 0x40], 2
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], esi
jne 0x47f3e3
push str.wtwSMS
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 0x10
call dword [0x55a504]
mov byte [esp + 0x40], 3
push 0x576de4
push 0x3ef
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x5c6f7c]
call fcn.00504820
mov dword [esp + 0x2c], eax
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [ebx + 0x15c]
lea ecx, [esp + 0x24]
push ecx
push esi
push 0x1503
push edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], 3
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x47f640
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], esi
jne 0x47f465
cmp dword [ebx + 0xe0], esi
jne 0x47f46d
push str.wtwSMS
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 0x10
call dword [0x55a504]
mov byte [esp + 0x40], 4
mov eax, dword [0x5c6f7c]
push str.Nie_wpisa
push 0x3f0
lea ecx, [esp + 0x20]
push ecx
call fcn.00504820
mov dword [esp + 0x2c], eax
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebx + 0xa5c]
lea edx, [esp + 0x24]
push edx
push esi
push 0x1503
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], 3
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x47f640
cmp dword [ebx + 0xe0], esi
je 0x47f49a
mov ecx, dword [ebx + 0xc38]
push esi
push esi
push 0x147
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x47f640
mov edx, dword [ebx + 0xc4]
cmp dword [edx - 0xc], 3
jl 0x47f640
lea eax, [ebx + 0xe4]
mov dword [esp + 0x1c], eax
cmp dword [eax], esi
je 0x47f534
push str.wtwSMS
lea ecx, [esp + 0x20]
call dword [0x55a504]
mov byte [esp + 0x40], 5
push str.wtwSMS
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x40], 6
push 0x10
push 0x55eac0
push 0x3f2
lea eax, [esp + 0x28]
push eax
mov eax, dword [0x5c6f7c]
call fcn.00504820
push eax
mov eax, dword [0x5c6f7c]
push str.Wyst
push 0x3f1
lea ecx, [esp + 0x28]
push ecx
call fcn.00504820
push eax
mov ecx, ebx
call sub.mfc90u.dll_CWnd::MessageBoxW
mov byte [esp + 0x40], 5
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x40], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x47f640
mov edi, dword [0x5c6f64]
lea edx, [ebx + 0xc4]
push edx
call fcn.004f0e90
mov edi, eax
cmp edi, esi
je 0x47f640
push 0x4c
call sub.mfc90u.dll_new
add esp, 4
cmp eax, esi
je 0x47f56c
push eax
call fcn.0047f680
mov esi, eax
mov dword [esp + 0x18], esi
jmp 0x47f570
mov dword [esp + 0x18], esi
lea eax, [esp + 0x10]
push eax
call fcn.0047e080
mov ecx, dword [esp + 0x20]
add esp, 4
lea edx, [esp + 0x10]
mov dword [esi + 4], ecx
push edx
lea ecx, [esi + 0xc]
mov dword [esi], ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
add esi, 0x10
call fcn.0047f700
mov ecx, dword [ebx + 0xb90]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf0
push ecx
call edi
mov esi, dword [esp + 0x18]
push 0
mov dword [esi + 0x44], eax
mov edx, dword [ebx + 0xe0]
push 0
mov dword [esi + 0x48], edx
mov eax, dword [ebx + 0xc38]
push 0x147
push eax
call edi
mov ecx, dword [ebx + 0xc38]
push 0
push eax
push 0x150
push ecx
call edi
push eax
mov eax, dword [0x5c6f64]
add eax, 0x24
call fcn.00487e90
add eax, 8
push eax
lea ecx, [esi + 0x40]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
push 0
xor ecx, ecx
mov edx, ebx
call fcn.0047f960
lea edx, [esp + 0x20]
push edx
push 0
push esi
push 0x47e960
push 0
push 0
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov byte [esp + 0x40], 0
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret