joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60f530
Capabilities:
Get common file path

Disassembly:
sub esp, 0x410
push esi
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 4]
push eax
push 0
push 0
push 0xe
push 0
mov word [esp + 0x18], 0
call esi
cmp word [esp + 4], 0
jne 0x60f571
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 5
push 0
mov word [esp + 0x18], 0
call esi
cmp word [edi], 0
jne 0x60f58b
push 0x6cc0a4
push str.movie
push edi
lea eax, [esp + 0x10]
call fcn.004ad3a0
cmp word [edi + 0x410], 0
lea eax, [edi + 0x410]
jne 0x60f5af
push 0x6cc0a4
push str.movie
push eax
lea eax, [esp + 0x10]
call fcn.004ad3a0
cmp word [edi + 0x820], 0
lea eax, [edi + 0x820]
jne 0x60f5d3
push 0x6ccf0c
push str.movie
push eax
lea eax, [esp + 0x10]
call fcn.004ad3a0
push 0x6ccf0c
push str.movie
lea edx, [esp + 0x214]
push edx
lea eax, [esp + 0x10]
call fcn.004ad3a0
lea esi, [edi + 0xc34]
lea edx, [esp + 0x20c]
call fcn.004011d0
cmp word [edi + 0x38d8], 0
lea esi, [edi + 0x38d8]
jne 0x60f61c
lea edx, [esp + 0x20c]
call fcn.004011d0
cmp word [edi + 0x3ef0], 0
lea esi, [edi + 0x3ef0]
jne 0x60f638
lea edx, [esp + 0x20c]
call fcn.004011d0
pop esi
add esp, 0x410
ret

Function at 0x60fdf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0xed]
push esi
mov esi, eax
xor al, al
cmp ecx, 5
push edi
jne 0x60fe4c
lea eax, [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x6cc0a4
lea ecx, [esp + 0x14]
push ecx
call fcn.004ac1f0
add esi, 0x20c
push esi
add ebx, 0x43f4
push ebx
call fcn.00610520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 9
jne 0x60fea7
lea edi, [esp + 0x10]
call fcn.004ad1c0
mov edx, edi
push 0x6ca7e8
push edx
call fcn.006b227b
add esp, 8
test eax, eax
je 0x60fe8c
mov eax, edi
push 0x6ca7dc
push eax
call fcn.006b227b
add esp, 8
test eax, eax
je 0x60fe8c
push 0x6cc098
call fcn.005d4790
add esi, 0x1e3c
push esi
lea eax, [ebx + 0x616c]
call fcn.0060b090
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0xc
jne 0x60fec8
add esi, 0x30b8
push esi
add ebx, 0x6e94
push ebx
call fcn.0060a640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0xd
jne 0x60fee9
add esi, 0x36d0
push esi
add ebx, 0x75b4
push ebx
call fcn.0060a640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0xf
jne 0x60ff1f
lea ecx, [esp + 0x10]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x6cc0a4
lea edx, [esp + 0x14]
push edx
call fcn.004ac1f0
add esi, 0x2a74
push esi
lea eax, [ebx + 0x7cd4]
call fcn.00682750
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x612f00
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [esi + 0x14], 0xffffffff
jne 0x612f0b
xor al, al
pop ecx
ret
push ebx
mov ebx, dword [esi + 0xc]
sub ebx, dword [esi + 8]
jns 0x612f16
add ebx, dword [esi]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov edi, edi
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x10]
sub edi, eax
cmp edi, ebx
jbe 0x612f2e
mov edi, ebx
mov edx, dword [esi + 4]
push 0
lea ecx, [esp + 0x10]
push ecx
push edi
add edx, eax
mov eax, dword [esi + 0x14]
push edx
push eax
call ebp
cmp dword [esp + 0xc], edi
jne 0x612f64
add dword [esi + 0x18], edi
mov eax, dword [esi + 8]
adc dword [esi + 0x1c], 0
add eax, edi
xor edx, edx
div dword [esi + 0x10]
cmp edi, ebx
mov dword [esi + 8], edx
je 0x612f81
sub ebx, edi
jmp 0x612f20
mov eax, dword [esi + 0x14]
cmp eax, 0xffffffff
je 0x612f7a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14], 0xffffffff
pop edi
pop ebp
xor al, al
pop ebx
pop ecx
ret
pop edi
pop ebp
mov al, 1
pop ebx
pop ecx
ret

Function at 0x6132d0
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [edi]
sub esp, 0x10
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 3
lea ecx, [esp + 0x14]
push ecx
push edx
call ebp
cmp dword [esp + 0xc], 3
je 0x6132fb
xor al, al
pop ebp
add esp, 0x10
ret
movzx eax, byte [esp + 8]
sub eax, 0x46
jne 0x613319
movzx eax, byte [esp + 9]
sub eax, 0x57
jne 0x613319
movzx eax, byte [esp + 0xa]
sub eax, 0x53
je 0x613327
test eax, eax
mov ecx, 1
jg 0x613329
or ecx, 0xffffffff
jmp 0x613329
xor ecx, ecx
xor eax, eax
test ecx, ecx
setne al
push 0
lea ecx, [esp + 0x10]
push ecx
push 1
lea edx, [esp + 0x13]
push edx
mov dword [esi], eax
mov eax, dword [edi]
push eax
mov byte [esp + 0x1b], 0
call ebp
mov cl, byte [esp + 7]
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x18]
mov byte [esi + 4], cl
mov ecx, dword [edi]
push eax
push ecx
mov dword [esp + 0x20], 0
call ebp
mov edx, dword [esp + 0xc]
mov dword [esi + 5], edx
mov al, 1
pop ebp
add esp, 0x10
ret
Function at 0x613380
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
mov ebp, dword [esp + 0x10]
mov edx, dword [ebp]
push esi
push 0
lea eax, [esp + 0x10]
push eax
push 1
lea ecx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x28], 0
call ebx
mov al, byte [esp + 0x14]
movzx ecx, al
shr ecx, 3
mov byte [edi], al
lea ecx, [ecx*4 - 3]
mov eax, ecx
cdq
and edx, 7
add eax, edx
mov esi, eax
sar esi, 3
and ecx, 0x80000007
jns 0x6133d4
dec ecx
or ecx, 0xfffffff8
inc ecx
test ecx, ecx
jle 0x6133db
add esi, 1
mov eax, dword [edi + 1]
push eax
call fcn.0069c8fa
push esi
call fcn.0069c0de
add esp, 8
push 0
lea ecx, [esp + 0x18]
push ecx
mov dword [edi + 1], eax
mov edx, dword [edi + 1]
push esi
mov dword [edi + 5], esi
mov eax, dword [ebp]
push edx
push eax
call ebx
cmp dword [esp + 0x14], esi
je 0x613414
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 4
mov eax, dword [ebp]
xor esi, esi
push esi
lea ecx, [esp + 0x10]
push ecx
push 2
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], esi
call ebx
mov cx, word [esp + 0x14]
push esi
lea edx, [esp + 0x10]
push edx
push 2
lea eax, [esp + 0x20]
mov word [edi + 9], cx
mov ecx, dword [ebp]
push eax
push ecx
mov dword [esp + 0x28], esi
call ebx
mov dx, word [esp + 0x14]
pop esi
pop ebp
mov word [edi + 0xb], dx
mov al, 1
pop ebx
pop ecx
ret 4

Function at 0x613460
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov edx, dword [edi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0xc]
push eax
push 2
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], 0
call ebx
mov eax, dword [esp + 4]
mov cx, ax
and eax, 0x3f
shr cx, 6
cmp ax, 0x3f
mov word [esi], cx
mov word [esi + 2], ax
jne 0x6134c2
mov ecx, dword [edi]
push 0
lea edx, [esp + 0xc]
push edx
push 4
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], 0
call ebx
mov edx, dword [esp + 4]
mov dword [esi + 4], edx
pop ebx
add esp, 8
ret

Function at 0x6134d0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, eax
mov ax, word [esi]
shl ax, 6
or ax, word [esi + 2]
push 0
movzx ecx, ax
lea edx, [esp + 0x10]
push edx
push 2
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi]
push eax
push ecx
call ebx
mov esi, dword [esi + 4]
test esi, esi
je 0x613520
mov ecx, dword [edi]
push 0
lea edx, [esp + 0x10]
push edx
push 4
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], esi
call ebx
pop esi
pop ebx
add esp, 8
ret
Function at 0x6137c0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 0xc]
test esi, esi
jne 0x6137cf
movzx esi, word [edi + 0xa]
mov eax, dword [edi + 0x14]
push eax
call fcn.0069c8fa
push esi
call fcn.0069c0de
add esp, 8
test esi, esi
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], esi
je 0x613811
mov edx, dword [edi + 0x14]
mov eax, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [eax]
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0xc], esi
je 0x613811
pop edi
xor al, al
pop esi
ret 4
pop edi
mov al, 1
pop esi
ret 4

Function at 0x614880
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, eax
mov edi, ebx
call fcn.006132d0
test al, al
je 0x6149e5
cmp dword [esi], 1
je 0x6149e5
push ebx
lea edi, [esi + 9]
call fcn.00613380
test al, al
je 0x6149e5
add esi, 0x16
lea edi, [esp + 0x14]
call fcn.00688a50
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
lea esp, [esp]
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x6148fa
xor edi, edi
mov dword [esp + 0x2c], esi
jmp 0x614906
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
mov ecx, dword [ebx]
push 1
lea eax, [esp + 0x24]
push eax
xor eax, eax
push eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x614924
mov dword [esp + 0x2c], esi
jmp 0x614930
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], edx
cmp edi, eax
je 0x6149f0
mov eax, ebx
call fcn.00613530
mov edi, eax
cmp word [edi + 8], 0x13
jne 0x614978
mov ebx, dword [edi + 0xc]
cmp ebx, esi
jne 0x614953
movzx ebx, word [edi + 0xa]
push 1
lea esi, [esp + 0x34]
call fcn.00613af0
mov ecx, dword [ebp + 8]
mov dword [edi + 0x14], eax
mov edx, dword [eax]
mov edx, dword [edx + 4]
push ebx
push ecx
mov ecx, eax
call edx
mov ebx, dword [ebp + 8]
mov al, 1
xor esi, esi
jmp 0x614982
mov eax, dword [edi]
mov edx, dword [eax + 4]
push ebx
mov ecx, edi
call edx
movzx edx, word [edi + 8]
movzx ecx, dx
cmp cx, 0x12
je 0x614995
cmp cx, 0x2d
jne 0x6149b1
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x3c], ecx
test al, al
je 0x6149db
cmp dx, 1
mov eax, dword [esp + 0x10]
mov dword [edi + 0x10], eax
jne 0x6149c7
add dword [esp + 0x10], 1
mov ecx, dword [esp + 0x14]
lea eax, [edi + 4]
mov dword [ecx], edi
mov dword [eax], esi
mov dword [esp + 0x14], eax
jmp 0x6148e0
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x616b90
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x67c
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x616bb4
xor al, al
pop edi
pop esi
add esp, 0x67c
ret 8
push str.GetProcessId
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x616ba7
mov ecx, dword [esp + 0x688]
push ecx
call eax
mov esi, eax
test esi, esi
je 0x616ba7
mov eax, dword [esp + 0x68c]
lea edi, [esp + 0x270]
call fcn.004ad090
push str..exe
push str.hookinjector64
lea edx, [esp + 0x70]
push edx
mov eax, edi
call fcn.004ad3a0
push esi
lea eax, [esp + 0x6c]
push eax
push str.__s___d
mov esi, 0x104
lea edi, [esp + 0x484]
call fcn.004af0d0
xor eax, eax
push 0x44
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.006a1300
add esp, 0x18
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x278]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, edi
push edx
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x34], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x616cad
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x10]
push edx
call esi
xor eax, eax
cmp dword [esp + 0xc], eax
pop edi
sete al
pop esi
add esp, 0x67c
ret 8
Function at 0x626440
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0xa38
push ebx
push ebp
push esi
push edi
lea esi, [esp + 0x430]
call fcn.004aca30
test al, al
je 0x626560
lea eax, [esp + 0x638]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, esi
lea esi, [esp + 0x228]
call fcn.004ad160
push str..txt
mov ecx, esi
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x644]
call fcn.004ad3a0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6264a1
sub eax, edx
sar eax, 1
cmp eax, 0xfa
jbe 0x6264bf
mov word [esp + 0x41c], cx
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0x20]
push eax
xor ebx, ebx
call ebp
cmp eax, 0xffffffff
je 0x62651d
push ebx
lea ecx, [esp + 0x22c]
push ecx
push str._s___i_
mov esi, 0x104
lea edi, [esp + 0x84c]
call fcn.004af0d0
add esp, 0xc
push str..txt
mov edx, edi
push edx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x644]
add ebx, 1
call fcn.004ad3a0
lea ecx, [esp + 0x20]
push ecx
call ebp
cmp eax, 0xffffffff
jne 0x6264d3
lea edx, [esp + 0x430]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xa4c]
push ecx
lea eax, [esp + 0x24]
push edx
lea esi, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.0068ab00
cmp dword [eax], 0
jne 0x626560
push 1
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa38
ret 4

Function at 0x6296d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
call fcn.00627890
cmp byte [0x7365d0], 0
mov eax, dword [esp + 0x20]
jne 0x6296f3
mov eax, dword [esp + 0x24]
movzx eax, ax
push 0xa
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x629770
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x629770
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x629770
test edi, edi
jbe 0x629770
mov ecx, dword [ebx]
lea esi, [esp + 0x1c]
push esi
push 0
push edi
mov dword [esp + 0x28], 0
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x3c]
push ecx
call eax
test eax, eax
jne 0x629770
cmp ebp, 0x9e
ja 0x629764
lea esi, [ebx + ebp*4 + 0x24]
call fcn.00685df0
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x10
Function at 0x629eb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
xor eax, eax
cmp byte [esp + 8], al
push ebx
mov ebx, dword [esp + 8]
setne al
push esi
push 0xa
mov dword [ebx], 0
add eax, 0x1cc
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x629ee0
pop esi
pop ebx
ret 8
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x629f04
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x629f0c
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret 8
Function at 0x62b700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
call fcn.00627890
cmp byte [0x73651b], 0
je 0x62b7e4
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push ebx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
call fcn.0062a2e0
lea edi, [esp + 0x10]
call fcn.0062a440
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x62b7e4
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 + 0x28], eax
mov dword [esp + 0x2c], eax
push ebx
mov eax, esi
lea edi, [esp + 0x18]
mov dword [esp + 0x34], esi
call fcn.0062a620
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, edi
je 0x62b7db
cmp eax, 3
ja 0x62b7db
mov edx, dword [ebp + 0x18]
push edx
mov eax, esi
lea ecx, [esp + 0x5c]
call fcn.0062a5e0
mov eax, dword [esp + 0x58]
cmp eax, edi
je 0x62b7d2
cmp eax, 3
ja 0x62b7d2
mov eax, dword [ebp + 0x1c]
push eax
mov eax, esi
lea ecx, [esp + 0x7c]
call fcn.0062a5e0
mov ebx, dword [esp + 0x78]
cmp ebx, edi
je 0x62b7c9
cmp ebx, 3
jbe 0x62b7ef
lea ecx, [esp + 0x78]
call fcn.0062a6c0
lea ecx, [esp + 0x58]
call fcn.0062a6c0
lea ecx, [esp + 0x14]
call fcn.0062a6c0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov edx, dword [esp + 0x14]
xor esi, esi
xor eax, eax
cmp edx, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
jbe 0x62b848
lea edi, [esp + 0x18]
lea ecx, [esp + 0x34]
sub edi, ecx
cmp eax, edx
jb 0x62b831
xor ecx, ecx
jmp 0x62b838
lea ecx, [edi + esi*4]
mov ecx, dword [esp + ecx + 0x34]
mov dword [esp + esi*4 + 0x34], ecx
add eax, 1
add esi, 1
cmp eax, edx
jb 0x62b831
xor edi, edi
mov edx, dword [esp + 0x58]
xor eax, eax
cmp edx, edi
jbe 0x62b86c
cmp eax, edx
jb 0x62b85a
xor ecx, ecx
jmp 0x62b85e
mov ecx, dword [esp + eax*4 + 0x5c]
mov dword [esp + esi*4 + 0x34], ecx
add eax, 1
add esi, 1
cmp eax, edx
jb 0x62b85a
xor eax, eax
cmp ebx, edi
jbe 0x62b88c
cmp eax, ebx
jb 0x62b87a
xor ecx, ecx
jmp 0x62b87e
mov ecx, dword [esp + eax*4 + 0x7c]
mov dword [esp + esi*4 + 0x34], ecx
add eax, 1
add esi, 1
cmp eax, ebx
jb 0x62b87a
mov edi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x10]
push edi
lea edx, [esp + 0x14]
push edx
mov eax, ebx
call fcn.004d1c60
test al, al
je 0x62b7c9
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x40]
push 0
push 0
push ecx
mov ecx, dword [ebp + 8]
push esi
lea edx, [esp + 0x44]
push edx
push edi
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0062aef0
lea ecx, [esp + 0x78]
mov bl, al
call fcn.0062a6c0
lea ecx, [esp + 0x58]
call fcn.0062a6c0
lea ecx, [esp + 0x14]
call fcn.0062a6c0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x6354f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4bc
push ebx
push esi
push edi
push 0x2c
mov edi, eax
lea eax, [esp + 0x38]
push 0
push eax
call fcn.006a1300
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
add esp, 0xc
test eax, eax
mov dword [esp + 0x34], 0x28
je 0x63554a
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x635b66
mov ebx, dword [esp + 0x3c]
jmp 0x635580
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x635b66
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x635b66
mov eax, dword [esp + 0x3c]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp dword [edi + 0x40], 0
mov ecx, dword [esp + 0x38]
mov esi, ecx
je 0x63559d
cmp dword [edi], 0xffffffff
je 0x63559d
cmp dword [edi + 4], 0
jle 0x63559d
cmp dword [edi + 8], 0
jg 0x6355b9
push ebx
lea eax, [esp + 0x64]
push eax
xor eax, eax
call fcn.004d3de0
push 0
push 0
push 0
lea eax, [esp + 0x6c]
call fcn.004d0d70
mov ecx, edi
call fcn.004d1530
test al, al
jne 0x6355ce
mov dword [esp + 0x18], 0
jmp 0x6355f3
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x6355db
mov dword [esp + 0x18], eax
jmp 0x6355f3
cmp dword [edi + 0x38], 1
jne 0x6355ec
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
jmp 0x6355f3
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
push 0x428
lea ecx, [esp + 0xa4]
push 0
push ecx
call fcn.006a1300
mov edi, ebx
imul edi, esi
xor ecx, ecx
add esp, 0xc
mov eax, edi
mov edx, 4
mul edx
seto cl
mov dword [esp + 0xa0], 0x28
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], ebx
mov word [esp + 0xac], 1
mov word [esp + 0xae], 0x20
mov dword [esp + 0xb0], 0
neg ecx
or ecx, eax
push ecx
call fcn.0069c0de
add edi, edi
add esp, 4
add edi, edi
push edi
mov dword [esp + 0x34], eax
call fcn.0069c0de
mov dword [esp + 0x28], eax
mov eax, esi
add esp, 4
and eax, reloc.WS2_32.dll_closesocket
mov dword [esp + 0x14], esi
jns 0x635689
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
jle 0x635698
mov ecx, esi
sub ecx, eax
add ecx, 4
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
invalid
scasd eax, dword es:[edi]
Function at 0x63c6a0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
test ecx, ecx
push esi
mov esi, dword [esp + 8]
je 0x63c6d5
push ebx
lea ebx, [ebx]
movzx ebx, byte [esi]
mov edx, eax
shr edx, 0x18
xor edx, ebx
and edx, 0xff
shl eax, 8
xor eax, dword [edx*4 + 0x6bdab0]
sub ecx, 1
add esi, 1
test ecx, ecx
jne 0x63c6b0
pop ebx
pop esi
ret 4

Function at 0x63c950
Capabilities:
Encode data using xor

Disassembly:
mov word [esi + 9], pe_nt_image_headers32
mov byte [esi + 7], 1
push ebx
xor ebx, ebx
mov byte [esi + 0xc8], bl
mov byte [esi + 0xc9], 2
mov byte [esi + 0xca], 0xb0
mov byte [esi + 0xcb], bl
mov byte [esi + 0xcc], bl
mov byte [esi + 0xcd], 1
mov byte [esi + 0xce], 0xc1
mov byte [esi + 0xcf], bl
mov byte [esi + 0xd0], bl
mov byte [esi + 0xd1], 0xf0
push ebp
mov byte [esi + 0xd2], 1
push edi
xor ecx, ecx
cmp edx, ebx
mov edi, eax
mov byte [esi + 0xd3], 0xf0
mov byte [esi + 0xd4], dl
lea eax, [ebx + 0xd]
jbe 0x63c9d8
nop
mov ebx, dword [edi]
mov bl, byte [ecx + ebx]
mov byte [esi + eax + 0xc8], bl
add ecx, 1
add eax, 1
cmp ecx, edx
jb 0x63c9c0
xor ebx, ebx
mov edi, dword [esi + 0x185]
cmp edi, ebx
je 0x63ca50
mov ecx, 0xaf
sub ecx, dword [edi + 0xb]
cmp eax, ecx
ja 0x63ca50
mov dl, byte [edi + 4]
mov byte [esi + eax + 0xc8], dl
mov cx, word [edi + 5]
or cx, 0xe000
mov dh, cl
add eax, 1
add eax, 2
add eax, 1
add eax, 1
mov dl, ch
mov word [esi + eax + 0xc4], dx
mov byte [esi + eax + 0xc6], 0xf0
mov cl, byte [edi + 0xb]
mov byte [esi + eax + 0xc7], cl
xor ecx, ecx
cmp dword [edi + 0xb], ebx
jbe 0x63ca4a
mov edx, dword [edi + 7]
mov dl, byte [ecx + edx]
mov byte [esi + eax + 0xc8], dl
add ecx, 1
add eax, 1
cmp ecx, dword [edi + 0xb]
jb 0x63ca32
mov edi, dword [edi]
cmp edi, ebx
jne 0x63c9e2
lea edi, [eax - 1]
or ecx, 0xffffffff
cmp edi, ebx
mov byte [esi + 0xcb], al
lea ebp, [esi + 0xc9]
je 0x63ca8b
movzx ebx, byte [ebp]
mov edx, ecx
shr edx, 0x18
xor edx, ebx
and edx, 0xff
shl ecx, 8
xor ecx, dword [edx*4 + 0x6bdab0]
sub edi, 1
add ebp, 1
test edi, edi
jne 0x63ca66
bswap ecx
mov dword [eax + esi + 0xc8], ecx
add eax, 4
mov ecx, 0xb8
sub ecx, eax
push ecx
lea edx, [eax + esi + 0xc8]
push 0xff
push edx
call fcn.006a1300
add esp, 0xc
pop edi
pop ebp
mov byte [esi + 0x180], 0xb8
pop ebx
ret

Function at 0x63d2c0
Capabilities:
Enumerate devices by category

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx + 8]
test eax, eax
push esi
lea esi, [ebx + 8]
je 0x63d2dd
mov ecx, dword [eax]
pop esi
pop ebx
mov dword [esp + 4], eax
mov edx, dword [ecx + 0x14]
jmp edx
push edi
lea eax, [esp + 0x10]
push eax
push 0x6bc780
push 1
push 0
push 0x6bc580
mov dword [esp + 0x24], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, dword [esp + 0x10]
test edi, edi
je 0x63d33a
mov eax, dword [esi]
test eax, eax
je 0x63d31b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esi], 0
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
push 0
push esi
add ebx, 0xc
push ebx
push edi
call ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x63d33a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop esi
pop ebx
ret 4