joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10027830
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [edi + ecx], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov edx, dword [edi]
mov dword [edi + 4], ebx
mov esi, dword [edx + 4]
add esi, edi
call fcn.10001ce0
mov eax, dword [esp + 0x24]
push esi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
call fcn.10003fa0
mov byte [esi + 0x30], al
cmp dword [esi + 0x28], ebx
jne 0x10003a6e
mov eax, dword [esi + 8]
or eax, 4
and eax, 0x17
mov dword [esi + 8], eax
test dword [esi + 0xc], eax
je 0x10003a6e
mov ecx, esi
call fcn.10001ac0
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], ebx
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 8

Function at 0x10003a90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x100273eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10006207
push 4
mov dword [esp + 0x18], 0
call fcn.1000714d
mov edi, eax
add esp, 4
test edi, edi
je 0x10003b04
push ebx
call fcn.10005d9e
mov dword [edi], eax
call fcn.10005b97
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.10005fc8
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10003af8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.10005ff0
pop ebx
jmp 0x10003b06
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x10007cc6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002ea18]
jne 0x10007cd0
repz ret
jmp fcn.1001101c
Function at 0x1001fbfd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000c7c9
and dword [ebp - 4], 0
cmp dword [0x10030b8c], 0
mov ebx, eax
jne 0x1001fcae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001fd5f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1001fd5f
push eax
call fcn.1000c757
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10030b8c], eax
call esi
push eax
call fcn.1000c757
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10030b90], eax
call esi
push eax
call fcn.1000c757
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10030b94], eax
call esi
push eax
call fcn.1000c757
pop ecx
mov dword [0x10030b9c], eax
test eax, eax
je 0x1001fcae
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000c757
pop ecx
mov dword [0x10030b98], eax
mov eax, dword [0x10030b98]
cmp eax, ebx
je 0x1001fd06
cmp dword [0x10030b9c], ebx
je 0x1001fd06
push eax
call fcn.1000c7d2
push dword [0x10030b9c]
mov esi, eax
call fcn.1000c7d2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001fd06
test edi, edi
je 0x1001fd06
call esi
test eax, eax
je 0x1001fcfd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001fcfd
test byte [ebp - 0xc], 1
jne 0x1001fd06
or dword [ebp + 0x10], 0x200000
jmp 0x1001fd3f
mov eax, dword [0x10030b90]
cmp eax, ebx
je 0x1001fd3f
push eax
call fcn.1000c7d2
pop ecx
test eax, eax
je 0x1001fd3f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001fd3f
mov eax, dword [0x10030b94]
cmp eax, ebx
je 0x1001fd3f
push eax
call fcn.1000c7d2
pop ecx
test eax, eax
je 0x1001fd3f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10030b8c]
call fcn.1000c7d2
pop ecx
test eax, eax
je 0x1001fd5f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001fd61
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10023c90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100277a0
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, dword [esp + 0x1c]
push 4
call fcn.1000714d
xor edx, edx
add esp, 4
cmp eax, edx
je 0x10023cc1
mov dword [eax], esi
jmp 0x10023cc3
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x24], esp
mov dword [esp + 0x30], 1
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push 0x1002ab78
mov byte [ecx + 4], dl
call fcn.100035b0
mov ecx, esi
call fcn.10004930
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 4
Function at 0x10023e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
mov byte [esp + 0xf], 0x73
mov byte [esp + 0x11], 0
mov byte [esp + 8], 0x46
mov byte [esp + 0x10], 0x65
mov byte [esp + 0xd], 0x6c
mov byte [esp + 0xc], 0x43
mov byte [esp + 0xb], 0x64
mov byte [esp + 0xa], 0x6e
mov byte [esp + 0xe], 0x6f
mov byte [esp + 9], 0x69
call fcn.10027990
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10023e69
mov ecx, dword [esp + 0x14]
push ecx
call eax
pop esi
add esp, 0xc
ret
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x10025c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push esi
push edi
xor edi, edi
call fcn.10025a20
mov esi, eax
test esi, esi
je 0x10025c97
mov al, 0x65
mov byte [esp + 0x12], al
mov byte [esp + 9], al
mov byte [esp + 0xd], al
lea eax, [esp + 8]
push eax
push esi
mov byte [esp + 0x18], 0x61
mov byte [esp + 0x17], 0x4e
mov byte [esp + 0x1c], 0
mov byte [esp + 0x19], 0x6d
mov byte [esp + 0x14], 0x73
mov byte [esp + 0x12], 0x74
mov byte [esp + 0x16], 0x72
mov byte [esp + 0x10], 0x47
mov byte [esp + 0x1b], 0x41
mov byte [esp + 0x13], 0x55
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10025c90
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x10
ret
Function at 0x10025ca0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10027806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x284
push ebx
push esi
push edi
lea eax, [esp + 0x2c]
push eax
xor bl, bl
call fcn.10023c90
xor edi, edi
mov dword [esp + 0x298], edi
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], edi
mov byte [esp + 0x14], 0
push 0x104
lea ecx, [esp + 0x188]
push ecx
mov byte [esp + 0x2a0], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x184]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10025d10
sub eax, edx
push eax
lea edx, [esp + 0x188]
push edx
lea eax, [esp + 0x18]
call fcn.10002ca0
push 1
push 0x1002ab7c
lea eax, [esp + 0x18]
call fcn.10002ca0
push 6
lea ecx, [esp + 0x30]
call fcn.10024910
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x10025d50
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10025d50
sub ecx, esi
push ecx
push eax
lea eax, [esp + 0x18]
call fcn.10002ca0
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
jae 0x10025d73
lea eax, [esp + 0x14]
lea ecx, [esp + 0x44]
push ecx
push eax
call fcn.10024890
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x10025dd0
cmp dword [esp + 0x28], 0x10
jb 0x10025d9c
mov edx, dword [esp + 0x14]
push edx
call fcn.100065ea
add esp, 4
lea esi, [esp + 0x2c]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], edi
mov byte [esp + 0x14], 0
call fcn.10027230
xor al, al
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x290
ret
lea eax, [esp + 0x44]
push eax
push esi
call fcn.10025b40
add esp, 8
test eax, eax
je 0x10025eae
jmp 0x10025df0
push 7
lea ecx, [esp + 0x30]
call fcn.10024910
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.10026d80
test eax, eax
jne 0x10025e0c
mov bl, 1
push 8
lea ecx, [esp + 0x30]
call fcn.10024910
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.10026d80
test eax, eax
jne 0x10025e28
mov bl, 1
push 9
lea ecx, [esp + 0x30]
call fcn.10024910
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.10026d80
test eax, eax
jne 0x10025e44
mov bl, 1
push 0xa
lea ecx, [esp + 0x30]
call fcn.10024910
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.10026d80
test eax, eax
jne 0x10025e60
mov bl, 1
push 0xb
lea ecx, [esp + 0x30]
call fcn.10024910
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.10026d80
test eax, eax
jne 0x10025e7c
mov bl, 1
push 0xc
lea ecx, [esp + 0x30]
call fcn.10024910
mov edx, eax
lea ecx, [esp + 0x70]
call fcn.10026d80
test eax, eax
jne 0x10025e98
mov bl, 1
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.10025b40
add esp, 8
test eax, eax
jne 0x10025df0
push esi
call fcn.10023e10
add esp, 4
cmp dword [esp + 0x28], 0x10
jb 0x10025ecb
mov edx, dword [esp + 0x14]
push edx
call fcn.100065ea
add esp, 4
lea esi, [esp + 0x2c]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], edi
mov byte [esp + 0x14], 0
call fcn.10027230
mov ecx, dword [esp + 0x290]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0x290
ret
Function at 0x10025f40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x4c
mov al, 0x64
push ebp
mov byte [esp + 0x25], al
mov byte [esp + 0x1d], al
push esi
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x2f], 0x6c
mov byte [esp + 0x2e], 0x6c
mov byte [esp + 0x26], 0x76
mov byte [esp + 0x28], 0x70
mov byte [esp + 0x30], 0
mov byte [esp + 0x2a], 0x33
mov byte [esp + 0x24], 0x41
mov byte [esp + 0x29], 0x69
mov byte [esp + 0x2b], 0x32
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x2c], 0x2e
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x10026097
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x38]
mov bl, 0x65
push ecx
push esi
mov byte [esp + 0x42], 0x67
mov byte [esp + 0x45], bl
mov byte [esp + 0x4d], 0
mov byte [esp + 0x46], 0x6e
mov byte [esp + 0x43], 0x4f
mov byte [esp + 0x4c], 0x41
mov byte [esp + 0x49], 0x79
mov byte [esp + 0x48], bl
mov byte [esp + 0x40], 0x52
mov byte [esp + 0x47], 0x4b
mov byte [esp + 0x4a], 0x45
mov byte [esp + 0x4b], 0x78
mov byte [esp + 0x44], 0x70
mov byte [esp + 0x41], bl
call edi
lea edx, [esp + 0x48]
mov dword [esp + 0x14], eax
mov al, 0x75
push edx
push esi
mov byte [esp + 0x59], 0x61
mov byte [esp + 0x58], 0x56
mov byte [esp + 0x56], 0x72
mov byte [esp + 0x5e], 0x78
mov byte [esp + 0x53], 0x51
mov byte [esp + 0x5c], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x52], 0x67
mov byte [esp + 0x5a], 0x6c
mov byte [esp + 0x57], 0x79
mov byte [esp + 0x5f], 0x41
mov byte [esp + 0x60], 0
mov byte [esp + 0x5d], 0x45
mov byte [esp + 0x50], 0x52
mov byte [esp + 0x54], al
mov byte [esp + 0x51], bl
mov byte [esp + 0x5b], al
call edi
mov ebp, eax
lea eax, [esp + 0x1c]
push eax
push esi
mov byte [esp + 0x25], bl
mov byte [esp + 0x24], 0x52
mov byte [esp + 0x2c], 0x4b
mov byte [esp + 0x2b], bl
mov byte [esp + 0x28], 0x6c
mov byte [esp + 0x2a], 0x73
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 0x79
mov byte [esp + 0x27], 0x43
mov byte [esp + 0x29], 0x6f
mov byte [esp + 0x26], 0x67
mov byte [esp + 0x2f], 0
call edi
pop edi
mov esi, eax
pop ebx
jmp 0x1002609f
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 8]
push ecx
push 0xf013f
push 0
push edx
push 0x80000002
call dword [esp + 0x20]
test eax, eax
jne 0x100260e9
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x24], 0x190
call ebp
mov edx, dword [esp + 8]
push edx
call esi
pop esi
mov al, 1
pop ebp
add esp, 0x4c
ret
Function at 0x100262a0
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c238
push 0x100236cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x19]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10026c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10027431
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ecx, 1
mov dword [esp + 0x68], ecx
mov eax, 0xf
lea ebp, [edi + 4]
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [ebp], bl
cmp dword [esp + 0x88], ebx
mov dword [esp + 0x14], ecx
jle 0x10026d43
push 0xffffffffffffffff
mov dword [esp + 0x44], eax
push ebx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.10002db0
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x1c], eax
jle 0x10026d2f
push ebx
lea esi, [esp + 0x48]
lea ecx, [esp + 0x2c]
call fcn.10001f40
mov byte [esp + 0x68], 3
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x10026ca5
lea eax, [esp + 0x48]
push 0x10
push 0
push eax
call fcn.10006c38
mov ecx, dword [edi + 0x18]
add esp, 0xc
mov byte [esp + 0x18], al
cmp ecx, 0x10
jb 0x10026cc3
mov eax, dword [ebp]
jmp 0x10026cc5
mov eax, ebp
mov edx, dword [edi + 0x14]
lea esi, [edx + eax]
test esi, esi
je 0x10026cf1
cmp ecx, 0x10
jb 0x10026cd9
mov eax, dword [ebp]
jmp 0x10026cdb
mov eax, ebp
cmp eax, esi
ja 0x10026cf1
cmp ecx, 0x10
jb 0x10026ce9
mov eax, dword [ebp]
jmp 0x10026ceb
mov eax, ebp
add edx, eax
cmp esi, edx
jbe 0x10026cf6
call fcn.10006fb3
mov ecx, dword [esp + 0x18]
push esi
push edi
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, edi
call fcn.10002ec0
mov byte [esp + 0x68], 2
cmp dword [esp + 0x5c], 0x10
jb 0x10026d22
mov eax, dword [esp + 0x48]
push eax
call fcn.100065ea
add esp, 4
add ebx, 2
cmp ebx, dword [esp + 0x1c]
jl 0x10026c83
cmp dword [esp + 0x40], 0x10
jb 0x10026d43
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.100065ea
add esp, 4
cmp dword [esp + 0x8c], 0x10
jb 0x10026d5a
mov edx, dword [esp + 0x78]
push edx
call fcn.100065ea
add esp, 4
mov ecx, dword [esp + 0x60]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 0x20
Function at 0x100270b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10027431
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ecx, 1
mov dword [esp + 0x68], ecx
mov eax, 0xf
lea ebp, [edi + 4]
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [ebp], bl
cmp dword [esp + 0x88], ebx
mov dword [esp + 0x14], ecx
jle 0x100271f3
push 0xffffffffffffffff
mov dword [esp + 0x44], eax
push ebx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.10002db0
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x1c], eax
jle 0x100271df
push ebx
lea esi, [esp + 0x48]
lea ecx, [esp + 0x2c]
call fcn.10001f40
mov byte [esp + 0x68], 3
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x10027155
lea eax, [esp + 0x48]
push 0x10
push 0
push eax
call fcn.10006c38
mov ecx, dword [edi + 0x18]
add esp, 0xc
mov byte [esp + 0x18], al
cmp ecx, 0x10
jb 0x10027173
mov eax, dword [ebp]
jmp 0x10027175
mov eax, ebp
mov edx, dword [edi + 0x14]
lea esi, [edx + eax]
test esi, esi
je 0x100271a1
cmp ecx, 0x10
jb 0x10027189
mov eax, dword [ebp]
jmp 0x1002718b
mov eax, ebp
cmp eax, esi
ja 0x100271a1
cmp ecx, 0x10
jb 0x10027199
mov eax, dword [ebp]
jmp 0x1002719b
mov eax, ebp
add edx, eax
cmp esi, edx
jbe 0x100271a6
call fcn.10006fb3
mov ecx, dword [esp + 0x18]
push esi
push edi
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, edi
call fcn.10002ec0
mov byte [esp + 0x68], 2
cmp dword [esp + 0x5c], 0x10
jb 0x100271d2
mov eax, dword [esp + 0x48]
push eax
call fcn.100065ea
add esp, 4
add ebx, 2
cmp ebx, dword [esp + 0x1c]
jl 0x10027133
cmp dword [esp + 0x40], 0x10
jb 0x100271f3
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.100065ea
add esp, 4
cmp dword [esp + 0x8c], 0x10
jb 0x1002720a
mov edx, dword [esp + 0x78]
push edx
call fcn.100065ea
add esp, 4
mov ecx, dword [esp + 0x60]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret
Function at 0x10004f27
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x10007d2c
call fcn.10007bb3
cmp byte [0x1000b99c], 0
je 0x10004f46
mov eax, dword [0x1000b9a0]
jmp 0x1000501c
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwarePoliciesMicrosoftSecurity
mov dword [ebp - 4], esi
push 0x80000001
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10004f96
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x1000b9a0
push esi
push esi
push str.CLSIDInterfaceTest
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10004f96
cmp dword [ebp - 0x14], 4
je 0x10004fef
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], esi
test eax, eax
je 0x10004fa7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftSecurity
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10004ff7
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x1000b9a0
push esi
push esi
push str.CLSIDInterfaceTest
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10004ff7
cmp dword [ebp - 0x14], 4
jne 0x10004ff7
mov esi, dword [0x1000b9a0]
jmp 0x10004ffd
mov dword [0x1000b9a0], esi
mov al, 1
mov dword [ebp - 4], 3
cmp dword [ebp - 0x10], 0
mov byte [0x1000b99c], al
je 0x1000501a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.10007b93
ret

Function at 0x100078a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x100078b8
pop dword [ebp - 8]
mov eax, 0x8643dde9
add eax, 0x89bc9acf
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xac540fd9
add dword [ebp - 0x18], 0xa1fe3572
mov dword [ebp - 0x14], 0xe01815b6
add dword [ebp - 0x14], 0x521b368f
mov dword [ebp - 0x10], 0xce0253d7
add dword [ebp - 0x10], 0x7e49f057
mov dword [ebp - 0xc], 0x24e9cb42
add dword [ebp - 0xc], 0xdb1634be
lea eax, [ebp - 0x18]
push eax
mov eax, 0xc9101d0a
sub eax, 0xb90f9c6e
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x23b3fa7e
sub dword [ebp - 0x18], 0xaf419128
mov dword [ebp - 0x14], 0x511f9949
sub dword [ebp - 0x14], 0xfb337d4
mov dword [ebp - 0x10], 0x75827f70
sub dword [ebp - 0x10], 0x12131304
mov dword [ebp - 0xc], 0xc99c4d2e
sub dword [ebp - 0xc], 0xc99c4d2e
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x169541ff
sub eax, 0x694c177
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x384dc
push 0
call eax
mov ecx, 0x4b7e
mov edx, eax
mov esi, 0x515af1d7
add esi, 0xbea5ea29
add esi, dword [ebp - 8]
mov ebx, 0x342d6ec8
add ebx, 0xf8ab02a5
mov edi, dword [esi]
xor dword [ebp - 4], eax
add edi, ebx
sub dword [ebp - 4], 0x684989b
mov dword [edx], edi
add dword [ebp - 4], ebx
add edx, 0x34309d5f
sub edx, 0x34309d5b
add esi, 4
loop 0x100079d4
add eax, 0x5aeee45d
sub eax, 0x5aedc392
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x95dbb24d
sub ecx, 0x85dbb24d
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x414b40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x414b62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414b69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414b58
mov eax, 1
add ebx, ebx
jne 0x414b7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414b70
jne 0x414b8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414b70
xor ecx, ecx
sub eax, 3
jb 0x414ba0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414c12
mov ebp, eax
add ebx, ebx
jne 0x414bab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414bb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414bdc
inc ecx
add ebx, ebx
jne 0x414bc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414bbd
jne 0x414bd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414bbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414bfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414bed
jmp 0x414b5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414bfc
add edi, ecx
jmp 0x414b5e
pop esi
mov edi, esi
mov ecx, 0x43b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414c1a
cmp byte [edi], 0
jne 0x414c1a
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 0x414c1f
lea edi, [esi + 0x12000]