joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d030
Capabilities:
Create thread
Resume thread

Disassembly:
push 0x20c
mov eax, 0x4325f1
call fcn.00428f19
xor ebx, ebx
push ebx
push 1
mov dword [ebp - 0x214], esi
lea edi, [esi + 8]
call fcn.00403014
pop ecx
pop ecx
cmp eax, ebx
je 0x40d05c
mov dword [eax], edi
jmp 0x40d05e
xor eax, eax
mov dword [edi], eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
lea eax, [esi + 0x20]
push eax
mov dword [ebp - 4], 1
call fcn.0040d52f
lea eax, [esi + 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.0040d52f
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov dword [esi + 0x54], eax
lea eax, [ebp - 0x210]
push str.UPDATE_EVENT__d
push eax
call fcn.0040cc16
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x58], eax
lea eax, [esi + 4]
push eax
push 4
push esi
push 0x40d016
push ebx
push ebx
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
call fcn.00428f9c
ret

Function at 0x40ee4e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x40ee7b
lea eax, [edi + 0x3e4]
cmp dword [eax + 0x18], 8
jb 0x40ee68
mov eax, dword [eax + 4]
jmp 0x40ee6b
add eax, 4
push eax
push dword [edi + 0x470]
mov eax, edi
call fcn.0040ed74
jmp 0x40eee4
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40eee4
push ebx
push 0x10
push 0x10
push 0x10
push 1
push dword [ebp + 8]
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, eax
test ebx, ebx
je 0x40eee3
push esi
lea esi, [edi + 0x474]
mov eax, dword [esi]
test eax, eax
je 0x40eeb9
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
and dword [esi], 0
push dword [ebp + 8]
lea ecx, [edi + 0x478]
mov dword [esi], ebx
call dword [0x43436c]
cmp dword [ebp + 0xc], 0
pop esi
jne 0x40eed8
mov dword [ebp + 0xc], 0x438bec
push dword [ebp + 0xc]
mov eax, edi
push ebx
call fcn.0040ed74
pop ebx
pop ebp
ret 8
Function at 0x410bdf
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push edi
cmp byte [esi + 0xcc], bl
je 0x410bf7
xor al, al
jmp 0x410c88
push ebx
push ebx
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x54], eax
cmp eax, ebx
je 0x410bf0
lea edi, [esi + 0xc0]
mov byte [esi + 0xcc], 1
mov dword [ebp - 4], ebx
cmp dword [edi], ebx
jbe 0x410c2e
mov ecx, esi
call fcn.00410f79
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [edi]
jb 0x410c1d
mov eax, dword [edi]
push ebx
push ebx
push ebx
push 0xffffffffffffffff
mov dword [esi + 0xbc], eax
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x44], eax
cmp eax, ebx
je 0x410c86
lea eax, [ebp - 4]
push eax
push 4
push esi
push 0x40fc14
push ebx
push ebx
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x48], eax
cmp eax, ebx
jne 0x410c74
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], ebx
jmp 0x410c86
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x48]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
pop edi
pop ebx
leave
ret

Function at 0x410ed4
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
add esi, 0xd0
push edi
mov ebx, eax
mov dword [ebp - 8], esi
call fcn.004110fc
mov esi, eax
push 7
pop ecx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
xor edi, edi
inc edi
mov dword [esi + 0x14], edi
mov eax, dword [ebx + 0x28]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov dword [esi + 8], eax
push esi
mov dword [esi + 0xc], ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
cmp dword [ebx], edi
jne 0x410f30
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x410f36
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x410f44
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, edi
jmp 0x410f66
mov eax, dword [ebp + 8]
push esi
push 0
push dword [ebp - 4]
push dword [eax + 0x54]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov ebx, eax
test ebx, ebx
jne 0x410f66
mov edi, esi
mov esi, dword [ebp - 8]
call fcn.00411167
pop edi
xor eax, eax
test ebx, ebx
pop esi
setne al
pop ebx
leave
ret 4
Function at 0x410f79
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xc
mov eax, 0x433491
call fcn.00428eb0
mov ebx, ecx
push 8
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, eax
xor edx, edx
cmp ecx, edx
je 0x410fa1
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, ecx
jmp 0x410fa3
xor edi, edi
lea eax, [ebp - 0x10]
push eax
push 4
push edi
push 0x410cd6
push edx
push edx
mov dword [ebp - 4], edx
call dword [sym.imp.MSVCR90.dll__beginthreadex]
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x410fcd
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
xor al, al
jmp 0x410ffa
lea eax, [ebx + 4]
mov dword [edi], esi
push eax
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and dword [ebp - 0x14], 0
add ebx, 0x58
mov ecx, esi
call fcn.0040fd78
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
mov al, 1
pop ecx
call fcn.00428f88
ret

Function at 0x413721
Capabilities:
Get token membership

Disassembly:
push 0x3c
mov eax, 0x43231e
call fcn.00428f19
xor ebx, ebx
mov esi, vtable.ATL::CAccessToken.0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
push 0xe
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0041351e
test al, al
jne 0x41377f
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
call fcn.00413547
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], esi
call fcn.00413547
xor al, al
call fcn.00428f9c
ret
lea eax, [ebp - 0x1c]
push eax
push 2
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
lea ecx, [ebp - 0x30]
test eax, eax
je 0x413764
mov eax, dword [ebp - 0x30]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
call fcn.00415404
test al, al
jne 0x413830
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x413802
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
call fcn.00413547
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], esi
call fcn.00413547
mov al, bl
jmp 0x413779
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x41381f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [ebp - 0x20], ebx
setne bl
jmp 0x4137e5
lea eax, [ebp - 0x48]
push eax
push 4
lea eax, [ebp - 0x44]
push eax
push 0x14
push dword [ebp - 0x3c]
mov dword [ebp - 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4137e5
cmp dword [ebp - 0x44], ebx
jmp 0x41382b
Function at 0x4138ca
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x445bbc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x413939
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x41392a
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.MSVCR90.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x413930
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x413909
jmp 0x413932
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0042898c
leave
ret

Function at 0x413949
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x445bbc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4139d0
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4139ba
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.MSVCR90.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x4139ad
push dword [ebp - 0x228]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x4139c0
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x413986
jmp 0x4139c9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0042898c
leave
ret
Function at 0x413e48
Capabilities:
Enumerate processes
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x3d0]
sub esp, 0x450
mov eax, dword [0x445bbc]
xor eax, ebp
mov dword [ebp + 0x3cc], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x104
lea ecx, [ebp + 0x1c4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, str.Program_Manager
lea eax, [ebp + 0x1c4]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x413ead
test cx, cx
je 0x413ea9
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x413ead
add eax, 4
add edx, 4
test cx, cx
jne 0x413e87
xor eax, eax
jmp 0x413eb2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x413fa9
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0
call esi
push 1
mov edi, eax
call esi
mov esi, dword [sym.imp.USER32.dll_WindowFromPoint]
push 2
pop ebx
mov ecx, ebx
push ebx
add eax, 0xfffffffd
add edi, 0xfffffffd
push ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], edi
call esi
mov edi, dword [sym.imp.USER32.dll_GetAncestor]
push ebx
push eax
call edi
push dword [ebp - 0x74]
mov dword [ebp - 0x6c], eax
push ebx
pop eax
push eax
call esi
push ebx
push eax
call edi
push ebx
mov dword [ebp - 0x80], eax
pop eax
push eax
push dword [ebp - 0x7c]
call esi
push ebx
push eax
call edi
push dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
push dword [ebp - 0x7c]
call esi
push ebx
push eax
call edi
mov ecx, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], ecx
jne 0x413fa4
cmp ecx, dword [ebp - 0x78]
jne 0x413fa4
cmp dword [ebp - 0x78], eax
jne 0x413fa4
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x70], 0
je 0x413f98
push 0
push ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x413fa4
lea eax, [ebp - 0x68]
push eax
push esi
mov dword [ebp - 0x68], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x413f8d
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x60]
jne 0x413f83
lea eax, [ebp - 0x44]
push str.explorer.exe
push eax
call dword [sym.imp.MSVCR90.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x413f9d
lea eax, [ebp - 0x68]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x413f66
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x413fa6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3cc]
xor ecx, ebp
call fcn.0042898c
add ebp, 0x3d0
leave
ret
Function at 0x413fc1
Capabilities:
Enumerate processes
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x3c0]
sub esp, 0x440
mov eax, dword [0x445bbc]
xor eax, ebp
mov dword [ebp + 0x3bc], eax
push ebx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0x104
lea eax, [ebp + 0x1b4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, str.Program_Manager
lea eax, [ebp + 0x1b4]
xor ebx, ebx
mov cx, word [eax]
cmp cx, word [edx]
jne 0x414037
cmp cx, bx
je 0x414033
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x414037
add eax, 4
add edx, 4
cmp cx, bx
jne 0x414011
xor eax, eax
jmp 0x41403c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x414044
xor eax, eax
jmp 0x4140ac
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push ebx
call esi
push 1
mov edi, eax
call esi
mov esi, eax
mov eax, dword [ebp - 0x80]
push ebx
mov dword [ebp - 0x7c], eax
push ebx
lea eax, [ebp - 0x7c]
push eax
call fcn.0041410f
test al, al
jne 0x4140a9
push ebx
dec edi
push edi
lea eax, [ebp - 0x7c]
push eax
call fcn.0041410f
test al, al
jne 0x4140a9
dec esi
push esi
push ebx
lea eax, [ebp - 0x7c]
push eax
call fcn.0041410f
test al, al
jne 0x4140a9
push esi
push edi
lea eax, [ebp - 0x7c]
push eax
call fcn.0041410f
test al, al
jne 0x4140a9
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4140c3
xor eax, eax
pop edi
mov ecx, dword [ebp + 0x3bc]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042898c
add ebp, 0x3c0
leave
ret
lea eax, [ebp - 0x78]
push eax
push esi
mov dword [ebp - 0x78], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x4140fd
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x70]
jne 0x4140f3
lea eax, [ebp - 0x54]
push str.explorer.exe
push eax
call dword [sym.imp.MSVCR90.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x414104
lea eax, [ebp - 0x78]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4140d6
xor ebx, ebx
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x4140ab

Function at 0x415238
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x445bbc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x210]
push eax
xor eax, eax
push eax
push eax
push 0x23
push eax
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x415278
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call dword [0x43436c]
push str.Thunder_NetworkXLLiveUD_
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
cmp dword [esi + 0x18], 8
jb 0x41529f
mov esi, dword [esi + 4]
jmp 0x4152a2
add esi, 4
call fcn.004153ea
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042898c
leave
ret
Function at 0x4152b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x445bbc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x210]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call dword [0x43436c]
push str.XLLiveUD_
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push edi
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push 0x43990c
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push ebx
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
push 0x4389c0
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::append_wchar_t_const__]
cmp dword [esi + 0x18], 8
jb 0x41532f
mov esi, dword [esi + 4]
jmp 0x415332
add esi, 4
call fcn.004153ea
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042898c
leave
ret
Function at 0x415344
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push 0x3c
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
cmp byte [ebp + 0x14], bl
je 0x41537d
call fcn.00415404
mov dword [ebp - 0x30], 0x439910
test al, al
jne 0x415384
mov dword [ebp - 0x30], str.open
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4153e0
mov dword [ebp + 0x14], ebx
cmp byte [ebp + 0x18], bl
je 0x4153db
mov esi, dword [ebp - 4]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
jmp 0x4153e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ebx
leave
ret
Function at 0x415f25
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x415fc9
xor eax, eax
cmp ax, word [edi]
je 0x415fc9
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x415fc5
inc eax
push esi
push eax
call fcn.0042842a
mov esi, eax
pop ecx
cmp esi, ebx
je 0x415fc4
push esi
push dword [ebp + 8]
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x415fbd
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x4389c0
push esi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 0x34
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x415fbd
mov eax, dword [ebp - 4]
mov cx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
mov word [edx], cx
mov cx, word [eax + 8]
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov cx, word [eax + 0xe]
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [ebp + 0x18]
mov word [ecx], ax
mov bl, 1
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
pop ecx
pop esi
mov al, bl
jmp 0x415fd6
push 0x132b3a1
call fcn.00419cbd
pop ecx
xor al, al
pop edi
pop ebx
leave
ret

Function at 0x416266
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x416f11
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x460]
sub esp, 0x4e0
mov eax, dword [0x445bbc]
xor eax, ebp
mov dword [ebp + 0x45c], eax
mov eax, dword [ebp + 0x468]
mov ecx, dword [ebp + 0x46c]
push ebx
mov dword [ebp - 0x80], ecx
test eax, eax
je 0x416ff0
xor ecx, ecx
cmp cx, word [eax]
je 0x416ff0
push 0x438ffc
push eax
call dword [sym.imp.MSVCR90.dll__wfopen]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x416f69
inc eax
jmp 0x416ff3
push esi
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.00416266
mov esi, dword [sym.imp.MSVCR90.dll_fread]
push ebx
mov edi, 0x400
push edi
lea eax, [ebp + 0x5c]
push 1
push eax
call esi
add esp, 0x14
jmp 0x416fa9
push eax
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00416c75
push ebx
push edi
lea eax, [ebp + 0x5c]
push 1
push eax
call esi
add esp, 0x1c
test eax, eax
ja 0x416f8e
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
call fcn.00416d13
push 0xd8
lea eax, [ebp - 0x7c]
push 0
push eax
call sub.MSVCR90.dll_memset
push ebx
call dword [sym.imp.MSVCR90.dll_ferror]
add esp, 0x18
pop edi
pop esi
push ebx
test eax, eax
je 0x416fe5
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
push 2
jmp 0x416ff2
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
xor eax, eax
jmp 0x416ff3
push 3
pop eax
mov ecx, dword [ebp + 0x45c]
xor ecx, ebp
pop ebx
call fcn.0042898c
add ebp, 0x460
leave
ret