joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f6ec
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x15]
test eax, eax
je 0x42f7ca
mov edx, dword [ebx + 0x19]
add edx, esi
mov eax, dword [ebx + 0x1d]
cmp edx, eax
jb 0x42f7ad
add eax, eax
cmp edx, eax
jae 0x42f723
mov edx, dword [ebx + 0x1d]
add edx, edx
jmp 0x42f728
mov edx, dword [ebx + 0x19]
add edx, esi
mov dword [ebp - 4], edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.KERNEL32.dll_CreateFileMappingA
mov edi, eax
test edi, edi
jne 0x42f74e
mov eax, 0x300
jmp 0x42f7f6
mov edx, dword [ebp - 4]
push edx
push 0
push 0
push 0xf001f
push edi
call sub.KERNEL32.dll_MapViewOfFile
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x42f778
push edi
call sub.KERNEL32.dll_CloseHandle
mov eax, 0x300
jmp 0x42f7f6
mov edx, dword [ebx + 0x1d]
push edx
mov ecx, dword [ebx + 0x15]
push ecx
mov eax, dword [ebp - 8]
push eax
call fcn.004cd1f4
add esp, 0xc
mov edx, dword [ebx + 0x15]
push edx
call sub.KERNEL32.dll_UnmapViewOfFile
mov ecx, dword [ebx + 4]
push ecx
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 4]
mov dword [ebx + 0x1d], eax
mov edx, dword [ebp - 8]
mov dword [ebx + 0x15], edx
mov dword [ebx + 4], edi
push esi
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebx + 0x15]
mov edx, dword [ebx + 0x19]
add eax, edx
push eax
call fcn.004cd1f4
add esp, 0xc
add dword [ebx + 0x19], esi
mov eax, esi
jmp 0x42f7f6
mov edx, dword [ebx]
test edx, edx
je 0x42f7ed
xor ecx, ecx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ecx
push 0
push eax
push esi
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebx]
push ecx
call sub.KERNEL32.dll_WriteFile
mov eax, dword [ebp - 0xc]
jmp 0x42f7f6
mov dword [ebx + 0xc], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fbf8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x42fc5c
mov ecx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x54]
cmp ecx, eax
ja 0x42fc20
xor eax, eax
jmp 0x42fca8
mov esi, ecx
sub esi, eax
cmp edx, esi
jae 0x42fc2a
mov esi, edx
push esi
mov edx, dword [ebx + 0x4c]
add edx, eax
push edx
push edi
call fcn.004cd1f4
add esp, 0xc
add dword [ebx + 0x54], esi
mov eax, dword [ebx + 0x3f]
add eax, esi
mov dword [ebx + 0x3f], eax
push esi
push edi
mov ecx, dword [ebx + 0x43]
push ecx
call fcn.0042eef4
add esp, 0xc
mov dword [ebx + 0x43], eax
mov eax, esi
jmp 0x42fca8
mov eax, dword [ebx + 0x47]
test eax, eax
je 0x42fc9f
push 0
lea ecx, [ebp - 4]
push ecx
push edx
push edi
push eax
call sub.KERNEL32.dll_ReadFile
test eax, eax
jne 0x42fc79
xor eax, eax
jmp 0x42fca8
mov edx, dword [ebx + 0x3f]
mov ecx, dword [ebp - 4]
add edx, ecx
mov dword [ebx + 0x3f], edx
mov eax, dword [ebp - 4]
push eax
push edi
mov edx, dword [ebx + 0x43]
push edx
call fcn.0042eef4
add esp, 0xc
mov dword [ebx + 0x43], eax
mov eax, dword [ebp - 4]
jmp 0x42fca8
mov dword [ebx + 0xc], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x432f88
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test edx, edx
jne 0x432f9e
xor eax, eax
pop ebx
pop ebp
ret
xor eax, 0xffffffff
cmp ecx, 8
jb 0x43308e
xor ebx, ebx
sub ecx, 8
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ebx*4 + 0x5099e0]
xor ebx, eax
mov eax, ebx
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ebx*4 + 0x5099e0]
xor ebx, eax
mov eax, ebx
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ebx*4 + 0x5099e0]
xor ebx, eax
mov eax, ebx
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ebx*4 + 0x5099e0]
xor ebx, eax
mov eax, ebx
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ebx*4 + 0x5099e0]
xor ebx, eax
mov eax, ebx
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ebx*4 + 0x5099e0]
xor ebx, eax
mov eax, ebx
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ebx*4 + 0x5099e0]
xor ebx, eax
mov eax, ebx
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ebx*4 + 0x5099e0]
xor ebx, eax
cmp ecx, 8
mov eax, ebx
jae 0x432faa
test ecx, ecx
je 0x4330b0
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ebx*4 + 0x5099e0]
xor ebx, eax
dec ecx
mov eax, ebx
jne 0x433092
xor eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x433a2c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, edi
imul esi, dword [ebp + 0x10]
mov al, byte [ebx]
test al, al
je 0x433a6a
push 0
lea ecx, [ebp - 4]
push ecx
push esi
push edx
mov edx, dword [ebx + 2]
push edx
call sub.KERNEL32.dll_ReadFile
test eax, eax
jne 0x433a61
mov byte [ebx + 6], 1
mov eax, dword [ebp - 4]
xor edx, edx
div edi
jmp 0x433a96
mov eax, dword [ebx + 0x13]
mov ecx, eax
add ecx, esi
cmp ecx, dword [ebx + 0xf]
jbe 0x433a7b
mov esi, dword [ebx + 0xf]
sub esi, eax
push esi
mov ecx, dword [ebx + 0xb]
add ecx, eax
push ecx
push edx
call fcn.004cd1f4
add esp, 0xc
mov ecx, esi
add dword [ebx + 0x13], ecx
mov eax, ecx
xor edx, edx
div edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x434c74
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x434c8d
mov edx, dword [ebx + 4]
inc edx
je 0x434c94
mov eax, 0x1000000
jmp 0x434cfb
lea edi, [ebx + 0x138]
push edi
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
push 0x5cf5bc
push edi
call fcn.004cd308
add esp, 8
cmp esi, 1
jne 0x434ccd
mov eax, dword [ebp + 0xc]
push eax
call sub.KERNEL32.dll_GetFileType
cmp eax, 1
je 0x434ccd
mov eax, 0x2000000
jmp 0x434cfb
lea edx, [ebp - 4]
push edx
push esi
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004337dc
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x434ced
mov eax, dword [ebp - 4]
jmp 0x434cfb
push esi
call fcn.00433d8c
pop ecx
mov dword [ebx], eax
mov eax, dword [0x508638]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4351a4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test esi, esi
je 0x43525c
mov al, byte [esi]
test al, al
je 0x43525c
mov ebx, esi
mov eax, ebx
jmp 0x4351de
movsx edx, byte [eax]
cmp edx, 0x2f
je 0x4351db
cmp edx, 0x5c
jne 0x4351dd
mov ebx, eax
inc eax
mov dl, byte [eax]
test dl, dl
jne 0x4351ce
cmp esi, ebx
je 0x435217
mov eax, ebx
lea ecx, [ebp - 0x104]
sub eax, esi
push eax
push esi
push ecx
call fcn.004cd5b0
add esp, 0xc
sub ebx, esi
lea eax, [ebp - 0x104]
mov byte [ebp + ebx - 0x104], 0
push eax
push edi
call fcn.004351a4
add esp, 8
push esi
xor eax, eax
push edi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x208]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
lea eax, [ebp - 0x208]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push esi
push eax
call fcn.004cd308
add esp, 8
push 0
lea edx, [ebp - 0x208]
push edx
call sub.KERNEL32.dll_CreateDirectoryA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436140
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x436149
add esp, 0xfffffbf4
mov eax, dword [ebp - 4]
push ebx
push esi
push edi
xor esi, esi
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x4410]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
test edi, edi
jne 0x43618d
mov ebx, 0xffffff9b
jmp 0x436294
push 0x5cf8d6
call fcn.004036e4
pop ecx
mov dword [ebp - 8], eax
push 0x5cf8e9
call fcn.004036e4
pop ecx
mov dword [ebp - 0xc], eax
push 1
push 0x5cf8fb
call fcn.004038c8
add esp, 8
push 1
push 0x5cf90e
call fcn.004038c8
add esp, 8
push edi
call sub.KERNEL32.dll_GetFileAttributesA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4361e0
mov ebx, 0xffffff91
jmp 0x436294
test byte [ebp - 0x10], 0x10
je 0x4361ec
test byte [ebp - 0xf], 4
jne 0x4361f6
mov ebx, 0xffffff87
jmp 0x436294
push 0
push 0x2200000
push 3
push 0
push 1
push 0x80000000
push edi
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x43621c
mov ebx, 0xffffff7d
jmp 0x436294
push 0
lea eax, [ebp - 0x10]
push eax
push 0x4400
push ebx
push 0
push 0
push 0x900a8
push esi
call sub.KERNEL32.dll_DeviceIoControl
test eax, eax
jne 0x436242
mov ebx, 0xffffff73
jmp 0x436294
push esi
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebx]
cmp eax, 0xa0000003
je 0x436258
mov ebx, 0xffffff69
jmp 0x436294
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x436292
add ebx, 0x10
push 4
push 0x5cf920
push ebx
call fcn.004cd844
add esp, 0xc
test eax, eax
jne 0x436279
add ebx, 8
push 0
push 0
push 0x104
mov eax, dword [ebp + 0xc]
push eax
push 0xffffffffffffffff
push ebx
push 0
push 0
call sub.KERNEL32.dll_WideCharToMultiByte
xor ebx, ebx
test esi, esi
je 0x43629e
push esi
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 4]
push eax
push 0x5cf92a
call fcn.004038c8
add esp, 8
mov edx, dword [ebp - 8]
push edx
push 0x5cf93e
call fcn.004038c8
add esp, 8
mov ecx, dword [ebp - 0xc]
push ecx
push 0x5cf951
call fcn.004038c8
add esp, 8
test ebx, ebx
je 0x4362e2
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4362e2
mov edx, dword [ebp + 0xc]
mov byte [edx], 0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43630c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x436326
test esi, esi
jne 0x436330
mov eax, 0xffffff9b
jmp 0x436473
push 0
push ebx
call sub.KERNEL32.dll_CreateDirectoryA
push 0
push 0x2200000
push 3
push 0
push 3
push 0xc0000000
push ebx
call sub.KERNEL32.dll_CreateFileA
mov edi, eax
test edi, edi
jne 0x436360
mov eax, 0xffffff87
jmp 0x436473
push esi
push edi
xor eax, eax
mov edi, esi
or ecx, 0xffffffff
lea esi, [ebp - 0x220]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea ebx, [ebp - 0x220]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov al, byte [ebp - 0x220]
cmp al, 0x5c
pop esi
jne 0x4363b9
mov dl, byte [ebp - 0x21f]
cmp dl, 0x3f
je 0x4363b9
mov cl, byte [ebp - 0x21e]
cmp cl, 0x3f
je 0x4363b9
mov al, byte [ebp - 0x21d]
cmp al, 0x5c
jne 0x4363ce
push esi
push 0x5cf963
lea edx, [ebp - 0x220]
push edx
call fcn.004d1ac0
add esp, 0xc
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x220]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x220]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x21a
push 0
push eax
call fcn.004cd264
add esp, 0xc
mov dword [ebx], 0xa0000003
push 0x104
lea edx, [ebx + 0x10]
push edx
push 0xffffffffffffffff
push esi
push 0
push 0
call sub.KERNEL32.dll_MultiByteToWideChar
mov ecx, eax
dec eax
mov edx, eax
add ecx, ecx
add edx, edx
movzx eax, dx
mov word [ebx + 0xc], cx
add eax, 0xc
mov word [ebx + 0xa], dx
mov dword [ebx + 4], eax
lea ecx, [ebp - 4]
push 0
push ecx
push 0
add eax, 8
push 0
push eax
push ebx
push 0x900a4
push edi
call sub.KERNEL32.dll_DeviceIoControl
test eax, eax
jne 0x43646b
push edi
call sub.KERNEL32.dll_CloseHandle
mov eax, 0xffffff9b
jmp 0x436473
push edi
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43647c
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
xor ebx, ebx
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], eax
test esi, esi
jne 0x4364a8
mov esi, 0xffffff9b
jmp 0x436566
push 0x5cf96a
call fcn.004036e4
pop ecx
mov edi, eax
push 0x5cf97d
call fcn.004036e4
pop ecx
mov dword [ebp - 4], eax
push 1
push 0x5cf98f
call fcn.004038c8
add esp, 8
push 1
push 0x5cf9a2
call fcn.004038c8
add esp, 8
push 0
push 0x2200000
push 3
push 0
push 3
push 0x40000000
push esi
call sub.KERNEL32.dll_CreateFileA
mov ebx, eax
test ebx, ebx
jne 0x436506
mov esi, 0xffffff87
jmp 0x436566
push 8
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.004cd264
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov dword [edx], 0xa0000003
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 8
mov eax, dword [ebp - 0x10]
push eax
push 0x900ac
push ebx
call sub.KERNEL32.dll_DeviceIoControl
test eax, eax
jne 0x43654b
push ebx
call sub.KERNEL32.dll_CloseHandle
mov esi, 0xffffff73
jmp 0x436566
push ebx
call sub.KERNEL32.dll_CloseHandle
xor ebx, ebx
push esi
call sub.KERNEL32.dll_RemoveDirectoryA
test eax, eax
jne 0x436564
mov esi, 0xffffff41
jmp 0x436566
xor esi, esi
test ebx, ebx
je 0x436570
push ebx
call sub.KERNEL32.dll_CloseHandle
push edi
push 0x5cf9b4
call fcn.004038c8
add esp, 8
mov eax, dword [ebp - 4]
push eax
push 0x5cf9c7
call fcn.004038c8
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439cb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, esi
mov eax, dword [ebx + 0x14]
push eax
push 0
call sub.KERNEL32.dll_GlobalAlloc
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
test edx, edx
jne 0x439ce3
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov dword [ecx], 2
jmp 0x439e3e
push 0
push esi
mov edx, dword [ebp - 4]
push edx
movzx ecx, word [ebx + 8]
push ecx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp + 0x14]
push edx
call sub.GDI32.dll_GetDIBits
test eax, eax
jne 0x439d10
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 3
jmp 0x439e33
push 3
mov eax, dword [ebp + 8]
push eax
call fcn.00403da4
add esp, 8
mov edi, eax
test edi, edi
jne 0x439d32
mov eax, dword [ebp + 0x18]
mov dword [eax], 4
jmp 0x439e33
mov word [ebp - 0x18], 0x4d42
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx]
shl eax, 2
add eax, edx
mov edx, dword [ebx + 0x14]
mov ecx, eax
add ecx, edx
add ecx, 0xe
add eax, 0xe
mov dword [ebp - 0x16], ecx
lea ecx, [ebp - 0x18]
mov word [ebp - 0x12], 0
mov word [ebp - 0x10], 0
mov dword [ebp - 0xe], eax
lea eax, [ebp - 8]
push 0
push eax
push 0xe
push ecx
push edi
call sub.KERNEL32.dll_WriteFile
test eax, eax
jne 0x439d85
mov eax, dword [ebp + 0x18]
mov dword [eax], 5
jmp 0x439e33
push 0
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebx + 0x20]
shl ecx, 2
add ecx, 0x28
push ecx
push ebx
push edi
call sub.KERNEL32.dll_WriteFile
test eax, eax
jne 0x439dae
mov eax, dword [ebp + 0x18]
mov dword [eax], 6
jmp 0x439e33
mov ebx, dword [ebx + 0x14]
mov esi, dword [ebp - 4]
cmp ebx, 0xfde8
jbe 0x439df1
push 0
lea eax, [ebp - 8]
push eax
push 0xfde8
push esi
push edi
call sub.KERNEL32.dll_WriteFile
test eax, eax
jne 0x439ddd
mov edx, dword [ebp + 0x18]
mov dword [edx], 7
jmp 0x439e33
sub ebx, 0xfde8
add esi, 0xfde8
cmp ebx, 0xfde8
ja 0x439dbc
push 0
lea ecx, [ebp - 8]
push ecx
push ebx
push esi
push edi
call sub.KERNEL32.dll_WriteFile
test eax, eax
jne 0x439e0e
mov eax, dword [ebp + 0x18]
mov dword [eax], 8
jmp 0x439e33
push edi
call sub.KERNEL32.dll_CloseHandle
test eax, eax
jne 0x439e23
mov edx, dword [ebp + 0x18]
mov dword [edx], 9
jmp 0x439e33
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_GlobalFree
mov eax, 1
jmp 0x439e3e
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_GlobalFree
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b558
Capabilities:
Find taskbar

Disassembly:
push ebx
xor ebx, ebx
push 0
push 0
push 0x10
push 0x5cfe1f
push 0
call sub.USER32.dll_FindWindowA
push eax
call sub.USER32.dll_PostMessageA
push 0
push 0
push 0x10
push 0x5cfe2d
push 0
call sub.USER32.dll_FindWindowA
push eax
call sub.USER32.dll_PostMessageA
push 0
push 0
push 0x12
push 0x5cfe3a
push 0
call sub.USER32.dll_FindWindowA
push eax
call sub.USER32.dll_PostMessageA
push 0
push 0
push 2
push 0x5cfe47
push 0
call sub.USER32.dll_FindWindowA
push eax
call sub.USER32.dll_PostMessageA
push 0x5cfe54
call sub.KERNEL32.dll_GetModuleHandleA
push eax
call sub.KERNEL32.dll_FreeLibrary
push 0x5cfe61
call sub.KERNEL32.dll_GetModuleHandleA
push eax
call sub.KERNEL32.dll_FreeLibrary
jmp 0x43b61e
inc ebx
cmp ebx, 0xa
jg 0x43b62e
push 0
push 0
push 0x418
push 0
push 0x5cfe72
call sub.USER32.dll_FindWindowA
push eax
call sub.USER32.dll_PostMessageA
push 0
push 0
push 2
push 0
push 0x5cfe76
call sub.USER32.dll_FindWindowA
push eax
call sub.USER32.dll_PostMessageA
push 1
call fcn.004d934c
pop ecx
push 0
push 0x5cfe6e
call sub.USER32.dll_FindWindowA
test eax, eax
jne 0x43b5dd
push 1
call fcn.004d934c
pop ecx
mov eax, 1
pop ebx
ret

Function at 0x43b7b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push edx
push esi
call sub.USER32.dll_GetWindowThreadProcessId
call sub.KERNEL32.dll_GetCurrentProcessId
mov ecx, dword [ebp - 4]
cmp eax, ecx
jne 0x43b7e4
mov eax, 1
jmp 0x43b8a4
mov eax, dword [0x50a4f4]
test eax, eax
je 0x43b7fe
mov edx, dword [ebp - 4]
cmp eax, edx
jne 0x43b7fe
mov eax, 1
jmp 0x43b8a4
mov eax, dword [0x50a4f8]
test eax, eax
je 0x43b818
mov edx, dword [ebp - 4]
cmp eax, edx
jne 0x43b818
mov eax, 1
jmp 0x43b8a4
mov eax, ebx
and eax, 1
test eax, eax
jne 0x43b87f
lea edx, [ebp - 8]
push edx
push 0x7d0
push 2
push 0x80000000
push 0
push 0x11
push esi
call sub.USER32.dll_SendMessageTimeoutA
test eax, eax
je 0x43b87b
lea ecx, [ebp - 8]
push ecx
push 0x7d0
push 2
push 0x80000000
push 1
push 0x16
push esi
call sub.USER32.dll_SendMessageTimeoutA
test eax, eax
je 0x43b874
lea eax, [ebp - 8]
push eax
push 0x7d0
push 2
push 0
push 1
push 0x10
push esi
call sub.USER32.dll_SendMessageTimeoutA
mov eax, 1
jmp 0x43b8a4
xor eax, eax
jmp 0x43b8a4
test eax, eax
je 0x43b8a2
mov edx, dword [ebp - 4]
push edx
push 0
push 1
call sub.KERNEL32.dll_OpenProcess
test eax, eax
je 0x43b89e
push 0
push eax
call sub.KERNEL32.dll_TerminateProcess
mov edi, eax
mov eax, edi
jmp 0x43b8a4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43b900
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
call fcn.0043b558
mov eax, dword [ebp + 8]
push eax
push 0x43b8ac
call sub.USER32.dll_EnumWindows
push 0x1388
push 0x1f4
call fcn.0043b658
add esp, 8
mov eax, 1
pop ebp
ret
Function at 0x43c118
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push 0x5cff5f
push 0x5cff54
call sub.KERNEL32.dll_GetModuleHandleA
push eax
call sub.KERNEL32.dll_GetProcAddress
mov ebx, eax
test ebx, ebx
je 0x43c13d
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
call ebx
push 0
call fcn.00401260
push eax
push 0
push 0
push 1
push 1
push 0xffff
push 0xffff
push 0x90800200
push 0x5cff7f
push 0x5cff78
push 8
call sub.USER32.dll_CreateWindowExA
mov ebx, eax
call sub.USER32.dll_GetForegroundWindow
mov esi, eax
push 0xa
call sub.KERNEL32.dll_Sleep
push 0
call sub.KERNEL32.dll_Sleep
push 0xa
call sub.KERNEL32.dll_Sleep
push 0
call sub.KERNEL32.dll_Sleep
push 1
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
push 0
push esi
call sub.USER32.dll_GetWindowThreadProcessId
push eax
call sub.USER32.dll_AttachThreadInput
push 0xa
call sub.KERNEL32.dll_Sleep
push 0
call sub.KERNEL32.dll_Sleep
push 0xa
call sub.KERNEL32.dll_Sleep
push 0
call sub.KERNEL32.dll_Sleep
push ebx
call sub.USER32.dll_SetForegroundWindow
push ebx
call sub.USER32.dll_BringWindowToTop
push 0xa
call sub.KERNEL32.dll_Sleep
push 0
call sub.KERNEL32.dll_Sleep
push 0xa
call sub.KERNEL32.dll_Sleep
push 0
call sub.KERNEL32.dll_Sleep
push 0
call sub.KERNEL32.dll_GetCurrentThreadId
push eax
push 0
push esi
call sub.USER32.dll_GetWindowThreadProcessId
push eax
call sub.USER32.dll_AttachThreadInput
push 0xa
call sub.KERNEL32.dll_Sleep
push 0
call sub.KERNEL32.dll_Sleep
push 0xa
call sub.KERNEL32.dll_Sleep
push 0
call sub.KERNEL32.dll_Sleep
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43ce84
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor eax, eax
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0xffffffff
push 0x5d004d
xor esi, esi
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [ebp - 0x14], eax
xor edi, edi
push 0
push 0
push 0x1f0fff
lea eax, [ebp - 0x10]
push eax
call sub.KERNEL32.dll_GetCurrentProcess
push eax
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.dll_GetCurrentProcess
push eax
call sub.KERNEL32.dll_DuplicateHandle
mov ebx, eax
lea eax, [ebp - 8]
push eax
test ebx, ebx
je 0x43cedb
mov edx, dword [ebp - 0x10]
jmp 0x43cede
mov edx, dword [ebp + 8]
push edx
call sub.KERNEL32.dll_GetExitCodeProcess
test eax, eax
je 0x43cf31
mov eax, dword [ebp - 8]
cmp eax, 0x103
jne 0x43cf31
push 0x5d0056
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_GetProcAddress
lea edx, [ebp - 4]
push edx
push 0
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push 0
push 0
test ebx, ebx
je 0x43cf18
mov eax, dword [ebp - 0x10]
jmp 0x43cf1b
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_CreateRemoteThread
mov esi, eax
test esi, esi
jne 0x43cf38
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 0xc], eax
jmp 0x43cf38
mov dword [ebp - 0xc], 0x42b
test esi, esi
je 0x43cf5b
push 0xffffffffffffffff
test ebx, ebx
je 0x43cf47
mov eax, dword [ebp - 0x10]
jmp 0x43cf4a
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
push esi
call sub.KERNEL32.dll_CloseHandle
mov edi, 1
test ebx, ebx
je 0x43cf68
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_CloseHandle
test edi, edi
jne 0x43cf75
mov edx, dword [ebp - 0xc]
push edx
call sub.KERNEL32.dll_SetLastError
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43d000
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
xor ebx, ebx
mov eax, dword [0x50a4fc]
cmp eax, 1
je 0x43d047
mov edx, dword [0x5f6d60]
test edx, edx
je 0x43d047
mov ecx, dword [0x50a4fc]
test ecx, ecx
je 0x43d047
mov eax, dword [0x50a4fc]
push eax
push 0
push 1
call sub.KERNEL32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x43d047
push 0
push esi
call sub.KERNEL32.dll_TerminateProcess
mov ebx, eax
push esi
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
xor edx, edx
mov dword [0x50a4fc], eax
mov eax, ebx
mov dword [0x5f6d60], edx
pop esi
pop ebx
ret