joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425b10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [esi + 0x84]
push 0
push eax
push 0x18
push 0x32
mov dword [esp + 0x20], 0
lea ebx, [esi + 8]
mov dword [eax], 0x18
call edi
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
mov eax, dword [esp + 0x10]
mov ecx, eax
inc eax
push ecx
mov dword [esp + 0x14], eax
call ebp
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
add ebx, 4
cmp eax, 0x1f
jl 0x425b4b
xor ebp, ebp
lea eax, [esi + 0x9c]
push ebp
push eax
push 0x1c
push 0x36
mov dword [eax], 0x1c
call edi
lea eax, [esi + 0xb8]
push ebp
push eax
push 8
push 0x3a
mov dword [eax], 8
call edi
lea eax, [esi + 0xc0]
push ebp
push eax
push 8
push 0x34
mov dword [eax], 8
call edi
lea eax, [esi + 0xc8]
push ebp
push eax
push 0x30
push 0x40
mov dword [eax], 0x30
call edi
lea eax, [esi + 0xf8]
push ebp
push eax
push 0xc
push 0x3c
mov dword [eax], 0xc
call edi
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x46
call ebx
mov dword [esi + 0x104], eax
lea eax, [esi + 0x108]
push ebp
push eax
push ebp
push 0x44
call edi
push 0x17
call ebx
lea ecx, [esi + 0x110]
push ebp
push ecx
push ebp
push 0x5e
mov dword [esi + 0x10c], eax
call edi
lea edx, [esi + 0x114]
push ebp
push edx
push ebp
push 0x70
call edi
lea eax, [esi + 0x178]
push ebp
push eax
push ebp
push 0x2006
call edi
lea ecx, [esp + 0x14]
mov dword [esi + 0x11c], ebp
push ecx
push 0x20019
push ebp
push str.Control_PanelAppearanceNew_Schemes
call fcn.00425aa0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 4
push eax
push SysFreeString
call ebx
cmp eax, ebp
jne 0x425cf6
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
lea edi, [esi + 0x1188]
push edx
push edi
push ebp
push ebp
push str.SelectedStyle
push eax
mov dword [esp + 0x28], 0x28
mov word [edi], bp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425ceb
cmp dword [esp + 0x10], 2
jbe 0x425ceb
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebp
push edi
push edx
call ebx
test eax, eax
jne 0x425ceb
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
push ebp
push ebp
push str.SelectedSize
push edx
mov word [esp + 0x38], bp
mov dword [esp + 0x28], 0x28
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp word [esp + 0x20], bp
je 0x425cd7
cmp dword [esp + 0x10], 2
jbe 0x425cd7
mov eax, 0xfffffffe
jmp 0x425cda
or eax, 0xffffffff
mov dword [esi + 0x11b0], eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x42e923
Capabilities:
Encode data using xor

Disassembly:
call 0xa3ef6088
sahf
mov esp, eax
or byte [edi - 0x6de23229], bl
cmp ch, bh
invalid
leave
sbb bl, dl
xor eax, 0x6808da2f
adc ch, byte [ecx]
mov eax, 0xffbdc663
fbstp tbyte [esi + 0x58]
int3
fisttp qword [edx]
in eax, 0x5c
adc cl, byte [eax + 0x3e]
mov ebx, dword [edx + ecx*2 + 0x1f]
jmp 0x42e875
outsd dx, dword [esi]
out dx, eax
pop es
mov byte [esi + 0x372b4683], ah
push es
xchg edx, eax
jno 0x42e8fe
push ecx
jge 0x42e903
fstp qword [ebp - 0x69]
fidivr word [edi + 0x18e1ee09]
lahf
loope 0x42e89b
push ebx
mov dword [0x69c24774], eax
lds edi, [ecx]
int3
sar ebx, 0x78
inc edi
fsubr dword [ebp - 0x4819c433]
lodsd eax, dword [esi]
int 0x3b
out 0xb7, al
arpl word [edi + 0x2f50fe28], bx
jo 0x42e8f5
jo 0x42e929
ror byte [eax + 0x4dd1159f], cl
cmp al, 0x61
push 0x181a4364
sub al, 0x70
jl 0x42e8c0
xchg byte [ebp + 0xc72289e], bh
fld xword [eax]
aad 0xc1
loope 0x42e8d1
sbb al, 0x7c
movsb byte es:[edi], byte [esi]
and eax, 0x220a5896
cmp dl, 0xf5
enter 0xffffffffffffbb19, 0xffffffffffffff80
push 0xb
push 0xffffffffffffff91
xchg edi, eax
push esi
cmp ebp, dword [ebx - 0x42]
jnp 0x42e98c
in al, dx
cwde
stosd dword es:[edi], eax
imul ebx, dword [ebx - 0x66], 0x67477647
fistp word [esi + 0x7749898]
lea edx, [edi - 0x15a368b5]
aad 0x61
inc esp
cwde
sar ebp, 1
jg 0x42e9a2
mov ch, 0x8b
sbb ecx, dword [eax - 0x66af41ce]
ficom dword [ebx]
mov ebx, dword [ebx]
mov byte [edx], dh
mov esi, 0x13da9950
test dword [ebp + 5], esp
adc al, 0x77
xor byte [esi + 0x545a102a], 0xe6
push eax
sbb al, 0xf8
and dword [edi - 0x2c438472], ecx
aam 0xf4
jle 0x42e968
cmp dl, dh
sub byte [ecx - 0x339c3ae8], bh
pop ebx
adc bh, byte [eax + ebp*4]
mov ebp, 0xb0ccffc5
inc esp
pop eax
push ss
sub eax, 0xb89ca43f
pslld mm2, qword [edx - 0x6c35677e]
mov byte [0xbf91d742], al
mov byte [0x369320db], al
mov eax, 0x86766b3f
hlt
mov eax, 0x8292f20f
cwde
retf 0xa293

Function at 0x456d43
Capabilities:
Encode data using xor

Disassembly:
push edi
cmp eax, 0xc955176d
ljmp 0x3059
or ebx, 0x5f
xor al, 0x33
sbb byte [eax + 0x59], ah
inc eax
jns 0x456dae
sbb dword [ecx], eax
clc
loope 0x456d2b
ret 0xe2fb

Function at 0x465b53
Capabilities:
Write file on windows

Disassembly:
add dword [edi], ecx
test al, ch
add byte [eax], al
add byte [ebp - 0x7cf28a40], al
cmp eax, 0x46c2b0
add dword [edi], ecx
test bh, dl
add byte [eax], al
add byte [ecx + 0xfcfa], al
add byte [edi], cl
test cl, dh
add byte [eax], al
add byte [ebp - 0x1a37b], cl
jmp [eax + 4]
Function at 0x410c70
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4025e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401f20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00404fd8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00405038
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x410e25
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x410d46
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.00405088
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x410e25
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x404ae4
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.004050e8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x410e25
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410dc3
mov dword [ebp - 0x8c], 0
jmp 0x410dcf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410e06
mov dword [ebp - 0x90], 0
jmp 0x410e12
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x410d14
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404e50
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x410e4d
jmp 0x410e4c
ret

Function at 0x401283
Capabilities:
Terminate process

Disassembly:
add byte [ebx - 0x36cee73c], al
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x100035e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x21c], eax
test edi, edi
je 0x10003739
test ebx, ebx
je 0x10003739
test ecx, ecx
je 0x10003739
push esi
xor esi, esi
lea eax, [ebp - 0x20c]
push 0x208
push esi
push eax
mov dword [ebp - 0x210], esi
call fcn.1008df10
push 0xffffffffffffffff
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10090a6e
push 0xffffffffffffffff
push 0x100d1cf8
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10095a8e
push 0x103
push str.QQDoctorQQDoctorComCfg
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10095a8e
add esp, 0x38
lea eax, [ebp - 0x20c]
push eax
push ecx
lea ecx, [ebp - 0x210]
call fcn.100035b2
test eax, eax
je 0x1000371e
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x214], esi
test eax, eax
je 0x10003724
lea ecx, [ebp - 0x214]
push ecx
push esi
lea ecx, [ebp - 0x218]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000371e
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp + 0x14]
jbe 0x100036e9
mov esi, 0x80028016
jmp 0x10003714
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x10003724
lea ecx, [ebp + 0x14]
push ecx
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000371e
mov eax, dword [ebp + 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0x210]
jmp 0x10003729
mov eax, dword [ebp - 0x210]
mov esi, 0x80004005
test eax, eax
je 0x10003734
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x1000373e
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100039bd
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov dword [ebp - 4], ecx
push ebx
mov ebx, edx
test ecx, ecx
jne 0x100039d8
or eax, 0xffffffff
jmp 0x10003b17
test ebx, ebx
jg 0x100039e4
push 0xfffffffffffffffe
pop eax
jmp 0x10003b17
cmp dword [ebp + 8], 0
jne 0x100039ee
push 0xfffffffffffffffd
jmp 0x100039de
cmp dword [ebp + 0xc], 0
jg 0x100039f8
push 0xfffffffffffffffc
jmp 0x100039de
cmp dword [ebp + 0x10], 0
jne 0x10003a02
push 0xfffffffffffffffb
jmp 0x100039de
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
jg 0x10003a0e
push 0xfffffffffffffffa
jmp 0x10003a15
cmp dword [ebp + 0xc], edi
jge 0x10003a1b
push 0xfffffffffffffff9
pop eax
jmp 0x10003b16
push esi
xor esi, esi
mov edx, esi
mov ecx, esi
mov esi, dword [ebp - 4]
mov al, byte [edx + esi]
mov byte [ebp + ecx - 0x204], al
lea eax, [edx + 1]
cdq
idiv ebx
mov byte [ebp + ecx - 0x104], cl
inc ecx
cmp ecx, 0x100
jl 0x10003a25
xor esi, esi
mov edi, esi
mov ebx, esi
mov dl, byte [ebp + ebx - 0x104]
movzx eax, byte [ebp + ebx - 0x204]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x10003a71
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ebp + edi - 0x104]
mov byte [ebp + edi - 0x104], dl
mov byte [ebp + ebx - 0x104], al
inc ebx
cmp ebx, 0x100
jl 0x10003a4b
mov edi, dword [ebp + 0x14]
mov eax, esi
test edi, edi
jle 0x10003b13
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
sub edx, ebx
inc eax
and eax, 0x800000ff
jns 0x10003aaf
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 4], eax
movzx eax, byte [ebp + eax - 0x104]
add esi, eax
and esi, 0x800000ff
jns 0x10003acc
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [ebp - 4]
mov cl, byte [ebp + esi - 0x104]
mov al, byte [ebp + eax - 0x104]
mov byte [ebp + esi - 0x104], al
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x104], cl
movzx eax, byte [ebp + esi - 0x104]
movzx ecx, cl
add ecx, eax
movzx eax, cl
mov al, byte [ebp + eax - 0x104]
xor al, byte [edx + ebx]
mov byte [ebx], al
inc ebx
mov eax, dword [ebp - 4]
sub edi, 1
jne 0x10003aa0
xor eax, eax
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10003bbd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10003c18
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10003c09
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x10003c05
cmp esi, ecx
jae 0x10003c09
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x10003bf3
cmp esi, ecx
jb 0x10003c0d
xor eax, eax
jmp 0x10003c17
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10003dac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov edx, dword [ebp + 8]
xor ebx, ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10003e23
cmp dword [ebp - 8], 1
je 0x10003dfb
cmp dword [ebp - 8], 2
je 0x10003dfb
push 0xd
pop eax
jmp 0x10003e23
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x10003e1d
test ecx, ecx
je 0x10003e18
test cl, 1
jne 0x10003df6
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
je 0x10003e1d
jmp 0x10003df6
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10003ef2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x218], ebx
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x10003f1e
mov eax, dword [edi]
jmp 0x10003f20
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
push 1
push ebx
push str.http_shellopencommand
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003fde
push esi
mov esi, 0x208
mov dword [ebp - 0x214], ebx
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.1008df10
add esp, 0xc
mov dword [ebp - 0x210], esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push 0x100d0a34
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x218]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov dword [ebp - 0x218], ebx
pop esi
jne 0x10003fde
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10096208
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10001a38
add esp, 0xc
lea ecx, [ebp - 0x20c]
push eax
push ecx
mov ecx, edi
call fcn.10001dcf
xor eax, eax
inc eax
jmp 0x10003fe0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x10003ff0
Capabilities:
Query environment variable

Disassembly:
push 0x814
mov eax, 0x100bbed5
call fcn.1008b701
mov esi, ecx
mov edi, 0x400
lea eax, [ebp - 0x810]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.1008df10
push edi
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.1008df10
mov dword [ebp - 0x820], edi
xor eax, eax
lea edi, [ebp - 0x81c]
add esp, 0x18
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x814], ebx
mov edi, 0x20019
mov dword [ebp - 4], ebx
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_pathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x81c]
call fcn.10003d33
test eax, eax
jne 0x10004161
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x810]
push eax
push 0x100d0a34
lea ecx, [ebp - 0x81c]
call fcn.10003dac
test eax, eax
sete bl
test eax, eax
je 0x100040e1
lea ecx, [ebp - 0x81c]
call fcn.10003d19
push edi
push str.SoftwareMicrosoftIE_SetupSetup
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x81c]
call fcn.10003d33
test eax, eax
jne 0x100040e1
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x810]
push eax
push str.Path
lea ecx, [ebp - 0x81c]
call fcn.10003dac
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
test ebx, ebx
je 0x10004161
mov edi, 0x200
lea eax, [ebp - 0x410]
push edi
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jle 0x10004161
push str.iexplore.exe
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call fcn.10095e49
pop ecx
pop ecx
test eax, eax
je 0x10004145
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0xc
push str.iexplore.exe
lea eax, [ebp - 0x410]
push edi
push eax
call fcn.10095a8e
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
call fcn.10001a38
pop ecx
push eax
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.10001dcf
lea ecx, [ebp - 0x81c]
call fcn.10003d19
mov eax, ebx
call fcn.1008b6ab
ret

Function at 0x10004174
Capabilities:
Create process on windows

Disassembly:
push 0xc
push 0x100fe340
call fcn.1008bb60
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
push 5
push esi
push esi
call fcn.10001e60
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x1c], eax
jmp 0x100041aa
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.1008bba6
ret
Function at 0x100041ba
Capabilities:
Create process on windows

Disassembly:
push 0x88
mov eax, 0x100bbf0d
call fcn.1008b701
mov esi, ecx
push 0x100d0a34
lea ecx, [ebp - 0x40]
call fcn.100028b0
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.10004174
mov edi, eax
push 0x20
pop eax
cmp eax, edi
jbe 0x1000433d
lea ecx, [ebp - 0x40]
call fcn.10003ef2
test eax, eax
je 0x10004338
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push str.iexplore.exe
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.1008d154
pop ecx
pop ecx
test eax, eax
je 0x10004338
push 0x100d0a34
lea ecx, [ebp - 0x28]
call fcn.100028b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10003ff0
test eax, eax
je 0x1000432d
push 0x40
lea eax, [ebp - 0x80]
mov dword [ebp - 0x84], 0x44
push ebx
push eax
call fcn.1008df10
mov ebx, dword [ebp - 0x18]
xor ecx, ecx
add ebx, 4
add ebx, dword [esi + 0x10]
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10095adc
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10004294
xor ebx, ebx
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10001f43
jmp 0x10004341
push 0x100d1f38
push ebx
push edi
call fcn.1009578b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push edi
call fcn.1009600a
push 0x100d1f3c
push ebx
push edi
call fcn.1009600a
add esp, 0x24
cmp dword [esi + 0x14], 8
jb 0x100042ca
mov esi, dword [esi]
push esi
push ebx
push edi
call fcn.1009600a
add esp, 0xc
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ebx, ebx
push ecx
lea ecx, [ebp - 0x84]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push edi
mov esi, eax
call fcn.100959a0
pop ecx
test esi, esi
je 0x10004282
push dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x90]
call esi
xor esi, esi
inc esi
jmp 0x10004284
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10001f43
push 0x20
pop eax
cmp eax, edi
sbb esi, esi
neg esi
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10001f43
mov eax, esi
call fcn.1008b6ab
ret
Function at 0x100043dc
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 8
mov eax, 0x100bbf72
call fcn.1008b701
mov edi, ecx
xor esi, esi
lea ecx, [ebp - 0x14]
push edi
mov dword [ebp - 0x14], esi
call fcn.100055e9
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10004454
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10004454
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10004454
lea ecx, [ebp - 0x14]
call fcn.10004354
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], esi
je 0x10004457
mov ecx, eax
call fcn.100043dc
test eax, eax
je 0x10004457
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10004454
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10004457
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100018e3
mov eax, esi
call fcn.1008b6ab
ret

Function at 0x100046b1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov ebx, 0x412
mov dword [ebp - 0x424], eax
xor edi, edi
lea eax, [ebp - 0x418]
push ebx
push edi
push eax
mov esi, ecx
mov dword [ebp - 0x420], edi
call fcn.1008df10
add esp, 0xc
mov dword [ebp - 0x41c], 0x208
lea eax, [ebp - 0x420]
push eax
push 0x20119
push edi
push str.SoftwareMicrosoftInternet_ExplorerMain
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10004824
push ebx
lea eax, [ebp - 0x418]
mov dword [ebp - 0x41c], 0x208
push edi
push eax
call fcn.1008df10
add esp, 0xc
lea eax, [ebp - 0x41c]
lea esi, [ebp - 0x418]
mov ebx, edi
push eax
mov eax, esi
push eax
push edi
push edi
jmp 0x100047a9
inc ebx
cmp ebx, 4
ja 0x100047dc
mov eax, dword [ebp - 0x41c]
add eax, 0x209
mov dword [ebp - 0x41c], eax
test esi, esi
je 0x10004782
lea ecx, [ebp - 0x418]
cmp ecx, esi
je 0x10004782
push esi
call fcn.100959a0
mov eax, dword [ebp - 0x41c]
pop ecx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10095adc
mov esi, eax
pop ecx
test esi, esi
je 0x100047d7
lea eax, [ebp - 0x41c]
push eax
push esi
push 0
push 0
push str.Start_Page
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, 0xea
je 0x1000474c
test edi, edi
jne 0x100047df
test esi, esi
je 0x100047df
push esi
call fcn.10001a38
pop ecx
push eax
push esi
jmp 0x100047ed
push 8
pop edi
jmp 0x100047c4
push 8
pop edi
mov ebx, 0x100d0a34
push ebx
call fcn.10001a38
pop ecx
push eax
push ebx
mov ecx, dword [ebp - 0x424]
call fcn.10001dcf
test esi, esi
je 0x1000480d
lea eax, [ebp - 0x418]
cmp eax, esi
je 0x1000480d
push esi
call fcn.100959a0
pop ecx
cmp dword [ebp - 0x420], 0
je 0x10004822
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret