joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46714c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
push 0
push 0
push 0xe
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
inc esi
mov eax, ebx
mov edx, esi
call fcn.00404f08
mov eax, ebx
call fcn.00404dd4
push eax
push esi
push 0xd
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx]
call fcn.00404b7c
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.00404e1c
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4671b4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, 0x541798
xor eax, eax
push ebp
push 0x467277
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0xe
push 0x6d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
inc ebx
mov eax, esi
mov edx, ebx
call fcn.00404f08
mov eax, esi
call fcn.00404dd4
push eax
push ebx
push 0xd
push 0x6d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
push eax
call sub.user32.dll_GetDlgItem
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [esi]
call fcn.00404b7c
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.00404e1c
lea edx, [ebp - 4]
mov eax, dword [esi]
call fcn.0040912c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004048f4
lea ecx, [ebp - 8]
mov dl, 0x7b
mov eax, dword [0x5416a0]
call fcn.00430cc4
mov edx, dword [ebp - 8]
mov ecx, dword [esi]
mov eax, 7
call fcn.00460a70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46727e
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048c4
ret

Function at 0x468964
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x5396bc], 0
jne 0x4689b1
xor esi, esi
mov edx, 0x542058
mov eax, esi
mov ebx, 8
test al, 1
je 0x468997
shr eax, 1
xor eax, 0xedb88320
jmp 0x468999
shr eax, 1
dec ebx
jne 0x46898a
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x468983
mov byte [0x5396bc], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x4689de
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x542058]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x4689bd
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x46ba28
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x46ba31
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d6c
mov eax, dword [ebp - 8]
call fcn.00404d6c
mov eax, dword [ebp - 0xc]
call fcn.00404d6c
xor eax, eax
push ebp
push 0x46bc5c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.0042f2b4
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 8]
call fcn.00404938
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.0042f2b4
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
call fcn.00404938
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x46bc74
mov eax, 0x80000000
call fcn.004301f0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x14]
call fcn.0042f2b4
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x14]
call fcn.00404938
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00403220
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.00403220
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x54176c]
mov edx, 0x46bc98
call fcn.00404bc8
push 0x46bca8
push dword [ebp - 4]
push 0x46bcb8
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
call fcn.0046b944
push dword [ebp - 0x84]
push 0x46bccc
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404bc8
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.0046b944
push dword [ebp - 0x88]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00404c3c
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x46bcdc
mov eax, dword [ebp - 0x14]
call fcn.0042ffbc
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x4000020
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00404d7c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x46bc14
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, eax
push 0x2710
push eax
call sub.user32.dll_WaitForInputIdle
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x6c]
call fcn.004587d8
test eax, eax
je 0x46bbe3
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
je 0x46bc00
lea eax, [ebp - 0x20]
push eax
push esi
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x46bc31
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x90]
call fcn.0040d008
mov edx, dword [ebp - 0x90]
mov al, 4
call fcn.00458490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bc63
lea eax, [ebp - 0x90]
mov edx, 7
call fcn.004048c4
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004048c4
ret
Function at 0x46cc70
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x46cc78
push ebx
push esi
mov esi, 0x5416a0
xor eax, eax
push ebp
push 0x46cef7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov byte [0x541950], 1
mov eax, dword [0x54199c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x5419a0]
mov edx, dword [eax]
call dword [edx + 0x44]
call fcn.004585cc
call fcn.0046b7e0
xor eax, eax
push ebp
push 0x46cec8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x542028]
call fcn.0045d1f4
xor eax, eax
push ebp
push 0x46cea3
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0045d2c0
xor eax, eax
push ebp
push 0x46ce75
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x46cd1e
mov al, 1
call fcn.0046cbb0
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x46cd1e
push ebp
call fcn.0046c0ac
pop ecx
and bl, al
mov eax, dword [esi]
cmp byte [eax + 0x30d], 0
je 0x46cd5a
mov eax, dword [esi]
cmp byte [eax + 0x30c], 0
je 0x46cd3f
mov eax, dword [esi]
cmp byte [eax + 0x2ee], 0
je 0x46cd46
xor eax, eax
call fcn.0046cbb0
mov eax, dword [esi]
cmp byte [eax + 0x30d], 0
je 0x46cd5a
push ebp
call fcn.0046ca64
pop ecx
and bl, al
test bl, bl
jne 0x46cd73
mov eax, dword [esi]
test byte [eax + 0x331], 0x10
je 0x46cd73
mov eax, dword [0x54176c]
call fcn.00458954
mov eax, dword [esi]
test byte [eax + 0x2f1], 2
je 0x46cdf6
cmp byte [ebp - 0xd], 0
jne 0x46cdf6
test bl, bl
je 0x46cdc0
push 0x242040
lea ecx, [ebp - 0x14]
xor edx, edx
mov eax, dword [esi]
call fcn.00430cc4
mov eax, dword [ebp - 0x14]
call fcn.00404d7c
push eax
lea ecx, [ebp - 0x18]
mov dl, 0x90
mov eax, dword [esi]
call fcn.00430cc4
mov eax, dword [ebp - 0x18]
call fcn.00404d7c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
jmp 0x46cdf6
push 0x242010
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [esi]
call fcn.00430cc4
mov eax, dword [ebp - 0x1c]
call fcn.00404d7c
push eax
lea ecx, [ebp - 0x20]
mov dl, 0x91
mov eax, dword [esi]
call fcn.00430cc4
mov eax, dword [ebp - 0x20]
call fcn.00404d7c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [esi]
test byte [eax + 0x331], 0x20
je 0x46ce47
test bl, bl
jne 0x46ce47
lea eax, [ebp - 0x24]
call fcn.0046be9c
mov eax, dword [ebp - 0x24]
call fcn.00404d7c
push eax
lea eax, [ebp - 0x28]
call fcn.0045cf90
mov eax, dword [ebp - 0x28]
call fcn.00404d7c
push eax
call sub.kernel32.dll_MoveFileA
lea eax, [ebp - 0x30]
call fcn.0046be9c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00409da4
mov eax, dword [ebp - 0x2c]
call fcn.0046bf28
lea eax, [ebp - 0x34]
call fcn.0045cf90
mov eax, dword [ebp - 0x34]
call fcn.00409c78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ce7c
lea eax, [ebp - 0x38]
call fcn.0045d13c
mov eax, dword [ebp - 0x38]
call fcn.00409c78
ret
Function at 0x46e624
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46e698
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x46e6a4]
call fcn.00402d14
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.004095b4
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x46e6b0
call fcn.00404bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e69f
lea eax, [ebp - 0x24]
call fcn.004048a0
ret

Function at 0x46e6b4
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46e728
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x46e734]
call fcn.00402d14
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.004095b4
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x46e740
call fcn.00404bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e72f
lea eax, [ebp - 0x24]
call fcn.004048a0
ret
Function at 0x46f2bc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46f419
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004048a0
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00404d7c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x46f3fe
mov eax, dword [ebp - 4]
call fcn.004027ac
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x46f3f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46f3de
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x46f428
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46f3de
push 0x46f44c
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov edx, 4
call fcn.004095dc
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.004095dc
push dword [ebp - 0x20]
push 0x46f468
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404c3c
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00404d7c
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46f3de
cmp dword [ebp - 0xc], 1
jbe 0x46f3de
mov eax, dword [ebp - 0x14]
call fcn.0040a2d4
mov ecx, eax
mov eax, esi
mov edx, dword [ebp - 0x14]
call fcn.00404990
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f3fe
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004027cc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f420
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004048c4
ret
Function at 0x46f4b0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404d6c
xor eax, eax
push ebp
push 0x46f588
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004048a0
cmp dword [ebp - 4], 0
je 0x46f500
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x46f500
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00404e1c
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404d7c
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46f572
mov eax, ebx
mov edx, 0x400
call fcn.00404f08
mov eax, dword [ebx]
call fcn.00404b7c
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx]
call fcn.00404d7c
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x46f562
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.00404f08
jmp 0x46f569
mov eax, ebx
call fcn.004048a0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f58f
lea eax, [ebp - 4]
call fcn.004048a0
ret

Function at 0x46f598
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404d6c
mov eax, dword [ebp - 8]
call fcn.00404d6c
xor eax, eax
push ebp
push 0x46f66e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 4], 0
je 0x46f5ea
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x46f5ea
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00404e1c
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 4]
call fcn.00404d7c
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46f653
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404d7c
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46f64a
cmp dword [ebp - 0x14], 4
jne 0x46f64a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f675
lea eax, [ebp - 8]
mov edx, 2
call fcn.004048c4
ret
Function at 0x46fec4
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x47006d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004048a0
lea eax, [ebp - 8]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x470052
xor eax, eax
push ebp
push 0x47004b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 3
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
mov eax, dword [ebp - 0xc]
call fcn.004027ac
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x47002d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
je 0x470017
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
dec edi
test edi, edi
jl 0x470017
inc edi
xor ebx, ebx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x10]
add edx, 4
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + eax*4 + 4]
mov dword [ebp - 0x14], ecx
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x10]
add edx, 4
mov eax, dword [edx + eax*4 + 8]
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeNameA
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404f08
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404d7c
push eax
lea eax, [ebp - 0x18]
push eax
push 0
call sub.advapi32.dll_LookupPrivilegeNameA
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404f08
push dword [esi]
lea ecx, [ebp - 0x20]
mov edx, 0x1f
mov eax, dword [ebp - 0x1c]
call fcn.0046fe84
push dword [ebp - 0x20]
push ebp
lea eax, [ebp - 0x24]
call fcn.0046fe30
pop ecx
push dword [ebp - 0x24]
push 0x470084
mov eax, esi
mov edx, 4
call fcn.00404c3c
inc ebx
dec edi
jne 0x46ff72
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470034
mov eax, dword [ebp - 0x10]
call fcn.004027cc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470074
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004048c4
ret
Function at 0x4741ec
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x47430e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x53cec0]
mov eax, dword [eax]
call fcn.00458b4c
mov ebx, eax
test ebx, ebx
je 0x47425a
lea edx, [ebp - 4]
mov eax, dword [ebx + 4]
call fcn.00409ec0
mov eax, dword [ebp - 4]
call fcn.00404d7c
push eax
push 0x47431c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 8]
call fcn.00404d7c
push eax
push 0x47432c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 0xc]
call fcn.00404d7c
push eax
push 0x47433c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
call fcn.00458c08
mov ebx, eax
test ebx, ebx
je 0x4742af
lea edx, [ebp - 8]
mov eax, dword [ebx + 4]
call fcn.00409ec0
mov eax, dword [ebp - 8]
call fcn.00404d7c
push eax
push 0x47434c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 8]
call fcn.00404d7c
push eax
push 0x474360
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebx + 0xc]
call fcn.00404d7c
push eax
push 0x474374
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
call fcn.0046e554
pop ecx
mov eax, dword [ebp - 0xc]
call fcn.00404d7c
push eax
push 0x474388
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [0x54176c]
call fcn.00404d7c
push eax
push 0x474394
call sub.kernel32.dll_SetEnvironmentVariableA
push 0x4743a0
push 0x4743a4
call sub.kernel32.dll_SetEnvironmentVariableA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474315
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004048c4
ret
Function at 0x47561c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x475718
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [ebp - 0x104]
push eax
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x4756eb
mov eax, esi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404b10
lea eax, [ebp - 0x10c]
call fcn.004755c4
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00408ec4
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.0040912c
mov edx, dword [ebp - 4]
mov eax, 0x475730
call fcn.00404ec0
test eax, eax
jle 0x4756f2
push 0xfffffffffffffff0
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x4756f2
mov eax, dword [esi]
call fcn.00404b7c
mov edi, eax
test edi, edi
jbe 0x4756f2
mov ebx, 1
mov eax, esi
call fcn.00404dd4
mov byte [eax + ebx - 1], 0x2a
inc ebx
dec edi
jne 0x4756d9
jmp 0x4756f2
mov eax, esi
call fcn.004048a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47571f
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.004048c4
lea eax, [ebp - 4]
call fcn.004048a0
ret

Function at 0x478960
Capabilities:
Terminate thread

Disassembly:
call fcn.00430344
test al, al
jne 0x4789bd
cmp dword [0x541740], 0
je 0x4789bd
mov eax, dword [0x541740]
call fcn.00426da8
mov eax, dword [0x53e668]
call fcn.00458c1c
test al, al
jne 0x47899c
push 0xffffffffffffffff
mov eax, dword [0x541740]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x4789ac
push 1
mov eax, dword [0x541740]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x541740]
call fcn.00403984
xor eax, eax
mov dword [0x541740], eax
ret
Function at 0x479a40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.0045a334
mov edi, eax
mov dl, 1
mov eax, dword [0x41aebc]
call fcn.00403954
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x479b56
push dword fs:[edx]
mov dword fs:[edx], esp
mov al, 0x10
call fcn.0045bec4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x479a86
mov dword [ebp - 0x14], 1
jmp 0x479a91
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0041d800
mov al, 0x13
call fcn.0045bec4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x479aaa
mov dword [ebp - 0xc], 1
jmp 0x479ab5
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0041d800
mov al, 0x11
call fcn.0045bec4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x479ace
mov dword [ebp - 0x10], 1
jmp 0x479ad9
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0041d800
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x479b07
inc esi
xor ebx, ebx
mov eax, dword [edi + 4]
mov eax, dword [eax + ebx*8 + 4]
cmp eax, dword [ebp - 0x10]
je 0x479b03
cmp eax, dword [ebp - 0xc]
je 0x479b03
cmp eax, dword [ebp - 0x14]
je 0x479b03
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.0041d800
inc ebx
dec esi
jne 0x479ae3
mov esi, dword [edi]
dec esi
test esi, esi
jl 0x479b40
inc esi
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [edi + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.004798dc
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.0041d9ac
mov edx, dword [edi + 4]
mov dword [edx + ebx*8 + 4], eax
inc ebx
dec esi
jne 0x479b11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479b5d
mov eax, dword [ebp - 8]
call fcn.00403984
ret

Function at 0x479bfc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
call fcn.0045a334
mov esi, eax
mov ebx, dword [esi]
dec ebx
jmp 0x479c0f
dec ebx
test ebx, ebx
jl 0x479c1c
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8], 0
je 0x479c0e
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*8]
test eax, eax
je 0x479c61
mov dword [0x5416c0], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8]
call fcn.004798dc
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8]
call fcn.004798dc
mov dword [0x54170c], eax
mov eax, 0x479b64
mov edx, dword [0x54170c]
mov dword [edx], eax
mov ebx, dword [esi]
dec ebx
jmp 0x479c67
dec ebx
test ebx, ebx
jl 0x479c75
mov eax, dword [esi + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x479c66
mov eax, dword [esi + 4]
mov eax, dword [eax + ebx*8 + 4]
test eax, eax
je 0x479cab
mov dword [0x5416c4], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.004798dc
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0x479bec
mov edx, dword [esi + 4]
mov dword [edx + ebx*8 + 4], eax
pop esi
pop ebx
pop ecx
pop ebp
ret