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

Disassembly:
push 8
mov eax, 0x1014b7a8
call fcn.10143748
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.1008c4ce
xor ebx, ebx
mov dword [esi], vtable.ScObjects::Thread.0
push 0x10
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
call fcn.10038cdf
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
je 0x100977cf
mov dword [eax], vtable.ScObjects::ThreadData.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x100977d1
mov eax, ebx
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x10097990
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, dword [esi + 8]
mov edx, eax
add esp, 0x18
cmp edx, 0xffffffff
jne 0x10097801
mov dword [esi + 0x10], 0x20
mov dword [esi + 0xc], ebx
jmp 0x10097809
mov eax, dword [ebp - 0x10]
mov ebx, edx
mov dword [esi + 0xc], eax
mov dword [ecx + 4], ebx
mov eax, esi
call fcn.10143711
ret

Function at 0x10097a80
Capabilities:
Resume thread

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

Function at 0x1009dc82
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x2c
mov eax, 0x1014c549
call fcn.1014377c
mov esi, dword [ebp + 8]
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
call fcn.10097c22
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], 1
call fcn.1009dd82
test eax, eax
jne 0x1009dcc6
push 0xffffffffffffffff
push 0x10155f30
mov ecx, esi
call fcn.10038cdf
jmp 0x1009dd0c
lea ecx, [ebp - 0x20]
push ecx
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov ecx, esi
push 0xffffffffffffffff
push 0x10155f30
test eax, eax
je 0x1009dcbf
call fcn.10038cdf
movzx eax, byte [ebp + edi - 0x20]
push eax
lea eax, [ebp - 0x30]
push 0x10162258
push eax
call fcn.10038cdf
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.10038cdf
add esp, 0x14
inc edi
cmp edi, 0x10
jb 0x1009dce5
mov eax, esi
call fcn.10143726
ret

Function at 0x1009dd82
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push esi
mov esi, dword [0x107d14a0]
test esi, esi
jne 0x1009ddd7
push esi
push 1
push esi
push esi
push 0x107d14a0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1009ddd1
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x1009ddd1
push 8
push 1
push esi
push esi
push 0x107d14a0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1009ddd1
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [0x107d14a0], esi
jmp 0x1009ddd7
mov esi, dword [0x107d14a0]
mov eax, esi
pop esi
ret
Function at 0x1009df6e
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x54
mov eax, 0x1014c611
call fcn.1014377c
mov ebx, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], eax
call fcn.1009dd82
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x48], eax
call fcn.10097c22
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.10097c22
push edi
mov eax, 0x101622e0
mov dword [ebp - 0x44], 1
push eax
push esi
push eax
push edi
push ebx
call fcn.10038cdf
pop ecx
pop ecx
push eax
call fcn.10038cdf
pop ecx
pop ecx
push eax
call fcn.10038cdf
pop ecx
pop ecx
push eax
call fcn.10038cdf
pop ecx
pop ecx
push eax
call fcn.10038cdf
mov eax, dword [ebp - 0x48]
pop ecx
pop ecx
test eax, eax
jne 0x1009e003
push 0xffffffffffffffff
push 0x10155f30
mov ecx, ebx
call fcn.10038cdf
jmp 0x1009e0bf
lea ecx, [ebp - 0x3c]
xor esi, esi
push ecx
push esi
push esi
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1009dff0
push esi
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1009dff0
push 4
pop ecx
push esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x40], esi
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
push eax
push ecx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1009dff0
push dword [ebp - 0x40]
call fcn.10038cdf
mov edi, eax
pop ecx
test edi, edi
je 0x1009dff0
push esi
lea eax, [ebp - 0x40]
push eax
push edi
push 2
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ecx, ebx
push 0xffffffffffffffff
push 0x10155f30
test eax, eax
jne 0x1009e083
call fcn.10038cdf
jmp 0x1009e0b8
call fcn.10038cdf
cmp dword [ebp - 0x40], esi
jbe 0x1009e0b8
cmp esi, 0x28
jae 0x1009e0b8
movzx eax, byte [esi + edi]
push eax
lea eax, [ebp - 0x38]
push 0x10162258
push eax
call fcn.10038cdf
lea eax, [ebp - 0x38]
push eax
push ebx
call fcn.10038cdf
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x1009e08d
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
pop ecx
cmp dword [ebp - 0x3c], 0
je 0x1009e0ce
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea ecx, [ebp - 0x60]
call fcn.10038cdf
mov eax, ebx
call fcn.10143726
ret
Function at 0x100ab3c5
Capabilities:
Create mailslot

Disassembly:
push 0x14
mov eax, 0x1014e980
call fcn.10143748
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [0x1018ee8c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100a71a2
xor ebx, ebx
mov dword [esi], vtable.WinInterAppStream.0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.10097c22
lea eax, [esi + 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10038cdf
pop ecx
pop ecx
push eax
call fcn.10038cdf
push 0xc
lea edi, [esi + 0x56]
push ebx
push edi
call sub.VCRUNTIME140.dll_memset
push edi
mov ecx, ebx
call fcn.10038cdf
add esp, 0x18
test al, al
je 0x100ab438
cmp dword [esi + 0x5a], ebx
cmovne 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
call fcn.10038cdf
mov eax, esi
call fcn.10143711
ret 8

Function at 0x100ab5c0
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x1014c080
call fcn.10143748
mov esi, ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.1008c49b
and dword [ebp - 4], 0
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.10097af3
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
push dword [eax + 8]
push dword [eax + 4]
call fcn.10038cdf
push 0
xor ecx, ecx
lea eax, [esi + 0x56]
cmp dword [esi + 0x5a], ecx
push 0x80
push 3
cmovne ecx, eax
push ecx
push ebx
push 0x40000000
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_CreateFileA]
and dword [ebp - 0x10], 0
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x100ab65b
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push 0
push ecx
push dword [edi + 8]
push dword [edi + 4]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
je 0x100ab65b
mov eax, dword [ebp - 0x10]
cmp eax, dword [edi + 8]
je 0x100ab65d
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.10038cdf
lea ecx, [ebp - 0x18]
call fcn.10038cdf
mov al, bl
call fcn.10143711
ret 8
Function at 0x10122f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1012301b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x10122fd2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x10122fd2
cmp esi, ebx
jge 0x10122fd2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x10123015
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x10123015
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10151b24]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x10151b24]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1012302d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x10123250
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101945dc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d1590], 0
mov eax, dword [ebp + 8]
je 0x10123278
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x10123292
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10038cdf
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.10143700
leave
ret 4

Function at 0x10123460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x101945dc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d1590], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x10123496
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x101234f5
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10038cdf
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10038cdf
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
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10038cdf
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10143700
leave
ret 0x10
Function at 0x10123510
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101945dc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d1590], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1012353c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x1012356d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x1012356b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10038cdf
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x1012356d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10143700
leave
ret 8
Function at 0x10132580
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x101945dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
xor ebx, ebx
inc edx
mov edi, dword [esi]
cmp dword [edi + 0x254], ebx
je 0x101325e1
cmp dword [edi + 0x264], ebx
je 0x101325da
cmp byte [0x107d1590], 0
mov eax, dword [edi + 0x250]
push edi
push eax
je 0x101325c9
call dword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x101325cf
call dword [sym.imp.kernel32.dll_FindNextFileA]
mov ecx, dword [esi]
xor edx, edx
inc edx
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
jmp 0x101326c1
mov eax, dword [edi + 0x25c]
test eax, eax
je 0x10132750
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
pop ecx
pop ecx
mov ecx, dword [esi]
cmp dword [ecx + 0x260], ebx
je 0x1013262f
lea eax, [ebp - 0x234]
push eax
call fcn.10038cdf
mov eax, dword [esi]
push dword [eax + 0x260]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
mov ecx, dword [esi]
add esp, 0xc
test byte [ecx + 0x268], 1
push 0x10
pop eax
lea edx, [eax + 0x70]
cmove eax, edx
mov dword [ecx], eax
cmp byte [0x107d1590], 0
je 0x1013265b
push dword [esi]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
jmp 0x1013267d
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.10038cdf
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
xor eax, eax
mov ecx, dword [esi]
cmp dword [ecx + 0x250], 0xffffffff
setne al
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x101326ab
mov dword [eax + 0x250], ebx
mov eax, dword [esi]
xor edx, edx
inc edx
mov dword [eax + 0x254], edx
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x101326c1
mov dword [esi + 4], edx
mov ecx, eax
cmp dword [eax + 0x264], ebx
je 0x101326e8
cmp byte [0x107d1590], 0
jne 0x101326e8
push dword [eax + 0x258]
add eax, 0x2c
push eax
call fcn.10038cdf
mov ecx, dword [esi]
xor edx, edx
inc edx
mov eax, dword [ecx]
mov dword [ecx + 0x26c], eax
mov edi, dword [esi]
mov ebx, dword [edi + 0x26c]
shr ebx, 4
and ebx, edx
je 0x1013271d
push esi
xor ebx, ebx
call fcn.10038cdf
xor edx, edx
inc edx
cmp word [eax], 0x2e
je 0x10132719
test byte [edi + 0x268], 3
jne 0x10132727
mov ebx, edx
jmp 0x10132727
test byte [edi + 0x268], 1
cmovne ebx, edx
mov eax, dword [edi + 0x264]
test eax, eax
je 0x1013274b
push 0
test ebx, ebx
pop ebx
jne 0x101325a0
test byte [edi + 0x26c], 2
jne 0x101325a0
test eax, eax
setne al
jmp 0x10132752
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10143700
leave
ret 4
Function at 0x1003c5a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1003c5b1
pop dword [ebp - 8]
mov eax, 0x1003c5b1
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x4564e
push 0
mov eax, 0x81bfe841
add eax, 0x8e4798db
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x2bc78196
sub ecx, 0x2bc73056
xor edx, edx
add edx, eax
mov ebx, 0x10187200
add ebx, dword [ebp - 8]
mov edi, 0xa076ec9b
xor dword [ebp - 4], 0x6909157f
mov esi, dword [ebx]
mov dword [ebp - 4], 0xb7a69195
sub esi, edi
add dword [ebp - 4], 0x5e0960f5
mov dword [edx], esi
add edx, 4
add ebx, 4
loop 0x1003c601
add eax, 0x137d3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x54078b11
sub ecx, 0x44078b11
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x10071ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x10071f6b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x10071f22
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x10071f22
cmp esi, ebx
jge 0x10071f22
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x10071f65
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x10071f65
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100783dc]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100783dc]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x10071f7d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x100721a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
mov eax, dword [ebp + 8]
je 0x100721c8
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x100721e2
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1003c5a2
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.100762d0
leave
ret 4

Function at 0x100723b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x100723e6
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10072445
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1003c5a2
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1003c5a2
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
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.1003c5a2
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100762d0
leave
ret 0x10
Function at 0x10072460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1007248c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x100724bd
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x100724bb
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1003c5a2
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x100724bd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100762d0
leave
ret 8
Function at 0x404c53
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x45b070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x45cd0c], 0
jne 0x404d03
and dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
push esi
push eax
push 0x20019
push ecx
mov edx, str.SOFTWAREMicrosoftInternet_Explorer
mov dword [ebp - 0x70], 0x64
mov ecx, 0x80000002
call main
xor esi, esi
inc esi
test eax, eax
jne 0x404ced
movzx eax, byte [ebp - 0x68]
xor ecx, ecx
cmp dword [ebp - 0x74], esi
cmove eax, ecx
mov byte [ebp - 0x68], al
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
push eax
push ecx
push str.Version
push dword [ebp - 0x6c]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x404ced
cmp word [ebp - 0x68], ax
je 0x404ced
push 0xa
pop edx
lea ecx, [ebp - 0x68]
call main
mov ecx, dword [0x45cd08]
cmp eax, 4
cmova ecx, esi
mov dword [0x45cd08], ecx
cmp dword [ebp - 0x6c], 0
mov dword [0x45cd0c], esi
pop esi
je 0x404d03
push dword [ebp - 0x6c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [0x45cd08]
xor ecx, ebp
call fcn.0042d667
leave
ret

Function at 0x405c84
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x405c93
pop dword [ebp - 0x10]
mov eax, 0x405c93
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xef4c0c80
add dword [ebp - 0x20], 0x5f0638cb
mov dword [ebp - 0x1c], 0xe095b60b
add dword [ebp - 0x1c], 0x519d963a
mov dword [ebp - 0x18], 0x2cd3e863
sub dword [ebp - 0x18], 0xe087a435
mov dword [ebp - 0x14], 0x9eda0981
add dword [ebp - 0x14], 0x6125f67f
lea eax, [ebp - 0x20]
push eax
mov eax, 0x684e7d08
sub eax, 0x680b5c5c
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x92bada55
sub dword [ebp - 0x20], 0x1e4870ff
mov dword [ebp - 0x1c], 0xd4b84e12
add dword [ebp - 0x1c], 0x6cb41363
mov dword [ebp - 0x18], 0x1cf1d670
sub dword [ebp - 0x18], 0xb9826a04
mov dword [ebp - 0x14], 0x47bd5d38
sub dword [ebp - 0x14], 0x47bd5d38
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x43bf7
push 0
call eax
mov ecx, 0x9360438a
add ecx, 0x6ca01021
xor edx, edx
add edx, eax
mov esi, 0x886b09d5
add esi, 0x77db4c2b
add esi, dword [ebp - 0x10]
mov ebx, 0xc7bb1696
add ebx, 0xc3355a8a
sub dword [ebp - 4], 0x9d0433a0
mov edi, dword [esi]
mov dword [ebp - 0xc], 0x239c074d
xor edi, ebx
sub dword [ebp - 0xc], 0xfe29dbf
mov dword [edx], edi
sub dword [ebp - 4], 0x963026fd
add edx, 4
add esi, 4
loop 0x405dad
add eax, 0x1417f
mov ebx, eax
add eax, 0xb7020f18
sub eax, 0xb7020f13
mov ecx, 0xe31cb140
sub ecx, 0xe2dcb140
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x10001230
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov esi, edx
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], eax
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
push eax
push 0x100181d0
push 1
push 0
push 0x100181f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10001330
mov eax, dword [ebp - 0x210]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x210]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x100181e0
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
jns 0x100012ca
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
jmp 0x1000132e
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10003dd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0xffffffffffffffff
push ebx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x210]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002629
leave
ret