joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004c5470
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.chrome.dll
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46d6af
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x416]
push eax
mov word [ebp - 0x418], dx
call fcn.004c5470
add esp, 0xc
lea ecx, [ebp - 0x418]
lea esi, [ebp - 0x210]
call fcn.0046d520
lea ecx, [ebp - 0x418]
push ecx
call fcn.0046d270
mov ecx, dword [ebp - 4]
add esp, 4
test eax, eax
setge al
xor ecx, ebp
pop esi
call fcn.004c0985
mov esp, ebp
pop ebp
ret

Function at 0x46d710
Capabilities:
Check os version
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 4
push esi
lea eax, [ebp - 0x134]
push eax
push esi
push str.useie8
push str.Software360360se6Chrome
push SysReAllocStringLen
mov dword [ebp - 0x134], 0
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x13c]
push ecx
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 0x138]
push eax
push str.useie8
push str.Software360360se6Chrome
push SysReAllocStringLen
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x130], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x130], 1
jne 0x46d847
call fcn.0046a450
lea ecx, [ebp - 0x128]
push ecx
mov dword [ebp - 0x128], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 5
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jne 0x46d7d2
cmp dword [ebp - 0x120], 1
je 0x46d7e7
call esi
mov edx, 0x804
cmp dx, ax
jne 0x46d7e7
call fcn.0046d090
test eax, eax
je 0x46d847
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x12c], 0
call fcn.0046a6e0
add esp, 4
test eax, eax
je 0x46d80d
cmp dword [ebp - 0x12c], 8
ja 0x46d847
call fcn.0046cf70
test eax, eax
je 0x46d847
call fcn.0046ad60
test al, al
jne 0x46d847
call esi
mov ecx, 0x804
cmp cx, ax
jne 0x46d847
call fcn.0046d090
test eax, eax
jne 0x46d847
call fcn.0046d630
test al, al
je 0x46d847
call fcn.0046a7a0
call fcn.0046bc70
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x46d960
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ebx, 8
push edi
mov dword [ebp - 0x264], eax
cmp dword [esi + 0x18], ebx
jb 0x46d990
mov eax, dword [esi + 4]
jmp 0x46d993
lea eax, [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46db2a
mov ecx, esi
mov edi, 0x51bd00
lea esi, [ebp - 0x29c]
call fcn.0040e390
cmp dword [eax + 0x18], ebx
jb 0x46d9be
mov eax, dword [eax + 4]
jmp 0x46d9c1
add eax, 4
lea ecx, [ebp - 0x25c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x260], esi
cmp dword [ebp - 0x284], ebx
jb 0x46d9ee
mov edx, dword [ebp - 0x298]
push edx
call fcn.004c097a
add esp, 4
xor edi, edi
xor eax, eax
mov dword [ebp - 0x284], 7
mov dword [ebp - 0x288], edi
mov word [ebp - 0x298], ax
cmp esi, 0xffffffff
je 0x46db2a
mov ecx, 0x51bd0c
lea eax, [ebp - 0x230]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46da46
cmp dx, di
je 0x46da42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46da46
add eax, 4
add ecx, 4
cmp dx, di
jne 0x46da20
xor eax, eax
jmp 0x46da4b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x46db07
mov ecx, 0x51bd10
lea eax, [ebp - 0x230]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46da86
cmp dx, di
je 0x46da82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46da86
add eax, 4
add ecx, 4
cmp dx, di
jne 0x46da60
xor eax, eax
jmp 0x46da8b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x46db07
test dword [ebp - 0x25c], 0x10
jne 0x46db07
xor ecx, ecx
lea eax, [ebp - 0x230]
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], edi
mov word [ebp - 0x27c], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x46dac0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x230]
lea esi, [ebp - 0x280]
call fcn.004017f0
mov ebx, dword [ebp - 0x264]
mov edx, esi
push edx
call fcn.0040b000
cmp dword [ebp - 0x268], 8
jb 0x46db07
mov eax, dword [ebp - 0x27c]
push eax
call fcn.004c097a
add esp, 4
mov esi, dword [ebp - 0x260]
lea ecx, [ebp - 0x25c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46da12
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x46dc10
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x416]
push ecx
mov ebx, 1
mov word [ebp - 0x418], ax
call fcn.004c5470
add esp, 0xc
push 0x51c634
push esi
push str._s_s
lea edx, [ebp - 0x418]
push 0x103
push edx
call fcn.004c2807
add esp, 0x14
lea eax, [ebp - 0x668]
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x66c], eax
cmp eax, 0xffffffff
jne 0x46dc9d
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
mov ecx, 0x51bd0c
lea eax, [ebp - 0x63c]
jmp 0x46dcb0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46dcd6
test dx, dx
je 0x46dcd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46dcd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x46dcb0
xor eax, eax
jmp 0x46dcdb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46ddcf
mov ecx, 0x51bd10
lea eax, [ebp - 0x63c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46dd16
test dx, dx
je 0x46dd12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46dd16
add eax, 4
add ecx, 4
test dx, dx
jne 0x46dcf0
xor eax, eax
jmp 0x46dd1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46ddcf
test byte [ebp - 0x668], 0x10
push 0x206
push 0
je 0x46dd7e
lea eax, [ebp - 0x20e]
xor edx, edx
push eax
mov word [ebp - 0x210], dx
call fcn.004c5470
add esp, 0xc
lea ecx, [ebp - 0x63c]
push ecx
push esi
push str._s_s_
lea edx, [ebp - 0x210]
push 0x103
push edx
call fcn.004c2807
add esp, 0x14
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.0046dc10
add esp, 8
jmp 0x46ddcd
lea edx, [ebp - 0x20e]
xor ecx, ecx
push edx
mov word [ebp - 0x210], cx
call fcn.004c5470
add esp, 0xc
lea eax, [ebp - 0x63c]
push eax
push esi
push str._s_s
lea ecx, [ebp - 0x210]
push 0x103
push ecx
call fcn.004c2807
add esp, 0x14
test edi, edi
je 0x46ddc0
cmp edi, 1
jne 0x46ddcf
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
mov ecx, dword [ebp - 0x66c]
lea eax, [ebp - 0x668]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46dca0
mov edx, dword [ebp - 0x66c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x46de01
cmp edi, 2
jne 0x46de0a
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x46de80
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x46dfe4
test edi, edi
je 0x46dfe4
push ebx
lea ecx, [ebp - 8]
push ecx
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 8], ebx
jne 0x46deed
test eax, eax
jbe 0x46deed
push eax
call fcn.004bffc9
add esp, 4
push 0
mov ebx, eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x46df03
pop ebx
mov eax, 0x8007000e
pop edi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x3c]
add edi, ebx
cmp dword [edi], 0x4550
jne 0x46df7c
mov eax, dword [edi + 0x80]
push esi
mov esi, ebx
call fcn.0046de50
mov edi, dword [edi + 0x84]
mov ecx, eax
add edi, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edi
cmp ecx, edi
jae 0x46df7b
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x46df71
mov esi, ebx
call fcn.0046de50
mov esi, eax
xor edi, edi
mov ecx, dword [edi + 0x541e20]
push ecx
push esi
call fcn.004c4c55
add esp, 8
test eax, eax
jne 0x46df63
mov dl, byte [0x541e18]
add dl, 0x30
mov byte [esi], dl
add edi, 4
cmp edi, 0x48
jb 0x46df44
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
add ecx, 0x14
mov dword [ebp - 0xc], ecx
cmp ecx, edi
jb 0x46df32
pop esi
mov eax, dword [ebp + 8]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x46dfcd
test edi, edi
je 0x46dfcd
mov edx, dword [ebp - 4]
push 0
lea ecx, [ebp - 4]
push ecx
push edx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.004c2214
add esp, 4
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call fcn.004c2214
add esp, 4
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x46e2d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, str.ieproxy.dll
lea esi, [ebp - 0x20]
call fcn.0040e390
mov eax, dword [ebp - 0x1c]
mov edi, 8
cmp dword [ebp - 8], edi
jae 0x46e2ff
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46e360
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], edi
jae 0x46e315
lea eax, [ebp - 0x1c]
xor ecx, ecx
mov word [ebp - 0x38], cx
mov ecx, eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
lea esi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x46e330
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x3c]
call fcn.004017f0
mov eax, esi
call fcn.00449e90
cmp dword [ebp - 0x24], edi
jb 0x46e360
mov edx, dword [ebp - 0x38]
push edx
call fcn.004c097a
add esp, 4
cmp dword [ebp - 8], edi
pop edi
pop esi
jb 0x46e373
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004c097a
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x470040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x470047
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x470124
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518f90]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x518f90]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x518f90]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518f90]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518f90]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518f90]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518f90]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x518f90]
inc ecx
sub edx, 8
sub esi, 1
jne 0x470060
pop edi
test edx, edx
je 0x47014b
jmp 0x470130
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x518f90]
inc ecx
sub edx, 1
jne 0x470130
not eax
pop esi
ret

Function at 0x4709a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ebx
imul esi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x4709d6
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4709cc
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
div ebx
pop esi
pop ebp
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x4709e7
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.004c7510
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret

Function at 0x471630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi], 0
push edi
jne 0x47168d
cmp dword [esi + 4], 0xffffffff
jne 0x47168d
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x471655
mov eax, dword [0x51bcf8]
mov dword [edi], eax
lea edi, [ebp - 4]
call fcn.004707d0
test eax, eax
jne 0x47167c
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret
call fcn.00470bd0
mov dword [esi], eax
mov eax, dword [0x550ca0]
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x471b50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x471c3c
movzx eax, word [edi]
test ax, ax
je 0x471c3c
push esi
mov esi, edi
mov ecx, edi
movzx eax, ax
cmp ax, 0x2f
je 0x471b93
cmp ax, 0x5c
jne 0x471b95
mov esi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x471b87
cmp esi, edi
je 0x471bd1
sub esi, edi
sar esi, 1
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004c27bd
lea edx, [ebp - 0x20c]
push edx
xor ecx, ecx
push ebx
mov word [ebp + esi*2 - 0x20c], cx
call fcn.00471b50
add esp, 0x14
lea edx, [ebp - 0x414]
mov eax, ebx
sub edx, ebx
jmp 0x471be0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x471be0
mov eax, edi
mov edx, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x471bf3
lea edi, [ebp - 0x414]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x471c10
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [ebp - 0x414]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x472140
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa64
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push esi
push edi
cmp eax, 0x550258
je 0x4723ba
xor ecx, ecx
cmp cx, word [0x550258]
je 0x4723ba
xor edx, edx
cmp edx, 0x550460
je 0x4723ba
cmp ax, word [0x550460]
je 0x4723ba
call fcn.00471f60
mov edi, eax
mov dword [ebp - 0xa60], edi
test edi, edi
je 0x4723ba
xor ecx, ecx
push 0x40e
push ecx
lea edx, [ebp - 0x826]
push edx
mov word [ebp - 0x828], cx
call fcn.004c5470
add esp, 0xc
push 0x550460
push 0x51c250
lea eax, [ebp - 0x828]
push 0x207
push eax
call fcn.004c2807
lea eax, [ebp - 0x828]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4721e7
sub eax, edx
sar eax, 1
je 0x4723ba
lea eax, [ebp - 0x828]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472205
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x82a], 0x5c
je 0x472238
push 0x207
lea ecx, [ebp - 0x828]
push 0x51bcf8
push ecx
call fcn.004c508e
add esp, 0xc
lea ebx, [ebp - 0x828]
call fcn.004076d0
test eax, eax
je 0x4723ba
push edi
lea edx, [ebp - 0xa58]
or ecx, 0xffffffff
call fcn.00471fc0
mov eax, dword [ebp - 0xa58]
add esp, 4
xor esi, esi
mov dword [ebp - 0xa5c], eax
test eax, eax
jle 0x47239f
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea esp, [esp]
mov ebx, dword [ebp - 0xa60]
push ebx
lea edx, [ebp - 0xa58]
mov ecx, esi
call fcn.00471fc0
add esp, 4
test eax, eax
jne 0x47238c
xor edx, edx
push 0x40e
push edx
lea eax, [ebp - 0x416]
push eax
mov word [ebp - 0x418], dx
call fcn.004c5470
add esp, 0xc
lea ecx, [ebp - 0xa54]
push ecx
lea edx, [ebp - 0x828]
push edx
push str._s_s
lea eax, [ebp - 0x418]
push 0x207
push eax
call fcn.004c2807
add esp, 0x14
push 0x51bd10
lea ecx, [ebp - 0xa54]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x47238c
test byte [ebp - 0x84c], 0x10
je 0x472314
lea ebx, [ebp - 0x418]
call fcn.004076d0
jmp 0x47238c
lea edx, [ebp - 0x418]
push edx
call edi
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47234d
lea ecx, [ebp - 0x418]
push ecx
call edi
cmp eax, 0xffffffff
je 0x47234d
and eax, 0xfffffffe
push eax
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x418]
push ecx
mov edx, esi
mov eax, ebx
call fcn.004720b0
add esp, 4
lea edx, [ebp - 0x418]
push edx
call edi
cmp eax, 0xffffffff
je 0x47238c
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc esi
cmp esi, dword [ebp - 0xa5c]
jl 0x472280
mov edi, dword [ebp - 0xa60]
call fcn.004720f0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c0985
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004c0985
mov esp, ebp
pop ebp
ret
Function at 0x472ed0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0x911c80
push 0x472df0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x550cac], eax
test eax, eax
je 0x472efd
push 0xa4cb80
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x49a8a3
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
lea edi, [ebp - 8]
test edi, edi
je 0x49a8b5
lea eax, [edi + 4]
jmp 0x49a8b7
xor eax, eax
mov ecx, dword [eax]
push 0x9c4
push eax
call dword [ecx + 0x54]
cmp eax, 2
je 0x49a97b
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebx
push esi
push 1
push 0x480
push eax
call dword [ecx + 0x8c]
lea esi, [ebp - 4]
mov eax, dword [esi]
push esi
call dword [eax + 0xe8]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call ebx
shr eax, 0xf
test al, 1
je 0x49a957
mov eax, dword [esi]
push esi
call dword [eax + 0xe0]
test edi, edi
je 0x49a910
lea eax, [edi + 4]
jmp 0x49a912
xor eax, eax
mov ecx, dword [eax]
push 0x417
push eax
call dword [ecx + 0x68]
test al, al
je 0x49a957
push 1
call ebx
shr eax, 0xf
test al, 1
je 0x49a94e
test byte [ebp + 0x1a0], 2
jne 0x49a957
mov eax, dword [edi + 0x1a8]
and eax, 2
cmp al, 2
je 0x49a957
xor edx, edx
inc edx
mov ecx, edi
call fcn.004a2086
jmp 0x49a957
mov eax, dword [esi]
push esi
call dword [eax + 0xe4]
pop esi
pop ebx
test edi, edi
je 0x49a962
lea eax, [edi + 4]
jmp 0x49a964
xor eax, eax
mov ecx, dword [eax]
push 0x9c4
push eax
call dword [ecx + 0x54]
cmp eax, 1
jne 0x49a97b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
pop edi
pop ebp
ret 8

Function at 0x49b95f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
lea esi, [edi - 8]
test esi, esi
je 0x49b972
lea eax, [esi + 4]
jmp 0x49b974
xor eax, eax
mov ecx, dword [eax]
mov ebx, 0x9c4
push ebx
push eax
call dword [ecx + 0x54]
cmp eax, 2
je 0x49ba54
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0x4b9
push eax
call dword [ecx + 0x54]
cmp eax, 0x20
jne 0x49ba54
mov eax, dword [edi + 0x1a0]
test al, 1
je 0x49ba54
and eax, 0xfffffffe
push 1
mov dword [edi + 0x1a0], eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x49ba1f
test byte [edi + 0x1a0], 2
je 0x49b9ea
test esi, esi
je 0x49b9d9
lea eax, [esi + 4]
jmp 0x49b9db
xor eax, eax
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x54]
test eax, eax
jne 0x49b9ea
mov bl, 1
jmp 0x49b9ec
xor bl, bl
test esi, esi
je 0x49b9f5
lea eax, [esi + 4]
jmp 0x49b9f7
xor eax, eax
mov ecx, dword [eax]
push 0x417
push eax
call dword [ecx + 0x68]
test al, al
je 0x49ba12
lea eax, [edi - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xe4]
test bl, bl
je 0x49ba40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
jmp 0x49ba40
test esi, esi
je 0x49ba28
lea eax, [esi + 4]
jmp 0x49ba2a
xor eax, eax
mov ecx, dword [eax]
push 0x417
push eax
call dword [ecx + 0x68]
test al, al
je 0x49ba40
mov ebx, esi
call fcn.004a1f8c
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 1
push 0x480
push eax
call dword [ecx + 0x8c]
pop edi
pop esi
pop ebx
ret 8
Function at 0x4b71a4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x5402b0]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
mov dword [ebp - 0x80], 0x114
call fcn.004c5470
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4b71f2
cmp dword [ebp - 0x7c], 6
jb 0x4b71f2
xor eax, eax
inc eax
jmp 0x4b71f4
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004c0985
add ebp, 0x98
leave
ret

Function at 0x4b7650
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x5402b0]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.004bb260
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.004bb300
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.004c0985
add esp, 0x68
ret