joyce8/EMBER2024-capa huggingface dataset:
Function at 0x105a9770
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
lea eax, [esp]
push esi
mov esi, dword [esp + 0x78]
push 0x10
push 0
push eax
mov word [esi], 0
call fcn.10587620
lea ecx, [esp + 0x14]
push 0x10
push ecx
call fcn.105a91a0
lea edx, [esp + 0x34]
push 0x10
push edx
call fcn.105a91f0
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.105a9240
lea ecx, [esp + 0x44]
push 0x10
push ecx
call fcn.105a93a0
lea edx, [esp + 0x54]
push 0x10
push edx
call fcn.105a9430
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.105a93f0
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
push ecx
push 0x10
push edx
lea eax, [esp + 0x30]
push 0x1057ab54
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x105a985e
lea edx, [esp + 0x44]
lea eax, [esp + 4]
push edx
push eax
call fcn.105874b0
test al, al
je 0x105a981f
xor eax, eax
mov word [esi], 2
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4
lea ecx, [esp + 0x54]
lea edx, [esp + 4]
push esp
and al, 4
Function at 0x409888
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401bb0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401bef
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401bef
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401bef
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401bef
cmp dword [ecx + 0x74], 0xe
jbe 0x401bef
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4506c1
Capabilities:
Query environment variable

Disassembly:
jmp 0x4c22ed
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4c2301
xor edi, edi
jmp 0x4c2345
push ebx
push esi
call fcn.004c21e6
push 0x40
mov ebx, eax
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
sub ebx, esi
and ebx, 0xfffffffe
push 2
push ebx
call fcn.004518af
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4c2332
push ebx
push esi
push edi
call fcn.004519f9
add esp, 0xc
push 2
push 0
call fcn.004514ea
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x451599
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x4ef450
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x51c3bc], 1
jge 0x4ef4bf
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x4ef495
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x4ef495
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x4ef472
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x4ef4ab
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x4ef4b2
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x4ef5af
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x4ef580
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x4ef575
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x4ef569
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x4ef570
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x4ef5af
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x4ef5aa
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x4ef593
mov eax, dword [ebx + 8]
jmp 0x4ef5af
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4ef5a1
xor eax, eax
jmp 0x4ef5af
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x4ef4df
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10001120
Capabilities:
Parse pe header

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
cmp word [eax], 0x5a4d
push edi
je 0x10001138
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edi, dword [eax + 0x3c]
add edi, eax
mov dword [esp + 0x10], edi
cmp dword [edi], 0x4550
je 0x10001151
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push eax
push ecx
call esi
mov ebp, eax
test ebp, ebp
jne 0x10001188
mov edx, dword [edi + 0x50]
push 4
push 0x2000
push edx
push eax
call esi
mov ebp, eax
test ebp, ebp
jne 0x10001188
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
xor eax, eax
push 4
push 0x1000
mov dword [ebx + 4], ebp
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x50]
push eax
push ebp
call esi
mov ecx, dword [edi + 0x54]
push 4
push 0x1000
push ecx
push ebp
call esi
mov esi, dword [esp + 0x18]
mov edx, dword [edi + 0x54]
mov edi, eax
push ebx
mov ecx, dword [esi + 0x3c]
add ecx, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push esi
push ecx
mov edx, dword [ecx + 0x3c]
add eax, edx
mov dword [ebx], eax
mov dword [eax + 0x34], ebp
call fcn.10001270
mov ecx, dword [esi + 0x34]
mov eax, ebp
add esp, 0xc
sub eax, ecx
je 0x10001211
push eax
push ebx
call fcn.10001400
add esp, 8
push ebx
call fcn.10001480
add esp, 4
test eax, eax
je 0x10001241
push ebx
call fcn.10001340
mov eax, dword [ebx]
add esp, 4
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10001259
add eax, ebp
test eax, eax
je 0x10001241
push 0
push 1
push ebp
call eax
test eax, eax
jne 0x10001252
push ebx
call fcn.10001640
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [ebx + 0x10], 1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret
Function at 0x10001270
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
xor ecx, ecx
mov ebp, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 8], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x10001331
push esi
push edi
add ebx, 0x10
cmp dword [ebx], 0
jne 0x100012db
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x1000130f
mov eax, dword [ebx - 4]
push 4
push 0x1000
add eax, ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x1000130f
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x1000129e
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x10001340
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
xor ecx, ecx
push ebp
mov ebx, dword [eax]
xor ebp, ebp
mov cx, word [ebx + 0x14]
cmp word [ebx + 6], bp
lea eax, [ecx + ebx + 0x18]
jbe 0x100013f4
push esi
push edi
lea edi, [eax + 0x24]
mov eax, dword [edi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x10001397
mov edx, dword [edi - 0x14]
mov eax, dword [edi - 0x1c]
push 0x4000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x100013da
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [esi + ecx*2]
mov edx, dword [edx*4 + 0x100070dc]
je 0x100013ae
or dh, 2
mov ecx, dword [edi - 0x14]
test ecx, ecx
jne 0x100013c7
test al, 0x40
je 0x100013be
mov ecx, dword [ebx + 0x20]
jmp 0x100013c5
test al, 0x80
je 0x100013da
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x100013da
lea eax, [esp + 0x10]
push eax
push edx
push ecx
mov ecx, dword [edi - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 0x18]
xor eax, eax
inc ebp
add edi, 0x28
mov ebx, dword [edx]
mov ax, word [ebx + 6]
cmp ebp, eax
jl 0x10001364
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10004b50
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
nop
push ebp
nop
mov ebp, esp
inc ecx
dec ecx
mov esp, ebp
nop
pop ebp
add eax, 0
jne 0x10004b6d
je 0x10004b6d
call 0x78010bf4
xor al, 0x70
add byte [eax], dl
add eax, 0
push str.PathRemoveFileSpecA
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
xor ecx, ecx
mov byte [ebp - 0x18], 0x5c
mov dword [ebp - 0x17], ecx
mov byte [ebp - 0x17], 0x74
mov dword [ebp - 0x13], ecx
mov byte [ebp - 0x16], 0x65
mov word [ebp - 0xf], cx
mov byte [ebp - 0x15], 0x6d
mov byte [ebp - 0xd], cl
mov byte [ebp - 0x14], 0x70
nop
nop
push ebp
nop
nop
mov ebp, esp
inc ecx
dec ecx
add esp, 0xa
sub esp, 0xa
test esi, esi
add esp, 6
sub esp, 6
mov esp, ebp
pop ebp
push 0x100073bc
call eax
lea edx, [ebp - 0x18]
push edx
push 0x100073bc
call dword [sym.imp.KERNEL32.dll_lstrcatA]
nop
nop
push ebp
mov ebp, esp
add esp, 0xa
add esp, 0xfffffff6
inc ecx
dec ecx
add esp, 2
sub esp, 2
push 0xffff8016
nop
mov esp, ebp
nop
nop
pop ebp
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push 0x100073bc
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10004cf3
nop
push ebp
nop
mov ebp, esp
push 0xffffb87d
inc ecx
dec ecx
nop
nop
mov esp, ebp
nop
pop ebp
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x1d4c0
mov dword [ebp - 4], eax
jb 0x10004cf3
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 4]
mov edi, eax
lea eax, [ebp - 4]
push 0
push eax
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
nop
nop
mov ebp, esp
inc ecx
dec ecx
push esi
pop esi
nop
mov esp, ebp
nop
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
push 0x10007024
push edx
push edi
call fcn.10004a30
xor eax, eax
push edi
mov dword [ebp - 0xb], eax
mov byte [ebp - 0xc], 0x52
mov word [ebp - 7], ax
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 5], al
mov byte [ebp - 0xa], 0x6e
call fcn.10001120
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10004cda
nop
nop
push ebp
nop
mov ebp, esp
test esi, esi
add esp, 3
add esp, 0xfffffffd
mov esp, ebp
nop
pop ebp
lea ecx, [ebp - 0xc]
push ecx
push esi
call fcn.100015a0
add esp, 8
call eax
push esi
call fcn.10001640
add esp, 4
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4036c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x54a028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x70]
mov dword [esp + 0x18], 0x44
push edi
call fcn.00478b40
mov esi, dword [esp + 0x70]
add esp, 4
test eax, eax
jne 0x403715
push 0x20
mov ecx, esi
call fcn.00528302
push edi
mov ecx, esi
call fcn.005282db
mov eax, dword [esi]
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40378d
mov eax, dword [esp + 0x74]
test eax, eax
je 0x403778
mov eax, dword [esi]
lea ecx, [esp + 0x70]
push eax
push 0x589498
push ecx
call fcn.004e6ca0
mov eax, dword [eax]
mov dword [esp + 0x70], 0
push eax
call fcn.004e3020
add esp, 0x10
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], 0xffffffff
call fcn.00527eff
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
mov ecx, dword [esp + 0x5c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0xc
Function at 0x4270d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [ebx + 0x10]
xor esi, esi
shr edi, 2
test edi, edi
jle 0x427127
push ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x1c]
push 4
mov ecx, dword [eax + esi*4]
mov eax, dword [esp + 0x1c]
xor ecx, eax
and ecx, 7
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x1c], eax
and eax, 7
mov edx, dword [ecx + esi*4]
mov ecx, ebp
shl edx, 3
or edx, eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], edx
call fcn.004785b0
inc esi
cmp esi, edi
jl 0x4270e8
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x445240
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x54f906
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
mov eax, dword [esp + 0x198]
push ebx
push ebp
push esi
mov esi, ecx
push edi
test eax, eax
mov dword [esp + 0x18], esi
mov eax, str..exe
je 0x44527a
mov eax, str..e
mov edi, dword [esp + 0x1a4]
push eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00528194
mov eax, dword [eax]
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00527eff
mov ebp, dword [esi + 0x134]
cmp ebx, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x44535b
mov ebp, dword [esp + 0x1ac]
add esi, 0x12c
push 0x58948c
lea edx, [esp + 0x20]
push edi
push edx
call fcn.00528194
lea ecx, [esp + 0x80]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov dword [esp + 0x1a8], 0
call fcn.00528194
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x1a4], 1
call fcn.00526bd6
lea ecx, [esp + 0x10]
mov byte [esp + 0x19c], 0
call fcn.00527eff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x19c], 0xffffffff
call fcn.00527eff
test ebp, ebp
je 0x445338
mov dword [ebp], 1
lea eax, [esp + 0x54]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4452c6
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x1a8], 2
je 0x445394
mov ecx, dword [esi + 0x134]
lea edx, [esp + 0x20]
sub ecx, ebp
push ecx
push 0x58a810
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x20]
lea ecx, [esi + 0x12c]
push 1
push eax
push ebp
call fcn.00526c78
mov ecx, dword [esp + 0x194]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x190
ret 0xc

Function at 0x446500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54fa78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x5ada84]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
lea edi, [esi + 0x23c]
push eax
lea ecx, [esi + 0x240]
push edi
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esi + 0x230]
push eax
push ecx
push edx
mov ecx, 0x5b1210
mov byte [esp + 0x38], 2
call fcn.00469980
test eax, eax
jne 0x446573
mov dword [edi], eax
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
mov ecx, esi
call fcn.004465d0
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call fcn.00527eff
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.00527eff
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00527eff
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x44ece0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55084e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push esi
mov esi, ecx
push 0x400
lea ecx, [esp + 0xc]
call fcn.00533533
xor ebx, ebx
lea eax, [esp + 8]
push ebx
push 0x1000
push ebx
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], ebx
call fcn.0052ff37
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x40]
push ebx
push ecx
mov ecx, esi
mov byte [esp + 0xd8], 1
call fcn.0044d4a0
test eax, eax
mov byte [esp + 0xc0], bl
lea ecx, [esp + 0x30]
jne 0x44ed73
call fcn.00530013
lea ecx, [esp + 8]
mov dword [esp + 0xc0], 0xffffffff
call fcn.005335f8
xor eax, eax
jmp 0x44ee10
call fcn.00530013
mov edx, dword [esp + 8]
push ebx
push ebx
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push ebx
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.0052ff37
mov esi, dword [esi + 0x2c8]
push ebx
push 1
push ebx
push ebx
lea ecx, [esp + 0x84]
push esi
push ecx
mov ecx, dword [esp + 0xe0]
mov byte [esp + 0xd8], 2
call fcn.0044f8e0
test eax, eax
mov byte [esp + 0xc0], bl
lea ecx, [esp + 0x74]
jne 0x44edf2
call fcn.00530013
lea ecx, [esp + 8]
mov dword [esp + 0xc0], 0xffffffff
call fcn.005335f8
xor eax, eax
jmp 0x44ee10
call fcn.00530013
lea ecx, [esp + 8]
mov dword [esp + 0xc0], 0xffffffff
call fcn.005335f8
mov eax, 1
mov ecx, dword [esp + 0xb8]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret 4

Function at 0x44ee30
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x550873
push eax
mov dword fs:[0], esp
sub esp, 0x78
push esi
push edi
mov edi, ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x44ee6c
pop edi
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
xor eax, eax
mov ax, word [0x5b1cf4]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x44ee9d
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
push 0x1000
push 0x2002
lea ecx, [esp + 0x10]
call fcn.00541a03
push 0
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0
call fcn.00541a87
push 0
push 0x1000
lea ecx, [esp + 0x10]
push 1
push ecx
lea ecx, [esp + 0x4c]
call fcn.0052ff37
push 0
push 1
push 0
push 0
lea edx, [esp + 0x4c]
push 0
push edx
mov ecx, edi
mov byte [esp + 0xa0], 1
call fcn.0044f8e0
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.0053009b
lea ecx, [esp + 8]
call fcn.00541b28
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x88], 0
call fcn.00530013
lea ecx, [esp + 8]
mov dword [esp + 0x88], 0xffffffff
call fcn.00541a49
mov ecx, dword [esp + 0x80]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret