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

Disassembly:
push 0x20c
mov eax, 0x4324b7
call fcn.00428df5
xor ebx, ebx
push ebx
push 1
mov dword [ebp - 0x214], esi
lea edi, [esi + 8]
call fcn.00402fca
pop ecx
pop ecx
cmp eax, ebx
je 0x40cc64
mov dword [eax], edi
jmp 0x40cc66
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.0040d137
lea eax, [esi + 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.0040d137
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.0040c81f
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 0x40cc1e
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.00428e78
ret

Function at 0x40ed2c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x40ed59
lea eax, [edi + 0x3e4]
cmp dword [eax + 0x18], 8
jb 0x40ed46
mov eax, dword [eax + 4]
jmp 0x40ed49
add eax, 4
push eax
push dword [edi + 0x470]
mov eax, edi
call fcn.0040ec52
jmp 0x40edc2
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40edc2
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 0x40edc1
push esi
lea esi, [edi + 0x474]
mov eax, dword [esi]
test eax, eax
je 0x40ed97
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 0x40edb6
mov dword [ebp + 0xc], 0x438c04
push dword [ebp + 0xc]
mov eax, edi
push ebx
call fcn.0040ec52
pop ebx
pop ebp
ret 8
Function at 0x410a10
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 0x410a28
xor al, al
jmp 0x410ab9
push ebx
push ebx
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esi + 0x54], eax
cmp eax, ebx
je 0x410a21
lea edi, [esi + 0xc0]
mov byte [esi + 0xcc], 1
mov dword [ebp - 4], ebx
cmp dword [edi], ebx
jbe 0x410a5f
mov ecx, esi
call fcn.00410daa
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [edi]
jb 0x410a4e
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 0x410ab7
lea eax, [ebp - 4]
push eax
push 4
push esi
push 0x40fa98
push ebx
push ebx
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x48], eax
cmp eax, ebx
jne 0x410aa5
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], ebx
jmp 0x410ab7
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 0x410d05
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.00410f2d
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 0x410d61
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x410d67
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x410d75
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, edi
jmp 0x410d97
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 0x410d97
mov edi, esi
mov esi, dword [ebp - 8]
call fcn.00410f98
pop edi
xor eax, eax
test ebx, ebx
pop esi
setne al
pop ebx
leave
ret 4
Function at 0x410daa
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xc
mov eax, 0x43335e
call fcn.00428d8c
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 0x410dd2
xor eax, eax
mov edi, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, ecx
jmp 0x410dd4
xor edi, edi
lea eax, [ebp - 0x10]
push eax
push 4
push edi
push 0x410b07
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 0x410dfe
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
xor al, al
jmp 0x410e2b
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.0040fbff
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.00428e64
ret

Function at 0x413575
Capabilities:
Get token membership

Disassembly:
push 0x3c
mov eax, 0x43222b
call fcn.00428df5
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.00413372
test al, al
jne 0x4135d3
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
call fcn.0041339b
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], esi
call fcn.0041339b
xor al, al
call fcn.00428e78
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 0x4135b8
mov eax, dword [ebp - 0x30]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
call fcn.00415256
test al, al
jne 0x413684
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 0x413656
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
call fcn.0041339b
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], esi
call fcn.0041339b
mov al, bl
jmp 0x4135cd
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 0x413673
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 0x413639
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 0x413639
cmp dword [ebp - 0x44], ebx
jmp 0x41367f
Function at 0x41371e
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 0x41378d
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x41377e
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.MSVCR90.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x413784
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41375d
jmp 0x413786
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.00428868
leave
ret

Function at 0x41379d
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 0x413824
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x41380e
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.MSVCR90.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x413801
push dword [ebp - 0x228]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x413814
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4137da
jmp 0x41381d
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.00428868
leave
ret
Function at 0x413c9c
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 0x413d01
test cx, cx
je 0x413cfd
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x413d01
add eax, 4
add edx, 4
test cx, cx
jne 0x413cdb
xor eax, eax
jmp 0x413d06
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x413dfd
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 0x413df8
cmp ecx, dword [ebp - 0x78]
jne 0x413df8
cmp dword [ebp - 0x78], eax
jne 0x413df8
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x70], 0
je 0x413dec
push 0
push ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x413df8
lea eax, [ebp - 0x68]
push eax
push esi
mov dword [ebp - 0x68], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x413de1
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x60]
jne 0x413dd7
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 0x413df1
lea eax, [ebp - 0x68]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x413dba
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x413dfa
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.00428868
add ebp, 0x3d0
leave
ret
Function at 0x413e12
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 0x413e88
cmp cx, bx
je 0x413e84
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x413e88
add eax, 4
add edx, 4
cmp cx, bx
jne 0x413e62
xor eax, eax
jmp 0x413e8d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x413e95
xor eax, eax
jmp 0x413efd
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.00413f60
test al, al
jne 0x413efa
push ebx
dec edi
push edi
lea eax, [ebp - 0x7c]
push eax
call fcn.00413f60
test al, al
jne 0x413efa
dec esi
push esi
push ebx
lea eax, [ebp - 0x7c]
push eax
call fcn.00413f60
test al, al
jne 0x413efa
push esi
push edi
lea eax, [ebp - 0x7c]
push eax
call fcn.00413f60
test al, al
jne 0x413efa
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x413f14
xor eax, eax
pop edi
mov ecx, dword [ebp + 0x3bc]
pop esi
xor ecx, ebp
pop ebx
call fcn.00428868
add ebp, 0x3c0
leave
ret
lea eax, [ebp - 0x78]
push eax
push esi
mov dword [ebp - 0x78], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x413f4e
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x70]
jne 0x413f44
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 0x413f55
lea eax, [ebp - 0x78]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x413f27
xor ebx, ebx
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x413efc

Function at 0x41508a
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 0x4150ca
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 0x4150f1
mov esi, dword [esi + 4]
jmp 0x4150f4
add esi, 4
call fcn.0041523c
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00428868
leave
ret
Function at 0x415106
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 0x4397f4
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 0x4389d8
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 0x415181
mov esi, dword [esi + 4]
jmp 0x415184
add esi, 4
call fcn.0041523c
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00428868
leave
ret
Function at 0x415196
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 0x4151cf
call fcn.00415256
mov dword [ebp - 0x30], 0x4397f8
test al, al
jne 0x4151d6
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 0x415232
mov dword [ebp + 0x14], ebx
cmp byte [ebp + 0x18], bl
je 0x41522d
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 0x415238
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
pop ebx
leave
ret
Function at 0x415d77
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 0x415e1b
xor eax, eax
cmp ax, word [edi]
je 0x415e1b
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x415e17
inc eax
push esi
push eax
call fcn.00428308
mov esi, eax
pop ecx
cmp esi, ebx
je 0x415e16
push esi
push dword [ebp + 8]
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x415e0f
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x4389d8
push esi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 0x34
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x415e0f
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 0x415e28
push 0x132b3a1
call fcn.00419a5e
pop ecx
xor al, al
pop edi
pop ebx
leave
ret

Function at 0x4160b8
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 0x416d63
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 0x416e42
xor ecx, ecx
cmp cx, word [eax]
je 0x416e42
push 0x438fa0
push eax
call dword [sym.imp.MSVCR90.dll__wfopen]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x416dbb
inc eax
jmp 0x416e45
push esi
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.004160b8
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 0x416dfb
push eax
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00416ac7
push ebx
push edi
lea eax, [ebp + 0x5c]
push 1
push eax
call esi
add esp, 0x1c
test eax, eax
ja 0x416de0
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
call fcn.00416b65
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 0x416e37
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
push 2
jmp 0x416e44
call dword [sym.imp.MSVCR90.dll_fclose]
pop ecx
xor eax, eax
jmp 0x416e45
push 3
pop eax
mov ecx, dword [ebp + 0x45c]
xor ecx, ebp
pop ebx
call fcn.00428868
add ebp, 0x460
leave
ret