joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003320
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
push 0x1001d278
push ecx
mov dword [eax], 0
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10003353
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
ret 8
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push esi
call edi
add esp, 0xc
test eax, eax
push esi
je 0x1000337d
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
ret 8
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push esi
mov ebp, eax
call edi
add esp, 0x10
test eax, eax
je 0x100033a9
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
ret 8
push ebp
call sym.NSLDAP32V50.dll_ldap_x_malloc
add esp, 4
mov edi, eax
test edi, edi
push esi
jne 0x100033ce
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
ret 8
push ebp
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
mov ebx, dword [esi + 0xc]
push esi
mov dword [esp + 0x28], eax
and ebx, 0x10
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, ebp
je 0x1000340d
test ebx, ebx
jne 0x1000340d
push edi
call sym.NSLDAP32V50.dll_ldap_x_free
add esp, 4
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov edx, dword [esp + 0x18]
push edx
push eax
push edi
call sym.NSLDAP32V50.dll_ldap_init_templates_buf
push edi
mov esi, eax
call sym.NSLDAP32V50.dll_ldap_x_free
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x10005fc0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push edi
push 0x1001d278
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10005fe4
pop edi
pop esi
pop ebp
pop ebx
ret 4
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push esi
call edi
add esp, 0xc
test eax, eax
push esi
je 0x1000600b
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push esi
mov ebp, eax
call edi
add esp, 0x10
test eax, eax
je 0x10006034
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
push ebp
call sym.NSLDAP32V50.dll_ldap_x_malloc
add esp, 4
mov ebx, eax
test ebx, ebx
push esi
jne 0x10006056
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
push ebp
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
mov edi, dword [esi + 0xc]
push esi
mov dword [esp + 0x28], eax
and edi, 0x10
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, ebp
je 0x10006092
test edi, edi
jne 0x10006092
push ebx
call sym.NSLDAP32V50.dll_ldap_x_free
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 4
push eax
push ebx
call sym.NSLDAP32V50.dll_ldap_init_getfilter_buf
push ebx
mov esi, eax
call sym.NSLDAP32V50.dll_ldap_x_free
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x1000a680
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
jle 0x1000a6ad
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
shr edx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x100213d0]
xor eax, edx
inc ecx
dec esi
jne 0x1000a691
pop ebx
not eax
pop esi
ret

Function at 0x1000ada0
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x100219a8]
test eax, eax
jne 0x1000ae1e
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x10021990], eax
xor eax, eax
mov dword [0x10021998], eax
mov ecx, 0x6c
mov dword [0x1002199c], eax
mov edi, 0x10021f20
mov dword [0x100219a0], eax
push 0x100217d0
push 5
push eax
rep stosd dword es:[edi], eax
mov dword [0x100219a8], 1
mov dword [0x100219a4], eax
mov dword [0x10021f70], 0x80000000
mov dword [0x10021f28], 2
mov byte [0x10021f2c], 4
mov dword [0x10021f6c], 5
mov dword [0x100220cc], 0xffffffff
call sym.NSLDAP32V50.dll_ldap_set_option
pop edi
ret
Function at 0x10014dc0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push edi
push 0x1001d278
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10014de9
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
ret 8
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push esi
call edi
add esp, 0xc
test eax, eax
push esi
je 0x10014e13
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
ret 8
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push esi
mov ebp, eax
call edi
add esp, 0x10
test eax, eax
je 0x10014e3f
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
ret 8
push ebp
call sym.NSLDAP32V50.dll_ldap_x_malloc
add esp, 4
mov ebx, eax
test ebx, ebx
push esi
jne 0x10014e64
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
ret 8
push ebp
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
mov edi, dword [esi + 0xc]
push esi
mov dword [esp + 0x28], eax
and edi, 0x10
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, ebp
je 0x10014ea3
test edi, edi
jne 0x10014ea3
push ebx
call sym.NSLDAP32V50.dll_ldap_x_free
add esp, 4
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov ecx, dword [esp + 0x18]
push ecx
push eax
push ebx
call sym.NSLDAP32V50.dll_ldap_init_searchprefs_buf
push ebx
mov esi, eax
call sym.NSLDAP32V50.dll_ldap_x_free
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x100188e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov ch, 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10018654
push eax
shr edx, 0x29
lea eax, [ebp - 0x58]
push eax
call fcn.10018664
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10018619
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10018942
invalid
invalid
je 0x1001893f

Function at 0x100189e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.10018664
push eax
push esi
push dword [ebp + 8]
call fcn.10018619
mov dword [ebp - 8], eax
invalid
inc ebp
Function at 0x10018d90
Capabilities:
Inspect section memory permissions

Disassembly:
push dword [ebx]
leave
mov edi, 0x60000000
jmp 0x10018d49
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 0x10018da7
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 0x10018d8e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10018d97
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10018da1
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10018d83
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]

Function at 0x10018db0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10018d2b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
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]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10018d0d
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x10018ea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esp + edi*8 - 0x39a80001], esi
test dword [ebp + 0x4afffffc], esi
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.10018664
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10018619
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
invalid
jb 0x10018fe6
Function at 0x10019f00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cdq
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x1001a1cf
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
cmp dword [ebp - 0x6fc], 1
jne 0x1001a280
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.10018664
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.100185c5
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x1001a5cc
cmp dword [ebp - 0x6fc], 2
jne 0x1001a33d
and byte [ebp - 0x79c], 0
and byte [ebp - 0x79b], 0
mov byte [ebp - 0x79a], 0x10
and byte [ebp - 0x799], 0
mov byte [ebp - 0x798], 0xb3
mov byte [ebp - 0x797], 0x8c
mov byte [ebp - 0x796], 0x80
mov byte [ebp - 0x795], 0x81
mov byte [ebp - 0x794], 0x9d
mov byte [ebp - 0x793], 0x8a
mov byte [ebp - 0x792], 0x9c
invalid
test dword [edi - 8], ebp
invalid
invalid
Function at 0x100de360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10182eeb
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x10200854]
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 eax, ecx
mov dword [ebp - 0x25c], eax
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ebx
je 0x100de3b8
mov ecx, esi
call fcn.100047b0
add esi, 0x18
cmp esi, ebx
jne 0x100de3a2
mov esi, dword [edi]
mov eax, dword [ebp - 0x25c]
mov dword [edi + 4], esi
mov eax, dword [eax]
test eax, eax
je 0x100de5b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
mov ecx, dword [ebp - 0x25c]
push str.RegEnumKeyExW
mov dword [ebp - 0x260], eax
push dword [ecx]
call esi
mov ebx, eax
mov eax, dword [ebp - 0x25c]
push 0x101bf2e4
push dword [eax]
call esi
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x25c], eax
test ecx, ecx
je 0x100de5b7
test ebx, ebx
je 0x100de5b7
test eax, eax
je 0x100de5b7
xor eax, eax
mov dword [ebp - 0x48], 0x6f0053
mov word [ebp - 0x14], ax
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x258]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 0x740066
push eax
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x40], 0x610077
mov dword [ebp - 0x3c], 0x650072
mov dword [ebp - 0x38], 0x4d005c
mov dword [ebp - 0x34], 0x630069
mov dword [ebp - 0x30], 0x6f0072
mov dword [ebp - 0x2c], 0x6f0073
mov dword [ebp - 0x28], 0x740066
mov dword [ebp - 0x24], 0x43005c
mov dword [ebp - 0x20], 0x460054
mov dword [ebp - 0x1c], 0x54005c
mov dword [ebp - 0x18], 0x500049
call ecx
test eax, eax
jne 0x100de5b7
push 0x208
xor esi, esi
lea eax, [ebp - 0x250]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x254], 0x104
lea eax, [ebp - 0x254]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x250]
push eax
push esi
push dword [ebp - 0x258]
call ebx
test eax, eax
jne 0x100de5ab
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x264], 0
lea edx, [eax + 2]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100de530
sub eax, edx
lea ecx, [ebp - 0x278]
sar eax, 1
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.10004820
mov dword [ebp - 4], 0
lea eax, [ebp - 0x278]
push eax
mov ecx, edi
call fcn.1000e250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.100047b0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x104
push eax
lea eax, [ebp - 0x250]
inc esi
push eax
push esi
push dword [ebp - 0x258]
call ebx
test eax, eax
je 0x100de4f0
push dword [ebp - 0x258]
call dword [ebp - 0x25c]
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.101611d3
mov esp, ebp
pop ebp
ret 4
Function at 0x100dee50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183028
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10200854]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x64], eax
mov eax, dword [eax]
xor edi, edi
test eax, eax
je 0x100defc1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x64]
push str.RegQueryValueExW
push dword [eax]
call esi
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
push 0x101bf2e4
push dword [eax]
call esi
mov esi, eax
cmp dword [ebp - 0x58], edi
je 0x100defc1
cmp dword [ebp - 0x68], edi
je 0x100defc1
test esi, esi
je 0x100defc1
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x40], 0x65004b
mov dword [ebp - 0x3c], 0x620079
mov dword [ebp - 0x38], 0x61006f
mov dword [ebp - 0x34], 0x640072
mov dword [ebp - 0x30], 0x4c0020
mov dword [ebp - 0x2c], 0x790061
mov dword [ebp - 0x28], 0x75006f
mov dword [ebp - 0x24], 0x5c0074
mov dword [ebp - 0x20], 0x720050
mov dword [ebp - 0x1c], 0x6c0065
mov dword [ebp - 0x18], 0x61006f
mov dword [ebp - 0x14], 0x64
mov dword [ebp - 0x60], edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x40]
mov dword [ebp - 0x5c], edi
push eax
push 0x20019
lea ecx, [ebp - 0x60]
call fcn.10109440
push eax
call dword [ebp - 0x58]
test eax, eax
jne 0x100def97
mov dword [ebp - 0x44], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x14
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push 0x101c1124
push dword [ebp - 0x5c]
movups xmmword [ebp - 0x54], xmm0
call dword [ebp - 0x68]
test eax, eax
jne 0x100def92
push 0x10
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
add esp, 0xc
mov edi, eax
push dword [ebp - 0x5c]
call esi
lea ecx, [ebp - 0x60]
call fcn.101095e0
test edi, edi
je 0x100defae
mov ecx, dword [ebp - 0x64]
push edi
call fcn.100defe0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.101095e0
mov eax, edi
jmp 0x100defc3
xor eax, eax
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.101611d3
mov esp, ebp
pop ebp
ret
Function at 0x100defe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183060
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10200854]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x80], eax
mov eax, dword [eax]
mov edi, dword [ebp + 8]
test eax, eax
je 0x100df1b6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RegOpenKeyExW
push eax
call esi
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x80]
push str.RegQueryValueExW
push dword [eax]
call esi
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
push 0x101bf2e4
push dword [eax]
call esi
cmp dword [ebp - 0x60], 0
mov esi, eax
je 0x100df1b6
cmp dword [ebp - 0x84], 0
je 0x100df1b6
test esi, esi
je 0x100df1b6
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x48], 0x65004b
mov dword [ebp - 0x44], 0x620079
mov dword [ebp - 0x40], 0x61006f
mov dword [ebp - 0x3c], 0x640072
mov dword [ebp - 0x38], 0x4c0020
mov dword [ebp - 0x34], 0x790061
mov dword [ebp - 0x30], 0x75006f
mov dword [ebp - 0x2c], 0x5c0074
mov dword [ebp - 0x28], 0x750053
mov dword [ebp - 0x24], 0x730062
mov dword [ebp - 0x20], 0x690074
mov dword [ebp - 0x1c], 0x750074
mov dword [ebp - 0x18], 0x650074
mov dword [ebp - 0x14], 0x73
mov dword [ebp - 0x80], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x7c], 0
push eax
push 0x20019
lea ecx, [ebp - 0x80]
call fcn.10109440
push eax
call dword [ebp - 0x60]
test eax, eax
je 0x100df1a7
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x78]
push edi
push str._08x
push eax
call fcn.100f1dd0
add esp, 0xc
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x60], 0x14
cmovae eax, dword [ebp - 0x78]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x7c]
movups xmmword [ebp - 0x5c], xmm0
call dword [ebp - 0x84]
test eax, eax
jne 0x100df196
push 0x10
push eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
add esp, 0xc
mov edi, eax
push dword [ebp - 0x7c]
call esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x78]
call fcn.100047b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.101095e0
mov eax, edi
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.101611d3
mov esp, ebp
pop ebp
ret 4
Function at 0x100fbdc0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x283c]
mov eax, 0x283c
call fcn.10163300
push 0xffffffffffffffff
push 0x10186118
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10200854]
xor eax, ebp
mov dword [ebp + 0x2838], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2000
xor ebx, ebx
lea eax, [ebp + 0x630]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x22
mov word [ebp + 0x630], ax
test esi, esi
je 0x100fbfc1
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x100fbfc1
push esi
call edi
cmp eax, 0xffa
jge 0x100fbfc1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x630]
push eax
call esi
push 0x101beb28
lea eax, [ebp + 0x630]
push eax
call esi
push str.Shell32.dll
lea ecx, [ebp - 0x2c]
call fcn.100046c0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.10109d20
mov ecx, eax
call fcn.10109de0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100047b0
test esi, esi
je 0x100fbfc1
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x100fbfc1
lea ecx, [ebp]
call fcn.100fb8b0
xor edi, edi
lea esi, [ebp]
cmp word [esi], 0
je 0x100fbee6
push 1
push 0
lea eax, [ebp + 0x630]
push eax
push esi
push str.open
push 0
call dword [ebp - 0x10]
cmp eax, 0x20
ja 0x100fbef4
inc edi
add esi, 0x210
cmp edi, 3
jl 0x100fbec5
jmp 0x100fbf16
imul ebx, edi, 0x210
cmp dword [ebp + ebx + 0x208], 0
mov ebx, dword [ebp + ebx + 0x20c]
jne 0x100fbf0e
add ebx, 0x10
test ebx, ebx
jne 0x100fbfbd
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 0x630]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x100fbfb8
mov dword [ebp - 0x14], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [ebp - 0x10], str._programfiles_Internet_Exploreriexplore.exe
nop dword [eax + eax]
push 0x208
lea eax, [ebp + 0x2630]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x2630]
push 0x103
push eax
push dword [ebp + esi*4 - 0x14]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x2630]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100fbfae
push 1
push 0
lea eax, [ebp + 0x630]
push eax
lea eax, [ebp + 0x2630]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x100fbfb8
inc esi
cmp esi, 2
jb 0x100fbf50
mov eax, ebx
jmp 0x100fbfc3
mov ebx, 0x10
mov eax, ebx
jmp 0x100fbfc3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2838]
xor ecx, ebp
call fcn.101611d3
lea esp, [ebp + 0x283c]
pop ebp
ret
Function at 0x100ff710
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101f2208
push 0x10161c09
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x10200854]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100ff771
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
mov edx, esi
mov ecx, edi
call fcn.100ff860
mov bl, al
mov byte [ebp - 0x431], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x100ff7b4
test bl, bl
jne 0x100ff83d
cmp edi, 0x1a
jne 0x100ff83d
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x100ff7d6
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
push 0x410
push ecx
lea eax, [ebp - 0x430]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x207
lea eax, [ebp - 0x430]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x430]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100ff810
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x430]
push eax
mov ecx, esi
call fcn.10004820
movzx ebx, bl
mov eax, 1
cmp dword [esi + 0x10], 0
cmovne ebx, eax
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.101611d3
mov esp, ebp
pop ebp
ret