joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c06b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xd0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov dword [0x4c10e8], eax
call fcn.0040e814
call fcn.00433127
call fcn.00412808
xor ebx, ebx
mov esi, 0x4c0fb8
push ebx
mov ecx, esi
call fcn.0040f28c
call fcn.0040574a
mov edi, 0x4c1b94
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [0x4c0cb8]
or eax, dword [0x4c0cbc]
jne 0x41c0cb
push 0x4c0cb8
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 0x4c0cc0
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
push 0x4c0f1c
call dword [sym.imp.KERNEL32.DLL_GetSystemTimeAsFileTime]
push ebx
push 0x3534
call fcn.00411936
push 0xd6fc6
push 0x311f1
lea eax, [ebp - 0x60]
push 0x4aa5e0
push eax
call dword [sym.imp.USER32.DLL_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x60]
push eax
push 0x4aa5ce
mov ecx, esi
call fcn.0043d658
lea eax, [ebp - 0x60]
push eax
push 0x4aa5cc
mov ecx, esi
call fcn.0043d658
push 0x4aa5bc
lea ecx, [ebp + 0x68]
call fcn.00446497
push dword [0x4bf0f0]
lea ecx, [ebp + 0x68]
call fcn.0043ddea
push dword [ebp + 0x68]
mov ecx, esi
push 0x4aa5a4
call fcn.0043d658
push 0x4aa5a0
push 0x4aa590
mov ecx, esi
call fcn.0043d6a8
push ebx
push 0x3541
call fcn.00411936
call fcn.00411794
push ebx
push 0x3543
call fcn.00411936
mov eax, dword [ebp + 0x78]
mov dword [0x4c0ea0], eax
mov eax, dword [ebp + 0x7c]
mov dword [0x4bf290], eax
call fcn.004387a7
push 0x4aa568
push dword [0x4c1110]
mov esi, 0x4c0fb8
push esi
call fcn.0044023a
mov edi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
add esp, 0x1c
push 0x4aa558
call edi
push eax
push esi
call fcn.0044023a
add esp, 0xc
push 0x4aa548
call edi
push eax
call fcn.00404afa
pop ecx
push eax
push esi
call fcn.0044023a
push 0x4aa534
push dword [0x4c0ea0]
push esi
call fcn.0044023a
add esp, 0x18
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [0x4c0de0], eax
push 0x4aa524
push eax
push esi
call fcn.0044023a
add esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
add eax, 0x354c
push ebx
push eax
call fcn.00411936
movzx eax, word [0x4c4010]
push 0x4aa508
push eax
push esi
call fcn.0044023a
add esp, 0x14
push 0x20a
lea ecx, [ebp + 0x6c]
call fcn.0043dd9c
push dword [ebp + 0x6c]
mov edi, 0x208
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push dword [ebp + 0x6c]
mov ecx, esi
push 0x4aa164
call fcn.0043d6a8
push dword [ebp + 0x6c]
mov ecx, esi
push 0x4aa4fc
call fcn.0043d6a8
mov eax, dword [ebp + 0x6c]
mov word [eax + 4], bx
push dword [ebp + 0x6c]
mov ecx, esi
push 0x4aa150
call fcn.0043d6a8
mov eax, dword [ebp + 0x6c]
push edi
push eax
push ebx
mov word [eax], bx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push dword [ebp + 0x6c]
mov ecx, esi
push 0x4aa178
call fcn.0043d6a8
call fcn.00411946
lea ecx, [ebp + 0x6c]
call fcn.00437e1a
lea ecx, [ebp + 0x68]
call fcn.00437e1a
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret
Function at 0x41cc55
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x41cc7c
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0040f0df
test eax, eax
je 0x41cc7c
call fcn.0040f166
test eax, eax
mov dword [esp + 0xc], eax
jne 0x41cc83
xor eax, eax
jmp 0x41cd45
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x34]
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
push ebp
push edi
push pe_nt_image_headers32
mov ebp, 0x3000
push ebp
push eax
push ecx
call ebx
mov edi, eax
test edi, edi
jne 0x41ccbb
push pe_nt_image_headers32
push ebp
push dword [esp + 0x20]
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x41ccbb
xor eax, eax
jmp 0x41cd42
push dword [esp + 0x14]
mov ecx, esi
push edi
call fcn.00412f3b
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp dword [eax + 0xa0], ebx
jbe 0x41cce8
cmp dword [eax + 0xa4], ebx
jbe 0x41cce8
push edi
mov ecx, esi
call fcn.0040ef95
test eax, eax
je 0x41ccb4
push edi
mov ecx, esi
call fcn.0040eff4
test eax, eax
jne 0x41cd03
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
jmp 0x41ccb4
mov eax, dword [esi + 0x14]
mov dword [eax + 0x34], edi
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x28]
push ebx
xor ebp, ebp
inc ebp
push ebp
add eax, edi
push edi
mov dword [esi + 4], eax
call eax
test eax, eax
jne 0x41cd3b
push ebx
push ebx
push edi
call dword [esi + 4]
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov dword [esi + 4], ebx
jmp 0x41ccb4
mov dword [esi], ebp
mov dword [esi + 0xc], edi
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x42c950
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
mov byte [ebp - 1], bl
jmp 0x42c96b
inc byte [ebp - 1]
inc eax
inc eax
mov dword [ebp + 8], eax
cmp word [eax], 0x2a
je 0x42c963
lea eax, [ebp + 8]
push eax
call fcn.00405196
mov al, byte [ebp - 1]
mov byte [0x4c0ee6], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 6]
push eax
lea eax, [ebp - 5]
push eax
lea edi, [ebp - 3]
lea esi, [ebp - 4]
lea eax, [ebp + 8]
mov byte [ebp - 3], 0x2a
mov byte [ebp - 5], bl
mov byte [ebp - 4], 1
mov byte [ebp - 2], bl
call fcn.0041aef9
mov eax, dword [ebp + 8]
add esp, 0x10
cmp word [eax], bx
je 0x42ca94
mov esi, 0x4c1b94
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp byte [ebp - 1], bl
je 0x42c9e4
cmp dword [0x4c0e98], ebx
je 0x42c9e4
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x42caf0
mov eax, dword [ebp + 8]
movsx ecx, byte [ebp - 3]
mov byte [0x4bf2a5], 0xff
movzx edx, word [eax]
cmp ecx, edx
mov byte [0x4c0ed9], 1
jne 0x42ca0e
movzx eax, word [eax + 2]
cmp ecx, eax
jne 0x42ca0e
mov byte [0x4bf2a5], bl
mov edi, dword [ebp - 0x10]
push 0x4c0bcc
push 0x10000
push edi
push 0x42c93f
push 0x100000
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov dword [ebp - 0x10], eax
cmp word [edi], bx
jne 0x42ca53
cmp byte [0x4c0ed9], bl
je 0x42ca6f
call esi
sub eax, dword [ebp - 0x10]
cmp eax, 0x7d0
jae 0x42ca6f
push ebx
push ebx
push 0x14
mov ecx, 0x4c0fb8
call fcn.00413b53
jmp 0x42ca46
cmp byte [ebp - 2], bl
je 0x42caf0
test byte [ebp - 4], 0x40
je 0x42caf0
jmp 0x42ca8a
push ebx
push ebx
push 1
mov ecx, 0x4c0fb8
call fcn.00413b53
cmp dword [0x4c0e98], ebx
jne 0x42ca7c
jmp 0x42caf0
movsx eax, byte [ebp - 2]
push eax
movsx eax, byte [ebp - 5]
push eax
lea esi, [ebp - 0xc]
mov eax, esi
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0xbb8
call fcn.004114ed
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
add esp, 0xc
call edi
cmp byte [ebp - 2], bl
mov dword [ebp - 0x14], eax
je 0x42caec
mov esi, 0x4c0e98
mov dword [ebp - 0x10], 0xfa0
jmp 0x42caec
call edi
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jae 0x42caf0
push ebx
push ebx
push 0xa
mov ecx, 0x4c0fb8
call fcn.00413b53
cmp dword [esi], ebx
jne 0x42cad4
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x42f010
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xa4
push ebx
push esi
mov esi, dword [ebp + 0x7c]
push edi
push 0x4aa28c
lea ecx, [ebp + 0x64]
sar esi, 0x10
call fcn.00446497
mov ebx, dword [ebp + 0x74]
push esi
push dword [ebx]
call fcn.00410fb3
pop ecx
pop ecx
push 0x20a
lea ecx, [ebp + 0x68]
mov dword [ebp + 0x74], eax
call fcn.0043dd9c
push dword [ebp + 0x68]
push 0x208
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
mov edi, dword [ebp + 0x78]
push edi
lea ecx, [ebp - 0x38]
call fcn.0040ec92
push edi
lea ecx, [ebp - 0x38]
call fcn.0040f28c
push dword [ebp + 0x68]
mov eax, dword [edi + 0x14]
push 0x4aa164
mov dword [ebp - 0x24], eax
call fcn.0043d658
movzx eax, si
push eax
lea ecx, [ebp - 0x38]
mov word [ebp - 0xc], si
call fcn.0043c957
mov ecx, dword [ebp + 0x7c]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x74]
push 0
push ebx
call fcn.00424c19
movzx esi, ax
or esi, dword [ebp + 0x7c]
add esp, 0x14
mov edi, 0x4c1b94
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
and dword [ebp + 0xc], 0
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 0
lea ecx, [ebp - 0x38]
call fcn.0042ef86
lea ecx, [ebp + 8]
call fcn.00437e1a
lea ecx, [ebp + 0x68]
call fcn.00437e1a
lea ecx, [ebp + 0x64]
call fcn.00437e1a
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x6c
leave
ret
Function at 0x437ee7
Capabilities:
Acquire debug privileges

Disassembly:
xor eax, eax
cmp byte [esp + 4], al
push esi
mov esi, ecx
mov byte [esi], al
je 0x437f17
test byte [0x4c1bf0], 4
jne 0x437f17
push eax
push 2
mov byte [esi], 1
or byte [0x4c1bf0], 4
push 0x4a69e8
call fcn.004119f4
add esp, 0xc
mov eax, esi
pop esi
ret 4

Function at 0x437fa4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov esi, eax
test esi, esi
je 0x437fcd
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x438f9c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
push 4
pop edi
push edi
push 0x20019
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00438f4b
mov esi, eax
add esp, 0x14
cmp esi, 5
je 0x438ff2
test esi, esi
jne 0x438ffa
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
cmp esi, 5
jne 0x438ffa
test edi, edi
je 0x438ffa
xor edi, edi
jmp 0x438fa9
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x439000
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 4
push 0x20006
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00438f4b
add esp, 0x14
test eax, eax
jne 0x43904a
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x43904c
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 4
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00438f4b
add esp, 0x14
test eax, eax
jne 0x439089
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.DLL_RegDeleteValueW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x439738
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4c1198], 0
push edi
mov edi, ecx
jne 0x439957
and dword [ebp - 4], 0
push esi
push 4
push 2
push 0x4a69e8
call fcn.004119f4
lea eax, [ebp - 4]
push eax
push fcn.004c1194
mov esi, 0x4ad884
push esi
push 0x4ad878
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push fcn.004c119c
push esi
push 0x4ac59c
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push fcn.004c11a0
push esi
push 0x4ad86c
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11a4
push esi
push 0x4ac5ec
call fcn.004391ea
add esp, 0x4c
lea eax, [ebp - 4]
push eax
push fcn.004c11a8
push esi
push 0x4ad864
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11ac
push esi
push 0x4ac594
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11b0
push esi
push 0x4ad858
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11b4
push esi
push 0x4ad850
call fcn.004391ea
add esp, 0x40
lea eax, [ebp - 4]
push eax
push 0x4c11b8
push esi
push 0x4ac5c8
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11bc
push esi
push 0x4ac5c0
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11c0
push esi
push 0x4ac5b8
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11c8
push esi
push 0x4ad844
call fcn.004391ea
add esp, 0x40
lea eax, [ebp - 4]
push eax
push 0x4c11c4
push esi
push 0x4ad838
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11cc
push esi
push 0x4ac570
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11d0
push esi
push 0x4ac57c
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push fcn.004c11d4
push esi
push 0x4ad830
call fcn.004391ea
add esp, 0x40
lea eax, [ebp - 4]
push eax
push fcn.004c11d8
push esi
push 0x4ad828
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11dc
push esi
push 0x4ad820
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11e0
push esi
push 0x4ad814
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11e4
push esi
push 0x4ad804
call fcn.004391ea
add esp, 0x40
lea eax, [ebp - 4]
push eax
push 0x4c11e8
push esi
push 0x4ad7f8
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11ec
push esi
push 0x4ad7e8
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c11f0
push esi
push 0x4ad7d8
call fcn.004391ea
lea eax, [ebp - 4]
push eax
push 0x4c1198
push esi
push 0x4ad7d0
call fcn.004391ea
add esp, 0x40
pop esi
mov eax, edi
pop edi
leave
ret
Function at 0x43a9be
Capabilities:
Check for time delay via gettickcount
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
xor eax, eax
mov byte [ebp - 0x24], 0
and dword [ebp - 8], 0
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], 0xc
call fcn.0043a99f
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
pop ecx
call edi
cmp dword [ebp + 0x10], 0
mov dword [ebp - 4], eax
je 0x43aa3a
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_WaitNamedPipeW]
jmp 0x43aa2e
test ebx, ebx
jle 0x43aa38
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jne 0x43aa38
call edi
sub eax, dword [ebp - 4]
cmp ebx, eax
jbe 0x43aa38
push 1
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x43aa0e
pop esi
pop ebx
push 0
push 0x80
push 3
lea eax, [ebp - 0x10]
push eax
push 3
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
pop edi
leave
ret

Function at 0x43aa5a
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x4ad9c4
call dword [sym.imp.USER32.DLL_FindWindowA]
push 0
push 0x4ad9b4
push 0
push eax
call dword [sym.imp.USER32.DLL_FindWindowExA]
ret

Function at 0x43aaf4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4c1bc0]
mov edx, dword [0x4c1bc4]
mov ecx, eax
or ecx, edx
jne 0x43abfa
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0x12c]
push edi
push eax
call fcn.00492e00
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x12c], esi
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
mov eax, dword [ebp - 0x128]
xor ecx, ecx
shld ecx, eax, 0x10
shl eax, 0x10
mov esi, eax
movzx eax, word [ebp - 0x124]
cdq
or esi, eax
movzx eax, word [ebp - 0x120]
or ecx, edx
shld ecx, esi, 0x10
cdq
shl esi, 0x10
or ecx, edx
or esi, eax
cmp ecx, 6
mov dword [0x4c1bc0], esi
mov dword [0x4c1bc4], ecx
jb 0x43abf4
ja 0x43ab8a
cmp esi, 0x20000
jb 0x43abf4
lea eax, [ebp - 0x10]
push eax
push 0x4c12cc
push 0x4a7128
push 0x4ad9d4
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
call fcn.004391ea
mov eax, dword [0x4c12cc]
add esp, 0x10
cmp eax, edi
je 0x43abc8
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
call eax
movzx ecx, word [ebp - 0xc]
mov eax, dword [ebp - 8]
shl eax, 0x10
or eax, ecx
mov esi, eax
movzx eax, word [ebp - 4]
xor ecx, ecx
shld ecx, esi, 0x10
cdq
shl esi, 0x10
or esi, eax
or ecx, edx
mov dword [0x4c1bc0], esi
mov dword [0x4c1bc4], ecx
pop edi
mov eax, esi
mov edx, ecx
pop esi
leave
ret
Function at 0x43ae8b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
jne 0x43ae9f
lea ebx, [ebp + 0x10]
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jl 0x43aee2
mov eax, dword [esi + 4]
push edi
lea ecx, [ebp + 0x10]
push ecx
push 0x1000
push eax
push dword [esi]
mov dword [esi + 8], edi
mov dword [ebp + 0x10], edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp eax, edi
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0xc], ecx
jne 0x43aed8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x6d
je 0x43aee2
cmp dword [ebp + 0x10], edi
jne 0x43aee2
dec dword [esi + 0x14]
jns 0x43aea7
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jge 0x43af02
lea ecx, [eax + 1]
mov dword [esi + 8], ecx
mov ecx, dword [esi + 4]
mov al, byte [eax + ecx]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
xor eax, eax
inc eax
mov dword [ebx], eax
jmp 0x43af06
mov dword [ebx], edi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x43b543
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x108
push esi
push edi
mov ax, word [ebp + 0x7c]
push 0x20
pop ecx
mov esi, 0x4adc60
lea edi, [ebp - 0x10]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x21
pop ecx
mov esi, 0x4adbd8
lea edi, [ebp - 0x94]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.ADVAPI32.DLL_RegDeleteKeyW]
mov word [ebp + 0x6e], ax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x10]
push eax
mov edi, 0x80000001
push edi
call esi
lea eax, [ebp - 0x94]
push eax
push edi
call esi
pop edi
pop esi
add ebp, 0x74
leave
ret

Function at 0x43b7fd
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
push edi
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push 8
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push 0x7405c
push dword [ebp + 8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call ebx
push edi
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 0x18
push esi
push edi
push edi
push 0x70000
push dword [ebp + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
call ebx
cmp dword [ebp - 8], edi
je 0x43b85c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
jmp 0x43b879
mov eax, dword [esi + 0x14]
mul dword [esi + 0x10]
push edi
push dword [esi + 0xc]
push edx
push eax
call fcn.00492f10
push dword [esi + 4]
push dword [esi]
push edx
push eax
call fcn.00492f10
pop edi
pop ebx
leave
ret
Function at 0x43ba51
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
push 0xc0
push esi
push ebx
mov dword [edi], esi
call fcn.00492e00
add esp, 0xc
push esi
lea eax, [ebp + 0x10]
push eax
push 0x100000
push ebx
push esi
push esi
push 0x70050
push dword [ebp + 8]
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x43ba99
mov eax, dword [ebx + 4]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x43be10
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
push ebx
push esi
push edi
xor esi, esi
push esi
push dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x318], esi
mov ecx, 0xc3
lea edi, [ebp - 0x314]
rep stosd dword es:[edi], eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
xor edi, edi
inc edi
test eax, eax
jne 0x43be57
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
mov dword [ebp - 4], edi
je 0x43be5a
mov dword [ebp - 4], esi
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push esi
push 0x2200000
push 3
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43be87
xor eax, eax
jmp 0x43bf0f
push dword [ebp + 0xc]
mov dword [ebp - 0x318], 0xa0000003
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push dword [ebp + 0xc]
shl eax, 1
mov word [ebp - 0x30e], ax
mov eax, dword [ebp - 0x30e]
add eax, 2
mov word [ebp - 0x30c], ax
lea eax, [ebp - 0x308]
push eax
call fcn.00495345
movzx eax, word [ebp - 0x30e]
pop ecx
pop ecx
push esi
lea ecx, [ebp - 8]
push ecx
push esi
add eax, 0xc
push esi
mov dword [ebp - 0x314], eax
add eax, 8
push eax
lea eax, [ebp - 0x318]
push eax
push 0x900a4
push ebx
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
jne 0x43bf06
cmp dword [ebp - 4], esi
jne 0x43bf04
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43bf6f
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.DLL_OpenClipboard]
test eax, eax
je 0x43bfcc
push esi
push edi
call dword [sym.imp.USER32.DLL_EmptyClipboard]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea esi, [eax + eax + 2]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push esi
push dword [esp + 0x10]
push eax
call fcn.004128b6
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.DLL_SetClipboardData]
pop edi
pop esi
jmp dword [sym.imp.USER32.DLL_CloseClipboard]
ret