joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a17d0
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 0x4a1804
mov edx, dword [esi]
mov ecx, esi
push 0x528bac
call dword [edx + 4]
test eax, eax
je 0x4a1804
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 0x4a1820
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 0x4a1822
xor esi, esi
push 0x2800
call fcn.004eed61
add esp, 4
mov edi, eax
push 0x5000
call fcn.004eed61
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push str.net_helper_wnd
push 0x528bac
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.004248f0
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 0x4a1890
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.004ec141
add esp, 4
test esi, esi
je 0x4a18e5
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x4a18e5
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.004ec141
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.004eed61
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.00424950
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004ec141
add esp, 4
push edi
call fcn.004ec141
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x4a1940
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 0x4a1974
mov edx, dword [esi]
mov ecx, esi
push 0x526914
call dword [edx + 4]
test eax, eax
je 0x4a1974
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 0x4a1990
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 0x4a1992
xor esi, esi
push 0x2800
call fcn.004eed61
add esp, 4
mov edi, eax
push 0x5000
call fcn.004eed61
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push str.delay_chart
push 0x526914
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.004248f0
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 0x4a1a00
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.004ec141
add esp, 4
test esi, esi
je 0x4a1a55
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x4a1a55
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.004ec141
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.004eed61
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.00424950
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004ec141
add esp, 4
push edi
call fcn.004ec141
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x4a1ab0
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 0x4a1ae4
mov edx, dword [esi]
mov ecx, esi
push 0x528d1c
call dword [edx + 4]
test eax, eax
je 0x4a1ae4
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 0x4a1b00
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 0x4a1b02
xor esi, esi
push 0x2800
call fcn.004eed61
add esp, 4
mov edi, eax
push 0x5000
call fcn.004eed61
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push str.advert_wnd
push 0x528d1c
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.004248f0
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 0x4a1b70
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.004ec141
add esp, 4
test esi, esi
je 0x4a1bc5
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x4a1bc5
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.004ec141
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.004eed61
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.00424950
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004ec141
add esp, 4
push edi
call fcn.004ec141
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x4a1c20
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 0x4a1c52
mov edx, dword [esi]
mov ecx, esi
push str.tileview2
call dword [edx + 4]
test eax, eax
je 0x4a1c52
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 0x4a1c6e
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 0x4a1c70
xor esi, esi
push 0x2800
call fcn.004eed61
add esp, 4
mov edi, eax
push 0x5000
call fcn.004eed61
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.004248f0
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 0x4a1cdc
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.004ec141
add esp, 4
test esi, esi
je 0x4a1d31
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x4a1d31
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.004ec141
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.004eed61
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.00424950
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004ec141
add esp, 4
push edi
call fcn.004ec141
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x4a1d90
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 0x4a1dc2
mov edx, dword [esi]
mov ecx, esi
push str.tabctrl2
call dword [edx + 4]
test eax, eax
je 0x4a1dc2
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 0x4a1dde
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 0x4a1de0
xor esi, esi
push 0x2800
call fcn.004eed61
add esp, 4
mov edi, eax
push 0x5000
call fcn.004eed61
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.004248f0
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 0x4a1e4c
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.004ec141
add esp, 4
test esi, esi
je 0x4a1ea1
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x4a1ea1
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.004ec141
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.004eed61
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.00424950
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.004ec141
add esp, 4
push edi
call fcn.004ec141
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x4b17f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514445
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x567040]
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.004168b0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x5c], 0
je 0x4b1846
push 1
push 0x534928
lea ecx, [ebp - 0x6c]
call fcn.00416b10
push 6
push str._ppid
lea ecx, [ebp - 0x6c]
call fcn.00416b10
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 0x4b1860
push ecx
lea eax, [ebp - 0x12]
push eax
push esi
lea ecx, [ebp - 0x54]
call fcn.00416e50
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.00416b10
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00414f90
mov eax, dword [0x5728a0]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4b18d1
push eax
call edi
mov dword [0x5728a0], 0
call fcn.004340b0
lea ecx, [ebp - 0x54]
lea edx, [eax + 0xf4]
call fcn.00416480
cmp dword [eax + 0x14], 7
jbe 0x4b18ec
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.00414f90
sub esp, 0x18
lea eax, [ebp - 0x6c]
mov ecx, esp
mov dword [ebp - 0x70], esp
push eax
call fcn.004168b0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push 0x572c60
call fcn.004168b0
mov edx, 1
mov byte [ebp - 4], 1
xor ecx, ecx
call fcn.00418710
add esp, 0x30
test al, al
je 0x4b194a
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.00414f90
lea ecx, [ebp + 8]
call fcn.00414f90
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.004d402e
mov esp, ebp
pop ebp
ret
Function at 0x4c2a60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x567040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
push str.Unspecified_error.
call fcn.004b94b0
add esp, 4
push 0x44
push 0
lea eax, [ebp - 0x268]
push eax
call fcn.004d8e30
add esp, 0xc
mov dword [ebp - 0x268], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.004d8e30
add esp, 0xc
mov dx, word [0x5184a4]
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004d8e30
add esp, 0xc
push 0x519194
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004f2e34
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x210]
add ecx, 0x9c
call fcn.004bbf50
push eax
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.004f2e34
add esp, 0xc
push 0x519198
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004f2e34
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.004f2e34
add esp, 0xc
push 0x519194
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004f2e34
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.004bcdd0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x220], 0
je 0x4c2bc4
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 0x4c2be1
push 0x5191a0
call fcn.004b94b0
add esp, 4
mov eax, 1
jmp 0x4c2c35
cmp dword [ebp + 0xc], 0
je 0x4c2bfc
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 0x4c2c0f
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x224]
mov dword [ecx], edx
jmp 0x4c2c26
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x224], 0
push str.Success.
call fcn.004b94b0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d402e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4cf700
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515ed3
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x567040]
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.004d0e00
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 0x4cf75e
mov eax, 1
jmp 0x4cf7ac
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x228]
call fcn.004bb560
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.004c9310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.004bb7a0
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.004d402e
mov esp, ebp
pop ebp
ret
Function at 0x4d00f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516088
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x567040]
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.004bb600
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp + 0xc]
call fcn.004bcdd0
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 0x4d0209
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push 0
lea ecx, [ebp + 0xc]
call fcn.004bcdd0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4d0209
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0x5184c4
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.004c9af0
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.004c8d50
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004bb7a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004bb7a0
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 0x4d0260
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5160bb
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x567040]
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.004bb600
mov byte [ebp - 4], 1
push 0
push 0x3a
lea ecx, [ebp + 8]
call fcn.004d0e40
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4d02b6
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.004d0e40
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4d02e1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.004c9310
jmp 0x4d0316
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp + 8]
call fcn.004ca220
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.004c9310
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004bb7a0
push 0
lea ecx, [ebp - 0x14]
call fcn.004bcdd0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4d0364
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4d0364
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004bb7a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004bb7a0
mov eax, dword [ebp - 0x2c]
jmp 0x4d03e0
lea ecx, [ebp - 0x14]
call fcn.004bcdd0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
and edx, 0x10
jne 0x4d03a5
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004bb7a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004bb7a0
mov eax, dword [ebp - 0x34]
jmp 0x4d03e0
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4d03ad
jmp 0x4d03bb
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x4d02bc
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004bb7a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004bb7a0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret