joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010cb28
Capabilities:
Check for time delay via gettickcount

Disassembly:
call fcn.1010c3ac
test eax, eax
je 0x1010cb27
push esi
xor esi, esi
cmp dword [0x101f7ffc], esi
jne 0x1010ca6c
push sym.mono.dll_mono_gc_get_generation
call fcn.1010cbe4
pop ecx
mov dword [0x101f8020], esi
pop esi
ret
push edi
cmp dword [0x101f8004], esi
jne 0x1010ca8a
mov eax, dword [0x101f8020]
cmp eax, dword [0x101f55e4]
jge 0x1010ca8a
inc dword [0x101f8020]
jmp 0x1010cada
cmp dword [0x101f8064], esi
je 0x1010cab3
mov eax, dword [0x10369fa4]
push esi
push esi
push esi
shl eax, 2
push esi
push eax
mov eax, dword [0x101f7ff8]
inc eax
push eax
push str._Full_mark_for_collection__lu_after__ld_allocd_bytes_n
call fcn.1010d502
add esp, 0x1c
call fcn.1011275c
xor edi, edi
inc edi
push edi
push esi
call fcn.101123ca
pop ecx
pop ecx
call fcn.1010dfba
mov dword [0x101f8020], esi
call fcn.1010c3d2
mov dword [0x101f801c], edi
mov edi, 0xf423f
cmp dword [0x101f560c], edi
je 0x1010cafa
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1038461c], eax
cmp dword [0x101f560c], edi
jne 0x1010cb01
mov eax, sym.mono.dll_mono_gc_get_generation
jmp 0x1010cb06
mov eax, 0x1010c29d
push eax
call fcn.1010c3de
pop ecx
pop edi
test eax, eax
je 0x1010cb18
pop esi
jmp fcn.1010c644
cmp dword [0x101f801c], esi
jne 0x1010cb26
inc dword [0x101f8014]
pop esi
ret
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [0x101f8054], ebx
jne 0x1010cbda
cmp dword [0x101f7ffc], ebx
je 0x1010cbdd
call fcn.1010de87
test eax, eax
je 0x1010cbdd
push esi
mov esi, dword [ebp + 8]
push edi
imul esi, esi, 0xa
mov edi, dword [0x101f8024]
jmp 0x1010cb6f
push ebx
call fcn.1010ef39
pop ecx
test eax, eax
jne 0x1010cb75
inc edi
cmp edi, esi
jl 0x1010cb63
jmp 0x1010cbbc
cmp dword [0x101f8014], 1
jge 0x1010cbac
cmp dword [0x101f560c], 0xf423f
je 0x1010cbac
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1010c29d
mov dword [0x1038461c], eax
call fcn.1010c3de
pop ecx
test eax, eax
jne 0x1010cbb7
inc dword [0x101f8014]
jmp 0x1010cbbc
push sym.mono.dll_mono_gc_get_generation
call fcn.1010c3de
pop ecx
call fcn.1010c644
cmp dword [0x101f8024], ebx
jle 0x1010cbd0
sub dword [0x101f8024], esi
cmp dword [0x101f8024], ebx
pop edi
pop esi
jge 0x1010cbda
mov dword [0x101f8024], ebx
pop ebx
pop ebp
ret
pop ebx
pop ebp
jmp 0x1010ca41
Function at 0x1010d46d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x1010d47b
xor eax, eax
leave
ret
push esi
mov esi, 0x10369f60
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x101f8088]
cmp eax, 0xffffffff
je 0x1010d4fc
test eax, eax
jne 0x1010d4cb
push eax
push bind
push 2
push eax
push 3
push 0x40000000
push str.gc.log
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x101f8088], eax
cmp eax, 0xffffffff
jne 0x1010d4cb
push str.Open_of_log_file_failed
call fcn.1010d20b
mov eax, dword [0x101f8088]
pop ecx
push edi
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test edi, edi
jne 0x1010d4eb
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
pop edi
je 0x1010d4fc
mov eax, dword [ebp - 4]
jmp 0x1010d4ff
or eax, 0xffffffff
pop esi
leave
ret

Function at 0x1010d9e7
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], esi
cmp dword [0x101f808c], esi
jne 0x1010da0f
push str.GC_stop_world___called_before_GC_thr_init__
call fcn.1010d20b
pop ecx
push 0x10369f60
mov dword [0x101f8094], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 8], esi
call fcn.1010d90d
test eax, eax
js 0x1010db12
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push edi
mov esi, 0x101f9f74
mov eax, dword [esi - 8]
test eax, eax
je 0x1010daf9
mov eax, dword [esi - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x1010daf9
lea edi, [esi - 0x14]
jmp 0x1010daca
lea eax, [ebp - 0x10]
push eax
push dword [esi - 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x1010da77
cmp dword [ebp - 0x10], 0x103
jne 0x1010dad7
push dword [esi - 0xc]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1010daca
push esi
mov dword [esi], 0x10003
push dword [esi - 0xc]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1010daf2
push dword [esi - 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1010dab2
push str.ResumeThread_failed
call fcn.1010d20b
pop ecx
mov eax, dword [ebp - 4]
inc dword [ebp - 4]
cmp eax, 0xf4240
jne 0x1010daca
push str.SuspendThread_loop_failed
call fcn.1010d20b
pop ecx
push 0
push 0
push edi
call ebx
test eax, eax
jne 0x1010da5d
jmp 0x1010daf9
push 0
mov dword [esi - 8], 0
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push dword [esi - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1010daf9
mov dword [esi - 4], 1
inc dword [ebp - 8]
add esi, 0x2e0
call fcn.1010d90d
cmp dword [ebp - 8], eax
jle 0x1010da41
pop edi
pop ebx
push 0x10369f60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
leave
ret
Function at 0x1010db20
Capabilities:
Resume thread

Disassembly:
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call fcn.1010d90d
test eax, eax
js 0x1010db7b
push esi
push edi
mov esi, 0x101f9f64
lea edi, [eax + 1]
mov eax, dword [esi + 8]
test eax, eax
je 0x1010db70
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1010db70
mov eax, dword [esi]
cmp eax, ebx
je 0x1010db70
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1010db69
push str.ResumeThread_failed
call fcn.1010d20b
pop ecx
mov dword [esi + 0xc], 0
add esi, 0x2e0
dec edi
jne 0x1010db3c
pop edi
pop esi
mov dword [0x101f8094], 0
pop ebx
ret

Function at 0x1010de37
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x101f8084], 0
jne 0x1010de48
call fcn.1010d7b3
push 8
call fcn.10112c7f
pop ecx
test eax, eax
jne 0x1010de60
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1010de83
push dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0x18]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x14]
push eax
push 0x1010dd58
push dword [ebp + 0xc]
mov dword [eax + 4], ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret 0x18

Function at 0x1010f4d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ebx
xor eax, eax
push esi
inc eax
shl eax, cl
lea esi, [ecx + 1]
neg esi
sbb esi, esi
push edi
lea edi, [ecx + 1]
xor ebx, ebx
mov ecx, edi
inc ebx
shl ebx, cl
and esi, eax
push 1
mov dword [ebp - 8], edi
mov eax, ebx
shl eax, 2
push eax
call fcn.1010bf93
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x1010f523
cmp dword [ebp + 8], eax
jne 0x1010f584
push str.Insufficient_space_for_initial_table_allocation
call fcn.1010d20b
pop ecx
and dword [ebp - 4], 0
test esi, esi
je 0x1010f577
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x1010f56f
mov ecx, dword [edx + 4]
mov eax, dword [edx]
not eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 8]
mov edi, eax
add ecx, 3
shr edi, cl
shr eax, 3
xor edi, eax
lea eax, [ebx - 1]
and edi, eax
mov eax, dword [ebp - 0xc]
lea edi, [eax + edi*4]
mov eax, dword [edi]
mov dword [edx + 4], eax
mov dword [edi], edx
mov edx, dword [ebp - 0x10]
test edx, edx
jne 0x1010f53a
mov edi, dword [ebp - 8]
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jb 0x1010f52b
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1011085f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor eax, eax
push esi
cmp dword [0x101f8100], eax
je 0x1011088c
add ecx, 0x1000
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea esi, [eax + 0x1000]
and esi, 0xfffff000
jmp 0x1011089e
push 0x40
push 0x3000
inc ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, 0xfff
je 0x101108b1
push str.Bad_VirtualAlloc_result
call fcn.1010d20b
pop ecx
cmp dword [0x101f8108], 0x300
jb 0x101108c8
push str.Too_many_heap_sections
call fcn.1010d20b
pop ecx
mov eax, dword [0x101f8108]
inc dword [0x101f8108]
mov dword [eax*4 + 0x103708f4], esi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x101109db
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call fcn.1011092a
mov esi, dword [0x101f9ea4]
dec esi
not esi
add ebx, edi
and esi, ebx
pop ecx
sub esi, eax
pop ecx
mov dword [ebp + 0xc], eax
test eax, eax
je 0x10110a63
test esi, esi
je 0x10110a63
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x1c
je 0x10110a2c
push str.Weird_VirtualQuery_result
call fcn.1010d20b
pop ecx
mov edi, dword [ebp - 0x10]
cmp esi, edi
jae 0x10110a35
mov edi, esi
push 0x40
push 0x1000
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, dword [ebp + 0xc]
je 0x10110a56
push str.VirtualAlloc_remapping_failed
call fcn.1010d20b
pop ecx
sub dword [0x1036c0d4], edi
add dword [ebp + 0xc], edi
sub esi, edi
jne 0x10110a0d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1011389e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101f57c0]
jne 0x101138a8
repz ret
jmp fcn.1011e971

Function at 0x10126d16
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x10126d3d
call fcn.10114f56
mov dword [eax], esi
call fcn.10114f43
push 0x16
pop esi
mov dword [eax], esi
call fcn.1011b68e
mov eax, esi
jmp 0x10126d92
test dword [ebp + 0xc], 0xfffffff9
jne 0x10126d23
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10126d6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10114f69
pop ecx
call fcn.10114f43
mov eax, dword [eax]
jmp 0x10126d92
test al, 0x10
jne 0x10126d90
test al, 1
je 0x10126d90
test byte [ebp + 0xc], 2
je 0x10126d90
call fcn.10114f56
mov dword [eax], 5
call fcn.10114f43
mov dword [eax], 0xd
jmp 0x10126d61
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1012c82f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x1012c856
call fcn.10114f56
mov dword [eax], esi
call fcn.10114f43
push 0x16
pop esi
mov dword [eax], esi
call fcn.1011b68e
mov eax, esi
jmp 0x1012c8ab
test dword [ebp + 0xc], 0xfffffff9
jne 0x1012c83c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1012c883
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10114f69
pop ecx
call fcn.10114f43
mov eax, dword [eax]
jmp 0x1012c8ab
test al, 0x10
jne 0x1012c8a9
test al, 1
je 0x1012c8a9
test byte [ebp + 0xc], 2
je 0x1012c8a9
call fcn.10114f56
mov dword [eax], 5
call fcn.10114f43
mov dword [eax], 0xd
jmp 0x1012c87a
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1012ceee
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101f57c0]
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.1011e11e
and dword [ebp - 0x14], 0
cmp dword [0x101f8f08], 0
mov dword [ebp - 0x18], eax
jne 0x1012cfa1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1012d049
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1012d049
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x101f8f08], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x101f8f0c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x101f8f10], eax
call edi
push eax
call esi
mov dword [0x101f8f18], eax
test eax, eax
je 0x1012cfa1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x101f8f14], eax
mov eax, dword [0x101f8f14]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1012cffa
cmp dword [0x101f8f18], ecx
je 0x1012cffa
push eax
call esi
push dword [0x101f8f18]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1012cffa
test ebx, ebx
je 0x1012cffa
call edi
test eax, eax
je 0x1012cff1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1012cff1
test byte [ebp - 8], 1
jne 0x1012cffa
or dword [ebp + 0x10], 0x200000
jmp 0x1012d02d
mov eax, dword [0x101f8f0c]
cmp eax, dword [ebp - 0x18]
je 0x1012d02d
push eax
call esi
test eax, eax
je 0x1012d02d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1012d02d
mov eax, dword [0x101f8f10]
cmp eax, dword [ebp - 0x18]
je 0x1012d02d
push eax
call esi
test eax, eax
je 0x1012d02d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x101f8f08]
call esi
test eax, eax
je 0x1012d049
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1012d04b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011389e
leave
ret
Function at 0x103c0200
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
test eax, eax
jle 0x103c025b
push edi
mov edi, dword [ebp + 0x10]
sub dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
mov edi, edi
inc bl
lea edi, [edi + 1]
movzx ebx, bl
mov dl, byte [esi + ebx + 8]
add cl, dl
movzx ecx, cl
mov al, byte [esi + ecx + 8]
mov byte [esi + ebx + 8], al
add al, dl
movzx eax, al
mov byte [esi + ecx + 8], dl
movzx edx, byte [eax + esi + 8]
mov eax, dword [ebp + 0xc]
xor dl, byte [eax + edi - 1]
sub dword [ebp + 8], 1
mov byte [edi - 1], dl
jne 0x103c0220
mov eax, dword [ebp + 0x14]
pop edi
mov dword [esi], ebx
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x4010bc
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x100]
sub esp, 0x180
mov eax, dword [0x498fe0]
xor eax, ebp
mov dword [ebp + 0xfc], eax
mov eax, dword [ebp + 0x108]
push ebx
mov ebx, dword [ebp + 0x10c]
push esi
push edi
mov edi, ecx
push dword [edi + 0x20]
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x78], eax
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x4011cb
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
lea edx, [ebp - 0x70]
push edx
push 0x60
push esi
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x4011c2
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
lea edx, [ebp - 0x80]
push edx
lea edx, [ebp - 0x6c]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x4011c2
mov esi, 0xa0000000
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x6c]
push edx
push 1
mov dword [ebp - 0x74], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test dword [ebp - 0x74], esi
je 0x401184
test dword [ebp - 0x74], 0x20000000
je 0x401184
push dword [ebp - 0x7c]
mov ecx, edi
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x68]
call fcn.0040103f
test eax, eax
jne 0x40119d
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
lea edx, [ebp - 0x80]
push edx
lea edx, [ebp - 0x6c]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x40114a
jmp 0x4011c2
push 0x4008
push 0x160
lea eax, [ebp - 0x64]
push eax
push 0
push dword [ebp - 0x6c]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x60]
mov dword [ebx], eax
mov dword [ebp - 0x78], 1
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 0xfc]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bdea
add ebp, 0x100
leave
ret 8

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

Disassembly:
push ebp
lea ebp, [esp - 0xe8]
sub esp, 0x168
mov eax, dword [0x498fe0]
xor eax, ebp
mov dword [ebp + 0xe4], eax
and dword [ebp - 0x80], 0
push esi
mov esi, dword [ebp + 0xf4]
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0xf0]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [ebp - 0x80], 0
je 0x401260
push 0x309
push 0x160
lea eax, [ebp - 0x7c]
push eax
push 0x80
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x401260
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.0045be00
pop ecx
pop ecx
push dword [ebp - 0x7c]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x78]
jmp 0x401262
xor eax, eax
mov ecx, dword [ebp + 0xe4]
xor ecx, ebp
pop esi
call fcn.0045bdea
add ebp, 0xe8
leave
ret 8
Function at 0x40191e
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x498fe0]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp + 0xed]
push ebx
push eax
mov esi, ecx
mov byte [ebp + 0xec], bl
call fcn.0045bd70
add esp, 0xc
call fcn.0044416a
mov eax, dword [eax + 4]
push 0x92
mov ecx, eax
call fcn.00401375
mov dword [ebp - 0x80], eax
push 0x104
lea eax, [ebp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push 0x4001
push 0x160
lea eax, [ebp - 0x74]
push eax
push ebx
lea eax, [ebp + 0xec]
push eax
call edi
mov eax, dword [ebp - 0x70]
mov dword [esi + 0x120], eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push 0x11
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x401a04
push 0x4009
push 0x160
lea eax, [ebp - 0x74]
push eax
push ebx
push dword [ebp - 0x78]
call edi
cmp eax, ebx
je 0x4019f8
push eax
call fcn.0044452c
push dword [ebp - 0x80]
mov edi, eax
push dword [esi + 0x120]
push dword [edi + 4]
call fcn.004017ec
push ebx
push edi
mov ecx, esi
call fcn.0040141d
push dword [ebp - 0x78]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x78], ebx
cmp byte [ebp + 0x1fc], bl
je 0x401a13
mov ecx, esi
call fcn.00401407
lea edi, [esi + 0x11c]
lea eax, [esi + 0x238]
push edi
push eax
mov ecx, esi
call fcn.004010bc
test eax, eax
jne 0x401a3f
lea eax, [esi + 0x238]
push str.My_Computer
push eax
call fcn.0045be00
pop ecx
pop ecx
mov eax, dword [edi]
push eax
push eax
push 1
mov edi, 0xffff0000
push edi
lea eax, [esi + 0x238]
push eax
mov ecx, esi
call fcn.00401611
mov dword [esi + 0x33c], eax
lea eax, [esi + 0x134]
push eax
push ebx
mov ecx, esi
call fcn.004011e8
push eax
push eax
push 1
push edi
lea edi, [esi + 0x134]
push edi
mov ecx, esi
mov dword [esi + 0x118], eax
call fcn.00401611
push dword [esi + 0x33c]
mov dword [esi + 0x130], eax
push 2
push 0x1102
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [esi + 0x20]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push edi
push dword [ebp - 0x7c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov ecx, dword [ebp + 0x1f0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bdea
add ebp, 0x1f4
leave
ret 4
Function at 0x401ad5
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x498fe0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x301
push 0x160
lea eax, [ebp - 0x268]
push eax
push 0
push esi
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp byte [ebp + 0x10], 0
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x26c], eax
je 0x401b2c
push eax
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x25c]
jmp 0x401b61
push 0x5c
push esi
call fcn.0045c5b0
pop ecx
pop ecx
test eax, eax
je 0x401b3e
inc eax
push eax
jmp 0x401b3f
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.0045be00
pop ecx
pop ecx
push dword [ebp - 0x26c]
lea eax, [ebp - 0x108]
push dword [ebp - 0x26c]
push 0
push edi
push eax
mov ecx, ebx
call fcn.00401611
push dword [ebp - 0x268]
mov esi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bdea
leave
ret 0x14
Function at 0x404a92
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x406112
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x1a0
mov eax, dword [0x498fe0]
xor eax, ebp
mov dword [ebp + 0x11c], eax
mov eax, dword [ebp + 0x12c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x128]
push 0x40
mov dword [ebp + 0x14], eax
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call fcn.0045bd70
push 0x3c
pop ebx
push 0x38
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp + 0x10], esi
mov dword [ebp - 0x3c], ebx
call fcn.0045bd70
mov eax, dword [ebp + 0x130]
add esp, 0x18
sub eax, esi
je 0x406255
dec eax
je 0x406240
dec eax
je 0x4061d1
dec eax
jne 0x40627a
lea eax, [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x134]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x30], str.runas
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x40627a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40627a
push dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push edi
push str._s__s
push eax
call fcn.0045d4bb
mov ax, word [ebp + 0x134]
add esp, 0x10
mov word [ebp - 0x50], ax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push 0x10
push esi
push esi
push esi
lea eax, [ebp + 0x18]
push eax
push esi
mov dword [ebp - 0x54], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40627d
push 0xffffffffffffffff
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0x10]
push eax
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp + 4]
call esi
jmp 0x40627a
push dword [ebp + 0x134]
push esi
push dword [ebp + 0x14]
push edi
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x40627a
push dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push edi
push str._s__s
push eax
call fcn.0045d4bb
add esp, 0x10
push dword [ebp + 0x134]
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x11c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bdea
add ebp, 0x120
leave
ret 0x10