joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427430
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [eax + 0x25c], 0
jle 0x4258ea
push ebx
mov ecx, 0xfffffff8
push edi
mov edi, dword [eax + 0x4c]
mov bl, byte [eax + 0x25b]
mov edx, dword [eax + 0x2c]
mov byte [edx + edi], bl
inc dword [eax + 0x4c]
shl dword [eax + 0x258], 8
add dword [eax + 0x25c], ecx
cmp dword [eax + 0x25c], 0
jg 0x4258c0
pop edi
pop ebx
ret
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x44], 0
jle 0x42746d
mov eax, dword [esi + 0x260]
mov ecx, dword [esi + 0x264]
not eax
rol ecx, 1
xor ecx, eax
cmp dword [esi + 0x26c], 1
mov dword [esi + 0x260], eax
mov dword [esi + 0x264], ecx
jle 0x427468
mov dword [esi + 0x4c], 0
call fcn.0042b120
mov edx, dword [esi + 0x14]
add edx, dword [esi + 0x44]
cmp dword [esi + 0x26c], 1
mov dword [esi + 0x2c], edx
jne 0x4274d9
push 8
mov ecx, 0x42
mov eax, esi
mov dword [esi + 0x25c], 0
mov dword [esi + 0x258], 0
call fcn.004258f0
add esp, 4
push 8
mov ecx, 0x5a
call fcn.004258f0
add esp, 4
push 8
mov ecx, 0x68
call fcn.004258f0
mov al, byte [esi + 0x270]
add al, 0x30
movzx ecx, al
add esp, 4
push 8
mov eax, esi
call fcn.004258f0
add esp, 4
cmp dword [esi + 0x44], 0
jle 0x4275ae
push 8
mov ecx, 0x31
mov eax, esi
call fcn.004258f0
add esp, 4
push 8
mov ecx, 0x41
call fcn.004258f0
add esp, 4
push 8
mov ecx, 0x59
call fcn.004258f0
add esp, 4
push 8
mov ecx, 0x26
call fcn.004258f0
add esp, 4
push 8
mov ecx, 0x53
call fcn.004258f0
add esp, 4
push 8
mov ecx, 0x59
call fcn.004258f0
mov ebx, dword [esi + 0x260]
add esp, 4
mov ecx, ebx
shr ecx, 0x18
push 8
call fcn.004258f0
mov ecx, ebx
shr ecx, 0x10
add esp, 4
and ecx, 0xff
push 8
call fcn.004258f0
mov ecx, ebx
shr ecx, 8
add esp, 4
and ecx, 0xff
push 8
call fcn.004258f0
add esp, 4
movzx ecx, bl
push 8
call fcn.004258f0
add esp, 4
push 1
xor ecx, ecx
call fcn.004258f0
mov ecx, dword [esi + 0x1c]
add esp, 4
push 0x18
call fcn.004258f0
add esp, 4
call fcn.004259d0
call fcn.00425ba0
cmp byte [esp + 0xc], 0
je 0x427668
push 8
mov ecx, 0x17
mov eax, esi
call fcn.004258f0
add esp, 4
push 8
mov ecx, 0x72
call fcn.004258f0
add esp, 4
push 8
mov ecx, 0x45
call fcn.004258f0
add esp, 4
push 8
mov ecx, 0x38
call fcn.004258f0
add esp, 4
push 8
mov ecx, 0x50
call fcn.004258f0
add esp, 4
push 8
mov ecx, 0x90
call fcn.004258f0
mov ebx, dword [esi + 0x264]
add esp, 4
mov ecx, ebx
shr ecx, 0x18
push 8
call fcn.004258f0
mov ecx, ebx
shr ecx, 0x10
add esp, 4
and ecx, 0xff
push 8
call fcn.004258f0
mov ecx, ebx
shr ecx, 8
add esp, 4
and ecx, 0xff
push 8
call fcn.004258f0
add esp, 4
movzx ecx, bl
push 8
call fcn.004258f0
add esp, 4
pop esi
pop ebx
jmp 0x4258b0
pop esi
pop ebx
ret

Function at 0x42bebe
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ce028]
jne 0x42bec8
repz ret
jmp fcn.0042c45e
Function at 0x432570
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
push 0
push 0x14
call fcn.004a8ba0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43259c
mov eax, 7
jmp 0x43264a
cmp dword [0x4d7ce4], 0
je 0x4325b6
push 0xc8
call fcn.0049fd90
add esp, 4
test eax, eax
je 0x4325cb
xor ecx, ecx
mov edx, dword [ebp - 4]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
jmp 0x43261b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x4324c0
push 0
push 0
call sub.MSVCR90.dll__beginthreadex
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x43261b
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x432640
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4684b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4ce028]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
jmp 0x4684ef
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x100
jge 0x468510
mov ecx, dword [ebp - 0x10c]
mov dl, byte [ebp - 0x10c]
mov byte [ebp + ecx - 0x108], dl
jmp 0x4684e0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x10c], 0
jmp 0x468535
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x100
jge 0x4685bc
mov ecx, dword [ebp - 0x10c]
movzx edx, byte [ebp + ecx - 0x108]
mov dword [ebp - 0x118], edx
mov ecx, dword [ebp - 0x11c]
add ecx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x10c]
cdq
idiv dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax + edx]
add ecx, edx
and ecx, 0x800000ff
jns 0x468584
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x11c]
mov dl, byte [ebp + ecx - 0x108]
mov byte [ebp + eax - 0x108], dl
mov eax, dword [ebp - 0x11c]
mov cl, byte [ebp - 0x118]
mov byte [ebp + eax - 0x108], cl
jmp 0x468526
mov dword [ebp - 0x10c], 0
jmp 0x4685d7
mov edx, dword [ebp - 0x10c]
add edx, 1
mov dword [ebp - 0x10c], edx
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp + 0x18]
jge 0x4686b9
mov ecx, dword [ebp - 4]
add ecx, 1
and ecx, 0x800000ff
jns 0x4685fc
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, byte [ebp + edx - 0x108]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x110]
add ecx, dword [ebp - 0x118]
and ecx, 0x800000ff
jns 0x46862c
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x110]
mov cl, byte [ebp + eax - 0x108]
mov byte [ebp + edx - 0x108], cl
mov edx, dword [ebp - 0x110]
mov al, byte [ebp - 0x118]
mov byte [ebp + edx - 0x108], al
mov ecx, dword [ebp - 4]
movzx edx, byte [ebp + ecx - 0x108]
mov eax, dword [ebp - 0x110]
movzx ecx, byte [ebp + eax - 0x108]
add edx, ecx
and edx, 0x800000ff
jns 0x468687
dec edx
or edx, 0xffffff00
inc edx
mov dl, byte [ebp + edx - 0x108]
mov byte [ebp - 0x111], dl
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x10c]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 0x111]
xor ecx, edx
mov eax, dword [ebp + 0x1c]
add eax, dword [ebp - 0x10c]
mov byte [eax], cl
jmp 0x4685c8
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042bebe
mov esp, ebp
pop ebp
ret

Function at 0x469540
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
pop ebp
ret
Function at 0x492900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jp 0x492933
outsd dx, dword [esi]
cmp dword [eax - 0x22f5b], eax
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00491a24
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
movsd dword es:[edi], dword [esi]
lodsb al, byte [esi]
stc
invalid
test dword [ebx + 0x27fffffc], esp
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00491a56
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00491a0b
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00491a46
popfd
js 0x4929d9
adc ch, byte [eax + 4]
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid
Function at 0x10001770
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x1015f670]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
mov dword [ebp - 0x110], 0x2e4b415c
mov dword [ebp - 0x10c], 0x747874
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x110]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100017c0
push esi
push edi
lea edi, [ebp - 0x108]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100017d4
mov ecx, eax
shr ecx, 2
push 0
rep movsd dword es:[edi], dword [esi]
push 0x80
push 3
push 0
push 1
mov ecx, eax
push SysReAllocString
lea edx, [ebp - 0x108]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000184e
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.10001d37
add esp, 4
push 0
mov edi, eax
lea eax, [ebp - 0x10c]
push eax
push ebx
push edi
push esi
mov dword [ebp - 0x10c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop ebx
test edi, edi
je 0x1000184e
push edi
call fcn.10001050
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.100f5514
mov esp, ebp
pop ebp
ret

Function at 0x100141d5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x1001421c
call fcn.10006017
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1001421c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10014238
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.10013cd5
mov esi, eax
test edi, edi
je 0x10014236
test ebx, ebx
je 0x10014236
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10014617
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1010dcc4
call fcn.100f5ddd
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x1001463c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1001468e
call fcn.100097f0
push eax
lea ecx, [ebp - 0x10]
call fcn.10002aaa
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100f85f8
push eax
call fcn.10001e7f
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.1000235a
mov eax, esi
call fcn.100f5eb5
ret 8
Function at 0x1003eef7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.10006017
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1003ef30
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.1003eb34
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x1003ef8e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x1003efb2
cmp dword [edi + 0x74], 0
jne 0x1003efb2
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.10006017
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1003ef4f
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10040f90
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.10040c34
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10040fda
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.100096f1
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.100048c6
jmp 0x10040fe5
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.10008a05
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x10040feb
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.100142e1
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x10041028
call fcn.10040c34
mov dword [esi + 0xc], 1
jmp 0x1004102d
call fcn.10040c34
cmp dword [esi], 0
je 0x10041076
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x1004104e
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.100096f1
jmp 0x10041060
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.10002c52
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.100048c6
jmp 0x1004109a
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x1004109a
push dword [esi]
push dword [ebp + 8]
call fcn.10008a05
pop esi
pop ebp
ret 0xc

Function at 0x10070576
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x10070590
call fcn.10006017
mov esi, dword [eax + 0xc]
push dword [0x10164620]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100705ae
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x100705a6
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x100705db
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x100705a8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.100704a4
mov esi, eax
jmp 0x100705cd

Function at 0x100bb506
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.100efc5d
call fcn.10005a48
cmp dword [eax + 0x14], 0
jne 0x100bb523
mov ecx, esi
pop esi
jmp fcn.100bb00b
pop esi
ret

Function at 0x100be782
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.1009c0be
call fcn.10005a48
cmp dword [eax + 0x14], 0
jne 0x100be79f
mov ecx, esi
pop esi
jmp fcn.100be155
pop esi
ret
Function at 0x100d0d6b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x100d0d83
mov edi, dword [esi + 0xc]
jmp 0x100d0dc3
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100d0d9c
call fcn.1000771c
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x100d0db1
call fcn.1000771c
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x100d0dc3
call fcn.1000771c
call fcn.10006017
cmp dword [eax + 0x3c], 0
je 0x100d0dd8
push edi
mov ecx, ebx
call fcn.100cfc27
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.100d0c85
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x100d0df6
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x100d0e02
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100f5514
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1015f670]
jne 0x100f551e
repz ret
jmp fcn.100fb264
Function at 0x10106b3a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1015f670]
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.100fb598
and dword [ebp - 0x14], 0
cmp dword [0x10166de8], 0
mov dword [ebp - 0x18], eax
jne 0x10106bed
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10106c95
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101417bc
push ebx
call edi
test eax, eax
je 0x10106c95
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x101417ac
push ebx
mov dword [0x10166de8], eax
call edi
push eax
call esi
push 0x10141798
push ebx
mov dword [0x10166dec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10166df0], eax
call edi
push eax
call esi
mov dword [0x10166df8], eax
test eax, eax
je 0x10106bed
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10166df4], eax
mov eax, dword [0x10166df4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10106c46
cmp dword [0x10166df8], ecx
je 0x10106c46
push eax
call esi
push dword [0x10166df8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10106c46
test ebx, ebx
je 0x10106c46
call edi
test eax, eax
je 0x10106c3d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10106c3d
test byte [ebp - 8], 1
jne 0x10106c46
or dword [ebp + 0x10], 0x200000
jmp 0x10106c79
mov eax, dword [0x10166dec]
cmp eax, dword [ebp - 0x18]
je 0x10106c79
push eax
call esi
test eax, eax
je 0x10106c79
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10106c79
mov eax, dword [0x10166df0]
cmp eax, dword [ebp - 0x18]
je 0x10106c79
push eax
call esi
test eax, eax
je 0x10106c79
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10166de8]
call esi
test eax, eax
je 0x10106c95
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10106c97
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100f5514
leave
ret
Function at 0x100173b
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
push 0x10074a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1007494]
mov edi, dword [ebp + 8]
test eax, eax
je 0x1001767
mov ecx, dword [edi + 4]
cmp dword [eax + 4], ecx
je 0x10017b7
mov eax, dword [eax]
test eax, eax
jne 0x100175c
push esi
push 8
call fcn.01003307
mov esi, eax
pop ecx
test esi, esi
je 0x10017b6
call fcn.01001545
mov eax, dword [0x1007494]
mov dword [esi], eax
mov dword [0x1007494], esi
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x1001573
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10017b1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10017b6
call fcn.01001515
pop esi
push 0x10074a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
leave
ret 4

Function at 0x1002724
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0x1007064], esi
jne 0x1002742
call main
cmp eax, esi
jl 0x10027f5
push ebx
push edi
push esi
push 1
mov edi, 0x8ba
push edi
push 2
push 0x1007014
call fcn.010025fc
mov ebx, eax
cmp ebx, esi
jl 0x10027c5
push esi
push esi
push esi
push 2
push 0x1007018
call fcn.010025fc
mov ebx, eax
cmp ebx, esi
jl 0x10027c5
push 1
push esi
push edi
push 1
push 0x1007408
call fcn.010025fc
mov ebx, eax
cmp ebx, esi
jl 0x10027c5
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x10022e2
push esi
push esi
call edi
mov dword [0x100740c], eax
cmp eax, esi
je 0x10027c0
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1002d92
push esi
push esi
call edi
mov dword [0x10073f0], eax
cmp eax, esi
jne 0x10027e7
mov ebx, 0x80004005
push 0x1007014
call fcn.010026f5
push 0x1007018
call fcn.010026f5
push 0x1007408
call fcn.010026f5
mov eax, ebx
jmp 0x10027f3
mov dword [0x1007060], 1
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1004170
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x10073bc], 0
push ebx
jne 0x10041ed
push eax
push ebx
push ecx
push edx
xor eax, eax
cpuid
xor eax, eax
xor ebx, 0x756e6547
sete al
xor ebx, ebx
xor ecx, 0x6c65746e
sete bl
and eax, ebx
xor ecx, ecx
xor edx, 0x49656e69
sete cl
and eax, ecx
mov dword [ebp - 4], eax
mov eax, 1
cpuid
xor ecx, ecx
xor edx, edx
mov ebx, 0xff0
and ebx, eax
mov dword [ebp - 8], ebx
pop edx
pop ecx
pop ebx
pop eax
cmp dword [ebp - 4], 0
mov eax, 1
je 0x10041e1
cmp dword [ebp - 8], 0x660
jae 0x10041e1
xor eax, eax
mov eax, dword [eax*4 + 0x1007030]
mov dword [0x10073bc], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x40], 0x67452301
mov dword [eax + 0x44], 0xefcdab89
mov dword [eax + 0x48], 0x98badcfe
mov dword [eax + 0x4c], 0x10325476
mov dword [eax + 0x50], 0xc3d2e1f0
pop ebx
mov esp, ebp
pop ebp
ret 4