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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov esi, ecx
jle 0x425dc7
nop word [eax + eax]
xor ecx, ecx
cmp dword [esi + 0x7e4], 0
mov dword [esp + 0xc], ecx
jle 0x425d0c
mov eax, dword [esi + 0x7e8]
mov eax, dword [eax]
mov edi, dword [eax + 0x10]
jmp 0x425d0e
xor edi, edi
push 0x7fffffff
push ecx
push str.dname__d
call fcn.0045cde0
mov ecx, dword [esi + 0x830]
add esp, 8
mov edx, edi
push eax
call fcn.0045c480
add esp, 8
mov ebx, eax
push dword [esi + 0x830]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x425dbd
test al, 0x10
je 0x425dbd
mov eax, dword [esi + 0x830]
xor edi, edi
push edi
add ebx, ebx
add eax, ebx
push str._fname__d
push eax
call fcn.0040e1d0
add esp, 0xc
push dword [esi + 0x830]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x425db3
test al, 0x10
jne 0x425db3
push dword [esi + 0x830]
mov ecx, esi
call fcn.00425900
test eax, eax
je 0x425db3
mov eax, dword [esi + 0x830]
inc edi
push edi
add eax, ebx
push str._fname__d
push eax
call fcn.0040e1d0
add esp, 0xc
push dword [esi + 0x830]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x425d75
mov ecx, dword [esp + 0xc]
inc ecx
jmp 0x425cf2
sub dword [ebp + 8], 1
jne 0x425cf0
push 0
push 0
push 0
push 0x11
mov ecx, esi
call fcn.00423340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x425e20
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ba78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4cf06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0xf2c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [esi + 0xef4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
lea ecx, [ebp - 0x18]
call fcn.00418a50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movlpd qword [ebp - 0x30], xmm0
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [esi + 0x8cc]
mov ecx, esi
push dword [esi + 0x844]
mov dword [ebp - 0x20], eax
call fcn.00426060
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 0xdac], 0
lea ecx, [esi + 0xcf0]
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [ecx + 8], 0
lea ecx, [esi + 0xcfc]
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [ecx + 8], 0
push ecx
lea ecx, [esi + 0xf28]
call fcn.00459280
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x14], 0
je 0x425f23
mov esi, dword [ebp - 0x18]
lea edi, [esi + 0xf2c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [esi + 0xef4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425f40
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, 1
push dword [esi + 0x834]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42603c
mov eax, dword [esi + 0x834]
xor edx, edx
mov ecx, dword [ebp + 8]
mov word [eax + ecx*2 - 2], dx
push dword [esi + 0x834]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42603c
cmp dword [esi + 0x684], 2
jne 0x425f99
xor eax, eax
pop edi
pop esi
pop ecx
pop ebp
ret 4
mov ecx, dword [ebp + 8]
add ecx, 0xfffffffe
cmp ecx, 9
jl 0x425fbf
mov eax, dword [esi + 0x834]
lea eax, [eax + ecx*2]
add eax, 0xfffffffe
cmp word [eax], 0x5c
je 0x425fbf
dec ecx
sub eax, 2
cmp ecx, 9
jge 0x425fb0
xor eax, eax
cmp ecx, 9
cmovge eax, ecx
test eax, eax
je 0x425fd7
push eax
mov ecx, esi
call fcn.00425f40
mov edi, eax
jmp 0x425fd9
xor edi, edi
cmp dword [esi + 0x864], 0
je 0x425ff8
push 0
push dword [esi + 0x834]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x425ff8
xor edi, edi
jmp 0x42603c
cmp dword [esi + 0x858], 0
jne 0x42600a
cmp dword [esi + 0x854], 0
je 0x42602e
mov eax, dword [esi + 0x834]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov ecx, dword [esi + 0x84c]
push 2
lea eax, [eax + ecx*2]
mov ecx, esi
push eax
call fcn.00416d90
mov eax, dword [esi + 0xb50]
add dword [eax + 0x20], 1
adc dword [eax + 0x24], 0
mov eax, dword [esi + 0x834]
mov edx, 0x5c
mov ecx, dword [ebp + 8]
mov word [eax + ecx*2 - 2], dx
mov eax, edi
pop edi
pop esi
pop ecx
pop ebp
ret 4

Function at 0x426430
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x426457
mov eax, dword [esi + 0x834]
mov edx, dword [esi + 0xdac]
add edx, 0xe8
lea ecx, [eax + ecx*2]
call fcn.0041ae30
cmp dword [esi + 0x864], 0
jne 0x42646a
mov eax, 1
pop esi
pop ebp
ret 8
mov eax, dword [esi + 0x834]
pop esi
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
Function at 0x426480
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bdcb
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4cf06c]
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
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x268]
mov edi, dword [ebp + 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.0045a480
mov esi, eax
add esp, 8
mov dword [ebp - 0x270], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x426543
cmp esi, 0xffffffff
je 0x426533
lea eax, [ebx + edi*2]
mov edi, eax
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x260]
sub edi, eax
lea eax, [ebp - 0x260]
nop word [eax + eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edi + eax - 2], cx
test cx, cx
jne 0x426500
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x268]
mov ecx, esi
call fcn.0045a500
test eax, eax
jne 0x4264f1
mov eax, dword [ebp - 0x26c]
xor ecx, ecx
mov word [eax], cx
test esi, esi
je 0x426543
cmp esi, 0xffffffff
je 0x426543
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
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.0047d39f
mov esp, ebp
pop ebp
ret 8
Function at 0x426cf0
Capabilities:
Set thread local storage value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4cf06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
mov dword [ebp - 0x120], eax
mov ecx, 1
mov eax, dword [ebp + 0xc]
push edi
mov edx, dword [ebx + 0x8c4]
xor edi, edi
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x110], ecx
mov byte [esi + 0x10], 0
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
test eax, eax
je 0x426e7c
mov ecx, eax
mov dword [ebp - 0x114], 0
mov eax, dword [ebx + 0x8c4]
lea edx, [esi + 0x1c]
sub ecx, edi
cmp ecx, eax
push edx
cmovae ecx, eax
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x124]
push ecx
add eax, edi
mov dword [ebp - 0x128], ecx
push eax
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x426e21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebx + 0x14]
mov dword [ebp - 0x118], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x118]
cmp eax, 0x5aa
jne 0x426dfc
mov ecx, dword [ebx + 0x8c4]
mov eax, ecx
cmp dword [ebp + 0x10], ecx
cmovb eax, dword [ebp + 0x10]
cmp eax, 0x100000
jbe 0x426e6b
lea eax, [ecx - 1]
mov dword [ebp - 0x11c], 1
and eax, 0xfff00000
mov dword [ebx + 0x8c4], eax
jmp 0x426e30
cmp eax, 0x3e5
jne 0x426e6b
cmp dword [ebp - 0x11c], 0
je 0x426e57
push 1
push esi
push dword [ebp - 0x120]
mov ecx, ebx
call fcn.00417a20
cmp eax, 1
jne 0x426e42
mov eax, dword [ebp - 0x114]
add edi, eax
add dword [esi + 0x24], eax
adc dword [esi + 0x28], 0
mov eax, dword [ebp + 0x10]
cmp edi, eax
jb 0x426d51
mov ecx, 1
jmp 0x426e76
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d39f
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 0x128]
mov ecx, 1
mov dword [esi + 8], eax
mov byte [esi + 0x10], 1
jmp 0x426e73
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10c]
cmp byte [esi + 0x10], 0
jne 0x426e96
cmp edi, eax
jne 0x426e8e
mov dword [esi + 0xc], edi
mov dword [esi + 8], eax
jmp 0x426e96
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov eax, dword [ebx + 0x8c4]
cmp eax, edx
je 0x426ed4
shr eax, 0x14
push eax
shr edx, 0x14
lea eax, [ebp - 0x108]
push edx
push 0x57
push str.Reduce_MaxIO__c__size___dMB_____dMB_
push eax
call fcn.0040e1d0
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, ebx
push 0xffffffffffffffff
push eax
call fcn.00419730
mov ecx, dword [ebp - 0x110]
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d39f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42a890
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword fs:[0x2c]
push esi
mov esi, ecx
mov edx, dword [eax]
mov eax, dword [0x4d5774]
cmp eax, dword [edx + 4]
jg 0x42a8c9
test esi, esi
pop esi
je 0x42a8bc
push 0xffffffffffffffff
push dword [0x4d5770]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
push dword [0x4d5770]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
ret
push 0x4d5774
call fcn.0047d957
add esp, 4
cmp dword [0x4d5774], 0xffffffff
jne 0x42a8a8
push str.FastCopyLm
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0x4d5774
mov dword [0x4d5770], eax
call fcn.0047d90d
add esp, 4
jmp 0x42a8a8
Function at 0x42b8f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4cf06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0x23
mov esi, ecx
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00481280
push 0x104
mov edx, str._icrosof
lea ecx, [ebp - 0x20c]
call fcn.0041ae80
mov eax, 0x74
mov edi, 0x4d
mov word [ebp - 0x1fc], ax
mov edx, esi
lea eax, [ebp - 0x20c]
mov word [ebp - 0x20c], di
push 0x7fffffff
push eax
mov ecx, esi
call fcn.0045c480
push 0x104
mov edx, str._rypt
lea ecx, [ebp - 0x20c]
call fcn.0041ae80
mov eax, 0x43
mov edx, esi
mov word [ebp - 0x20c], ax
mov ecx, esi
mov eax, 0x6f
mov word [ebp - 0x202], ax
lea eax, [ebp - 0x20c]
push 0x7fffffff
push eax
call fcn.0045c480
push 0x104
mov edx, 0x4b81a4
lea ecx, [ebp - 0x20c]
call fcn.0041ae80
mov eax, 0x52
mov edx, esi
mov word [ebp - 0x20c], ax
mov ecx, esi
mov eax, 0x41
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x20c]
push 0x7fffffff
push eax
call fcn.0045c480
push 0x104
mov edx, str._achine_ey
lea ecx, [ebp - 0x20c]
call fcn.0041ae80
mov eax, 0x4b
mov word [ebp - 0x20c], di
mov word [ebp - 0x1fe], ax
mov edx, esi
mov eax, 0x73
mov ecx, esi
mov word [ebp - 0x1f8], ax
lea eax, [ebp - 0x20c]
push 0x7fffffff
push eax
call fcn.0045c480
push 0x7fffffff
push 0x4b81c4
mov edx, esi
mov ecx, esi
call fcn.0045c480
mov ecx, dword [ebp - 4]
add esp, 0x44
xor ecx, ebp
pop edi
pop esi
call fcn.0047d39f
mov esp, ebp
pop ebp
ret
Function at 0x42bd50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x22c
mov eax, dword [0x4cf06c]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
push 0
push 0x23
mov esi, ecx
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x7fffffff
push 0x4b81cc
xor edx, edx
mov ecx, esi
call fcn.0045c480
xorps xmm0, xmm0
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x18], xmm0
call fcn.0045faf0
push 0x208
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00481280
add esp, 0x14
lea eax, [esp + 0x20]
mov edx, 0x10
lea ecx, [esp + 0x10]
push eax
call fcn.0045c5d0
add esp, 4
lea eax, [esp + 0x20]
xor edx, edx
mov ecx, esi
push 0x7fffffff
push eax
call fcn.0045c480
mov ecx, dword [esp + 0x234]
add esp, 8
pop esi
xor ecx, esp
call fcn.0047d39f
mov esp, ebp
pop ebp
ret

Function at 0x42be00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x228
mov eax, dword [0x4cf06c]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
push edi
push 0
push 0x23
mov esi, ecx
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x7fffffff
push str.FastCopyLabFastCopy_
xor edx, edx
mov ecx, esi
call fcn.0045c480
xorps xmm0, xmm0
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x18], xmm0
call fcn.0045faf0
push 0x208
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00481280
add esp, 0x14
lea eax, [esp + 0x20]
mov edx, 0x10
lea ecx, [esp + 0x10]
push eax
call fcn.0045c5d0
lea edi, [esp + 0x24]
add esp, 4
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x42be80
mov eax, dword [0x4b8224]
xor edx, edx
mov dword [edi], eax
mov ecx, esi
lea eax, [esp + 0x20]
push 0x7fffffff
push eax
call fcn.0045c480
mov ecx, dword [esp + 0x234]
add esp, 8
pop edi
pop esi
xor ecx, esp
call fcn.0047d39f
mov esp, ebp
pop ebp
ret

Function at 0x42c120
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4cf06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0x210]
push edi
mov edi, edx
call fcn.0042bd50
push 0
push 0
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x42c17d
cmp esi, 0xffffffff
je 0x42c17d
push 0
push edi
push dword [edi]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
jmp 0x42c17f
xor edi, edi
test esi, esi
je 0x42c18f
cmp esi, 0xffffffff
je 0x42c18f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d39f
mov esp, ebp
pop ebp
ret
Function at 0x42c1b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4cf06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0x210]
push edi
mov edi, edx
call fcn.0042be00
push 0
push 0
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x42c20d
cmp esi, 0xffffffff
je 0x42c20d
push 0
push edi
push dword [edi]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
jmp 0x42c20f
xor edi, edi
test esi, esi
je 0x42c21f
cmp esi, 0xffffffff
je 0x42c21f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d39f
mov esp, ebp
pop ebp
ret

Function at 0x42c290
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4cf06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x214], edx
lea ecx, [ebp - 0x210]
call fcn.0042be00
sub esp, 0x14
lea ecx, [ebp - 0x210]
call fcn.0045b0e0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x42c2fa
cmp esi, 0xffffffff
je 0x42c2fa
lea ecx, [ebp - 0x210]
call fcn.0042b760
push 0
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x214]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
jmp 0x42c2fc
xor edi, edi
test esi, esi
je 0x42c30c
cmp esi, 0xffffffff
je 0x42c30c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0047d39f
mov esp, ebp
pop ebp
ret

Function at 0x42c320
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4cf06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x214], edx
lea ecx, [ebp - 0x210]
call fcn.0042bd50
sub esp, 0x14
lea ecx, [ebp - 0x210]
call fcn.0045b0e0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x42c38a
cmp esi, 0xffffffff
je 0x42c38a
lea ecx, [ebp - 0x210]
call fcn.0042b760
push 0
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x214]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
jmp 0x42c38c
xor edi, edi
test esi, esi
je 0x42c39c
cmp esi, 0xffffffff
je 0x42c39c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0047d39f
mov esp, ebp
pop ebp
ret
Function at 0x42d070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x4cf06c]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
push 0x60
lea eax, [esp + 0x2c]
mov ebx, edx
mov esi, ecx
mov dword [esp + 0x10], ebx
xorps xmm0, xmm0
mov dword [esp + 0x14], esi
push 0
push eax
movups xmmword [esp + 0x24], xmm0
call fcn.00481280
add esp, 0xc
lea eax, [esp + 0x38]
mov ecx, 4
nop dword [eax + eax]
lea eax, [eax + 0x14]
xorps xmm0, xmm0
movups xmmword [eax - 0x14], xmm0
mov dword [eax - 4], 0
sub ecx, 1
jne 0x42d0c0
push 0x184
push ecx
lea eax, [esp + 0xa0]
mov dword [esp + 0x90], ecx
push eax
movlpd qword [esp + 0x9c], xmm0
call fcn.00481280
add esp, 0xc
lea ecx, [esp + 0x18]
xor edx, edx
push 0
call fcn.0042b3f0
movups xmm0, xmmword [esp + 0x3c]
lea edi, [ebx + 0x20]
mov edx, esi
add esp, 4
lea ecx, [esp + 0x28]
movups xmmword [edi], xmm0
mov esi, 0xc
movups xmm0, xmmword [esp + 0x48]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esp + 0x58]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [esp + 0x68]
movups xmmword [edi + 0x30], xmm0
movups xmm0, xmmword [esp + 0x78]
movups xmmword [edi + 0x40], xmm0
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x42d188
add ecx, 4
add edx, 4
sub esi, 4
jae 0x42d146
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebp + 8]
jl 0x42d224
jne 0x42d171
cmp dword [esp + 0x20], 0
jne 0x42d224
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0047d39f
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffe0
xor ebx, ebx
sub eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
nop word [eax + eax]
mov eax, dword [esp + 0x10]
mov edx, edi
mov esi, 0xc
nop dword [eax + eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x42d1f6
add edx, 4
add eax, 4
sub esi, 4
jae 0x42d1b0
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x10]
jle 0x42d171
mov eax, 0x3c
sub eax, dword [esp + 0x14]
sub eax, edi
push eax
lea eax, [edi + 0x14]
push eax
push edi
call fcn.00480d00
mov esi, dword [esp + 0x18]
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [esi + 0x5c], xmm0
mov dword [esi + 0x6c], 0
jmp 0x42d1fa
mov esi, dword [esp + 0xc]
inc ebx
add edi, 0x14
cmp ebx, 4
jl 0x42d1a0
push 0x3c
lea edi, [esi + 0x20]
lea eax, [esi + 0x34]
push edi
push eax
call fcn.00480d00
movups xmm0, xmmword [esp + 0x34]
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esi + 0x30], eax
movups xmmword [edi], xmm0
mov ecx, dword [esp + 0x224]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047d39f
mov esp, ebp
pop ebp
ret
Function at 0x42e920
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ecx
mov esi, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 8], edi
cmp edi, 0xffffffff
jne 0x42e952
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x14]
call fcn.00418a50
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x42e9b9
add eax, 2
mov ecx, esi
push eax
call fcn.0040e260
test eax, eax
je 0x42e9b9
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42e9d4
push dword [esi]
call fcn.00486e21
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
xor esi, esi
cmp byte [ebp - 0x10], 0
je 0x42e9cc
mov ecx, dword [ebp - 0x14]
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
cmp ecx, dword [esi + 4]
jbe 0x42e9dd
int3
mov eax, dword [esi]
xor edx, edx
mov dword [esi + 8], ecx
mov word [eax + ecx], dx
lea esi, [edx + 1]
jmp 0x42e9bb

Function at 0x42fb90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 8]
cmp eax, 0xfffffffc
je 0x42fba9
cmp eax, 0xfffffffe
je 0x42fba9
xor eax, eax
pop ebp
ret 8
push 5
push 0
push 0
lea eax, [ecx + 0x7c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
pop ebp
ret 8
Function at 0x4324c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c858
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4cf06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00433240
cmp eax, 6
mov eax, dword [ebp + 8]
jne 0x432502
mov edx, dword [ebx + 0x1a9c]
lea eax, [edx + eax*4]
jmp 0x43250b
mov ecx, dword [ebx + 0x1a94]
lea eax, [ecx + eax*4]
mov dword [ebp + 8], eax
mov eax, dword [eax]
test eax, eax
je 0x432639
cmp word [eax], 0
je 0x432639
push 0
lea ecx, [ebp - 0x38]
call fcn.00455d90
push 0x11
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edi, 0x4c2758
test al, 1
je 0x4325ad
mov eax, dword [ebx + 0x3984]
lea ecx, [ebx + 0x3984]
call dword [eax + 0x180]
lea ecx, [ebp - 0x18]
lea esi, [eax + 1]
push esi
call fcn.00411c60
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x3984]
mov edx, dword [ebx + 0x3984]
push esi
mov esi, dword [ebp - 0x18]
push esi
mov dword [ebp - 0x14], 0xffffffff
call dword [edx + 0x170]
test esi, esi
lea ecx, [ebp - 0x38]
mov eax, edi
cmovne eax, esi
push 0x4b882c
push eax
call fcn.00455ef0
mov byte [ebp - 4], 0
test esi, esi
je 0x4325ad
push esi
call fcn.0047d4ed
add esp, 4
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
push 0x4b8828
push dword [eax]
call fcn.00455ef0
cmp dword [ebp - 0x24], 0
jle 0x432631
push 1
push 0x4b883c
push 0x4b8834
lea ecx, [ebp - 0x38]
call fcn.004560c0
mov esi, eax
lea ecx, [ebp - 0x18]
push esi
call fcn.00411c60
push 1
push 0x4b8848
push 0x4b8840
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
push esi
mov esi, dword [ebp - 0x18]
push esi
mov dword [ebp - 0x14], 0xffffffff
call fcn.00455f60
test eax, eax
je 0x432624
mov eax, dword [ebx + 0x3984]
lea ecx, [ebx + 0x3984]
test esi, esi
cmovne edi, esi
push edi
call dword [eax + 0x178]
test esi, esi
je 0x432631
push esi
call fcn.0047d4ed
add esp, 4
lea ecx, [ebp - 0x38]
call fcn.00455e20
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