joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4044b0
Capabilities:
Delete file
Move file
Terminate process

Disassembly:
sub esp, 0x218
mov eax, dword [0x42f370]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x21c]
push esi
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
xor esi, esi
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
call fcn.004035f0
add esp, 8
test eax, eax
jne 0x404510
push 0x10
push 0x4254c0
push 0x42562c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call fcn.00411846
cmp dword [esp + 4], 0x7f4
je 0x40453a
push 0x10
push 0x4254c0
push str.penc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call fcn.00411846
push ebx
push ebp
push edi
push 0x206
lea eax, [esp + 0x22]
push esi
push eax
mov word [esp + 0x28], si
call fcn.004145e0
mov ebp, dword [esp + 0x20]
mov edi, dword [ebp + 0xc]
add edi, dword [ebp]
mov ebx, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 4], esi
jbe 0x40467e
jmp 0x404570
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
push edx
mov eax, edi
mov dword [esp + 0x1c], 0
call fcn.00407050
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
add esp, 0xc
add edi, ebx
cmp esi, 2
mov dword [esp + 0x14], ecx
je 0x4045b6
push eax
add edi, ecx
call fcn.00410f70
add esi, 1
add esp, 4
cmp esi, dword [ebp + 4]
jb 0x404570
jmp 0x40467e
lea esi, [eax + 8]
push esi
push 0x431768
push 0x4258b8
lea eax, [esp + 0x28]
push 0x104
push eax
call fcn.004110d8
add esp, 0x14
xor eax, eax
jmp 0x4045e0
movzx ecx, word [esp + eax + 0x1c]
mov word [eax + 0x431b78], cx
add eax, 2
test cx, cx
jne 0x4045e0
mov ecx, str.LangMXlang_ch.xml
mov eax, esi
jmp 0x404600
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404626
test dx, dx
je 0x404622
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404626
add eax, 4
add ecx, 4
test dx, dx
jne 0x404600
xor eax, eax
jmp 0x40462b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x404639
mov dword [0x432dd0], 0x804
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edi
push edx
call fcn.00407370
add esp, 0xc
test eax, eax
jne 0x40466f
push str.SaveFileBufferAsFile___return_false
call fcn.0040c4d0
mov eax, dword [esp + 0x14]
push eax
call fcn.00410f70
add esp, 8
xor eax, eax
jmp 0x404683
push 4
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, 1
mov ecx, dword [esp + 0x224]
pop edi
pop ebp
pop ebx
pop esi
xor ecx, esp
call fcn.004110f4
add esp, 0x218
ret
Function at 0x407050
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
cmp dword [esp + 0x10], 0
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov edi, eax
jne 0x407066
pop edi
xor eax, eax
pop ebp
pop ecx
ret
mov eax, dword [esp + 0x10]
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x407121
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x4070ab
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
xor eax, eax
pop ebp
pop ecx
ret
lea ecx, [edi + ebp]
cmp eax, ecx
jb 0x40709d
push ebx
push 0
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ebx, [ebp + 2]
push ebx
call fcn.00410922
push ebx
mov edi, eax
push 0
push edi
call fcn.004145e0
add esp, 0x10
push 0
lea edx, [esp + 0x14]
push edx
push ebp
push edi
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
pop ebx
je 0x407118
cmp dword [esp + 0xc], ebp
jne 0x407118
mov eax, dword [esp + 0x1c]
pop esi
mov dword [eax], edi
pop edi
mov eax, 1
pop ebp
pop ecx
ret
push edi
call fcn.0041103d
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebp
pop ecx
ret

Function at 0x4071b0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x4ac
mov eax, dword [0x42f370]
xor eax, esp
mov dword [esp + 0x4a4], eax
push 0x103
lea eax, [esp + 0x195]
push 0
push eax
mov byte [esp + 0x19c], 0
call fcn.004145e0
push 0x206
lea ecx, [esp + 0x2aa]
push 0
push ecx
mov word [esp + 0x2b0], 0
call fcn.004145e0
add esp, 0x18
lea edx, [esp]
push edx
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x407257
push eax
lea eax, [esp + 0x29c]
push str.WSAStartup_failed:__d
push eax
call fcn.00411042
add esp, 0xc
push 0
push str.Error
lea ecx, [esp + 0x2a0]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [esp + 0x4a4]
xor ecx, esp
call fcn.004110f4
add esp, 0x4ac
ret
push 0x104
lea edx, [esp + 0x194]
push edx
call sub.WS2_32.dll_gethostname
test eax, eax
jne 0x407240
lea eax, [esp + 0x190]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x407240
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call sub.WS2_32.dll_inet_ntoa
mov edx, esi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x407290
call sub.WS2_32.dll_WSACleanup
mov ecx, dword [esp + 0x4a4]
xor ecx, esp
mov eax, 1
call fcn.004110f4
add esp, 0x4ac
ret
Function at 0x407370
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, eax
test esi, esi
je 0x4074f2
cmp dword [esp + 0x1c], 0
je 0x4074f2
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push esi
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4073ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.SaveFileBufferAsFile_____CreateFile_lpSrcFilePath:___s___failed__error_code:__lu.
call fcn.0040c4d0
add esp, 0xc
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x4073e7
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + ebp]
cmp eax, edx
jae 0x4073f8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
push 0
push 0
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esp + 0x24]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call edi
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x407445
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x20
sete cl
pop edi
pop ebx
pop esi
pop ebp
mov eax, ecx
add esp, 0x10
ret
mov eax, dword [esp + 0x2c]
mov esi, 0x100000
cmp eax, esi
jae 0x407454
mov esi, eax
push esi
call fcn.00410922
xor ebp, ebp
add esp, 4
cmp dword [esp + 0x2c], ebp
mov edi, eax
mov dword [esp + 0x10], 1
jbe 0x4074d6
nop
mov eax, dword [esp + 0x2c]
sub eax, ebp
cmp esi, eax
jbe 0x40747c
mov esi, eax
push 0
lea edx, [esp + 0x18]
push edx
push esi
push edi
push ebx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4074ce
cmp dword [esp + 0x14], esi
jne 0x4074ce
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push edi
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4074ce
cmp dword [esp + 0x18], esi
jne 0x4074ce
add ebp, esi
cmp ebp, dword [esp + 0x2c]
jb 0x407470
jmp 0x4074d6
mov dword [esp + 0x10], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov eax, dword [esp + 0x10]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x10
ret
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret
Function at 0x407500
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x10
push edi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esp + 0x18], 0
je 0x407624
push esi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push 0x431f90
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
je 0x40755b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x407554
lea ecx, [edi + ebx]
cmp eax, ecx
jae 0x407563
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop edi
add esp, 0x10
ret
push 0
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, 0x100000
cmp ebx, esi
jae 0x40757a
mov esi, ebx
push ebp
push esi
call fcn.00410922
add esp, 4
xor ebp, ebp
test ebx, ebx
mov edi, eax
mov dword [esp + 0xc], 1
jbe 0x40760e
mov eax, ebx
sub eax, ebp
cmp esi, eax
jbe 0x40759e
mov esi, eax
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x14]
push edx
push esi
push edi
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x407606
cmp dword [esp + 0x10], esi
jne 0x407606
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
push edx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x407606
cmp dword [esp + 0x14], esi
jne 0x407606
add ebp, esi
cmp ebp, ebx
jb 0x407594
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop ebp
pop esi
pop edi
add esp, 0x10
ret
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop ebp
pop esi
pop edi
add esp, 0x10
ret
xor eax, eax
pop edi
add esp, 0x10
ret

Function at 0x4079f0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x42f370]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
push 0x228
lea eax, [esp + 0x10]
push 0
push eax
mov edi, 1
mov dword [esp + 0x14], 0
call fcn.004145e0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x407a83
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x407a7c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call ebx
cmp dword [esp + 0x24], eax
je 0x407a7b
lea ecx, [ecx]
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x407a79
call ebx
cmp dword [esp + 0x24], eax
jne 0x407a60
jmp 0x407a7b
xor edi, edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004110f4
add esp, 0x230
ret
Function at 0x407b10
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x110
mov eax, dword [0x42f370]
xor eax, esp
mov dword [esp + 0x10c], eax
push 0x103
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.004145e0
add esp, 0xc
cmp dword [0x4335e0], 0
je 0x407b60
mov eax, 1
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004110f4
add esp, 0x110
ret
push 0x426880
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4335e0], eax
jne 0x407b91
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004110f4
add esp, 0x110
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptType
push eax
call esi
test eax, eax
mov dword [0x4335ec], eax
je 0x407ca0
call eax
cmp eax, 0x64
mov dword [0x433608], eax
jbe 0x407ca6
mov ecx, dword [0x4335e0]
push str.CryptVersion
push ecx
call esi
test eax, eax
mov dword [0x4335f0], eax
je 0x407ca0
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call eax
mov eax, dword [0x4335e0]
push str.GlobalInitLib
push eax
call esi
test eax, eax
mov dword [0x4335fc], eax
je 0x407ca0
mov ecx, dword [0x4335e0]
push str.InitLib
push ecx
call esi
test eax, eax
mov dword [0x4335e4], eax
je 0x407ca0
mov edx, dword [esp + 0x118]
mov ecx, dword [0x433608]
push edx
push edi
push ecx
call eax
test eax, eax
je 0x407ca6
mov edx, dword [0x4335e0]
push str.Encrypt
push edx
call esi
test eax, eax
mov dword [0x4335f4], eax
je 0x407ca0
mov eax, dword [0x4335e0]
push str.Decrypt
push eax
call esi
test eax, eax
mov dword [0x4335f8], eax
je 0x407ca0
mov ecx, dword [0x4335e0]
push str.CheckDecrLib
push ecx
call esi
cmp dword [0x4335fc], 0
mov dword [0x433600], eax
je 0x407ca0
mov edx, dword [0x4335e0]
push str.CheckKeyLib
push edx
call esi
test eax, eax
mov dword [0x433604], eax
jne 0x407cc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.00407ce0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004110f4
add esp, 0x110
ret
mov ecx, dword [esp + 0x110]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004110f4
add esp, 0x110
ret

Function at 0x407d50
Capabilities:
Encode data using xor

Disassembly:
test ebx, ebx
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
mov edi, eax
mov esi, ecx
jbe 0x407d89
xor ecx, ecx
test ebp, ebp
jbe 0x407d89
mov eax, dword [esp + 0x18]
add eax, ecx
xor edx, edx
div ebx
mov eax, dword [esp + 0x14]
add ecx, 1
add esi, 1
add edi, 1
mov dl, byte [edx + eax]
xor dl, byte [esi - 1]
cmp ecx, ebp
mov byte [edi - 1], dl
jb 0x407d65
pop edi
pop esi
pop ebp
ret
Function at 0x407d90
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
mov ebx, eax
test ebx, ebx
push edi
mov edi, edx
jbe 0x407dd7
mov eax, ecx
xor edx, edx
div dword [esp + 0x1c]
add esi, 1
add edi, 1
mov al, byte [edx + ebp]
xor al, byte [esi - 1]
xor al, cl
xor al, ch
xor al, byte [esp + 0x22]
add ecx, 1
xor al, byte [esp + 0x23]
sub ebx, 1
mov byte [edi - 1], al
mov dword [esp + 0x20], ecx
jne 0x407da8
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x408720
Capabilities:
Get file size

Disassembly:
push esi
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x408761
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x408755
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xffffffff
pop esi
ret
Function at 0x40af60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x334
mov eax, dword [0x42f370]
xor eax, esp
mov dword [esp + 0x330], eax
push esi
push 0x103
xor esi, esi
lea eax, [esp + 0x125]
push esi
push eax
mov byte [esp + 0x12c], 0
call fcn.004145e0
add esp, 0xc
push 0x110
lea ecx, [esp + 0x10]
push esi
push ecx
call fcn.004145e0
add esp, 0xc
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x18], 2
jne 0x40b05d
lea ecx, [esp + 0x120]
call fcn.0040a480
mov esi, eax
test esi, esi
je 0x40aff5
lea eax, [esp + 0x120]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40afe8
sub eax, edx
jne 0x40b003
lea ecx, [esp + 0x120]
call fcn.0040a7b0
mov esi, eax
test esi, esi
je 0x40b01e
lea eax, [esp + 0x120]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b011
sub eax, edx
jne 0x40b02c
lea ecx, [esp + 0x120]
call fcn.0040acd0
mov esi, eax
test esi, esi
je 0x40b04d
lea eax, [esp + 0x120]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40b040
sub eax, edx
jne 0x40b09f
lea ecx, [esp + 0x120]
call fcn.0040aa20
mov esi, eax
jmp 0x40b09f
push 0x103
lea eax, [esp + 0x22d]
push 0
push eax
mov byte [esp + 0x234], 0
call fcn.004145e0
add esp, 0xc
lea ecx, [esp + 0x228]
push str.G_H_D_I_e1____stOsVersion.dwPlatformId___VER_PLATFORM_WIN32_NT_n
push ecx
call fcn.00411287
add esp, 8
lea edx, [esp + 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esp + 0x120]
mov edx, edi
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x40b0b0
mov ecx, dword [esp + 0x334]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004110f4
mov esp, ebp
pop ebp
ret
Function at 0x40b0e0
Capabilities:
Get common file path
Get disk information
Print debug messages
Query environment variable

Disassembly:
sub esp, 0x324
mov eax, dword [0x42f370]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.0040af60
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x40b121
mov eax, edi
lea edx, [eax + 1]
jmp 0x40b110
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40b110
sub eax, edx
jne 0x40b200
push 0x103
lea eax, [esp + 0x225]
push ebx
push eax
mov byte [esp + 0x22c], bl
call fcn.004145e0
lea ecx, [esp + 0x22c]
push str.G_C_U_I_e1____G_H_D_I__.failed_n
push ecx
call fcn.00411287
add esp, 0x14
lea edx, [esp + 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x103
lea eax, [esp + 0x11d]
push ebx
push eax
mov byte [esp + 0x124], bl
call fcn.004145e0
add esp, 0xc
push 0x103
lea ecx, [esp + 0x11c]
push ecx
push str.COMPUTERNAME
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea edx, [esp + 0x118]
push edx
call fcn.004218b9
push 0x103
lea eax, [esp + 0x19]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], bl
call fcn.004145e0
add esp, 0x10
push 0x103
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x33], bl
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x118]
push ecx
push edx
push str.VSN__08X__s
push edi
call fcn.00411287
add esp, 0x10
mov ecx, dword [esp + 0x32c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004110f4
add esp, 0x324
ret

Function at 0x40b220
Capabilities:
Get session user name
Query environment variable

Disassembly:
sub esp, 0x314
mov eax, dword [0x42f370]
xor eax, esp
mov dword [esp + 0x310], eax
push esi
push 0x103
lea eax, [esp + 0x111]
push 0
push eax
mov byte [esp + 0x118], 0
call fcn.004145e0
push 0x103
lea ecx, [esp + 0x19]
push 0
push ecx
mov byte [esp + 0x20], 0
call fcn.004145e0
push 0x103
lea edx, [esp + 0x22d]
push 0
push edx
mov byte [esp + 0x234], 0
call fcn.004145e0
add esp, 0x24
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x110]
push ecx
mov dword [esp + 0xc], 0x103
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0x103
lea edx, [esp + 0x214]
push edx
push str.COMPUTERNAME
call esi
push 0x103
lea eax, [esp + 0xc]
push eax
push str.USERDOMAIN
call esi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x214]
push edx
call fcn.00411ba4
add esp, 8
test eax, eax
pop esi
jne 0x40b311
lea eax, [esp + 0x108]
push eax
push 0x4274a4
push edi
call fcn.00411287
add esp, 0xc
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.004110f4
add esp, 0x314
ret
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10c]
push edx
push str._s._s
push edi
call fcn.00411287
mov ecx, dword [esp + 0x320]
add esp, 0x10
xor ecx, esp
call fcn.004110f4
add esp, 0x314
ret
Function at 0x40b350
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x860
mov eax, dword [0x42f370]
xor eax, esp
mov dword [esp + 0x858], eax
push ebx
push ebp
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x255]
push ebx
push eax
mov byte [esp + 0x25c], bl
call fcn.004145e0
add esp, 0xc
push 0x103
lea ecx, [esp + 0x45]
push ebx
push ecx
mov byte [esp + 0x4c], bl
call fcn.004145e0
add esp, 0xc
mov eax, 1
xor edx, edx
cpuid
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov eax, 3
xor ecx, ecx
cpuid
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x260]
push str._lu_lu_lu_lu
push eax
call fcn.00411287
xor ebx, ebx
push 0x103
lea ecx, [esp + 0x165]
push ebx
push ecx
mov byte [esp + 0x16c], bl
call fcn.004145e0
add esp, 0x24
lea ecx, [esp + 0x148]
call fcn.0040b0e0
push 0x103
lea edx, [esp + 0x35d]
push ebx
push edx
mov byte [esp + 0x364], bl
call fcn.004145e0
add esp, 0xc
lea edi, [esp + 0x358]
call fcn.0040b220
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, edi
push eax
lea ecx, [esp + 0x14c]
push ecx
lea edx, [esp + 0x258]
push edx
call ebp
push eax
lea eax, [esp + 0x50]
push str.P_U_F_B_HW_A_1____PID:_d__CID:_s__UID:_s__UN:_s
push eax
call fcn.00411287
add esp, 0x18
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x3ff
lea edx, [esp + 0x465]
push ebx
push edx
mov byte [esp + 0x46c], bl
call fcn.004145e0
add esp, 0xc
mov eax, edi
push eax
lea ecx, [esp + 0x14c]
push ecx
push str._s._s
lea edx, [esp + 0x46c]
push edx
call fcn.00411287
lea eax, [esp + 0x470]
push eax
call fcn.004218b9
xor eax, eax
add esp, 0x14
lea edi, [esp + 0x1c]
lea edx, [esp + 0x250]
lea ecx, [esp + 0x460]
mov byte [esp + 0x1c], bl
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
call fcn.0040c170
mov edx, esi
mov ecx, edi
mov eax, edi
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x40b501
push esi
lea edx, [esp + 0x464]
push edx
call ebp
push eax
lea eax, [esp + 0x4c]
push str.P_U_F_B_HW_A_2____PID:_d__UUID:_s__UV:_s
push eax
call fcn.00411287
add esp, 0x14
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x864]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004110f4
add esp, 0x860
ret
Function at 0x40c030
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x42f370]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x65], eax
mov dword [esp + 0x69], eax
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov byte [esp + 0x85], al
mov eax, edx
push esi
mov byte [esp + 0x68], bl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40c083
xor ecx, ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], ecx
mov byte [edi + 0x20], cl
sub eax, esi
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.0040b7b0
add esp, 4
lea esi, [esp + 0x10]
lea ecx, [esp + 0x8c]
call fcn.0040b870
lea eax, [esp + 0x69]
xor esi, esi
mov dword [esp + 0xc], eax
mov bl, byte [esp + esi + 0x8c]
mov edx, dword [esp + 0xc]
movzx ecx, bl
push ecx
add edx, 0xffffffff
push str._02x
push edx
call fcn.00411287
shl bl, 4
movzx eax, bl
mov ebx, dword [esp + 0x18]
push eax
push str._02x
push ebx
call fcn.00411287
add esi, 1
add ebx, 2
add esp, 0x18
cmp esi, 0x10
mov dword [esp + 0xc], ebx
jl 0x40c0f9
push 0x20
lea ecx, [esp + 0x6c]
push ecx
push edi
call fcn.00413e60
mov ecx, dword [esp + 0xa8]
add esp, 0xc
pop esi
pop ebx
xor ecx, esp
mov eax, edi
call fcn.004110f4
mov esp, ebp
pop ebp
ret