joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f560
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
push str.net_helper_wnd
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov esi, eax
test esi, esi
je 0x49f594
mov edx, dword [esi]
mov ecx, esi
push 0x527a3c
call dword [edx + 4]
test eax, eax
je 0x49f594
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x49f5b0
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov esi, eax
jmp 0x49f5b2
xor esi, esi
push 0x2800
call fcn.004ed7b1
add esp, 4
mov edi, eax
push 0x5000
call fcn.004ed7b1
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push str.net_helper_wnd
push 0x527a3c
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.004244f0
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x49f620
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004eab91
add esp, 4
test esi, esi
je 0x49f675
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x49f675
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.004eab91
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.004ed7b1
add esp, 4
mov esi, eax
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.00424550
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004eab91
add esp, 4
push edi
call fcn.004eab91
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x49f6d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
push str.delay_chart
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov esi, eax
test esi, esi
je 0x49f704
mov edx, dword [esi]
mov ecx, esi
push 0x5257a4
call dword [edx + 4]
test eax, eax
je 0x49f704
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x49f720
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov esi, eax
jmp 0x49f722
xor esi, esi
push 0x2800
call fcn.004ed7b1
add esp, 4
mov edi, eax
push 0x5000
call fcn.004ed7b1
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push str.delay_chart
push 0x5257a4
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.004244f0
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x49f790
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004eab91
add esp, 4
test esi, esi
je 0x49f7e5
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x49f7e5
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.004eab91
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.004ed7b1
add esp, 4
mov esi, eax
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.00424550
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004eab91
add esp, 4
push edi
call fcn.004eab91
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x49f840
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
push str.advert_wnd
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov esi, eax
test esi, esi
je 0x49f874
mov edx, dword [esi]
mov ecx, esi
push 0x527bac
call dword [edx + 4]
test eax, eax
je 0x49f874
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x49f890
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov esi, eax
jmp 0x49f892
xor esi, esi
push 0x2800
call fcn.004ed7b1
add esp, 4
mov edi, eax
push 0x5000
call fcn.004ed7b1
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push str.advert_wnd
push 0x527bac
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.004244f0
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x49f900
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004eab91
add esp, 4
test esi, esi
je 0x49f955
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x49f955
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.004eab91
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.004ed7b1
add esp, 4
mov esi, eax
push 0x20e
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.00424550
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004eab91
add esp, 4
push edi
call fcn.004eab91
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x49f9b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByID_int__int_]
mov esi, eax
test esi, esi
je 0x49f9e2
mov edx, dword [esi]
mov ecx, esi
push str.tileview2
call dword [edx + 4]
test eax, eax
je 0x49f9e2
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x49f9fe
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov esi, eax
jmp 0x49fa00
xor esi, esi
push 0x2800
call fcn.004ed7b1
add esp, 4
mov edi, eax
push 0x5000
call fcn.004ed7b1
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push dword [ebp + 8]
push str.tileview2
push str.FindChildByID2_Failed__no_window_of_class___s__with_id_of___d__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.004244f0
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x49fa6c
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004eab91
add esp, 4
test esi, esi
je 0x49fac1
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x49fac1
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByID2
push 0x1e9
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.004eab91
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.004ed7b1
add esp, 4
mov esi, eax
push 0x1e9
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByID2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.00424550
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004eab91
add esp, 4
push edi
call fcn.004eab91
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x49fb20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByID_int__int_]
mov esi, eax
test esi, esi
je 0x49fb52
mov edx, dword [esi]
mov ecx, esi
push str.tabctrl2
call dword [edx + 4]
test eax, eax
je 0x49fb52
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x49fb6e
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov esi, eax
jmp 0x49fb70
xor esi, esi
push 0x2800
call fcn.004ed7b1
add esp, 4
mov edi, eax
push 0x5000
call fcn.004ed7b1
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push dword [ebp + 8]
push str.tabctrl2
push str.FindChildByID2_Failed__no_window_of_class___s__with_id_of___d__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.004244f0
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x49fbdc
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.004eab91
add esp, 4
test esi, esi
je 0x49fc31
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x49fc31
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByID2
push 0x1e9
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.004eab91
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.004ed7b1
add esp, 4
mov esi, eax
push 0x1e9
push str.D:codeworkspace_souiSOUIincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByID2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.00424550
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004eab91
add esp, 4
push edi
call fcn.004eab91
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x4b05c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512d55
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x565040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x6c]
call fcn.004169a0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x5c], 0
je 0x4b0616
push 1
push 0x5335d4
lea ecx, [ebp - 0x6c]
call fcn.00416c00
push 6
push str._ppid
lea ecx, [ebp - 0x6c]
call fcn.00416c00
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea esi, [ebp - 0x12]
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x4b0630
push ecx
lea eax, [ebp - 0x12]
push eax
push esi
lea ecx, [ebp - 0x54]
call fcn.00417060
mov byte [ebp - 4], 2
lea eax, [ebp - 0x54]
cmp dword [ebp - 0x40], 7
lea ecx, [ebp - 0x6c]
push dword [ebp - 0x44]
cmova eax, dword [ebp - 0x54]
push eax
call fcn.00416c00
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00415000
mov eax, dword [0x570878]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4b06a1
push eax
call edi
mov dword [0x570878], 0
call fcn.00433c50
lea ecx, [ebp - 0x54]
lea edx, [eax + 0xf4]
call fcn.00416570
cmp dword [eax + 0x14], 7
jbe 0x4b06bc
mov eax, dword [eax]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00415000
sub esp, 0x18
lea eax, [ebp - 0x6c]
mov ecx, esp
mov dword [ebp - 0x70], esp
push eax
call fcn.004169a0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push 0x570c38
call fcn.004169a0
mov edx, 1
mov byte [ebp - 4], 1
xor ecx, ecx
call fcn.00418440
add esp, 0x30
test al, al
je 0x4b071a
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x6c]
call fcn.00415000
lea ecx, [ebp + 8]
call fcn.00415000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2bfe
mov esp, ebp
pop ebp
ret
Function at 0x4c1630
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x565040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
push str.Unspecified_error.
call fcn.004b8080
add esp, 4
push 0x44
push 0
lea eax, [ebp - 0x268]
push eax
call fcn.004d7890
add esp, 0xc
mov dword [ebp - 0x268], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.004d7890
add esp, 0xc
mov dx, word [0x5174a4]
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004d7890
add esp, 0xc
push 0x518194
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004f1884
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x210]
add ecx, 0x9c
call fcn.004bab20
push eax
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.004f1884
add esp, 0xc
push 0x518198
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004f1884
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.004f1884
add esp, 0xc
push 0x518194
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004f1884
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x268]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x210]
add ecx, 0x9c
call fcn.004bb9a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x220], 0
je 0x4c1794
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x214], 0
jne 0x4c17b1
push 0x5181a0
call fcn.004b8080
add esp, 4
mov eax, 1
jmp 0x4c1805
cmp dword [ebp + 0xc], 0
je 0x4c17cc
push 0xffffffffffffffff
mov edx, dword [ebp - 0x210]
mov eax, dword [edx + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x10], 0
je 0x4c17df
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x224]
mov dword [ecx], edx
jmp 0x4c17f6
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x224], 0
push str.Success.
call fcn.004b8080
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d2bfe
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ce2d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5147b3
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x565040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
call fcn.004cf9d0
push 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x4ce32e
mov eax, 1
jmp 0x4ce37c
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x228]
call fcn.004ba130
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004c7ee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.004ba370
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2bfe
mov esp, ebp
pop ebp
ret
Function at 0x4cecc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514968
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x565040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004ba1d0
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp + 0xc]
call fcn.004bb9a0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4cedd9
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push 0
lea ecx, [ebp + 0xc]
call fcn.004bb9a0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4cedd9
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0x5174c4
mov edx, dword [ebp - 0x24]
push edx
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
shr ecx, 0x10
and ecx, 0xffff
mov word [ebp - 0x1c], cx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x10]
and eax, 0xffff
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x14]
shr edx, 0x10
and edx, 0xffff
mov word [ebp - 0x14], dx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x14]
and ecx, 0xffff
mov word [ebp - 0x10], cx
movzx edx, word [ebp - 0x10]
push edx
movzx eax, word [ebp - 0x14]
push eax
movzx ecx, word [ebp - 0x18]
push ecx
movzx edx, word [ebp - 0x1c]
push edx
push str._u._u._u._u
lea eax, [ebp - 0x28]
push eax
call fcn.004c86c0
add esp, 0x18
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.004c7920
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004ba370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004ba370
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4cee30
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51499b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x565040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004ba1d0
mov byte [ebp - 4], 1
push 0
push 0x3a
lea ecx, [ebp + 8]
call fcn.004cfa10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4cee86
mov eax, dword [ebp - 0x18]
add eax, 2
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x5c
lea ecx, [ebp + 8]
call fcn.004cfa10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4ceeb1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.004c7ee0
jmp 0x4ceee6
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp + 8]
call fcn.004c8df0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004c7ee0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004ba370
push 0
lea ecx, [ebp - 0x14]
call fcn.004bb9a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4cef34
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4cef34
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004ba370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004ba370
mov eax, dword [ebp - 0x2c]
jmp 0x4cefb0
lea ecx, [ebp - 0x14]
call fcn.004bb9a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
and edx, 0x10
jne 0x4cef75
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004ba370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004ba370
mov eax, dword [ebp - 0x34]
jmp 0x4cefb0
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4cef7d
jmp 0x4cef8b
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x4cee8c
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004ba370
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004ba370
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret