joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413916
Capabilities:
Check if file exists
Unmount volume via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp ebx, edi
je 0x413a16
cmp dword [ebp + 8], 0xffffffff
jne 0x413a16
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push ebx
call esi
cmp eax, 2
jne 0x413950
xor eax, eax
cmp word [ebx + 2], 0x3a
sete al
jmp 0x413971
push ebx
call esi
cmp eax, 3
jne 0x41396f
lea eax, [ebx + 2]
push 0x4bf938
push eax
call fcn.004aa43d
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x413971
xor eax, eax
cmp eax, edi
je 0x4139cb
mov ax, word [ebx]
mov esi, 0x4bf928
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
mov ebx, 0x20000000
push ebx
push 3
push 0
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.DLL_CreateFileW]
push 3
mov word [ebp - 0x10], ax
push 0xc0000000
lea eax, [ebp - 0x18]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x413a56
push 0
push ebx
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x18]
push eax
call edi
xor edi, edi
jmp 0x413a39
push 0xc0000000
push ebx
call dword [fcn.004d8074]
mov esi, eax
cmp esi, 0xffffffff
jne 0x413a58
push 0x80000000
push ebx
call dword [fcn.004d8074]
mov esi, eax
cmp esi, 0xffffffff
jne 0x413a58
call dword [sym.imp.KERNEL32.DLL_GetLastError]
dec eax
je 0x413a0e
sub eax, 0x56
je 0x413a0e
sub eax, 0x3a
je 0x413a0e
sub eax, 0x7a
je 0x413a0e
sub eax, 0x101b
push 9
pop eax
jmp 0x413ae6
push 0xc0000000
push dword [ebp + 8]
call dword [0x4d8070]
mov esi, eax
cmp esi, 0xffffffff
jne 0x413a58
push 0x80000000
push dword [ebp + 8]
call dword [0x4d8070]
mov esi, eax
cmp esi, 0xffffffff
jne 0x413a58
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
inc ecx
mov eax, ecx
jmp 0x413ae6
xor edi, edi
push esi
call fcn.00413352
test eax, eax
pop ecx
jne 0x413a71
push 5
pop edi
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
jmp 0x413ae6
test byte [ebp + 0x10], 3
mov ebx, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
je 0x413ab2
push esi
call dword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push edi
push edi
push edi
push 0x90018
push esi
call ebx
test eax, eax
jne 0x413a9d
push 2
jmp 0x413a65
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push edi
push edi
push edi
push 0x90020
push esi
call ebx
test eax, eax
je 0x413a99
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push 8
lea eax, [ebp - 8]
push eax
push 8
push eax
push 0x83722014
push esi
call ebx
cmp dword [ebp - 8], edi
je 0x413add
push 3
jmp 0x413a65
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413aeb
Capabilities:
Check if file exists
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
xor eax, eax
cmp esi, ebx
mov dword [ebp - 0x34], ebx
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jne 0x413b4f
push 0xc0000000
push dword [ebp + 8]
call dword [0x4d8070]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413c2e
push 0x80000000
push dword [ebp + 8]
call dword [0x4d8070]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413c2e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor ecx, ecx
cmp eax, 2
setne cl
inc ecx
mov eax, ecx
jmp 0x413cce
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push esi
call edi
cmp eax, 2
jne 0x413b69
xor eax, eax
cmp word [esi + 2], 0x3a
sete al
jmp 0x413b8a
push esi
call edi
cmp eax, 3
jne 0x413b88
lea eax, [esi + 2]
push 0x4bf938
push eax
call fcn.004aa43d
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x413b8a
xor eax, eax
cmp eax, ebx
je 0x413be3
mov eax, dword [ebp + 0xc]
mov ax, word [eax]
mov esi, 0x4bf928
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
push 0x20000000
movsd dword es:[edi], dword [esi]
push 3
push ebx
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.DLL_CreateFileW]
push 3
mov word [ebp - 0x1c], ax
push 0xc0000000
lea eax, [ebp - 0x24]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x413c2e
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0x80000000
lea eax, [ebp - 0x24]
push eax
call esi
jmp 0x413b2e
push 0xc0000000
push esi
call dword [fcn.004d8074]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413c2e
push 0x80000000
push esi
call dword [fcn.004d8074]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413c2e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
dec eax
je 0x413c26
sub eax, 0x56
je 0x413c26
sub eax, 0x3a
je 0x413c26
sub eax, 0x7a
je 0x413c26
sub eax, 0x101b
push 9
pop eax
jmp 0x413cce
mov eax, dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x10
lea eax, [ebp - 0x34]
push eax
push 0x7c0d0
push edi
mov dword [ebp - 0x34], 1
call esi
test eax, eax
jne 0x413c65
push 3
pop ebx
jmp 0x413cc5
push ebx
lea eax, [ebp - 4]
push eax
push 8
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push 0x7405c
push edi
call esi
test eax, eax
je 0x413c97
push ebx
lea eax, [ebp - 4]
push eax
push 0x18
lea eax, [ebp - 0x4c]
push eax
push ebx
push ebx
push 0x70000
push edi
call esi
test eax, eax
jne 0x413c9b
push 2
jmp 0x413c62
push ebx
push dword [ebp - 0x38]
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.004aa080
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 8
lea eax, [ebp - 0x14]
push eax
push 0x900f0
push edi
mov dword [ebp - 0x10], edx
call esi
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414424
Capabilities:
Acquire debug privileges

Disassembly:
xor eax, eax
cmp byte [esp + 4], al
push esi
mov esi, ecx
mov byte [esi], al
je 0x414454
test byte [0x4d8d7c], 4
jne 0x414454
push eax
push 2
mov byte [esi], 1
or byte [0x4d8d7c], 4
push 0x4bca20
call fcn.00412ebf
add esp, 0xc
mov eax, esi
pop esi
ret 4

Function at 0x41445a
Capabilities:
Acquire debug privileges

Disassembly:
cmp byte [ecx], 0
je 0x414477
and byte [0x4d8d7c], 0xfb
push 0
push 4
push 0x4bca20
call fcn.00412ebf
add esp, 0xc
ret

Function at 0x4146c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, 0x4d8d24
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.00403eaa
mov edi, dword [sym.imp.SHLWAPI.DLL_StrChrW]
pop ecx
push 0x5c
push dword [ebp + 8]
mov byte [ebp - 4], al
jmp 0x414718
push dword [ebp + 8]
and word [esi], 0
call fcn.004a9676
test eax, eax
pop ecx
jne 0x41470d
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
mov word [esi], 0x5c
push 0x5c
add esi, 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x4146f2
cmp byte [ebp - 4], al
je 0x41472e
push dword [ebp - 8]
call fcn.00403ebb
pop ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

Function at 0x414899
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
movzx ecx, word [eax + 6]
mov eax, dword [eax + 0x54]
push edi
mov edi, dword [ebp + 8]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*8]
push eax
push dword [ebp + 0xc]
push edi
call fcn.00413d9a
mov eax, dword [esi + 0x14]
xor ebx, ebx
add esp, 0xc
cmp word [eax + 6], bx
mov dword [ebp - 4], ebx
jbe 0x41493c
mov eax, dword [esi + 0x18]
add eax, ebx
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41492a
mov edx, dword [eax + 0x10]
test edx, edx
je 0x41492a
mov eax, dword [eax + 0x14]
add eax, dword [ebp + 0xc]
push edx
add edi, ecx
push eax
push edi
call fcn.00413d9a
mov eax, dword [esi + 0x18]
add esp, 0xc
add eax, ebx
push 0x4bfa4c
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
jne 0x414927
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x18]
sub edi, eax
lea ecx, [ecx + ebx + 0xc]
lea edx, [edi + eax]
add dword [ecx], edx
mov ecx, dword [esi + 0x18]
lea ecx, [ecx + ebx + 0x14]
add edi, eax
add dword [ecx], edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
movzx eax, word [eax + 6]
inc dword [ebp - 4]
add ebx, 0x28
cmp dword [ebp - 4], eax
jl 0x4148d0
mov dword [esi + 0x10], edi
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [esi + 0x14], eax
add eax, 0xf8
pop edi
mov dword [esi + 0x18], eax
pop esi
pop ebx
leave
ret 8
Function at 0x414c06
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push pe_nt_image_headers32
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004aa020
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - pe_nt_image_headers32], 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatusEx]
cmp dword [ebp + 8], 0
je 0x414c3b
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
leave
ret
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
leave
ret

Function at 0x414db6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x18]
test esi, esi
push edi
mov dword [ebp - 0xc], 0x20
je 0x414dd2
mov dword [ebp - 8], esi
jmp 0x414dda
lea eax, [ebp - 0xc]
mov dword [ebp - 8], eax
mov esi, eax
push dword [ebp + 0x10]
mov ax, word [esi + 2]
push dword [ebp + 0xc]
mov word [ebp - 4], ax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x414e05
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
jmp 0x414e07
xor edi, edi
test ebx, ebx
je 0x414e17
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
jmp 0x414e19
xor eax, eax
xor cl, cl
test byte [esi], 1
mov byte [ebp + 0x1b], cl
je 0x414e35
test eax, eax
je 0x414f16
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov cl, byte [ebp + 0x1b]
mov ebx, eax
test ebx, ebx
je 0x414f16
test edi, edi
jle 0x414f16
test byte [esi], 0x40
jne 0x414ea5
push 0
push edi
push ebx
call fcn.00440e83
add esp, 0xc
test al, al
mov byte [ebp + 0x1b], al
je 0x414ea5
test byte [esi], 0x20
je 0x414e6f
test al, 2
je 0x414e6f
xor eax, eax
jmp 0x414f1f
push 0
lea ecx, [ebp - 0x18]
call fcn.0044cd38
movzx eax, word [ebp - 4]
mov esi, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x18]
push esi
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.004480b2
and dword [ebp - 0x18], 0
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.0043db4f
jmp 0x414ee2
mov esi, dword [ebp + 0x14]
lea eax, [edi + 0x410]
push eax
mov ecx, esi
call fcn.0040f2d9
push edi
push ebx
push dword [esi]
mov dword [esi + 8], edi
mov dword [esi + 4], edi
call fcn.00413de4
add esp, 0xc
cmp word [ebp - 4], 0
je 0x414ee2
movzx eax, word [ebp - 4]
inc edi
shr edi, 1
push edi
push eax
push dword [esi]
call fcn.004124e8
add esp, 0xc
mov eax, dword [esi + 4]
mov edi, dword [esi]
lea ecx, [eax + 0x10]
push 0x10
add eax, edi
push 0
push eax
mov dword [esi + 8], ecx
call fcn.004aa020
movzx eax, word [ebp - 4]
push 0xc
push eax
mov eax, dword [esi + 4]
add eax, edi
push eax
call fcn.004aa020
mov esi, dword [ebp - 8]
mov cl, byte [ebp + 0x1b]
add esp, 0x18
jmp 0x414f18
xor edi, edi
and ecx, 2
or dword [esi], ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414f24
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push dword [ebp + 8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.0040569f
cmp dword [ebp - 8], ebx
jne 0x414f55
push 0xfffffffffffffffe
pop esi
jmp 0x415015
push edi
push dword [ebp - 8]
call fcn.00497b6d
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov esi, eax
mov dword [ebp - 0x10], esi
call fcn.0043edf6
add esp, 0x14
add esi, 0xc
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00443e29
mov edi, dword [esi]
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0xc]
push 6
add eax, edi
push ebx
push eax
call fcn.004aa020
mov eax, dword [ebp - 0xc]
push dword [ebp + 0x10]
mov dword [esi + 8], eax
push eax
push edi
mov dword [esi + 4], eax
call fcn.00440e83
add esp, 0x18
cmp al, 1
mov byte [ebp - 1], al
pop edi
jne 0x414ffe
push dword [0x4d8094]
lea ecx, [ebp - 0x1c]
push esi
call fcn.0040f30c
mov eax, dword [ebp - 0xc]
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004480b2
mov eax, dword [esi + 4]
add esp, 0xc
add eax, 0xc
push eax
mov ecx, esi
call fcn.00443e29
lea ecx, [ebp - 0x1c]
call fcn.0043db4f
push 1
push esi
call fcn.00499e81
cmp byte [ebp - 1], bl
pop ecx
pop ecx
jge 0x415012
or esi, 0xffffffff
jmp 0x415015
mov esi, dword [esi + 4]
lea ecx, [ebp - 8]
call fcn.00402cb5
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41677e
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov esi, 0x4d8d24
push esi
mov ebp, ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
add dword [0x4d849c], 1
push esi
call ebx
push 0x4d7c20
mov eax, 0x10000
push eax
push ebp
push 0x41671b
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
je 0x4167c9
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x4167d6
push esi
call edi
sub dword [0x4d849c], 1
push esi
call ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x416ecb
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
and dword [ebp + 0xc], 0xfffffffe
and edi, 1
cmp word [ebx], 0
mov dword [ebp - 0x14], edi
je 0x4170a2
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
jmp 0x416f00
mov edi, dword [ebp - 0x14]
push ebx
mov dword [ebp - 0x10], ebx
call esi
add eax, edi
mov edi, dword [ebp - 0x10]
push edi
lea ebx, [ebx + eax*2]
call esi
and dword [ebp - 8], 0
lea eax, [edi + eax*2 - 2]
cmp word [eax], 0x5c
jne 0x416f2c
and word [eax], 0
mov dword [ebp - 8], 2
jmp 0x416f3e
push edi
call fcn.004a9676
test eax, eax
pop ecx
je 0x416f3e
mov dword [ebp - 8], 1
push edi
lea ecx, [ebp + 8]
call fcn.0044cd74
cmp dword [ebp - 8], 0
je 0x416f5a
push 0x4c00e4
lea ecx, [ebp + 8]
call fcn.00443fc7
and dword [ebp - 0xc], 0
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.004a976e
push dword [ebp + 8]
call fcn.0040fbcd
add esp, 0x10
push dword [ebp + 8]
call esi
inc eax
lea edi, [eax + eax]
mov eax, dword [ebp + 8]
mov word [edi + eax - 2], 0x5c
mov eax, dword [ebp + 8]
and word [edi + eax], 0
cmp dword [ebp - 0xc], 0
je 0x417045
mov eax, dword [ebp + 8]
and word [edi + eax], 0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp + 8]
call fcn.00443fc7
test byte [ebp - 0x264], 0x10
jne 0x416ff0
cmp dword [ebp + 0xc], 0
push dword [ebp + 8]
je 0x416fe4
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x41702c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x416fdf
inc eax
mov dword [ebp - 4], eax
jmp 0x41702c
call fcn.00411675
test eax, eax
pop ecx
je 0x41702c
jmp 0x416fdf
cmp word [ebp - 0x238], 0x2e
jne 0x417018
cmp word [ebp - 0x236], 0
je 0x41702c
cmp word [ebp - 0x236], 0x2e
jne 0x417018
cmp word [ebp - 0x234], 0
je 0x41702c
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00416ecb
test eax, eax
pop ecx
pop ecx
jne 0x41702c
and dword [ebp - 4], eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0xc]
call fcn.00405715
test eax, eax
jne 0x416fa1
jmp 0x417053
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x417050
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
call fcn.00402cea
xor edi, edi
cmp dword [ebp - 8], edi
je 0x417090
cmp dword [ebp + 0xc], edi
push dword [ebp - 0x10]
je 0x417083
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
jne 0x417090
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, edi
jne 0x41708d
xor eax, eax
inc eax
jmp 0x41708d
call fcn.00411675
cmp eax, edi
pop ecx
je 0x417090
mov dword [ebp - 4], eax
lea ecx, [ebp + 8]
call fcn.0043db4f
cmp word [ebx], di
jne 0x416efd
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x418480
Capabilities:
Check mutex on windows

Disassembly:
test byte [0x4d7c0a], 1
je 0x418498
push 0x4be9a4
call fcn.00411dd1
test eax, eax
pop ecx
jne 0x41849b
xor eax, eax
ret
push edi
push 0x4c0278
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov edi, eax
test edi, edi
je 0x4184d6
push esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
sub esi, 0xb7
neg esi
sbb esi, esi
push edi
inc esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
pop esi
jne 0x4184d6
xor eax, eax
inc eax
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x418fea
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0x2d
jne 0x419017
inc edi
inc edi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
mov dword [ebp + 8], edi
call fcn.0040f369
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov esi, eax
add esi, 0x84
lea eax, [esi + 0x325]
push eax
lea ecx, [ebp - 0x10]
call fcn.00443f79
cmp word [edi], 0x5c
mov ebx, dword [ebp - 0x10]
push 2
pop eax
mov dword [ebp - 8], ebx
lea ebx, [ebx + esi*2]
mov dword [ebp - 0xc], eax
jne 0x4190e7
and dword [ebp + 8], 0
push 0x2c
add edi, eax
push 0
push edi
call dword [sym.imp.SHLWAPI.DLL_StrRChrW]
mov esi, eax
test esi, esi
je 0x41907a
and word [esi], 0
inc esi
inc esi
push esi
call dword [sym.imp.USER32.DLL_CharUpperW]
movzx esi, word [esi]
test si, si
jne 0x41907d
mov esi, dword [ebp + 8]
push edi
call fcn.00412ae5
pop ecx
push ebx
push 0x324
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
jmp 0x4190df
cmp word [ebx], si
jb 0x4190d4
push dword [ebp + 8]
mov edi, dword [ebp - 8]
push ebx
push 0x4c0350
push edi
call dword [sym.imp.USER32.DLL_wsprintfW]
push edi
call fcn.004a9676
add esp, 0x14
test eax, eax
je 0x4190d4
push 0x4c00e4
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push dword [ebp - 4]
push edi
call fcn.00418f25
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], 0
jne 0x419095
jmp 0x419152
push edi
call fcn.00412ae5
and dword [ebp + 8], 0
mov esi, eax
push esi
call fcn.004a9676
test eax, eax
pop ecx
pop ecx
je 0x419118
push esi
lea ecx, [ebp + 8]
call fcn.0044ce38
push 0x4c00e4
lea ecx, [ebp + 8]
call fcn.00443fc7
mov esi, dword [ebp + 8]
push esi
push 0x4c0348
push dword [ebp - 8]
call dword [sym.imp.USER32.DLL_wsprintfW]
push esi
call fcn.0040fbcd
push esi
call fcn.004a9676
add esp, 0x14
test eax, eax
je 0x41914a
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00418f25
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
lea ecx, [ebp + 8]
call fcn.0043db4f
lea ecx, [ebp - 0x10]
call fcn.0043db4f
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41b9d9
Capabilities:
Check for time delay via gettickcount
Log keystrokes via application hook

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, 0x4d8d24
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
xor ebx, ebx
test byte [esp + 0x32], 1
jne 0x41ba02
cmp dword [0x4d8044], ebx
jne 0x41ba02
mov dword [0x4d8040], ebx
movzx eax, byte [esp + 0x30]
add dword [0x4d8044], 1
cmp dword [0x4d803c], ebx
mov dword [esp + 0x30], eax
jne 0x41ba47
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
push 0x41b8da
push 0xd
call dword [sym.imp.USER32.DLL_SetWindowsHookExW]
cmp eax, ebx
mov dword [0x4d803c], eax
jne 0x41ba47
sub dword [0x4d8044], 1
xor esi, esi
jmp 0x41bb38
push ebp
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ebp, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebp
mov esi, dword [esp + 0x30]
mov edi, eax
add edi, esi
cmp esi, 0x4e20
jb 0x41ba6f
push 1
call fcn.0043f8c7
pop ecx
cmp dword [esp + 0x34], 2
jne 0x41bb05
cmp esi, ebx
jne 0x41bb05
push 0xa
pop esi
jmp 0x41bb05
cmp dword [esp + 0x34], 2
je 0x41ba98
call ebp
mov esi, edi
sub esi, eax
cmp esi, ebx
jle 0x41bb11
cmp byte [0x4d62ec], bl
jle 0x41bb11
push 0xa
pop eax
cmp esi, eax
ja 0x41baa9
mov eax, esi
push 0x4ff
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.DLL_MsgWaitForMultipleObjects]
jmp 0x41bafd
cmp dword [0x4d8040], ebx
jne 0x41bb11
cmp dword [esp + 0x34], 2
je 0x41bad3
call ebp
mov esi, edi
sub esi, eax
cmp esi, ebx
jle 0x41bb05
push 1
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.DLL_PeekMessageW]
test eax, eax
je 0x41bb05
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.DLL_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.DLL_DispatchMessageW]
cmp byte [0x4d62ec], bl
jg 0x41baba
cmp dword [0x4d8040], ebx
je 0x41ba87
push 0x4d8d24
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [0x4d8040]
sub dword [0x4d8044], 1
pop ebp
jne 0x41bb31
mov dword [0x4d8040], ebx
mov esi, eax
mov edi, 0x4d8d24
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret