joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100025d0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push 8
mov eax, 0x1007e1ad
call fcn.10057c0e
call fcn.10002060
push eax
lea ecx, [ebp - 0x10]
call fcn.10001827
push dword [ebp + 0x10]
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.10001a8b
push 0x104
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10001c05
push esi
push esi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x10002640
mov ecx, dword [ebp + 8]
push esi
call fcn.10001a8b
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.1000210b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1000210b
mov eax, dword [ebp + 8]
jmp 0x10002715
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100029e4
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov eax, dword [eax - 0xc]
dec eax
push eax
call fcn.100029c0
cmp ax, 0x5c
je 0x10002676
mov esi, 0x10096088
push esi
call fcn.10001954
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10001584
push dword [ebp + 0xc]
call fcn.10001954
pop ecx
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10001584
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
push dword [eax - 0xc]
mov ecx, dword [esi - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [ebp + 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.100028df
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.1000214e
mov byte [ebp - 4], 1
mov edi, eax
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.1000210b
test edi, edi
je 0x100026dd
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.10001584
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100026ef
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edi, [esi - 0x10]
push edi
call fcn.1000122a
mov esi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov ecx, edi
call fcn.1000210b
mov eax, esi
call fcn.10057bd7
ret 0xc
Function at 0x100087c4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x100a3330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
push edi
test esi, esi
je 0x10008890
push 0x228
xor edi, edi
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.10058f30
add esp, 0xc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10008890
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x10008850
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.1005c941
pop ecx
pop ecx
test eax, eax
je 0x10008856
lea eax, [ebp - 0x230]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1000882f
jmp 0x10008885
push dword [ebp - 0x228]
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x234]
mov esi, eax
push 0xf01ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x10008892
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056b99
leave
ret 8

Function at 0x100088a8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x100088ba
push 0xd
pop eax
jmp 0x100088ec
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x100088c3
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x10009baf
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
push 0x10096c78
push dword [ebp + 8]
mov dword [eax], esi
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
mov dword [ebx], esi
call fcn.1006245a
add esp, 0xc
test eax, eax
je 0x10009be3
xor eax, eax
jmp 0x10009d09
push edi
mov edi, esi
push dword [ebp - 4]
lea eax, [ebp + 0x10]
push 1
add eax, edi
push 1
push eax
call fcn.10062898
add esp, 0x10
inc edi
cmp edi, 4
jl 0x10009be6
mov eax, dword [ebp + 0x10]
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [ebp + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x13]
shl ecx, 8
or ecx, eax
cmp ecx, 0x89504e47
jne 0x10009d06
mov edi, esi
push dword [ebp - 4]
lea eax, [ebp + 0x10]
push 1
add eax, edi
push 1
push eax
call fcn.10062898
add esp, 0x10
inc edi
cmp edi, 4
jl 0x10009c2f
mov eax, dword [ebp + 0x10]
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [ebp + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x13]
shl ecx, 8
or ecx, eax
cmp ecx, 0xd0a1a0a
jne 0x10009d06
push esi
push 0x10
push dword [ebp - 4]
call fcn.10062c83
add esp, 0xc
mov edi, esi
push dword [ebp - 4]
lea eax, [ebp + 0x10]
push 1
add eax, edi
push 1
push eax
call fcn.10062898
add esp, 0x10
inc edi
cmp edi, 4
jl 0x10009c86
mov eax, dword [ebp + 0x10]
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [ebp + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x13]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
push dword [ebp - 4]
lea eax, [ebp + 0x10]
push 1
add eax, esi
push 1
push eax
call fcn.10062898
add esp, 0x10
inc esi
cmp esi, 4
jl 0x10009cc6
mov eax, dword [ebp + 0x10]
xor esi, esi
movzx ecx, al
shl ecx, 8
movzx eax, ah
or ecx, eax
movzx eax, byte [ebp + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp + 0x13]
shl ecx, 8
or ecx, eax
inc esi
mov dword [ebx], ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10009d0f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 4]
push edi
mov edi, dword [ebp + 0x10]
push 0x10096c78
push dword [ebp + 8]
and dword [esi], 0
and dword [edi], 0
push eax
call fcn.1006245a
add esp, 0xc
test eax, eax
jne 0x10009edb
push ebx
xor ebx, ebx
inc ebx
push dword [ebp - 4]
lea eax, [ebp + 0xb]
push ebx
push ebx
push eax
call fcn.10062898
add esp, 0x10
test eax, eax
je 0x10009ed1
cmp byte [ebp + 0xb], 0xff
jne 0x10009ed1
push dword [ebp - 4]
lea eax, [ebp + 0xb]
push ebx
push ebx
push eax
call fcn.10062898
add esp, 0x10
test eax, eax
je 0x10009ed1
mov cl, byte [ebp + 0xb]
lea eax, [ecx + 0x20]
cmp al, 0xf
ja 0x10009dc9
push dword [ebp - 4]
lea eax, [ebp + 0xf]
push ebx
push ebx
push eax
call fcn.10062898
push dword [ebp - 4]
lea eax, [ebp + 0x13]
push ebx
push ebx
push eax
call fcn.10062898
movzx eax, byte [ebp + 0xf]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp + 0x13]
or ecx, eax
push ebx
sub ecx, 2
push ecx
push dword [ebp - 4]
call fcn.10062c83
add esp, 0x2c
jmp 0x10009d41
movzx eax, cl
mov ecx, 0xd8
cmp eax, ecx
ja 0x10009e68
je 0x10009d41
sub eax, 0
je 0x10009ed1
sub eax, 0xc0
je 0x10009df7
sub eax, 4
jmp 0x10009e86
push ebx
push 3
push dword [ebp - 4]
call fcn.10062c83
push dword [ebp - 4]
lea eax, [ebp + 0xf]
push ebx
push ebx
push eax
call fcn.10062898
push dword [ebp - 4]
lea eax, [ebp + 0x13]
push ebx
push ebx
push eax
call fcn.10062898
movzx eax, byte [ebp + 0xf]
push dword [ebp - 4]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp + 0x13]
or ecx, eax
lea eax, [ebp + 0xf]
push ebx
push ebx
push eax
mov dword [edi], ecx
call fcn.10062898
push dword [ebp - 4]
lea eax, [ebp + 0x13]
push ebx
push ebx
push eax
call fcn.10062898
movzx eax, byte [ebp + 0xf]
add esp, 0x4c
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp + 0x13]
or ecx, eax
mov dword [esi], ecx
jmp 0x10009d41
cmp eax, 0xd9
jb 0x10009e8c
cmp eax, 0xda
jbe 0x10009ed1
cmp eax, 0xdd
jbe 0x10009d87
cmp eax, 0xfe
je 0x10009d87
push dword [ebp - 4]
lea eax, [ebp + 0xf]
push ebx
push ebx
push eax
call fcn.10062898
push dword [ebp - 4]
lea eax, [ebp + 0x13]
push ebx
push ebx
push eax
call fcn.10062898
movzx eax, byte [ebp + 0xf]
shl ax, 8
movzx ecx, ax
movzx eax, byte [ebp + 0x13]
or ecx, eax
push ebx
sub ecx, 2
push ecx
push dword [ebp - 4]
call fcn.10062c83
add esp, 0x2c
test eax, eax
je 0x10009d41
push dword [ebp - 4]
call fcn.1006252e
pop ecx
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x1000a11e
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xc
mov eax, 0x1007e662
call fcn.10057c0e
push ecx
lea ecx, [ebp - 0x10]
call fcn.10001a8b
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000a1b2
push eax
jmp 0x1000a1a1
call fcn.10002060
push eax
lea ecx, [ebp - 0x14]
call fcn.10001827
inc edi
mov byte [ebp - 4], 1
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.10002819
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10002970
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000a194
push esi
call fcn.100626a2
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.1000210b
push edi
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.1000a0ea
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000a147
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1000210b
call fcn.10057bd7
ret

Function at 0x1000a1c3
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x1007e685
call fcn.10057c0e
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.10002060
push eax
lea ecx, [ebp - 0x10]
call fcn.10001827
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.10001c05
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100029e4
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x1000a224
push 0x10095f78
mov ecx, edi
call fcn.10001a8b
lea ecx, [esi - 0x10]
jmp 0x1000a27b
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.100029c0
cmp ax, 0x5c
je 0x1000a24a
mov esi, 0x10096088
push esi
call fcn.10001954
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10001584
mov esi, str.HaoKanWallPaper_
push esi
call fcn.10001954
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10001584
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.1000a11e
add esi, 0xfffffff0
push esi
call fcn.1000122a
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.1000210b
mov eax, edi
call fcn.10057bd7
ret
Function at 0x1000d2d3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push 4
pop eax
test esi, esi
lea ebx, [esi - 0x348]
cmove ebx, eax
push eax
mov dword [ebp - 0x14], ebx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
and dword [ebp - 8], 0
mov edi, eax
and dword [ebp - 0xc], 0
xor eax, eax
inc eax
mov dword [ebp - 0x10], edi
push eax
push dword [ebx]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000d40e
lea eax, [esi + 0x1c]
cmp dword [ebp - 4], 0
je 0x1000d372
mov ebx, dword [ebp - 4]
lea edi, [esi + 0x1c]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1000d366
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 8]
call dword [eax + 4]
inc dword [ebp - 8]
test eax, eax
jne 0x1000d362
xor ebx, ebx
test ebx, ebx
jne 0x1000d33c
mov edi, dword [ebp - 0x10]
lea eax, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x1000d3fb
test eax, eax
je 0x1000d40e
cmp dword [esi + 0x20], 0x10
jne 0x1000d3ae
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebx]
jne 0x1000d3ae
mov eax, dword [esi + 0x24]
push 1
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
lea ecx, [esi + 0x1c]
push ecx
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x1000d3d0
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esi + 0x20]
cmp eax, 0x12
je 0x1000d40e
sub eax, 0xf
je 0x1000d3fb
sub eax, 0x91
je 0x1000d3fb
sub eax, 0x78
je 0x1000d3fb
sub eax, 0xe8
je 0x1000d3fb
and dword [ebp - 8], 0
mov dword [ebp - 4], 1
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
lea eax, [esi + 0x1c]
jne 0x1000d330
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x20], 0x12
jne 0x1000d42d
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0xc], 0
pop edi
pop esi
setne al
pop ebx
leave
ret
Function at 0x1000d710
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100a3330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov esi, ecx
push 4
pop eax
test esi, esi
mov dword [ebp - 0x18], esi
lea ebx, [esi - 0x740]
cmove ebx, eax
push dword [ebx]
call edi
test eax, eax
je 0x1000d813
push dword [esi + 8]
call edi
test eax, eax
je 0x1000d813
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x1000d808
push dword [ebx]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x1000d808
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000d808
lea eax, [ebp - 0x14]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
lea edi, [ebp - 0x2c]
add esi, 0x358
mov edx, dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub eax, dword [ebp - 0x2c]
lea esi, [ebp - 0x14]
add edx, dword [ebp - 0x20]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x28]
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
je 0x1000d7e8
push 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 8]
call fcn.10008528
jmp 0x1000d813
mov esi, dword [ebp - 0x10]
sub edx, esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
push 0x50
push edx
sub eax, ecx
push eax
push esi
push ecx
push dword [ebx]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1000d813
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10056b99
leave
ret 4
Function at 0x1000d981
Capabilities:
Get hostname

Disassembly:
push 0x168
mov eax, 0x1007eaa6
call fcn.10057c42
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x16c], eax
call fcn.10002060
push eax
lea ecx, [ebp - 0x168]
call fcn.10001827
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10002060
push eax
lea ecx, [ebp - 0x164]
call fcn.10001827
mov byte [ebp - 4], 1
call fcn.10002060
push eax
lea ecx, [ebp - 0x160]
call fcn.10001827
mov byte [ebp - 4], 2
lea edi, [ebp - 0x20]
xor eax, eax
mov ecx, 0x1000
stosd dword es:[edi], eax
mov dword [ebp - 0x170], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x170]
push eax
push ecx
lea ecx, [ebp - 0x164]
call fcn.10001c05
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x164]
call fcn.100029e4
push esi
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.100027c1
add esp, 0xc
push eax
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 3
call fcn.10002970
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x16c]
lea ecx, [ecx - 0x10]
call fcn.1000210b
push 3
push dword [ebp - 0x160]
lea eax, [ebp - 0xd8]
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], eax
call fcn.100012f5
mov byte [ebp - 4], 4
push dword [ebp - 0xdc]
call fcn.100013f3
pop ecx
push eax
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x168]
call fcn.100017ad
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xdc], eax
je 0x1000dab9
push dword [ebp - 0xdc]
call fcn.1005c8b9
pop ecx
lea eax, [ebp - 0xb0]
push eax
call fcn.10002a10
mov eax, dword [ebp - 0x168]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.100032d6
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.1000337c
mov esi, str.0123456789ABCDEF
lea edi, [ebp - 0x34]
add esp, 0x18
mov edx, ebx
xor eax, eax
movsd dword es:[edi], dword [esi]
push 8
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
cmp edx, 0x21
jae 0x1000db33
movzx ecx, byte [ebp + ebx - 0x20]
mov eax, ecx
and ecx, 0xf
shr eax, 4
inc ebx
mov al, byte [ebp + eax - 0x34]
mov byte [ebp + edx - 0x58], al
mov al, byte [ebp + ecx - 0x34]
mov byte [ebp + edx - 0x57], al
add edx, 2
cmp ebx, 0x10
jb 0x1000db08
lea eax, [ebp - 0x158]
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x15c]
push 3
lea eax, [ebp - 0x58]
push eax
call fcn.100014bc
mov byte [ebp - 4], 5
push dword [ebp - 0x15c]
call fcn.10001954
pop ecx
push eax
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x160]
call fcn.10001d6b
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x15c], eax
je 0x1000db90
push dword [ebp - 0x15c]
call fcn.1005c8b9
pop ecx
mov esi, dword [ebp - 0x174]
lea ecx, [ebp - 0x160]
push 0x10
push 0xa
push esi
call fcn.100028df
mov ecx, dword [ebp - 0x160]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov ecx, dword [ebp - 0x164]
add ecx, 0xfffffff0
call fcn.1000210b
mov ecx, dword [ebp - 0x168]
add ecx, 0xfffffff0
call fcn.1000210b
mov eax, esi
call fcn.10057bec
ret
Function at 0x1000dcd6
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x1007e685
call fcn.10057c0e
mov edi, edx
mov esi, ecx
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x10]
call fcn.10001a8b
and dword [ebp - 4], 0
push esi
call fcn.10001954
pop ecx
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.10001584
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.1000210b
call fcn.10057bd7
ret

Function at 0x1000e4c2
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x1007ec44
call fcn.10057c0e
call fcn.10002060
push eax
lea ecx, [ebp - 0x14]
call fcn.10001827
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.10002060
push eax
lea ecx, [ebp - 0x10]
call fcn.10001827
mov byte [ebp - 4], 1
push dword [ebp + 0x10]
call fcn.10001954
pop ecx
push eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x10]
call fcn.10001d6b
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], ebx
je 0x1000e5d0
push 0x2f
push esi
call fcn.10058934
pop ecx
pop ecx
test eax, eax
jne 0x1000e527
or eax, 0xffffffff
jmp 0x1000e52b
sub eax, esi
sar eax, 1
lea ecx, [eax + 1]
mov eax, dword [esi - 0xc]
sub eax, ecx
push eax
push ecx
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.100028df
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.1000a288
push str.Data_
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
call fcn.100027c1
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10002725
add esp, 0x18
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.10002970
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.1000210b
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000e5d3
call fcn.10052f8e
push ebx
push edi
push esi
mov edx, dword [eax]
mov ecx, eax
call dword [edx]
jmp 0x1000e5d3
mov edi, dword [ebp - 0x14]
push str..url
push dword [ebp + 8]
lea eax, [ebp + 0x10]
push eax
call fcn.100025d0
mov byte [ebp - 4], 6
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
jne 0x1000e5f5
lea ecx, [eax - 0x10]
jmp 0x1000e607
push edi
push dword [ebp + 0xc]
push eax
call fcn.100024c1
mov ecx, dword [ebp + 0x10]
mov ebx, eax
lea ecx, [ecx - 0x10]
call fcn.1000210b
lea ecx, [esi - 0x10]
call fcn.1000210b
lea ecx, [edi - 0x10]
call fcn.1000210b
mov eax, ebx
call fcn.10057bd7
ret 0xc

Function at 0x1000e626
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 1
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 4