joyce8/EMBER2024-capa huggingface dataset:
Function at 0x558d60
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66af29
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x28]
call fcn.00446de0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00469f10
mov ecx, eax
call fcn.0046c950
movzx edx, al
test edx, edx
jne 0x558df0
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov eax, dword [ebp - 0x68]
jmp 0x558f56
mov byte [ebp - 0x59], 1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.004427f0
add esp, 8
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00452850
add esp, 8
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
lea edx, [ebp - 0x28]
push edx
call fcn.004527a0
add esp, 4
movzx eax, al
test eax, eax
je 0x558eb4
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8c], esp
push 0x691a98
call fcn.00446d70
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x94], esp
lea edx, [ebp - 0x28]
push edx
call fcn.00446bf0
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 0
call fcn.00455c50
add esp, 0x34
mov byte [ebp - 0x5a], al
movzx eax, byte [ebp - 0x5a]
test eax, eax
je 0x558eb4
jmp 0x558eec
call fcn.0045ee80
push 1
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.0043d500
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x20
jbe 0x558ee0
jmp 0x558eec
mov byte [ebp - 0x59], 0
xor ecx, ecx
jne 0x558df4
mov ecx, 0x711708
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
movzx edx, byte [ebp - 0x59]
test edx, edx
je 0x558f37
push 0
mov ecx, dword [ebp - 0x80]
add ecx, 0x23c
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::ShowWindow_int_]
mov dword [ebp - 0x84], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov eax, dword [ebp - 0x84]
jmp 0x558f56
mov dword [ebp - 0x88], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret 0x10
Function at 0x55c250
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66b62e
mov eax, dword fs:[0]
push eax
mov eax, 0x8c4c
call fcn.005c5930
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c44], ecx
mov eax, dword [ebp - 0x8c44]
cmp dword [eax + 0x3bc], 0
je 0x55c299
jmp 0x55c402
mov ecx, dword [ebp - 0x8c44]
mov dword [ecx + 0x3bc], 1
mov edx, 1
test edx, edx
je 0x55c3f2
lea ecx, [ebp - 0x445c]
call fcn.005174a0
push 1
lea eax, [ebp - 0x445c]
push eax
call fcn.00469f10
mov ecx, eax
call fcn.0046ce30
movzx ecx, al
test ecx, ecx
jne 0x55c2e2
jmp 0x55c3f2
cmp dword [ebp - 0x2c0], 0
jne 0x55c2ed
jmp 0x55c2a9
lea edx, [ebp - 0x445c]
push edx
lea ecx, [ebp - 0x8c40]
call fcn.00516700
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x8c44]
mov ecx, dword [eax + 0x248]
push ecx
lea ecx, [ebp - 0x8c40]
call fcn.00514130
cmp dword [ebp - 0x2bc], 1
jne 0x55c356
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x8c44]
add ecx, 0x23c
call dword [sym.imp.soui.dll_public:_int___thiscall_SOUI::CSimpleWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c40]
call fcn.00516790
jmp 0x55c3f2
cmp dword [ebp - 0x2bc], 0xffffffff
jne 0x55c3db
call fcn.0058d150
push 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8c4c], esp
push 0x691968
call fcn.00446d70
mov dword [ebp - 0x8c48], eax
mov edx, dword [ebp - 0x8c48]
mov dword [ebp - 0x8c50], edx
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x8c54], esp
push 0x711780
call fcn.00446bf0
mov dword [ebp - 0x8c58], eax
mov byte [ebp - 4], 0
call fcn.00455c50
add esp, 0x34
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c40]
call fcn.00516790
jmp 0x55c3f2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c40]
call fcn.00516790
jmp 0x55c2a9
mov eax, dword [ebp - 0x8c44]
mov dword [eax + 0x3bc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x5632f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66c2e7
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x3d8], 0
jne 0x56332c
jmp 0x56347e
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x3d8]
call dword [sym.imp.soui.dll_public:_unsigned_long_int___thiscall_SOUI::SWindow::GetUserData_void_]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jg 0x563349
jmp 0x56346b
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x50]
je 0x563356
jmp 0x56347e
lea ecx, [ebp - 0x40]
call fcn.00446de0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00446de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054db90
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x48]
call fcn.0054de50
lea ecx, [ebp - 0x28]
call fcn.0043d500
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5633d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054dbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
jmp 0x56346b
lea ecx, [ebp - 0x28]
call fcn.0043d500
push eax
call dword [sym.imp.soui.dll_public:_static_struct_SOUI::IBitmap____cdecl_SOUI::SResLoadFromFile::LoadImageW_wchar_t_const__]
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x563414
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054dbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
jmp 0x56346b
push 3
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x3d8]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SImageWnd::SetImage_struct_SOUI::IBitmap___enum_SOUI::FilterLevel_]
mov ecx, dword [ebp - 0x44]
add ecx, 4
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 4]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.0054dbb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
jmp 0x56347e
push 0
push 0
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x3d8]
call dword [sym.imp.soui.dll_public:_void___thiscall_SOUI::SImageWnd::SetImage_struct_SOUI::IBitmap___enum_SOUI::FilterLevel_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret 4
Function at 0x5887e0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov byte [ebp - 1], 1
mov dword [ebp - 8], 0
push str.YsNetToolInitialize
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x588814
mov ecx, dword [ebp - 8]
mov dword [0x711dec], ecx
jmp 0x58883e
mov byte [ebp - 1], 0
push 0x695354
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x695380
push str.dll_not_found_api____YsNetToolInitialize_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.00613ced
push str.YsNetToolUnInitialize
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x588860
mov eax, dword [ebp - 8]
mov dword [0x711df0], eax
jmp 0x58888a
mov byte [ebp - 1], 0
push 0x6953f4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x695380
push str.dll_not_found_api____YsNetToolUnInitialize_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.00613ced
push str.YsNetGetToolHandler
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5888ad
mov edx, dword [ebp - 8]
mov dword [0x711df4], edx
jmp 0x5888d7
mov byte [ebp - 1], 0
push 0x69548c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0x695380
push str.dll_not_found_api____YsNetGetToolHandler_
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call fcn.00613ced
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x58e420
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6702eb
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005ddad0
add esp, 0xc
push 0
push 0x23
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x58e4a2
push 0
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x58e50e
push 0x695874
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00446d70
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x284], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x284]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004443a0
add esp, 0xc
mov edx, dword [ebp - 0x27c]
or edx, 1
mov dword [ebp - 0x27c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0043c8a0
mov eax, dword [ebp + 8]
jmp 0x58e631
lea eax, [ebp - 0x218]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x58e590
push str.DDTemp
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00446d70
mov dword [ebp - 0x288], eax
mov edx, dword [ebp - 0x288]
mov dword [ebp - 0x28c], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x28c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004443a0
add esp, 0xc
mov edx, dword [ebp - 0x27c]
or edx, 1
mov dword [ebp - 0x27c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.0043c8a0
mov eax, dword [ebp + 8]
jmp 0x58e631
push str.Temp
push 0
lea eax, [ebp - 0x278]
push eax
call fcn.004509d0
add esp, 8
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x294], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x294]
push edx
lea eax, [ebp - 0x260]
push eax
call fcn.00452850
add esp, 8
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x29c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x29c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004443a0
add esp, 0xc
mov ecx, dword [ebp - 0x27c]
or ecx, 1
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x260]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.0043c8a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x599f50
Capabilities:
Get common file path
Print debug messages
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x672436
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x711a10], 0
jne 0x599f90
mov dword [ebp - 0x268], 1
jmp 0x599f9a
mov dword [ebp - 0x268], 0
mov al, byte [ebp - 0x268]
mov byte [ebp - 0x261], al
cmp dword [0x711a10], 0
jne 0x59a0e5
mov ecx, dword [0x705ff8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.005ddad0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x230]
call fcn.00446d70
mov dword [ebp - 4], 0
push str.mbcef73mb.dll
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.00460000
add esp, 0xc
mov byte [ebp - 4], 1
push str.mbcef73
lea edx, [ebp - 0x230]
push edx
lea eax, [ebp - 0x248]
push eax
call fcn.00460000
add esp, 0xc
lea ecx, [ebp - 0x230]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x260]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x248]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x248]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 8
push 0
lea ecx, [ebp - 0x260]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x711a10], eax
lea ecx, [ebp - 0x230]
call fcn.0043d500
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x248]
call fcn.0043c8a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x260]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0043c8a0
push str.mbInit
mov ecx, dword [0x711a10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
jne 0x59a10a
xor al, al
jmp 0x59a126
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x26c]
movzx eax, byte [ebp - 0x261]
test eax, eax
je 0x59a124
call fcn.00597950
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x5ad310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
push str.Unspecified_error.
call fcn.005a3930
add esp, 4
push 0x44
push 0
lea eax, [ebp - 0x268]
push eax
call fcn.005ddad0
add esp, 0xc
mov dword [ebp - 0x268], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.005ddad0
add esp, 0xc
mov dx, word [0x688270]
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.005ddad0
add esp, 0xc
push 0x68f9cc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call fcn.006108b6
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x210]
add ecx, 0x9c
call fcn.005a6630
push eax
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.006108b6
add esp, 0xc
push 0x6a86dc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.006108b6
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.006108b6
add esp, 0xc
push 0x68f9cc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.006108b6
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.005b52c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x220], 0
je 0x5ad474
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 0x5ad491
push str.Error_creating_CrashSender_process.
call fcn.005a3930
add esp, 4
mov eax, 1
jmp 0x5ad4e5
cmp dword [ebp + 0xc], 0
je 0x5ad4ac
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 0x5ad4bf
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x224]
mov dword [ecx], edx
jmp 0x5ad4d6
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x224], 0
push str.Success.
call fcn.005a3930
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5bdd00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673943
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x7060c4]
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.005bf550
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 0x5bdd5e
mov eax, 1
jmp 0x5bddac
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x228]
call fcn.005a5c40
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.005b4ed0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.005a5e80
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.005c4766
mov esp, ebp
pop ebp
ret
Function at 0x5be6f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673af8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x7060c4]
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.005a5ce0
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp + 0xc]
call fcn.005b52c0
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 0x5be809
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push 0
lea ecx, [ebp + 0xc]
call fcn.005b52c0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x5be809
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0x6961e4
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.005b63a0
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.005b48b0
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.005a5e80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.005a5e80
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 0x5be860
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673b2b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x7060c4]
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.005a5ce0
mov byte [ebp - 4], 1
push 0
push 0x3a
lea ecx, [ebp + 8]
call fcn.005bf590
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x5be8b6
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.005bf590
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x5be8e1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.005b4ed0
jmp 0x5be916
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp + 8]
call fcn.005b6ad0
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.005b4ed0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.005a5e80
push 0
lea ecx, [ebp - 0x14]
call fcn.005b52c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x5be964
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x5be964
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005a5e80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.005a5e80
mov eax, dword [ebp - 0x2c]
jmp 0x5be9e0
lea ecx, [ebp - 0x14]
call fcn.005b52c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
and edx, 0x10
jne 0x5be9a5
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005a5e80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.005a5e80
mov eax, dword [ebp - 0x34]
jmp 0x5be9e0
cmp dword [ebp - 0x10], 0xffffffff
jne 0x5be9ad
jmp 0x5be9bb
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x5be8bc
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005a5e80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.005a5e80
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret