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

Disassembly:
sub esp, 0x220
mov eax, dword [0x4b9b30]
xor eax, esp
mov dword [esp + 0x21c], eax
mov ecx, 0x3a
mov word [esp + 0xa], cx
mov edx, 0x5c
xor ecx, ecx
push 0x208
mov word [esp + 0x10], dx
xor eax, eax
push ecx
lea edx, [esp + 0x1a]
push edx
mov word [esp + 0x14], ax
mov word [esp + 0x1a], ax
mov word [esp + 0x1c], cx
call fcn.00466350
add esp, 0xc
push 0x104
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov cx, word [esp + 0x10]
push 4
lea edx, [esp + 0x14]
push 0x49f900
push edx
mov word [esp + 0x14], cx
call fcn.0046a12f
add esp, 0xc
test eax, eax
jne 0x42d93a
mov ax, word [esp + 0x18]
mov word [esp + 8], ax
push 0
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42d97e
cmp dword [esp + 4], 0
ja 0x42d97e
jb 0x42d964
cmp dword [esp], 0x6400000
ja 0x42d97e
mov eax, 1
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00466fd0
add esp, 0x220
ret
mov ecx, dword [esp + 0x21c]
xor ecx, esp
xor eax, eax
call fcn.00466fd0
add esp, 0x220
ret

Function at 0x42d9a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x240c
call fcn.004681d0
mov eax, dword [0x4b9b30]
xor eax, esp
mov dword [esp + 0x2408], eax
mov eax, dword [esp + 0x2420]
push ebx
mov ebx, dword [esp + 0x241c]
push esi
mov esi, dword [esp + 0x2418]
push edi
mov edi, dword [esp + 0x2420]
xor ecx, ecx
push 0x1ffe
push ecx
lea edx, [esp + 0x41e]
push edx
mov dword [esp + 0x1c], eax
mov word [esp + 0x420], cx
call fcn.00466350
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x418]
push ecx
lea edx, [esp + 0x2430]
push edx
push ebx
push edi
push esi
mov dword [esp + 0x24], 0x2000
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x42da3f
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2408]
xor ecx, esp
call fcn.00466fd0
add esp, 0x240c
ret
push ebp
xor eax, eax
push 0x3fe
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.00466350
push ebx
lea edx, [esp + 0x28]
push 0x4913bc
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2444]
mov ebp, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esp, 0x18
push eax
lea ecx, [esp + 0x41c]
push ecx
push edx
lea eax, [esp + 0x24]
push eax
push edi
push esi
call ebp
test eax, eax
je 0x42da97
xor eax, eax
jmp 0x42dab6
mov ecx, dword [esp + 0x2434]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x242c]
push ecx
push edx
push eax
push ebx
push edi
push esi
call ebp
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x2418]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00466fd0
add esp, 0x240c
ret
Function at 0x42dad0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x2408
call fcn.004681d0
mov eax, dword [0x4b9b30]
xor eax, esp
mov dword [esp + 0x2404], eax
push ebx
mov ebx, dword [esp + 0x2418]
push esi
mov esi, dword [esp + 0x2414]
push edi
mov edi, dword [esp + 0x241c]
xor eax, eax
push 0x1ffe
push eax
lea ecx, [esp + 0x41a]
push ecx
mov word [esp + 0x41c], ax
call fcn.00466350
xor edx, edx
push 0x3fe
push edx
lea eax, [esp + 0x26]
push eax
mov dword [esp + 0x24], 0x2000
mov word [esp + 0x28], dx
call fcn.00466350
push ebx
lea ecx, [esp + 0x2c]
push 0x4913bc
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x414]
push eax
lea ecx, [esp + 0x242c]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x42db90
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2404]
xor ecx, esp
call fcn.00466fd0
add esp, 0x2408
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x2424]
push eax
lea ecx, [esp + 0x414]
push ecx
push edx
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x42db76
lea eax, [esp + 0x10]
push eax
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ecx, dword [esp + 0x2410]
pop edi
neg eax
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.00466fd0
add esp, 0x2408
ret

Function at 0x42dbe0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc0c
mov eax, dword [0x4b9b30]
xor eax, esp
mov dword [esp + 0xc08], eax
push esi
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x416]
push ecx
mov word [esp + 0x418], ax
call fcn.00466350
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x410]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str..docx
push SysReAllocString
mov dword [esp + 0x1c], 0x800
mov dword [esp + 0x20], 1
call esi
test eax, eax
je 0x42dc67
xor eax, eax
pop esi
mov ecx, dword [esp + 0xc08]
xor ecx, esp
call fcn.00466fd0
add esp, 0xc0c
ret
push str.ShellOpenAsReadOnlycommand
lea edx, [esp + 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
push 0x3fe
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.00466350
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x41c]
push edx
push SysReAllocString
mov dword [esp + 0x1c], 0x400
call esi
mov ecx, dword [esp + 0xc0c]
neg eax
sbb eax, eax
pop esi
xor ecx, esp
inc eax
call fcn.00466fd0
add esp, 0xc0c
ret
Function at 0x42e140
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
sub esp, 0xa78
mov eax, dword [0x4b9b30]
xor eax, esp
mov dword [esp + 0xa74], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa88]
push edi
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x26e]
push ecx
mov word [esp + 0x270], ax
call fcn.00466350
xor edx, edx
push 0x40e
push edx
lea eax, [esp + 0x68a]
push eax
mov word [esp + 0x68c], dx
call fcn.00466350
mov eax, esi
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e1a1
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x42e1c6
push 0x49f910
push esi
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea ecx, [esp + 0x678]
push ecx
call ebp
push 0x48ec54
lea edx, [esp + 0x678]
push edx
call edi
push 0x250
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00466350
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x678]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0xffffffff
je 0x42e33e
test ebx, ebx
je 0x42e33e
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x48f7ac
lea eax, [esp + 0x40]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42e266
test dx, dx
je 0x42e262
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42e266
add eax, 4
add ecx, 4
test dx, dx
jne 0x42e240
xor eax, eax
jmp 0x42e26b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42e30d
mov ecx, 0x48ec38
lea eax, [esp + 0x40]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42e2a6
test dx, dx
je 0x42e2a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42e2a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x42e280
xor eax, eax
jmp 0x42e2ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42e30d
push esi
lea eax, [esp + 0x268]
push eax
call ebp
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x268]
push edx
call edi
lea eax, [esp + 0x264]
push eax
call ebx
test al, 0x10
je 0x42e2e9
lea ecx, [esp + 0x264]
push ecx
call fcn.0042e140
add esp, 4
jmp 0x42e30d
test al, 1
je 0x42e2ff
and eax, 0xfffffffe
push eax
lea edx, [esp + 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42e230
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, 1
jmp 0x42e340
xor eax, eax
mov ecx, dword [esp + 0xa84]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00466fd0
add esp, 0xa78
ret
Function at 0x430b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a598
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b9b30]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004199d0
add eax, 0x10
mov dword [esi], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
sub eax, 0x10
push eax
mov dword [esp + 0x1c], 0
call fcn.004199d0
mov dl, byte [esp + 0x30]
add esp, 8
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], eax
mov byte [esi + 8], dl
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10
Function at 0x432200
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], vtable.CEncryptMd5.0
call fcn.00466350
add esp, 0xc
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
pop esi
ret
Function at 0x4340f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
or eax, 0xffffffff
test ecx, ecx
je 0x43411c
mov edx, dword [esp + 4]
push esi
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4b7db8]
dec ecx
inc edx
test ecx, ecx
jne 0x434100
pop esi
not eax
ret

Function at 0x434120
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x434146
or eax, eax
pop esi
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x434160
Capabilities:
Get disk information

Disassembly:
push 4
call fcn.0044383e
mov ecx, dword [esp + 8]
mov dl, byte [ecx]
add esp, 4
xor ecx, ecx
push eax
mov byte [eax], dl
mov word [eax + 2], cx
call dword [sym.imp.USER32.dll_CharUpperW]
mov edx, 0xffbf
add word [eax], dx
mov cl, byte [eax]
mov dword [esp + 4], 0
push eax
mov byte [esp + 8], cl
call fcn.00443849
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [esp + 4]
mov edx, 1
shl edx, cl
test edx, eax
setne al
ret
Function at 0x4341c0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
sub esp, 0xa78
mov eax, dword [0x4b9b30]
xor eax, esp
mov dword [esp + 0xa74], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa88]
push edi
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x26e]
push ecx
mov word [esp + 0x270], ax
call fcn.00466350
xor edx, edx
push 0x40e
push edx
lea eax, [esp + 0x68a]
push eax
mov word [esp + 0x68c], dx
call fcn.00466350
mov eax, esi
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434221
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x434246
push 0x49f910
push esi
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea ecx, [esp + 0x678]
push ecx
call ebp
push 0x48ec54
lea edx, [esp + 0x678]
push edx
call edi
push 0x250
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00466350
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x678]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0xffffffff
je 0x4343bb
test ebx, ebx
je 0x4343bb
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, 0x48f7ac
lea eax, [esp + 0x40]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4342e6
test dx, dx
je 0x4342e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4342e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4342c0
xor eax, eax
jmp 0x4342eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43438d
mov ecx, 0x48ec38
lea eax, [esp + 0x40]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x434326
test dx, dx
je 0x434322
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x434326
add eax, 4
add ecx, 4
test dx, dx
jne 0x434300
xor eax, eax
jmp 0x43432b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x43438d
push esi
lea eax, [esp + 0x268]
push eax
call ebp
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x268]
push edx
call edi
lea eax, [esp + 0x264]
push eax
call ebx
test al, 0x10
je 0x434369
lea ecx, [esp + 0x264]
push ecx
call fcn.004341c0
add esp, 4
jmp 0x43438d
test al, 1
je 0x43437f
and eax, 0xfffffffe
push eax
lea edx, [esp + 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4342b0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov al, 1
jmp 0x4343bd
xor al, al
mov ecx, dword [esp + 0xa84]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00466fd0
add esp, 0xa78
ret
Function at 0x434420
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x434446
xor eax, eax
pop esi
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push edi
push ecx
push 0
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov edi, ecx
test edi, edi
je 0x434482
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x4344e0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4344f5
xor eax, eax
pop esi
ret
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
ret

Function at 0x434850
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b9b30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
setne al
push 0
push 0
mov dword [ebp - 8], 1
add eax, 2
push eax
push 0
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4348b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466fd0
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x4348c3
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0xc]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4348e4
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 0xc]
je 0x4348eb
mov dword [ebp - 8], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
jne 0x434932
test ebx, ebx
jne 0x434932
test edi, edi
je 0x43490f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x434913
xor eax, eax
jmp 0x434929
lea esi, [eax + eax]
mov eax, esi
call fcn.00466fe0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00417ec0
push eax
call fcn.0046a3fb
add esp, 4
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466fd0
mov esp, ebp
pop ebp
ret
Function at 0x434a30
Capabilities:
Create directory

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
mov ebx, 3
mov dword [esp + 0x14], edi
cmp edi, ebx
jbe 0x434adc
cmp word [ebp + ebx*2], 0x5c
jne 0x434ad3
call fcn.0044c39b
push eax
push ebx
push ebp
lea ecx, [esp + 0x1c]
call fcn.00419860
mov esi, dword [esp + 0x10]
push esi
call fcn.004346e0
add esp, 4
test eax, eax
jne 0x434ab7
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
call fcn.004199d0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00434970
add esp, 4
test eax, eax
jne 0x434b3e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x434b18
mov edi, dword [esp + 0x14]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434ad3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
cmp ebx, edi
jb 0x434a55
push ebp
call fcn.004346e0
add esp, 4
test eax, eax
jne 0x434b5a
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebp
call fcn.0041a8b0
call fcn.00434970
add esp, 4
test eax, eax
jne 0x434b5a
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x434b5c
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434b34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434b5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4395c0
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x28c8
call fcn.004681d0
mov eax, dword [0x4b9b30]
xor eax, esp
mov dword [esp + 0x28c4], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x28d8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x14], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.Not_found
lea edx, [esp + 0x2894]
push edx
lea esi, [esp + 0x18]
call ebx
movzx eax, byte [esp + 0x1a4]
cmp eax, 0xffffffff
jne 0x439678
lea ecx, [eax + 7]
movzx edx, byte [esi + 0x195]
cmp edx, 0xffffffff
jne 0x439678
movzx edx, byte [esi + 0x196]
cmp edx, 0xffffffff
jne 0x439678
movzx edx, byte [esi + 0x197]
cmp edx, 0xffffffff
jne 0x439678
movzx edx, byte [esi + 0x198]
cmp edx, 0xffffffff
jne 0x439678
movzx edx, byte [esi + 0x199]
cmp edx, 0xffffffff
jne 0x439678
cmp dword [esi + 0x1a0], ecx
je 0x439678
mov esi, dword [esi]
test esi, esi
je 0x439678
movzx edx, byte [esi + 0x194]
cmp edx, 0xffffffff
je 0x439622
movzx ecx, byte [esp + 0x1a9]
movzx edx, byte [esp + 0x1a8]
push ecx
movzx ecx, byte [esp + 0x1ab]
push edx
movzx edx, byte [esp + 0x1ae]
push ecx
movzx ecx, byte [esp + 0x1b1]
push edx
push ecx
push eax
lea edx, [esp + 0x28a8]
push 0x4978e8
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x28b0]
push 0x20
push eax
call fcn.004691a0
add esp, 0x28
lea ecx, [esp + 0x2890]
push ecx
push edi
call ebx
mov ecx, dword [esp + 0x28d0]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00466fd0
add esp, 0x28c8
ret
Function at 0x439730
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x4b9b30]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [0x497948]
mov edx, dword [0x49794c]
xor eax, eax
mov dword [esp + 2], eax
mov dword [esp + 6], eax
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov dword [0x4bfb98], eax
mov dword [0x4bfb9c], eax
mov dword [0x4bfba0], eax
mov dword [0x4bfba4], eax
mov dword [0x4bfba8], eax
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
mov dword [0x4bfbac], eax
mov dword [0x4bfbb0], eax
mov dword [0x4bfbb4], eax
mov eax, dword [str.Beijing_E_SafeNet]
mov dword [0x4bfb98], eax
mov eax, dword [0x497950]
mov dword [0x4bfb9c], ecx
mov cx, word [0x497954]
mov dword [0x4bfba0], edx
mov edx, dword [str.CDGCobra_DocGuard]
mov dword [0x4bfba4], eax
mov eax, dword [0x497934]
mov word [0x4bfba8], cx
mov ecx, dword [0x497938]
mov dword [esp], edx
mov edx, dword [0x49793c]
mov dword [esp + 4], eax
mov ax, word [0x497940]
push 0x4bfb98
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov word [esp + 0x14], ax
call fcn.00439700
lea ecx, [esp + 4]
push ecx
call fcn.00439700
add esp, 8
mov edx, 0x4bfb98
movzx eax, word [edx]
xor ecx, ecx
lea esp, [esp]
xor ax, word [esp + ecx*2]
add ecx, 6
xor ax, word [esp + ecx*2 - 0xa]
xor ax, word [esp + ecx*2 - 8]
xor ax, word [esp + ecx*2 - 6]
xor ax, word [esp + ecx*2 - 4]
xor ax, word [esp + ecx*2 - 2]
cmp ecx, 0x12
jl 0x439820
mov word [edx], ax
add edx, 2
cmp edx, 0x4bfbd8
jl 0x439814
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00466fd0
add esp, 0x28
ret

Function at 0x43aaf0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push esi
xor esi, esi
cmp dword [esp + 0x10], esi
jle 0x43ab47
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push edi
lea esp, [esp]
inc cl
movzx edi, cl
mov bl, byte [eax + edi + 8]
add dl, bl
movzx edx, dl
mov cl, byte [eax + edx + 8]
mov byte [eax + edi + 8], cl
add cl, bl
movzx ecx, cl
mov byte [eax + edx + 8], bl
movzx ecx, byte [ecx + eax + 8]
xor byte [esi + ebp], cl
inc esi
cmp esi, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
mov ecx, edi
jl 0x43ab10
pop edi
pop ebp
pop ebx
mov dword [eax + 4], edx
mov dword [eax], ecx
pop esi
ret