Function at 0x529920
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55201e
mov eax, dword fs:[0]
push eax
sub esp, 0x530
mov eax, dword [0x5c403c]
xor eax, esp
mov dword [esp + 0x528], eax
push ebx
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x540]
mov dword fs:[0], eax
movzx eax, word [ebp + 8]
add eax, 0xfffff253
mov esi, ecx
cmp eax, 8
ja case.default.0x529974
jmp dword [eax*4 + 0x52a0e4]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
call edx
mov eax, 1
jmp 0x52a0bc
push 3
lea ebx, [esi + 0xc]
push ebx
call fcn.0052a270
xor edi, edi
cmp eax, edi
je 0x5299b8
push eax
call fcn.0051c770
add esp, 4
mov eax, ebx
call fcn.0052aa00
lea eax, [edi + 1]
jmp 0x52a0bc
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
push edi
lea edx, [esp + 0x18]
push edx
call eax
mov edx, dword [esp + 0x14]
cmp edx, edi
je 0x529a36
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x5299e0
sub eax, esi
sar eax, 1
je 0x529a29
push edx
lea ecx, [esp + 0x28]
call dword [0x55a504]
mov dword [esp + 0x548], edi
lea ecx, [esp + 0x24]
push ecx
call fcn.0051c770
add esp, 4
mov dword [esp + 0x548], 0xffffffff
lea ecx, [esp + 0x24]
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 edx, edi
je 0x529a36
push edx
call sub.mfc90u.dll_delete__
add esp, 4
mov eax, ebx
call fcn.0052aa00
mov eax, 1
jmp 0x52a0bc
push 3
lea ebx, [esi + 0xc]
push ebx
call fcn.0052a270
mov edi, eax
test edi, edi
je 0x529ab6
lea ecx, [esp + 0x14]
call dword [0x55a6c4]
mov dword [esp + 0x548], 1
push str.http:__
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
push edi
lea ecx, [esp + 0x18]
call dword [0x55a4e8]
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 0x20]
push 5
push 0
push 0
push edx
push 0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x548], 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 eax, ebx
call fcn.0052aa00
mov eax, 1
jmp 0x52a0bc
push 2
add esi, 0xc
push esi
call fcn.0052a270
test eax, eax
je 0x529adf
push eax
call fcn.0051c770
add esp, 4
mov eax, esi
call fcn.0052aa00
mov eax, 1
jmp 0x52a0bc
lea ebx, [esi + 0xc]
push 4
push ebx
mov dword [esp + 0x24], ebx
call fcn.0052a270
mov edi, eax
test edi, edi
je 0x529de5
lea ecx, [esp + 0x18]
call dword [0x55a6c4]
mov dword [esp + 0x548], 2
push edi
lea ecx, [esp + 0x1c]
call dword [0x55a4e8]
lea ecx, [esp + 0x14]
call dword [0x55a6c4]
mov byte [esp + 0x548], 3
push 0
lea ecx, [esp + 0x48]
call sub.libImage.module_public:_void___thiscall_CxImage::constructor_unsigned_long_int_
mov byte [esp + 0x548], 4
push 0x55ae9c
push str.file:___
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x55ae9c
push str.file:__
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x575c4c
push 0x58a7a4
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x56152c
push 0x575c4c
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x56152c
push 0x561530
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
mov edx, dword [esp + 0x18]
push 0
push edx
lea ecx, [esp + 0x4c]
call sub.libImage.module_public:_bool___thiscall_CxImage::Load_wchar_t_const___unsigned_long_int_
lea ecx, [esp + 0x44]
call sub.libImage.module_public:_unsigned_long_int___thiscall_CxImage::GetType_void_const
sub eax, 1
push 0
je 0x529c1c
sub eax, 1
je 0x529c05
sub eax, 2
je 0x529bee
call dword [sym.imp.MSVCR90.dll__time64]
add esp, 4
push edx
push eax
push str._d.jpg
jmp 0x529c2c
call dword [sym.imp.MSVCR90.dll__time64]
add esp, 4
push edx
push eax
push str._d.png
lea ecx, [esp + 0x20]
push ecx
jmp 0x529c31
call dword [sym.imp.MSVCR90.dll__time64]
add esp, 4
push edx
push eax
push str._d.gif
lea edx, [esp + 0x20]
push edx
jmp 0x529c31
call dword [sym.imp.MSVCR90.dll__time64]
add esp, 4
push edx
push eax
push str._d.bmp
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
lea ecx, [esp + 0x44]
call fcn.0053195c
push str.wtwMainMessages
lea ecx, [esp + 0x2c]
call dword [0x55a504]
mov byte [esp + 0x548], 5
mov ecx, dword [esi + 0x24]
mov eax, dword [0x5c6f7c]
mov edi, dword [esp + 0x14]
push 1
push 0
push ecx
push str.Wszystkie_pliki__._.
push 0x3ee
lea edx, [esp + 0x3c]
push edx
call fcn.00504820
push eax
push 6
push edi
push 0x591c4c
push 0
lea ecx, [esp + 0x22c]
call sub.mfc90u.dll_CFileDialog::CFileDialog
mov byte [esp + 0x548], 7
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x20c]
call sub.mfc90u.dll_CFileDialog::DoModal
cmp eax, 1
jne 0x529d95
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x210]
call sub.mfc90u.dll_CFileDialog::GetPathName
mov byte [esp + 0x548], 8
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
sete bl
mov byte [esp + 0x548], 7
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test bl, bl
je 0x529d95
push str.wtwMainMessages
lea ecx, [esp + 0x34]
call dword [0x55a504]
mov bl, 9
mov byte [esp + 0x548], bl
push str.wtwMainMessages
lea ecx, [esp + 0x38]
call dword [0x55a504]
mov byte [esp + 0x548], 0xa
mov eax, dword [0x5c6f7c]
push 0x30
push 0x55eac0
push 0x3f0
lea edx, [esp + 0x3c]
push edx
call fcn.00504820
push eax
push str.Nie_uda
push 0x3ef
lea eax, [esp + 0x44]
push eax
mov eax, dword [0x5c6f7c]
call fcn.00504820
mov ecx, dword [esi + 0x24]
push eax
call sub.mfc90u.dll_CWnd::MessageBoxW
mov byte [esp + 0x548], bl
lea ecx, [esp + 0x34]
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 + 0x548], 7
lea ecx, [esp + 0x30]
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 + 0x548], 4
lea ecx, [esp + 0x20c]
call fcn.0053224a
mov byte [esp + 0x548], 3
lea ecx, [esp + 0x44]
call fcn.0043a5e0
mov byte [esp + 0x548], 2
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 dword [esp + 0x548], 0xffffffff
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 ebx, dword [esp + 0x1c]
mov eax, ebx
call fcn.0052aa00
mov eax, 1
jmp 0x52a0bc
push 4
lea ebx, [esi + 0xc]
push ebx
call fcn.0052a270
mov edi, eax
test edi, edi
je 0x529ab6
lea ecx, [esp + 0x18]
call dword [0x55a6c4]
mov dword [esp + 0x548], 0xb
push edi
lea ecx, [esp + 0x1c]
call dword [0x55a4e8]
push 0x55ae9c
push str.file:___
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x55ae9c
push str.file:__
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x575c4c
push 0x58a7a4
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x56152c
push 0x575c4c
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
push 0x56152c
push 0x561530
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x24]
mov eax, dword [edx + 0x20]
push 5
push 0
push 0
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x548], 0xffffffff
lea ecx, [esp + 0x18]
jmp 0x529ab0
mov ebx, dword [0x5c7008]
lea ecx, [esp + 0x14]
push ecx
push 0
push str.ChatWindow_ScrollLock
mov dword [esp + 0x20], 0
call fcn.00514350
mov ecx, dword [0x5c7008]
xor eax, eax
cmp dword [esp + 0x14], eax
sete al
push eax
push str.ChatWindow_ScrollLock
call fcn.00514480
mov eax, 1
jmp 0x52a0bc
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
push 0
call eax
mov eax, 1
jmp 0x52a0bc
lea ecx, [esp + 0x14]
call dword [0x55a318]
mov dword [esp + 0x548], 0xc
push 3
lea edi, [esi + 0xc]
push edi
call fcn.0052a270
test eax, eax
je 0x529fb0
mov eax, dword [eax]
push eax
call dword [sym.imp.libWTW.module_public:_static_char____cdecl_wtw::CConv::wtou_wchar_t_const__]
add esp, 4
mov esi, eax
push esi
lea ecx, [esp + 0x24]
call dword [0x55a31c]
mov bl, 0xd
mov byte [esp + 0x548], bl
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.libUtils.module_lutURLEncodeA]
mov byte [esp + 0x550], 0xe
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x20]
push str.https:__www.google.com_search_q_s
push ecx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Format]
add esp, 0x14
mov byte [esp + 0x548], bl
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
mov byte [esp + 0x548], 0xc
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
push esi
jmp 0x52a074
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
push 0
lea eax, [esp + 0x1c]
push eax
call edx
mov edx, dword [esp + 0x18]
test edx, edx
je 0x52a07c
mov eax, edx
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x529fe0
sub eax, esi
sar eax, 1
je 0x52a06f
push edx
call dword [sym.imp.libWTW.module_public:_static_char____cdecl_wtw::CConv::wtou_wchar_t_const__]
add esp, 4
mov esi, eax
push esi
lea ecx, [esp + 0x30]
call dword [0x55a31c]
mov bl, 0xf
mov byte [esp + 0x548], bl
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.libUtils.module_lutURLEncodeA]
mov byte [esp + 0x550], 0x10
mov edx, dword [eax]
push edx
lea eax, [esp + 0x20]
push str.https:__www.google.com_search_q_s
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::Format]
add esp, 0x14
mov byte [esp + 0x548], bl
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
mov byte [esp + 0x548], 0xc
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
push esi
call sub.mfc90u.dll_delete__
mov edx, dword [esp + 0x1c]
add esp, 4
test edx, edx
je 0x52a07c
push edx
call sub.mfc90u.dll_delete__
add esp, 4
mov eax, edi
call fcn.0052aa00
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x52a09e
push 5
push 0
push 0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [esp + 0x548], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_char_class_StrTraitMFC_DLL_char_class_ATL::ChTraitsCRT_char_____::CStringT_char_class_StrTraitMF]
mov eax, 1
jmp 0x52a0bc
xor eax, eax
mov ecx, dword [esp + 0x540]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x528]
xor ecx, esp
call fcn.00532776
mov esp, ebp
pop ebp
ret 4