joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405b80
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [eax]
push ebp
push esi
mov esi, dword [ecx]
push edi
mov edi, ebx
mov dword [esp + 0x18], 0x10
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
xor eax, edx
push eax
push ebx
mov ebp, eax
call fcn.00405b10
mov ecx, dword [esp + 0x18]
xor eax, esi
add edi, 4
dec ecx
mov esi, ebp
mov dword [esp + 0x18], ecx
jne 0x405ba3
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
xor ecx, eax
mov eax, dword [esp + 0x1c]
xor edx, esi
pop edi
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
pop ecx
ret 0xc

Function at 0x405bf0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0xc]
mov eax, dword [eax]
push ebp
push esi
mov esi, dword [ecx]
push edi
lea edi, [ebx + 0x44]
mov dword [esp + 0x18], 0x10
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
xor eax, edx
push eax
push ebx
mov ebp, eax
call fcn.00405b10
mov ecx, dword [esp + 0x18]
xor eax, esi
sub edi, 4
dec ecx
mov esi, ebp
mov dword [esp + 0x18], ecx
jne 0x405c14
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
xor ecx, eax
mov eax, dword [esp + 0x1c]
xor edx, esi
pop edi
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
pop ecx
ret 0xc
Function at 0x406490
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4454d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x18], ebx
call fcn.0043688b
lea ecx, [esp + 0xc]
call fcn.00437c2f
mov eax, dword [edi]
push ebx
push 0x3000
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebx
call fcn.00437d41
test eax, eax
je 0x4064eb
lea ecx, [esp + 0xc]
call fcn.00437f5c
mov eax, dword [edi]
mov edx, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
push ebx
push ebx
push eax
mov ecx, edi
call dword [edx + 0x20]
test eax, eax
jne 0x406529
mov esi, dword [esi + 0x18]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00437c84
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov eax, dword [0x45ccac]
mov dword [esp + 0x2c], eax
mov edx, dword [edi]
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
mov byte [esp + 0x28], 1
call dword [edx + 0x58]
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x406573
cmp dword [esi + 0x18], ebx
je 0x4065b8
mov eax, dword [esi + 0xc]
lea ecx, [esi + 4]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.00432133
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call dword [eax + 0x58]
cmp eax, ebx
mov dword [esi + 0x18], eax
jne 0x40654a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x4c]
lea ecx, [esp + 0x2c]
mov dword [esi + 0x18], 1
mov byte [esp + 0x24], bl
call fcn.00436752
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00437c84
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov esi, dword [esi + 0x18]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call fcn.00436752
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00437c84
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x412170
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
push 1
call fcn.004121c0
push 0
lea eax, [esp + 8]
push 0x21
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4121a5
push 0
lea ecx, [esp + 8]
push 0
push ecx
mov ecx, esi
call fcn.00412280
mov eax, 1
pop esi
add esp, 0x104
ret

Function at 0x4121c0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
lea eax, [esp + 8]
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [esp + 0x18], ebx
call edi
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00436493
add esp, 4
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
push ebx
call edi
mov edi, eax
cmp edi, ebx
je 0x412267
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x412215
test dword [esi + 0xc], 0x100000
jne 0x41222d
mov eax, dword [esi + 4]
push eax
jmp 0x412227
cmp ebp, 1
jne 0x41222d
test dword [esi + 0xc], 0x100000
je 0x41222d
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
push 0
push edi
call ebx
push esi
call fcn.004364bc
mov eax, dword [esp + 0x14]
push eax
call fcn.00436493
add esp, 8
lea ecx, [esp + 0x10]
mov esi, eax
push ecx
push esi
push edi
call ebx
test eax, eax
jne 0x412202
mov ebx, 1
pop ebp
test esi, esi
je 0x412274
push esi
call fcn.004364bc
add esp, 4
pop edi
mov eax, ebx
pop esi
pop ebx
pop ecx
ret 4
Function at 0x412280
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x447506
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [0x45ccac]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0x15c], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x164]
lea ecx, [esp + 0xc]
push esi
mov byte [esp + 0x160], 1
call fcn.004368db
push str..
lea ecx, [esp + 0x10]
call fcn.00436b2e
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x412323
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 0
call fcn.00436752
lea ecx, [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
call fcn.00436752
xor eax, eax
jmp 0x412468
push ebp
mov ebp, dword [esp + 0x16c]
push edi
mov edi, dword [esp + 0x174]
lea edx, [esp + 0x48]
push 0x45c73c
push edx
call fcn.00421df5
add esp, 8
test eax, eax
je 0x412419
lea eax, [esp + 0x48]
push 0x45c738
push eax
call fcn.00421df5
add esp, 8
test eax, eax
je 0x412419
test ebp, ebp
jne 0x412385
lea ecx, [esp + 0x48]
push str.desktop.ini
push ecx
call fcn.004225e6
add esp, 8
test eax, eax
je 0x412419
push esi
lea ecx, [esp + 0x14]
call fcn.004368db
push 0x5c
lea ecx, [esp + 0x14]
call fcn.00436b55
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
push edx
call fcn.00436b2e
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x4123c5
mov ecx, dword [esp + 0x10]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [esp + 0x1c], 0x10
je 0x4123e7
mov edx, dword [esp + 0x10]
push edi
push ebp
push edx
mov ecx, ebx
call fcn.00412280
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x412419
test edi, edi
je 0x41240e
lea ecx, [esp + 0x48]
push str.index.dat
push ecx
call fcn.004225e6
add esp, 8
test eax, eax
jne 0x41240e
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
push esi
call fcn.00412490
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x412333
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x164], 0
call fcn.00436752
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call fcn.00436752
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x412490
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44751b
push eax
mov eax, 0x2718
mov dword fs:[0], esp
call fcn.00421910
mov eax, dword [0x45ccac]
push edi
mov dword [esp + 4], eax
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 0x2724], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x272c]
push ecx
lea ecx, [esp + 8]
call fcn.004368db
push 0x5c
lea ecx, [esp + 8]
call fcn.00436b55
mov edx, dword [esp + 0x2730]
lea ecx, [esp + 4]
push edx
call fcn.00436b2e
mov eax, dword [esp + 4]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x412536
lea ecx, [esp + 4]
mov dword [esp + 0x2724], eax
call fcn.00436752
xor eax, eax
jmp 0x4125b3
push ebx
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x412591
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x412583
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x41255d
jmp 0x412591
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
mov dword [esp + 0x272c], 0xffffffff
call fcn.00436752
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x271c]
pop edi
mov dword fs:[0], ecx
add esp, 0x2724
ret 8

Function at 0x413280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
lea eax, [esp + 4]
push esi
mov esi, ecx
push eax
call fcn.0040d060
push str.rasinfo.ras
lea ecx, [esp + 8]
push eax
push ecx
mov dword [esp + 0x30], 0
call fcn.004369e7
lea ecx, [esp + 8]
mov byte [esp + 0x24], 2
call fcn.00436752
lea ecx, [esp + 0xc]
call fcn.00437c2f
mov edx, dword [esp + 4]
push 0
push 0
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call fcn.00437d41
test eax, eax
je 0x413365
lea eax, [esi + 0x1ec]
push 0x13c
push eax
lea ecx, [esp + 0x14]
call fcn.00437e5e
mov cl, byte [esi + 0x2c5]
mov dl, byte [esi + 0x2c4]
mov al, byte [esi + 0x2c6]
xor cl, 0x85
xor dl, 0x7b
mov byte [esi + 0x2c5], cl
mov cl, byte [esi + 0x2c9]
xor al, 0x8f
mov byte [esi + 0x2c4], dl
mov dl, byte [esi + 0x2c8]
mov byte [esi + 0x2c6], al
mov al, byte [esi + 0x2ca]
xor cl, 0x81
xor dl, 0xb2
mov byte [esi + 0x2c9], cl
xor al, 0x13
lea ecx, [esp + 0xc]
mov byte [esi + 0x2c8], dl
mov byte [esi + 0x2ca], al
call fcn.00437f5c
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.00437c84
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.00436752
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x416100
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
push edi
push 0x460d68
mov eax, dword [esi + 0x3c]
lea edi, [esi + 0x3c]
push eax
call fcn.00421df5
add esp, 8
test eax, eax
jne 0x416124
push edi
mov ecx, esi
call fcn.00433b62
mov edi, dword [edi]
test esi, esi
je 0x41612d
mov esi, dword [esi + 0x1c]
push 1
push 0
push 0
push edi
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
ret

Function at 0x4169f0
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
jne 0x4169fd
pop edi
ret 0xc
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc]
push esi
push edx
mov edx, dword [esp + 0x10]
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
mov eax, esi
pop esi
pop edi
ret 0xc

Function at 0x418d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x448050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
xor esi, esi
push esi
lea ecx, [esp + 8]
mov dword [esp + 8], esi
call fcn.00418990
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], esi
call fcn.004186c0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x30]
push eax
mov edx, dword [ecx]
lea ecx, [esp + 0x10]
mov eax, dword [esi]
push edx
push eax
mov byte [esp + 0x30], 1
call fcn.00418720
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x2c]
lea edx, [esp + 4]
mov dword [esp + 8], ecx
push edx
mov ecx, esi
call fcn.004189d0
lea ecx, [esp + 0xc]
call fcn.004180d0
lea ecx, [esp + 4]
call fcn.00418a40
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x42f7b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00421910
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42f87b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42f87b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42f82e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x42f839
or bh, 8
and edi, 0x8000000
je 0x42f854
mov eax, dword [0x4651fc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42f87b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fc50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42fc7b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42fc9f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42fcba
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x433b62
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x433b9a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00436bf9
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00436bd1
jmp 0x433ba6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x43541c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x43545e
call fcn.00441aca
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x43545e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x435455
xor eax, eax
jmp 0x435466
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0043546c
pop edi
pop esi
pop ebx
ret 4

Function at 0x44151c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.00441aca
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x441559
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x441559
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x44155d
xor eax, eax
jmp 0x4415db
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00436493
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x441595
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x44157f
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004416cc
push ebx
mov edi, eax
call fcn.004364bc
test edi, edi
pop ecx
je 0x4415d7
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00441495
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004415e0
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x41d1a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47af3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046f539
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41d222
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046d3b0
mov eax, dword [eax]
push 0xc04234
push eax
call fcn.0045ffe4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046f7c4
test bl, bl
je 0x41d222
push 0xc04234
lea ecx, [esp + 0xc]
call fcn.0046fb54
push 0xc07dac
lea ecx, [esp + 0xc]
call fcn.0046fb54
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41d25e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046f7c4
jmp 0x41d329
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41d2e2
lea edx, [esp + 0x7c]
push 0xc07da8
push edx
call fcn.0045ffe4
add esp, 8
test eax, eax
je 0x41d2e2
lea eax, [esp + 0x7c]
push 0xc07da4
push eax
call fcn.0045ffe4
add esp, 8
test eax, eax
je 0x41d2e2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41d272
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046f7c4
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41db20
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41db82
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x41db90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47afbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xc0e310]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41dcc8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41dbf6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046f7c4
xor eax, eax
jmp 0x41dd3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046f901
push esi
lea ecx, [esp + 0xc]
call fcn.0046fb90
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xc07de4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41dd1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041db20
test eax, eax
jne 0x41dd1d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0041db20
test eax, eax
jne 0x41dd1d
lea eax, [esp + 0x14]
push 0xc07dc0
push eax
call fcn.004610f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41dcfc
lea ecx, [esp + 0x14]
push 0xc07dbc
push ecx
call fcn.00461070
mov esi, eax
add esp, 8
test esi, esi
jne 0x41dcfc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41dcff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046f8b1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41dc0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046f7c4
xor eax, eax
jmp 0x41dd3f
mov byte [esi], 0
push 0xc07db8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0046f7c4
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4