joyce8/EMBER2024-capa huggingface dataset:
Function at 0x88fe50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x422000]
push edi
jmp 0x88fe6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x88fe71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88fe60
mov eax, 1
add ebx, ebx
jne 0x88fe83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x88fe94
jne 0x88feb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88feb3
dec eax
add ebx, ebx
jne 0x88fea0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x88fe78
add ebx, ebx
jne 0x88feaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x88ff05
xor ecx, ecx
sub eax, 3
jb 0x88fecb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x88ff3a
sar eax, 1
mov ebp, eax
jmp 0x88fed6
add ebx, ebx
jne 0x88fed6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88fea4
inc ecx
add ebx, ebx
jne 0x88fee4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88fea4
add ebx, ebx
jne 0x88fef1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x88fee6
jne 0x88ff02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x88fee6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x88ff24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x88ff16
jmp 0x88fe66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x88ff24
add edi, ecx
jmp 0x88fe66
pop esi
mov edi, esi
mov ecx, 0x40f2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x88ff42
cmp byte [edi], 0x19
jne 0x88ff42
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 0x88ff47
lea edi, [esi + 0x488000]
mov eax, dword [edi]
or eax, eax
je 0x88ffbf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7f60c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7f623c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x88ff74
mov ecx, edi
jns 0x88ffa3
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 + 0x7f6240]
or eax, eax
je 0x88ffb9
mov dword [ebx], eax
add ebx, 4
jmp 0x88ff91
call dword [esi + 0x7f6250]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x88fff0
cmp al, 0xef
ja 0x88ffe3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x88ffc5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x88ffd2
mov ebp, dword [esi + 0x7f6244]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x890024
sub esp, 0xffffff80
jmp 0x420567
Function at 0x402490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f46a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x454710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0043d86c
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x402536
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.0042131e
push 0x451ca0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.00423937
push edi
push esi
call fcn.0043d73f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004208e3
mov esp, ebp
pop ebp
ret 4

Function at 0x402970
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43f4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x454710]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00403020
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.004028a0
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x4029e1
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.0042131e
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x402a0a
push dword [esp + 0xc]
call fcn.0040ea18
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403810
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f566
mov eax, dword fs:[0]
push eax
sub esp, 0x8ac
mov eax, dword [0x454710]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.004226a0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push eax
lea eax, [ebp - 0x422]
push eax
call fcn.004226a0
add esp, 0xc
mov byte [ebp - 0x82c], 0
lea eax, [ebp - 0x82b]
push 0x400
push 0
push eax
call fcn.004226a0
add esp, 0xc
lea eax, [ebp - 0x8b4]
push 0x70
push 0
push eax
call fcn.004226a0
add esp, 0xc
lea ecx, [ebp - 0x8b4]
call fcn.00404b90
mov dword [ebp - 4], 0
mov dword [ebp - 0x830], 0xf
mov dword [ebp - 0x834], 0
mov byte [ebp - 0x844], 0
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push eax
push 0
push 0
push 0x1a
push 0
mov dword [ebp - 0x8b8], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x40392a
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x40390d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push str._sHNCUserHwpConfig_s.json
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0x44c408
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x8b8]
push eax
call fcn.00421483
mov eax, dword [ebp - 0x8b8]
add esp, 0xc
test eax, eax
je 0x403a16
push eax
push 0x400
lea eax, [ebp - 0x82c]
push 1
push eax
call fcn.00421757
add esp, 0x10
test eax, eax
je 0x4039c2
mov edi, edi
cmp byte [ebp - 0x82c], 0
jne 0x40397d
xor eax, eax
jmp 0x40398f
lea eax, [ebp - 0x82c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403986
sub eax, edx
push eax
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x844]
call fcn.00402640
push dword [ebp - 0x8b8]
lea eax, [ebp - 0x82c]
push 0x400
push 1
push eax
call fcn.00421757
add esp, 0x10
test eax, eax
jne 0x403970
push dword [ebp - 0x8b8]
call fcn.0042186f
add esp, 4
lea eax, [ebp - 0x844]
lea ecx, [ebp - 0x88c]
push 0xffffffffffffffff
push 0
push eax
call fcn.00403020
cmp dword [ebp - 0x878], 0x10
lea ecx, [ebp - 0x88c]
mov eax, dword [ebp - 0x87c]
cmovae ecx, dword [ebp - 0x88c]
push ecx
push edi
add eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x8b4]
call fcn.00404ca0
movzx esi, al
jmp 0x403a18
xor esi, esi
cmp dword [ebp - 0x830], 0x10
jb 0x403a2f
push dword [ebp - 0x844]
call fcn.0040ea18
add esp, 4
lea ecx, [ebp - 0x8b4]
mov dword [ebp - 0x830], 0xf
mov dword [ebp - 0x834], 0
mov byte [ebp - 0x844], 0
call fcn.00403a80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004208e3
mov esp, ebp
pop ebp
ret 4
Function at 0x403b20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x454710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x403b41
mov eax, dword [esi]
jmp 0x403b43
mov eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push eax
call ebx
test eax, eax
jne 0x403c11
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004226a0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x403b7c
mov eax, dword [esi]
jmp 0x403b7e
mov eax, esi
push edi
add eax, 8
push 0x44c54c
push eax
call fcn.004218e6
push 0x44c54c
push eax
call fcn.004218e6
mov edi, eax
add esp, 0x10
test edi, edi
je 0x403c03
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004226a0
add esp, 0xc
mov ecx, esi
call fcn.00404300
mov ecx, edi
sub ecx, eax
sar ecx, 1
push ecx
mov ecx, esi
call fcn.00404300
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00421b79
add esp, 0x10
lea eax, [ebp - 0x20c]
push 0
push eax
call ebx
lea eax, [edi + 2]
push 0x44c54c
push eax
call fcn.004218e6
mov edi, eax
add esp, 8
test edi, edi
jne 0x403ba1
cmp dword [esi + 0x14], 8
pop edi
jb 0x403c0c
mov esi, dword [esi]
push 0
push esi
call ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004208e3
mov esp, ebp
pop ebp
ret
Function at 0x404020
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x454710]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
push 1
push 0x44c3c0
push dword [edi + 0x14]
push ecx
lea ecx, [edi + 4]
call fcn.00404870
test eax, eax
jne 0x404052
mov eax, str.SOFTWAREHNCHWP9.0HwpFrameAppState
jmp 0x404072
push 2
push 0x44c3c4
push dword [edi + 0x14]
push ecx
lea ecx, [edi + 4]
call fcn.00404870
test eax, eax
jne 0x4040f6
mov eax, str.SOFTWAREHNCHWP9.6HwpFrameAppState
lea ecx, [ebp - 0xc]
push ecx
push 0xf003f
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4040f6
cmp dword [edi + 0x30], 8
mov dword [ebp - 8], eax
lea eax, [edi + 0x1c]
jb 0x40409b
mov eax, dword [eax]
push str.hwpx
push eax
call fcn.00421179
mov ecx, dword [ebp - 8]
add esp, 8
test eax, eax
mov edx, 1
lea eax, [ebp - 8]
cmove ecx, edx
push 4
push eax
push 4
push str.HwpxFormatDefaults
push 0x44c548
push dword [ebp - 0xc]
mov dword [ebp - 8], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
push dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004208e3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004208e3
mov esp, ebp
pop ebp
ret

Function at 0x404110
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x454710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 1
push 0x44c3c0
push dword [edi + 0x14]
push ecx
lea ecx, [edi + 4]
call fcn.00404870
test eax, eax
jne 0x404145
mov eax, str.SOFTWAREHNCHWP9.0HwpFrameAppState
jmp 0x404165
push 2
push 0x44c3c4
push dword [edi + 0x14]
push ecx
lea ecx, [edi + 4]
call fcn.00404870
test eax, eax
jne 0x4041f5
mov eax, str.SOFTWAREHNCHWP9.6HwpFrameAppState
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4041e2
cmp dword [edi + 0x30], 8
lea eax, [edi + 0x1c]
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], 4
jb 0x40419c
mov eax, dword [eax]
push str.hwpx
push eax
call fcn.00421179
mov ecx, dword [ebp - 8]
add esp, 8
test eax, eax
mov edx, 1
lea eax, [ebp - 0x10]
cmove ecx, edx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], ecx
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.HwpxFormatDefaults
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004208e3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004208e3
mov esp, ebp
pop ebp
ret
Function at 0x40de50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440098
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x454710]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
push 1
push 0x44cad0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00404310
cmp word [esi], 0
jne 0x40dec1
xor ecx, ecx
jmp 0x40ded5
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40dec6
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.0040e3d0
push 0xd
push 0x44cad4
lea ecx, [ebp - 0x2c]
call fcn.00404310
push str.hwpx
push esi
call fcn.00421179
add esp, 8
test eax, eax
jne 0x40df1e
push 4
push str.hwpx
lea ecx, [ebp - 0x2c]
call fcn.0040e3d0
push 1
push 0x44cad0
lea ecx, [ebp - 0x2c]
call fcn.0040e3d0
push 0xffffffffffffffff
push 0
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e2c0
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x60]
push ecx
push 0xf003f
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e012
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 8
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
lea ecx, [eax*2 + 1]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 1
push 0
push 0
push dword [ebp - 0x60]
call edi
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x64]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40e00d
xor eax, eax
mov dword [ebp - 0x48], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x5c], ax
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x4c], 0
push eax
call fcn.00404510
push 9
push str.ShellNew
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.0040e3d0
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push 0
cmovae eax, dword [ebp - 0x5c]
push 0
push 1
push str.NullFile
push eax
push dword [ebp - 0x60]
call edi
push dword [ebp - 0x64]
call esi
cmp dword [ebp - 0x48], 8
jb 0x40e00d
push dword [ebp - 0x5c]
call fcn.0040ea18
add esp, 4
push dword [ebp - 0x60]
call esi
cmp dword [ebp - 0x18], 8
jb 0x40e023
push dword [ebp - 0x2c]
call fcn.0040ea18
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x40e048
push dword [ebp - 0x44]
call fcn.0040ea18
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004208e3
mov esp, ebp
pop ebp
ret 4
Function at 0x40e070
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4400e1
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x454710]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], 0
mov word [ebp - 0x254], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x258], 7
mov dword [ebp - 0x25c], eax
mov word [ebp - 0x26c], ax
push 1
push 0x44cad0
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 1
call fcn.00404310
cmp word [esi], 0
jne 0x40e10a
xor ecx, ecx
jmp 0x40e11f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e110
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x254]
call fcn.0040e3d0
cmp dword [ebp - 0x240], 8
lea ecx, [ebp - 0x270]
push ecx
push 0xf003f
lea eax, [ebp - 0x254]
cmovae eax, dword [ebp - 0x254]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e27f
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.004226a0
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push dword [ebp - 0x270]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x270]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [ebp - 0x21c], 0
je 0x40e27f
xor eax, eax
mov dword [ebp - 0x228], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x23c], ax
lea ecx, [ebp - 0x23c]
lea eax, [ebp - 0x254]
mov dword [ebp - 0x22c], 0
push eax
call fcn.00404510
push 1
push 0x44c54c
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 2
call fcn.0040e3d0
cmp word [ebp - 0x21c], 0
jne 0x40e21d
xor ecx, ecx
jmp 0x40e235
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e226
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x23c]
call fcn.0040e3d0
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
cmovae eax, dword [ebp - 0x23c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
cmp dword [ebp - 0x228], 8
jb 0x40e27f
push dword [ebp - 0x23c]
call fcn.0040ea18
add esp, 4
cmp dword [ebp - 0x240], 8
jb 0x40e296
push dword [ebp - 0x254]
call fcn.0040ea18
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004208e3
mov esp, ebp
pop ebp
ret 4

Function at 0x4101cb
Capabilities:
Enumerate pe sections

Disassembly:
mov bl, byte [edx + 2]
test bl, bl
je 0x4101bb
xor byte [ecx], bl
mov bl, byte [ecx]
not bl
test bl, bl
mov byte [ecx], bl
je 0x4101c8
sbb esi, esi
rol dword [ebx + ebx*8 + 0x3741988], cl
inc ecx
jmp 0x4101b2
mov byte [edx + 3], 1
pop ebx
ret

Function at 0x4101ce
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
dec dword [edi]
mov bh, 0x41
adc al, 0xf
mov bh, 0x71
push es
Function at 0x4105cf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0041019e
push eax
push esi
push dword [ebp + 8]
call fcn.00410153
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0041018e
or ch, byte [edi - 0x63]
mov byte es:[ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0041018e
sbb al, byte [ebx - 0x7a72951e]
jl 0x410679
invalid
invalid
Function at 0x437565
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x454710]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0042a9db
mov dword [ebp - 0x14], eax
cmp dword [0x459a94], esi
jne 0x437658
push 0x800
push esi
push 0x449ccc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4375e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x437738
push esi
push esi
push 0x449ccc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x437738
push 0x449ce4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x437738
push eax
call ebx
push 0x449cf0
push edi
mov dword [0x459a94], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x449d00
push edi
mov dword [0x459a98], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x459a9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x459aa4], eax
test eax, eax
je 0x437655
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x459aa0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x43767d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x437670
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x437692
push 4
pop eax
jmp 0x43773a
cmp dword [ebp - 0x14], esi
je 0x437692
push dword [0x459a94]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x437677
mov eax, dword [0x459aa0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4376f0
cmp dword [0x459aa4], edi
je 0x4376f0
push eax
call ebx
push dword [0x459aa4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4376f0
test eax, eax
je 0x4376f0
call ecx
test eax, eax
je 0x4376e5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4376e5
test byte [ebp - 8], 1
jne 0x4376f0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x437720
mov eax, dword [0x459a98]
cmp eax, edi
je 0x43771d
push eax
call ebx
test eax, eax
je 0x43771d
call eax
mov esi, eax
test esi, esi
je 0x43771d
mov eax, dword [0x459a9c]
cmp eax, edi
je 0x43771d
push eax
call ebx
test eax, eax
je 0x43771d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x459a94]
call ebx
test eax, eax
je 0x437738
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x43773a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004208e3
mov esp, ebp
pop ebp
ret