joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bc30
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x44bc12
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp fcn.0044bc30
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x44bc8e
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x44bc75
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x44bc7e
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x44bc88
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x44bc6a
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x44bbf4
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x44bcdb
dec eax
je 0x44bcd2
sub eax, 3
je 0x44bcc9
mov dword [ebp - 4], 0x40
jmp 0x44bcf8
mov dword [ebp - 4], 4
jmp 0x44bcde
mov dword [ebp - 4], 0x20
jmp 0x44bcde
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x44bd2a
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x44bcaa
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0044b53b
insd dword es:[edi], dx
adc byte [edi], ch
mov edi, edi
jne 0x44bd35
push 1
push esi
call edi
mov eax, esi
jmp 0x44bd36
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402c10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x118
mov eax, dword [0x4321d8]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push esi
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SoftwareIntelDisplayigfxcuiigfxsrvcDesktopGammaDefault
xor bl, bl
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [esp + 0x20], 0
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402d77
push edi
push 0x104
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00411a80
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.BrightnessDefault
push edx
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], 1
call edi
test eax, eax
jne 0x402ccc
lea eax, [esp + 0x1c]
push eax
call fcn.00411f47
push 0x104
lea ecx, [esp + 0x24]
push 0
push ecx
mov dword [esi + 0xc], eax
call fcn.00411a80
add esp, 0x10
mov bl, 1
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.ContrastDefault
push edx
call edi
test eax, eax
jne 0x402d13
lea eax, [esp + 0x1c]
push eax
call fcn.00411f47
push 0x104
lea ecx, [esp + 0x24]
push 0
push ecx
mov dword [esi + 0x10], eax
call fcn.00411a80
add esp, 0x10
mov byte [esp + 0xe], 1
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.GammaDefault
push edx
call edi
test eax, eax
pop edi
jne 0x402d5b
lea eax, [esp + 0x18]
push eax
call fcn.00411f47
push 0x104
lea ecx, [esp + 0x20]
push 0
push ecx
mov dword [esi + 0x14], eax
call fcn.00411a80
add esp, 0x10
mov byte [esp + 0xb], 1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x402d77
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffc4
jl 0x402d77
cmp eax, 0x64
jle 0x402d7e
mov dword [esi + 0xc], 0
cmp byte [esp + 0xa], 0
je 0x402d92
mov eax, dword [esi + 0x10]
cmp eax, 0x28
jl 0x402d92
cmp eax, 0x64
jle 0x402d99
mov dword [esi + 0x10], 0x32
cmp byte [esp + 0xb], 0
je 0x402dad
mov eax, dword [esi + 0x14]
cmp eax, 0xa
jl 0x402dad
cmp eax, 0x32
jle 0x402db4
mov dword [esi + 0x14], 0xa
mov ecx, dword [esp + 0x11c]
pop esi
pop ebx
xor ecx, esp
call fcn.00411a71
add esp, 0x118
ret

Function at 0x404870
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x4321d8]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push 0x94
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
call fcn.00411a80
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4048bd
cmp dword [esp + 8], 6
mov eax, 1
je 0x4048bf
mov eax, esi
mov ecx, dword [esp + 0x98]
pop esi
xor ecx, esp
call fcn.00411a71
add esp, 0x98
ret
Function at 0x405b00
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x405b20
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
mov edi, ecx
jne 0x405b36
push 0x80004005
call fcn.004057a0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
add eax, 1
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x405b60
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x405b78
push 0x80004005
call fcn.004057a0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
add esi, eax
add edi, eax
cmp eax, 1
jne 0x405b85
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x406680
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4321d8]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x4066ee
test ecx, ecx
je 0x4066e0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x4066fc
test ecx, ecx
je 0x4067a1
push ecx
jmp 0x40679b
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x40676e
jmp 0x406730
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.00406680
mov edi, eax
test edi, edi
jne 0x4067bd
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x406730
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x406785
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4067a1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00411a71
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4067cc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4067a3

Function at 0x4069f0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi + 0x34], eax
jne 0x406a0e
xor al, al
pop esi
pop ecx
ret
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x4069e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop esi
pop ecx
ret
Function at 0x40c5e0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [esp + 0x30]
push 0x425928
push eax
push 0x431170
mov ecx, 0x43390c
call fcn.00406120
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov cx, word [0x426470]
mov dl, byte [0x426472]
mov dword [0x43393c], eax
lea eax, [esp + 0xc]
push eax
push esi
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
xor ebx, ebx
call fcn.004063a0
mov esi, eax
add esp, 8
test esi, esi
je 0x40c684
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esp, [esp]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x40c708
push str.RegServer
push esi
call edi
test eax, eax
je 0x40c72a
lea ecx, [esp + 0xc]
push ecx
push esi
call fcn.004063a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40c650
mov ecx, 0x43390c
call fcn.004069f0
push 1
push 4
mov ecx, 0x43390c
call fcn.00406910
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call esi
test eax, eax
je 0x40c6d8
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
call edi
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
call esi
test eax, eax
jne 0x40c6c0
mov ecx, 0x43390c
call fcn.004069a0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x43390c
call fcn.00406870
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 0x10
push 0
push 0
push 0x64
push 0x43390c
call fcn.0040bec0
push 0
push 1
mov ecx, 0x43390c
call fcn.0040c1e0
mov ebx, eax
jmp 0x40c6ed
push 0
push 1
push 0x64
push 0x43390c
call fcn.0040bec0
push 0
push 1
mov ecx, 0x43390c
call fcn.0040c150
mov ebx, eax
jmp 0x40c6ed

Function at 0x410989
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4321d8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0041091e
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00411a80
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4109d8
cmp dword [ebp - 0x1c], 5
jb 0x4109f0
jmp 0x4109ec
cmp dword [ebp - 0x10], 1
jne 0x4109f0
cmp dword [ebp - 0x1c], 4
ja 0x4109ec
jne 0x4109f0
cmp dword [ebp - 0x18], 0
jbe 0x4109f0
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x426b60
call fcn.004058f0
test eax, eax
jge 0x410a11
mov byte [0x4338c0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00411a71
add ebp, 0x78
leave
ret

Function at 0x411a71
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4321d8]
jne 0x411a7b
repz ret
jmp fcn.00415f7c
Function at 0x41fe33
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00414290
xor ebx, ebx
cmp dword [0x4343e0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41ff08
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x41fe73
xor eax, eax
jmp 0x41ffcc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x41fe6c
push eax
call fcn.0041422d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4343e0], eax
call esi
push eax
call fcn.0041422d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4343e4], eax
call esi
push eax
call fcn.0041422d
mov dword [0x4343e8], eax
lea eax, [ebp - 8]
push eax
call fcn.0041a2da
test eax, eax
pop ecx
pop ecx
je 0x41fed6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004114ad
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41ff08
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041422d
cmp eax, ebx
pop ecx
mov dword [0x4343f0], eax
je 0x41ff08
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041422d
pop ecx
mov dword [0x4343ec], eax
mov eax, dword [0x4343ec]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x41ff81
cmp dword [0x4343f0], esi
je 0x41ff81
push eax
call fcn.00414299
pop ecx
call eax
cmp eax, ebx
je 0x41ff4e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4343f0]
call fcn.00414299
pop ecx
call eax
test eax, eax
je 0x41ff4e
test byte [ebp - 0x18], 1
jne 0x41ff81
lea eax, [ebp - 0xc]
push eax
call fcn.0041a311
test eax, eax
pop ecx
je 0x41ff69
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004114ad
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x41ff78
or dword [ebp + 0x10], 0x200000
jmp 0x41ffb2
or dword [ebp + 0x10], 0x40000
jmp 0x41ffb2
mov eax, dword [0x4343e4]
cmp eax, esi
je 0x41ffb2
push eax
call fcn.00414299
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41ffb2
mov eax, dword [0x4343e8]
cmp eax, esi
je 0x41ffb2
push dword [ebp - 4]
push eax
call fcn.00414299
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4343e0]
call fcn.00414299
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420950
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
jmp 0x42096a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x420971
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x420960
mov eax, 1
add ebx, ebx
jne 0x420983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x420978
jne 0x420994
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x420978
xor ecx, ecx
sub eax, 3
jb 0x4209a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x420a1a
mov ebp, eax
add ebx, ebx
jne 0x4209b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4209c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4209e4
inc ecx
add ebx, ebx
jne 0x4209d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4209c5
jne 0x4209e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4209c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x420a04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4209f5
jmp 0x420966
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x420a04
add edi, ecx
jmp 0x420966
pop esi
mov edi, esi
mov ecx, 0x500
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x420a22
cmp byte [edi], 7
jne 0x420a22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x420a27
lea edi, [esi + 0x1e000]
mov eax, dword [edi]
or eax, eax
je 0x420a9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x235b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23668]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x420a54
mov ecx, edi
jns 0x420a83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2366c]
or eax, eax
je 0x420a99
mov dword [ebx], eax
add ebx, 4
jmp 0x420a71
call dword [esi + 0x2367c]
mov ebp, dword [esi + 0x23670]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x420ad3
sub esp, 0xffffff80
jmp 0x401a3a

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xde397c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xde3986
pushal
call 0xde398c
pop ebp
sub ebp, 0x10
sub ebp, 0x9e397c
jmp 0xde39a2
cmp dword [esi + 0x4e900], ebx
add byte [eax], al
out dx, al
fldenv [ebp + 0x397cb8be]
sahf
add byte [ebx], al
lds eax, [ecx + 0x4cc0]
add byte [ecx + 0x5bb], bh
mov eax, 0x9e397c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bb
mov edx, 0x7793245c
xor byte [eax], dl
inc eax
dec ecx
adc byte [eax + 0x49], al
jne 0xde39b9
jmp 0xde39cc
xlatb
xchg ecx, eax
xlatb
aad 0x60
pop esp
pop esp
pop esp
fstp qword [ebp + 0x5c5c5ca4]
pop edi
xchg ecx, eax
in al, 0x58
pop esp
pop esp
pop esp
out 0x74, al
pop esp
pop esp
pop esp
stosd dword es:[edi], eax
mov esi, 0xddd7945f
push eax
pop esp
pop esp
pop esp
pop edi
cdq
sar dword [eax], 1
js 0xde3996
aad 0x58
js 0xde3a06
xor al, 0xcc
je 0xde3a7c
pop esp
xor al, 0xb0
dec esp
and byte [ebp + ebx*2 + 0x70], bl
js 0xde3a3c
fst qword [edi]
sub byte [esi - 0x4c], al
pop ecx
pop esp
pop esp
pop esp
mov ch, 0x6a
pop esp
pop esp
pop esp
sar dword [eax], 1
js 0xde39ba
aad 0x70
js 0xde39ef
xor byte [eax + 0x5c], bh
xlatb
fst dword [esp + ebx*2 + 0x5c]
pop esp
xlatb
leave
push eax
pop esp
pop esp
pop esp
xlatb
ror dword [esp + ebx*2 + 0x5c], 1
pop esp
popfd
mov ch, 0x5e
insd dword es:[edi], dx
pop esi
fistp word [esi - 0x26aceaa8]
test al, 0xa3
mov dword [0x7870d7a3], eax
push ebx
fldcw word [eax - 0x285c5c5d]
jo 0xde3abd
sar dword [eax], 1
js 0xde3aa1
sahf
push eax
pop esp
xlatb
sar byte [eax + 0x58], 1
pop esp
pop esp
pop esp
xor al, 0xcc
je 0xde3ad5
pop esp
xor al, 0xb0
dec esp
and byte [ebp + ebx*2 + 0x70], bl
js 0xde3a32
cmp byte [eax - 0x60], bh
aad 0x50
js 0xde3a1c
pop ecx
pop esp
pop esp
pop esp
mov ch, 0x67
pop esi
pop esp
pop esp
sar dword [eax], 1
js 0xde3a15
aad 0x70
js 0xde3a4a
xor byte [eax + 0x5c], bh
mov dword [0x29a35029], eax
push esp
mov ah, 0x3a
pop esp
pop esp
pop esp
xlatb
loope 0xde3ade
pop esp
pop esp
pop esp
outsd dx, dword [esi]
xchg ebp, eax
outsd dx, dword [esi]
mov ds, edi
mov ah, 0x59
adc al, 0x53
fcom dword [edx]
pop esp
pop esp
pop esp
push ebx
aam 0x14
pop esp
pop esp
pop esp
cmp dl, bh
inc eax
fsub qword gs:[edi + 0x46d853b4]
pop esp
pop esp
pop esp
fsub qword [edi + 0x4dd853b5]
pop esp
pop esp
pop esp
cmp bl, ch
cmpsd dword [esi], dword es:[edi]
mov dword [0x49d85379], eax
pop esp
fmul dword [ecx + 0x5c]
pop esp
pop esp
sbb eax, 0xa3a390b5
mov dword [0x5d651075], eax
fistp word [ebp + 0x58b4df59]
mov ch, 0xe1
mov dword [0x875a3a3], eax
pop esi
mov dword [0x650875a3], eax
pop esi
fistp word [ebp + 0x58b6df5a]
fbstp tbyte [ecx + ebx*2 - 0x5c5c084b]
mov dword [0x5c509e01], eax
fbstp tbyte [esi + 0x59b4df58]
mov ch, 0xf7
mov dword [0x9e01a3a3], eax
push eax
pop esp
or edi, edx
mov al, 0xa
or ecx, dword [ecx]
xlatb
sub dword [eax - 0x29], edx
and dword [eax - 0x12], edx
invalid
Function at 0x348b7c91
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x348b7def
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x348b7def
mov esi, dword [ebp]
test esi, esi
je 0x348b7def
push ebx
mov ebx, dword [esp + 0x20]
cmp ebx, 1
jne 0x348b7cd2
cmp esi, 2
jae 0x348b7cd2
pop ebx
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 0x18
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebp
push edi
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x348b7de4
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x348b7d1f
cmp ebx, 1
jne 0x348b7d0c
cmp ecx, 2
je 0x348b7d28
pop ebx
pop edi
mov dword [esp + 0x1c], 0x65d
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
ret 0x18
cmp ebx, 1
jne 0x348b7de4
mov eax, dword [ebp]
cmp eax, esi
jae 0x348b7d3d
shr eax, 1
mov word [edi + eax*2], 0
mov ecx, dword [esp + 0x28]
jmp 0x348b7d48
mov edx, esi
shr edx, 1
mov word [edi + edx*2 - 2], 0
cmp ecx, 2
jne 0x348b7de4
push esi
call dword [sym.imp.msvcr80.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x348b7d6d
pop ebx
pop edi
pop esi
mov eax, 0xe
pop ebp
ret 0x18
shr esi, 1
push esi
push ebx
push edi
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
test eax, eax
jbe 0x348b7dc6
cmp esi, eax
lea ecx, [eax + eax]
mov dword [ebp], ecx
jae 0x348b7da8
push ebx
mov word [edi], 0
mov dword [esp + 0x28], 0xea
call dword [sym.imp.msvcr80.dll_free]
mov eax, dword [esp + 0x28]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
ret 0x18
push esi
push edi
push ebx
call dword [sym.imp.MSO.dll_Ordinal_6877]
push ebx
call dword [sym.imp.msvcr80.dll_free]
mov eax, dword [esp + 0x28]
add esp, 4
pop ebx
pop edi
pop esi
pop ebp
ret 0x18
mov word [edi], 0
push ebx
mov dword [ebp], 0
mov dword [esp + 0x28], 0x57
call dword [sym.imp.msvcr80.dll_free]
add esp, 4
mov eax, dword [esp + 0x24]
pop ebx
pop edi
pop esi
pop ebp
ret 0x18
pop edi
pop esi
mov eax, 0x57
pop ebp
ret 0x18
Function at 0x348b858b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x348926a8]
jne 0x348b8d3e
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x348dd248], eax
mov dword [0x348dd244], ecx
mov dword [0x348dd240], edx
mov dword [0x348dd23c], ebx
mov dword [0x348dd238], esi
mov dword [0x348dd234], edi
mov word [0x348dd260], ss
mov word [0x348dd254], cs
mov word [0x348dd230], ds
mov word [0x348dd22c], es
mov word [0x348dd228], fs
mov word [0x348dd224], gs
pushfd
pop dword [0x348dd258]
mov eax, dword [ebp]
mov dword [0x348dd24c], eax
mov eax, dword [ebp + 4]
mov dword [0x348dd250], eax
lea eax, [ebp + 8]
mov dword [0x348dd25c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x348dd198], 0x10001
mov eax, dword [0x348dd250]
mov dword [0x348dd14c], eax
mov dword [0x348dd140], 0xc0000409
mov dword [0x348dd144], 1
mov eax, dword [0x348926a8]
mov dword [ebp - 0x328], eax
mov eax, dword [0x348dcb58]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x348dd190], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x348926e8
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x348dd190], 0
jne 0x348b8e2e
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret