joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a750
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5985eb
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5fd890]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov eax, dword [0x5fd890]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x23c]
mov dword [esp + 0x10], 0
test byte [0x619d50], 1
jne 0x40a7e1
or dword [0x619d50], 1
call fcn.00470afc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a7c3
push 0x80004005
call fcn.004020b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x59ab60
mov dword [0x619d4c], eax
call fcn.00566793
add esp, 4
mov ecx, dword [0x619d4c]
cmp dword [ecx - 0xc], 0
jne 0x40a8f3
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x2a]
push eax
mov word [esp + 0x2c], dx
call fcn.0056b700
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a822
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, 0x619d4c
call fcn.00404930
push 0x16
push str.zhizaoyunsoft20160912_
mov ecx, 0x619d4c
call fcn.00404550
xor eax, eax
lea edi, [esp + 0x14]
mov byte [esp + 0x14], 0
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov byte [esp + 0x1d], al
call fcn.0040b980
mov eax, edi
push eax
call fcn.00406dc0
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x234], 0
test esi, esi
je 0x40a8a2
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a893
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, 0x619d4c
call fcn.00404550
push esi
mov dword [esp + 0x238], 0xffffffff
call fcn.00466c92
add esp, 4
push 1
push 0x5cd740
mov ecx, 0x619d4c
call fcn.00404550
mov ecx, dword [0x619d4c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a8f3
mov edx, dword [0x619d4c]
push eax
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [0x619d4c]
add eax, 0xfffffff0
push eax
call fcn.00404440
add esp, 4
add eax, 0x10
mov dword [ebp], eax
mov eax, ebp
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00565f92
add esp, 0x228
ret 4
Function at 0x40b180
Capabilities:
Get session information
Get session user name

Disassembly:
sub esp, 8
push esi
xor esi, esi
push esi
push 0x5cd760
mov ecx, ebx
call fcn.00404930
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push 5
push 0xffffffffffffffff
push esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x40b1f2
mov edx, dword [esp + 4]
cmp edx, esi
jne 0x40b1bf
xor eax, eax
jmp 0x40b1d5
mov eax, edx
push edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40b1c5
sub eax, edi
sar eax, 1
pop edi
push eax
push edx
mov ecx, ebx
call fcn.00404930
mov edx, dword [esp + 4]
push edx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, 1
pop esi
add esp, 8
ret
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x40b200
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x599378
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5fd890]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
push str.data
add esi, 0x430
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00404340
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b26b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x40b2be
push str.data
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.00404340
push 0
mov dword [esp + 0x2c], 0
mov eax, dword [eax]
push 0
push eax
call fcn.00465cf0
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b2be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x40b4b0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
sub esp, 0x40
push 0x5ce290
add eax, 0x434
push eax
lea ecx, [esp + 8]
push ecx
call fcn.00404340
mov edx, dword [esp + 0xc]
add esp, 0xc
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40b529
push 0x3c
lea eax, [esp + 8]
push 0
push eax
call fcn.0056b700
mov ecx, dword [esp + 0xc]
add esp, 0xc
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x8440
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b548
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esp, 0x40
ret
Function at 0x40b550
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x597ccb
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5fd890]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov eax, dword [0x5fd890]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.0056b700
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 0x17
lea edx, [esp + 0x14]
push edx
push 0
call esi
call fcn.00470afc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40b5d5
push 0x80004005
call fcn.004020b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push str._s3DSource_
push edx
mov dword [esp + 0x234], 0
call fcn.00402180
add esp, 0xc
lea ecx, [esp + 8]
call fcn.0040b6d0
test eax, eax
jne 0x40b671
push eax
push 2
lea eax, [esp + 0x14]
push eax
push 0
call esi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push str._s3DSource_
push edx
call fcn.00402180
add esp, 0xc
lea ecx, [esp + 8]
call fcn.0040b6d0
mov esi, eax
mov dword [esp + 0x228], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b66d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x40b6a1
mov dword [esp + 0x228], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b69c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00565f92
mov esp, ebp
pop ebp
ret
Function at 0x40b6d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x597a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5fd890]
xor eax, esp
mov dword [esp + 0x260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5fd890]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, ecx
mov eax, dword [edi]
push eax
call ebp
test eax, eax
jne 0x40b744
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x260]
xor ecx, esp
call fcn.00565f92
add esp, 0x270
ret
xor ebx, ebx
push ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x14]
push eax
push 0x5cca1c
push 1
push ebx
push 0x5cca4c
mov dword [esp + 0x34], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x40b892
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x5cca7c
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jne 0x40b892
call fcn.00470afc
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40b7b0
push 0x80004005
call fcn.004020b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x280], ebx
mov eax, dword [edi]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
cmp eax, ebx
jne 0x40b86f
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x40b805
push 0x104
lea ecx, [esp + 0x20]
call fcn.00402030
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 2
lea edx, [esp + 0x28]
push edx
push 0x104
push esi
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.005668c3
add esp, 8
cmp eax, ebx
jl 0x40b8c1
cmp eax, dword [esi - 8]
jg 0x40b8c1
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp edi, ebx
je 0x40b868
lea eax, [esi - 0x10]
mov dword [esp + 0x280], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40b886
push esi
call ebp
mov dword [esp + 0x20], eax
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x280], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b892
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40b8a2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40b8b2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x20]
jmp 0x40b71c
push 0x80070057
call fcn.004020b0
int3
Function at 0x40b8d0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov eax, dword [eax]
movzx ecx, word [esp + 8]
push ebx
push esi
push edi
push eax
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40b969
test ebx, ebx
je 0x40b969
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 2
mov edi, eax
mov eax, dword [edx]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x14], 0
test esi, esi
je 0x40b969
cmp esi, 0xffffffff
je 0x40b969
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x18]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
ret 8
pop edi
pop esi
xor al, al
pop ebx
ret 8

Function at 0x40bcf0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x25c
mov eax, dword [0x5fd890]
xor eax, esp
mov dword [esp + 0x258], eax
xor eax, eax
push 0x256
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.0056b700
mov eax, dword [esp + 0x26c]
add esp, 0xc
lea edx, [esp + 0x264]
push edx
push eax
push 0x12a
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
push 0x5cd730
lea edx, [esp + 4]
push 0x12c
push edx
call fcn.00566fb4
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00565f92
add esp, 0x25c
ret
Function at 0x4100f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x410111
cmp eax, edi
jge 0x410109
call fcn.0040f8b0
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor eax, eax
cmp dword [esi + 8], eax
jle 0x41013a
lea ecx, [eax - 8]
jmp 0x410120
mov dl, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], ecx
mov byte [esp + eax + 0xc], dl
inc eax
cmp dword [esi + 8], 0
jg 0x410120
cmp eax, 4
jge 0x41015a
mov edi, dword [esi + 4]
mov edx, dword [esi]
nop
cmp edx, edi
jb 0x410148
xor ecx, ecx
jmp 0x41014e
mov cl, byte [edx]
inc edx
movzx ecx, cl
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 4
jl 0x410140
mov dword [esi], edx
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0xf]
movzx edx, byte [esp + 0xe]
movzx ebx, ah
movzx eax, al
shl ebx, 8
add ebx, eax
shl ecx, 8
mov eax, ebx
add ecx, edx
xor eax, 0xffff
cmp ecx, eax
je 0x410194
mov dword [0x60980c], str.zlib_corrupt
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov ecx, dword [esi]
add ecx, ebx
cmp ecx, dword [esi + 4]
jbe 0x4101ae
pop edi
pop esi
mov dword [0x60980c], 0x5ceacc
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esi + 0x10]
add edx, ebx
cmp edx, dword [esi + 0x18]
jbe 0x4101c5
mov ecx, ebx
mov edi, esi
call fcn.0040f8f0
test eax, eax
je 0x41018d
mov edi, dword [esi]
push ebp
mov ebp, dword [esi + 0x10]
push ebx
push edi
push ebp
call fcn.005699d0
add esp, 0xc
add edi, ebx
add ebp, ebx
mov dword [esi + 0x10], ebp
pop ebp
mov dword [esi], edi
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x417f20
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor esi, esi
call edi
test ax, ax
jge 0x417f38
mov esi, 8
push 2
call edi
test ax, ax
jge 0x417f44
or esi, 1
push 1
call edi
test ax, ax
jge 0x417f50
or esi, 2
push 0x10
call edi
test ax, ax
jge 0x417f5c
or esi, 4
push 0x12
call edi
test ax, ax
jge 0x417f68
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x41d7a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
push ebx
mov dword [edi + 0x10], eax
push esi
lea ebx, [esp + 0xc]
mov eax, edi
call fcn.0041d920
mov ecx, dword [edi + 0x10]
cmp byte [ecx + 0x3b1], 0
mov esi, 0x40000080
je 0x41d7d2
mov esi, 0x400000a0
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, dword [eax]
sub edx, ecx
push edx
mov edx, dword [esp + 0x10]
sub ebx, edx
push ebx
push ecx
push edx
push 0
push esi
push 0
push eax
mov eax, edi
call fcn.00417810
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov ebx, dword [ecx + 0x38c]
call eax
mov esi, eax
mov eax, ebx
call fcn.00433110
mov ecx, dword [eax]
mov edx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 1
push ebx
push ecx
push 0x30
push edx
call esi
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x3ac]
mov edx, dword [edi + 4]
push 0
push ecx
push 0xc5
push edx
call esi
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x3b1], 0
je 0x41d868
movzx eax, word [eax + 0x3b2]
mov ecx, dword [edi + 4]
push 0
push eax
push 0xcc
push ecx
call esi
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, dword [eax]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
cmp eax, edx
je 0x41d899
push eax
call fcn.005668e2
add esp, 4
mov eax, dword [edi + 4]
push 0
push 0
push 0xb9
push eax
call esi
mov ecx, dword [edi + 4]
push 0
push 3
push 0xd3
push ecx
call esi
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
call eax
mov edx, dword [edi + 4]
xor ecx, ecx
cmp al, bl
sete cl
push ecx
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 4]
xor ecx, ecx
cmp byte [eax + 0x3b0], bl
push 0
sete cl
push ecx
push 0xcf
push edx
call esi
mov eax, dword [edi + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
pop esi
mov byte [edi + 0x18], bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41dbd0
Capabilities:
Hide graphical window

Disassembly:
mov edx, dword [esi + 4]
push ebx
push eax
push edi
push ecx
push edx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ebx, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41dbfa
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 0
push 0
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
cmp edi, dword [eax]
je 0x41dc27
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
call fcn.00433800
mov eax, ebx
pop ebx
ret

Function at 0x41dc30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5fd890]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x10], 0
je 0x41dc9d
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.0056e4e0
mov ebx, esp
test ebx, ebx
je 0x41dc9d
mov ecx, dword [edi + 4]
push esi
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [edi + 0x10]
push ebx
add esi, 0x134
or eax, 0xffffffff
call fcn.00417140
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push 0
push 0
push ecx
call eax
mov ecx, str.textchanged
mov edi, eax
call fcn.00432a20
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00565f92
mov esp, ebp
pop ebp
ret
Function at 0x4320b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push edi
mov edi, eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4320d5
cmp esi, dword [edi + 0x50]
je 0x4320d5
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x50]
cmp esi, eax
je 0x4321d1
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x432145
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], esi
call ebx
mov ecx, dword [edi + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
lea edx, [esp + 8]
push edx
call eax
mov ecx, dword [edi + 0x50]
push 0
push 0
push ecx
mov ecx, str.killfocus
call fcn.00432a20
mov dword [edi + 0x50], 0
test esi, esi
je 0x4321d1
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, edi
jne 0x4321d1
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
test al, al
je 0x4321d1
mov edx, dword [esi]
mov eax, dword [edx + 0xcc]
mov ecx, esi
call eax
test al, al
je 0x4321d1
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [edi + 0x50], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 8], 0x16
mov dword [esp + 0xc], esi
call ebx
mov ecx, dword [edi + 0x50]
mov dword [esp + 0x10], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x100]
lea eax, [esp + 8]
push eax
call edx
mov eax, dword [edi + 0x50]
push 0
push 0
push eax
mov ecx, str.setfocus
call fcn.00432a20
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43bfb0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x3cc], 0
je 0x43c033
push ebx
mov ebx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
cmp edi, 0x100
jne 0x43c011
cmp bx, 0xd
jne 0x43c011
cmp byte [esi + 0x3d2], 0
je 0x43bff3
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x43c011
cmp byte [esi + 0x3d3], 0
jne 0x43c011
mov edi, dword [esi + 0x40]
test edi, edi
je 0x43c009
push 0
push 0
push esi
mov ecx, str.return
call fcn.00432a20
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esi + 0x3cc]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ebx
push edi
call edx
pop edi
pop ebx
pop esi
ret 0x10
mov eax, 1
pop esi
ret 0x10
Function at 0x43d870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x596ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x5fd890]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
call edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [eax]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.USER32.dll_CreateCaret]
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
mov edi, dword [eax + 4]
mov eax, dword [esi + 0x3b8]
mov dword [esp + 0xc], edi
test eax, eax
je 0x43d8e1
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x3b8], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
mov dword [esi + 0x3b8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esi + 0x3b8]
mov edi, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x43d978
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x14]
push ecx
push 0x18
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
push 0xcc0020
push edx
mov edx, dword [ebp + 8]
push eax
push 0
push 0
push esi
push ecx
push edx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0xc]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x43d9c4
lea ecx, [esp + 0x14]
call fcn.0046ec3e
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call fcn.0046f30e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push ecx
push edx
push 0
push 0
lea ecx, [esp + 0x28]
call fcn.00471c30
lea ecx, [esp + 0x14]
call fcn.0046f344
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046f38d
mov eax, dword [esp + 0x10]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8