joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dcd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 2
mov ebx, ecx
lea eax, [ebp - 0xc]
push eax
push 0
push 0
mov edi, dword [ebx + 0x40]
mov esi, dword [ebx + 0x44]
mov dword [ebp - 0x38], ebx
call fcn.00457990
test al, al
je 0x44de20
mov eax, 0x5a4d
cmp word [ebp - 0xc], ax
jne 0x44de20
push 4
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
push 0
push 0x3c
call fcn.00457990
test al, al
je 0x44de20
push 4
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push 0
push dword [ebp - 0x10]
call fcn.00457990
test al, al
je 0x44de20
cmp dword [ebp - 0x14], 0x4550
jne 0x44de20
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x14
push eax
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.00457630
test al, al
je 0x44de20
cmp dword [ebp - 0x30], 0x14
je 0x44dd84
mov dword [ebx + 0x60], 0x1e
jmp 0x44de20
mov eax, dword [ebp - 0x10]
mov edx, 0x8664
mov cx, word [ebp - 0x2c]
add eax, 0x98
cmp cx, dx
je 0x44ddae
mov edx, 0x200
cmp cx, dx
je 0x44ddae
mov edx, 0x284
cmp cx, dx
jne 0x44ddb1
add eax, 0x10
push 4
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
mov ecx, ebx
call fcn.00457990
test al, al
je 0x44de20
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44de20
mov edi, eax
xor eax, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], eax
ja 0x44dddd
cmp edi, 7
jbe 0x44de1e
mov ebx, 7
mov ecx, dword [ebp - 0x38]
mov esi, eax
push 1
dec ebx
lea eax, [ebp - 5]
sub edi, 1
push eax
sbb esi, 0
push esi
push edi
call fcn.00457990
test al, al
je 0x44de0f
cmp byte [ebp - 5], 0
jne 0x44de0f
mov eax, esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], eax
jmp 0x44de15
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
test ebx, ebx
jne 0x44dde2
mov esi, dword [ebp - 0x34]
jmp 0x44de20
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
mov edx, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x450c20
Capabilities:
Get common file path
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [0x51cb38], esi
jne 0x450cf5
cmp dword [0x51cad8], esi
jne 0x450ced
lea ecx, [esi + 1]
call fcn.00462890
test eax, eax
jne 0x450dcc
mov ecx, 0x51cb38
call fcn.00466570
test eax, eax
jne 0x450dcc
call fcn.0045b590
lea ecx, [esi + 1]
call fcn.0044fa70
test eax, eax
jne 0x450dcc
mov ecx, dword [0x51dba0]
mov eax, ecx
shl eax, 4
sub eax, ecx
shl eax, 2
mov dword [0x517aa0], eax
lea eax, [ecx + ecx]
mov dword [0x517aa4], eax
call fcn.00465df0
mov esi, dword [0x51cadc]
mov ecx, esi
call fcn.00413940
test eax, eax
je 0x450ced
mov ecx, esi
call fcn.00413940
cmp eax, 1
jb 0x450cdf
push 0x4ec0fc
push 1
mov ecx, esi
call fcn.00413940
dec eax
mov ecx, esi
push eax
call fcn.0045b510
test eax, eax
je 0x450ced
push 1
push 0x4ec0fc
mov ecx, esi
call fcn.004137d0
inc dword [0x51cad8]
xor esi, esi
mov eax, dword [0x51cb38]
test eax, eax
je 0x450d05
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x51cb30]
mov ecx, eax
inc eax
mov dword [0x51cb30], eax
test ecx, ecx
jne 0x450dba
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004b8bc4
add esp, 4
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push 0x104
push eax
push str._SystemRoot_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ax, word [ebp - 0x210]
xor ecx, ecx
cmp cx, ax
je 0x450d61
mov ecx, 0x25
cmp cx, ax
jne 0x450d85
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x210]
push eax
push str.SystemRoot
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, 4
call fcn.00462970
mov esi, eax
test esi, esi
jne 0x450db5
or dword [0x51cb34], 1
mov cl, 1
call fcn.0044fc00
mov esi, eax
test esi, esi
jne 0x450db5
call fcn.004501c0
call fcn.00450930
jmp 0x450dba
call fcn.00450de0
mov eax, dword [0x51cb38]
test eax, eax
je 0x450dca
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x4573b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, edx
call fcn.004140f0
mov esi, dword [0x51e698]
xor edi, edi
mov dword [ebp - 0xc], eax
mov dword [ebx], 0
mov dword [ebp - 8], 1
test esi, esi
je 0x4573f7
push edi
mov ecx, esi
call dword [0x4db310]
call esi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x45740d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov esi, dword [0x51e698]
test esi, esi
je 0x457424
push dword [ebp - 8]
mov ecx, esi
call dword [0x4db310]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x461a40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6eae
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x517074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call fcn.0045d2c0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x30]
push dword [esi + 0xc]
mov dword [esi], vtable.CryptoPP::MontgomeryRepresentation.0
push 0
call fcn.00460310
mov byte [ebp - 4], 1
xor ecx, ecx
mov eax, dword [esi + 0xc]
mov edx, 4
lea eax, [eax + eax*4]
mov dword [esi + 0x3c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048bf2e
add esp, 4
mov dword [esi + 0x40], eax
mov byte [ebp - 4], 2
push dword [esi + 0xc]
mov edx, dword [esi + 0x40]
push dword [esi + 0x10]
mov ecx, dword [esi + 0x34]
call fcn.0045f350
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x462f70
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x401c
call fcn.0048cd90
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor bl, bl
mov dword [ebp - 0x400c], 0
mov word [ebp - 0x4008], 0x500
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x4018]
push ecx
push 0x20008
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x463004
cmp dword [0x51e6a4], 0xd
jl 0x463015
lea eax, [ebp - 0x4014]
mov dword [ebp - 0x4010], 0
push eax
push 4
lea eax, [ebp - 0x4010]
push eax
push 0x14
push dword [ebp - 0x4018]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x462ff8
cmp dword [ebp - 0x4010], 0
jne 0x463015
push dword [ebp - 0x4018]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x4014]
push eax
push 0x4000
lea eax, [ebp - 0x4004]
push eax
push 2
push dword [ebp - 0x4018]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x462ff8
push esi
push dword [ebp - 0x4018]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x401c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x400c]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
xor esi, esi
cmp dword [ebp - 0x4004], esi
jbe 0x4630a4
nop word [eax + eax]
push dword [ebp + esi*8 - 0x4000]
push dword [ebp - 0x401c]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4630a2
inc esi
cmp esi, dword [ebp - 0x4004]
jb 0x463080
jmp 0x4630a4
mov bl, 1
push dword [ebp - 0x401c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x463f00
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
mov edx, ecx
push edi
test edx, 0x400
je 0x463f17
or dword [esi], 0x80
test edx, 0x800
je 0x463f25
or dword [esi], 0x100
test dl, 1
je 0x463f30
or dword [esi], 0x80000000
test edx, 0x100
je 0x463f3e
or dword [esi], 0x20000000
test edx, 0x200
je 0x463f4c
or dword [esi], 0x10000
test dl, 2
je 0x463f59
or dword [esi], 0x40000000
jmp 0x463f6d
test dl, 4
je 0x463f6d
mov eax, dword [ebp + 8]
mov ecx, dword [esi]
mov dword [eax], ecx
or ecx, 0x100
mov dword [esi], ecx
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
test dl, 8
je 0x463f86
mov dword [esi], 2
mov dword [edi], 5
jmp 0x463fa4
test dl, dl
jns 0x463f98
mov dword [esi], 4
mov dword [edi], 3
jmp 0x463fa4
mov dword [esi], 3
mov dword [edi], 1
mov eax, dword [ebp + 0xc]
test dl, 0x10
je 0x463faf
or dword [eax], 1
test dl, 0x20
je 0x463fb7
or dword [eax], 2
test dl, 0x40
je 0x463fbf
or dword [eax], 4
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
test edx, edx
jns 0x463fd5
or dword [eax], 0x4000000
or dword [ecx], 0x1000
test edx, 0x10000000
je 0x463fe9
or dword [eax], 0x2000000
or dword [ecx], 0x4000
test edx, 0x20000000
je 0x464002
cmp dword [esi], 2
jne 0x464002
mov dword [esi], 1
mov dword [edi], 2
pop edi
pop esi
test edx, 0x8000000
je 0x464015
or dword [eax], 0x2000000
or dword [ecx], 1
test edx, 0x40000
je 0x464029
or dword [eax], 0x200000
or dword [ecx], 0x200000
and edx, 0x7000000
je 0x464086
cmp edx, 0x6000000
ja 0x464075
je 0x46406a
cmp edx, 0x4000000
je 0x464059
cmp edx, 0x5000000
jne 0x464086
or dword [eax], 0x10000000
or dword [ecx], 0x800
pop ebp
ret
or dword [eax], 0x2100
mov eax, dword [ebp + 0x20]
or dword [eax], 0x2100
pop ebp
ret
or dword [eax], 0x8000000
or dword [ecx], 4
pop ebp
ret
cmp edx, 0x7000000
jne 0x464086
or dword [eax], 0x80000000
or dword [ecx], 2
pop ebp
ret

Function at 0x464ee0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x51e698]
mov ebx, edx
push edi
mov eax, ecx
mov dword [ebp - 8], 1
xor edi, edi
mov dword [ebp - 0xc], eax
mov dword [ebx], 0
test esi, esi
je 0x464f24
push edi
mov ecx, esi
call dword [0x4db310]
call esi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x464f3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov esi, dword [0x51e698]
test esi, esi
je 0x464f51
push dword [ebp - 8]
mov ecx, esi
call dword [0x4db310]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x464f70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10008
call fcn.0048cd90
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x51e698]
push edi
xor edi, edi
mov dword [ebp - 0x10008], ecx
lea ebx, [edi + 1]
test esi, esi
je 0x464fac
push edi
mov ecx, esi
call dword [0x4db310]
call esi
mov ebx, eax
lea eax, [ebp - 0x10004]
push eax
push 0x8000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x464fcc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x465004
cmp word [ebp - 0x10004], di
jne 0x464fd9
xor ecx, ecx
jmp 0x464ff1
lea ecx, [ebp - 0x10004]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x464fe2
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x10008]
lea eax, [ebp - 0x10004]
push eax
call fcn.00413f90
mov esi, dword [0x51e698]
test esi, esi
je 0x465019
push ebx
mov ecx, esi
call dword [0x4db310]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x465b50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10004
call fcn.0048cd90
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x8000
lea eax, [ebp - 0x10004]
mov esi, ecx
push eax
push esi
mov edi, edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x465bbc
cmp word [ebp - 0x10004], 0
jne 0x465b9a
xor ecx, ecx
lea eax, [ebp - 0x10004]
push ecx
push eax
jmp 0x465bf1
lea ecx, [ebp - 0x10004]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465ba3
sub ecx, edx
lea eax, [ebp - 0x10004]
sar ecx, 1
push ecx
push eax
jmp 0x465bf1
cmp dword [edi + 0x14], 8
jb 0x465bc6
mov eax, dword [edi]
jmp 0x465bc8
mov eax, edi
cmp esi, eax
je 0x465bf8
cmp word [esi], 0
jne 0x465bd6
xor ecx, ecx
jmp 0x465bef
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465be0
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00413f90
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret

Function at 0x465c10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020c
call fcn.0048cd90
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x8000
lea eax, [ebp - 0x1020c]
mov esi, edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x465cff
cmp byte [ebp + 8], 0
je 0x465c88
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x1020c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
je 0x465c88
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x20c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x1020e], ax
test ax, ax
jne 0x465c70
lea eax, [ebp - 0x1020c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x465cff
cmp word [ebp - 0x1020c], 0
jne 0x465cc6
xor ecx, ecx
push ecx
lea ecx, [ebp - 0x1020c]
push ecx
mov ecx, esi
call fcn.00413f90
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1020c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x465cd0
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x1020c]
push ecx
mov ecx, esi
call fcn.00413f90
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x4662c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
mov edx, ecx
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x21c], edx
push esi
mov esi, dword [ebp + 8]
test edx, edx
je 0x466431
test eax, eax
je 0x466431
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x466308
mov ecx, dword [esi]
jmp 0x46630a
mov ecx, esi
push ebx
push edi
xor edi, edi
mov word [ecx], di
xor ecx, ecx
mov word [ebp - 0x20c], cx
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], 0x208
push ecx
push edi
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, 0xea
jne 0x4663ec
mov eax, dword [ebp - 0x210]
add eax, 2
push 0x51b7e0
push eax
mov dword [ebp - 0x214], eax
call fcn.0048bd26
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4663d4
lea eax, [ebp - 0x214]
push eax
push ebx
push 0
push 0
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x4663b8
mov eax, dword [ebp - 0x214]
shr eax, 1
je 0x4663af
lea edx, [eax - 1]
lea edx, [ebx + edx*2]
cmp word [edx], 0
jne 0x4663af
sub edx, 2
sub eax, 1
jne 0x4663a1
push eax
push ebx
mov ecx, esi
call fcn.00413f90
push ebx
call fcn.0048bd21
add esp, 4
mov eax, edi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
mov edi, 8
mov eax, edi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x46641e
mov eax, dword [ebp - 0x210]
shr eax, 1
je 0x46640f
lea ecx, [ebp + eax*2 - 0x20e]
cmp word [ecx], 0
jne 0x46640f
sub ecx, 2
sub eax, 1
jne 0x466401
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00413f90
mov eax, edi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x57
xor ecx, ebp
pop esi
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret

Function at 0x466b80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10004
call fcn.0048cd90
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, edx
test ecx, ecx
je 0x466bf5
cmp word [ecx], 0
je 0x466bf5
push esi
push 0x8000
lea eax, [ebp - 0x10004]
xor esi, esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x466bd5
mov esi, 2
mov eax, esi
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10004]
mov ecx, edi
push eax
call fcn.00413ac0
mov eax, esi
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x57
xor ecx, ebp
pop edi
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x467de0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x80000002
lea eax, [ebp - 8]
xorps xmm0, xmm0
push eax
push 1
mov edx, str.HardwareDescriptionSystemCentralProcessor0
movlpd qword [ebp - 0x10], xmm0
xor ecx, ecx
call fcn.00466140
add esp, 0xc
test eax, eax
jne 0x467e73
mov ebx, dword [ebp - 8]
xor esi, esi
nop
mov eax, dword [esi + 0x4f4b78]
test ebx, ebx
je 0x467e60
test eax, eax
je 0x467e60
lea ecx, [ebp - 8]
mov dword [ebp - 8], 8
push ecx
lea ecx, [ebp - 0x10]
xor edi, edi
push ecx
push edi
push edi
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x467e54
cmp eax, 0xea
jne 0x467e57
mov edi, dword [ebp - 8]
test eax, eax
jne 0x467e60
cmp edi, 4
jae 0x467e68
add esi, 4
cmp esi, 0xc
jb 0x467e20
test ebx, ebx
je 0x467e73
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
mov edx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret

Function at 0x468080
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
call fcn.004680f0
mov edx, esi
lea ecx, [ebp - 0x64]
call fcn.004681b0
mov ecx, dword [ebp - 8]
add esp, 4
xor ecx, ebp
pop esi
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret
Function at 0x469d80
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7578
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x517074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x1c], esi
call fcn.00469600
mov ecx, eax
mov dword [ebp - 4], 0
movzx eax, word [ebx + 0x30]
push eax
push ecx
mov ecx, edi
call fcn.00469620
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x469dff
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00414120
push 4
xor eax, eax
mov dword [ebp - 0x20], 7
push str.POST
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
call fcn.00413f90
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
push edx
push esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
push ebx
call fcn.00469790
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x469e76
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00414120
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x469e92
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00414120
lea esi, [edi + 0x10]
push ecx
mov ecx, esi
call fcn.0046af10
mov eax, dword [esi + 0x30]
xor edi, edi
mov dword [ebp - 0x14], 0
test eax, eax
jne 0x469ed6
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push 0x20000013
push dword [esi + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x469ed8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
test edi, edi
cmove ebx, dword [ebp - 0x14]
test ebx, ebx
jne 0x469ef5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x469f46
push ecx
mov ecx, esi
call fcn.0046aec0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00469500
mov edi, dword [ebp - 0x1c]
mov esi, eax
cmp edi, esi
je 0x469f3c
mov ecx, edi
call fcn.0041c720
mov ecx, dword [esi]
mov dword [edi], ecx
mov ecx, dword [esi + 4]
mov dword [edi + 4], ecx
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x40]
call fcn.0041c720
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test esi, esi
cmove eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bc9e
mov esp, ebp
pop ebp
ret 0x10