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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x94
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
push esi
xor esi, esi
inc esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
test eax, eax
je 0x414a3a
push ebx
push edi
push 0x7e
pop edi
xor eax, eax
push edi
push eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0xe]
push eax
call fcn.0048e0e0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], edi
mov ebx, 0x4b7fb8
push ebx
mov edi, str.SoftwareJHotNews
push edi
mov dword [ebp - 0x14], esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push 0x80000001
call esi
test eax, eax
jne 0x4149d7
cmp word [ebp - 0x10], ax
jne 0x414a1d
push 0x80
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.0048e0e0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push 0x80000002
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 0x7e
call esi
test eax, eax
jne 0x414a17
cmp word [ebp - 0x10], ax
jne 0x414a1d
and dword [ebp - 0x1c], 0
jmp 0x414a33
lea eax, [ebp - 0x10]
push eax
push 0x4c2d64
push 0x40
push dword [ebp - 0x20]
call fcn.00488ec0
add esp, 0x10
mov eax, dword [ebp - 0x1c]
pop edi
pop ebx
jmp 0x414a3c
mov eax, esi
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
pop esi
call fcn.00488e60
add ebp, 0x74
leave
ret

Function at 0x414c94
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x414d24
cmp word [esi], 0
je 0x414d24
lea eax, [ebx - 1]
cmp eax, 0x31
ja 0x414d24
push edi
push esi
call fcn.00414e39
push esi
push str.statistic
push str.SoftwareJHotNews
push str._s_s_s
lea eax, [ebp - 0x234]
push 0x103
push eax
call fcn.00488ec0
push 9
xor eax, eax
pop ecx
mov word [ebp - 0x2c], ax
lea edi, [ebp - 0x2a]
rep stosd dword es:[edi], eax
push ebx
push 0x4c4b40
stosw word es:[edi], ax
lea eax, [ebp - 0x2c]
push 0x13
push eax
call fcn.00488ec0
add esp, 0x28
push 4
lea eax, [ebp + 8]
push eax
push 4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x234]
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488e60
leave
ret 4
Function at 0x414d57
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1c0]
sub esp, 0x240
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp + 0x1bc], eax
mov eax, dword [ebp + 0x1c8]
and dword [ebp - 0x78], 0
cmp word [eax], 0
push esi
mov esi, ecx
je 0x414e1f
lea ecx, [esi - 1]
cmp ecx, 0x31
ja 0x414e1f
push edi
push eax
push str.statistic
push str.SoftwareJHotNews
push str._s_s_s
lea eax, [ebp - 0x74]
push 0x103
push eax
call fcn.00488ec0
push 9
xor eax, eax
pop ecx
mov word [ebp + 0x194], ax
lea edi, [ebp + 0x196]
rep stosd dword es:[edi], eax
push esi
push 0x4c4b40
stosw word es:[edi], ax
lea eax, [ebp + 0x194]
push 0x13
push eax
call fcn.00488ec0
add esp, 0x28
push 4
pop esi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x80000001
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
pop edi
test eax, eax
jne 0x414e16
cmp dword [ebp - 0x7c], esi
je 0x414e1a
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
jmp 0x414e21
xor eax, eax
mov ecx, dword [ebp + 0x1bc]
xor ecx, ebp
pop esi
call fcn.00488e60
add ebp, 0x1c0
leave
ret 4

Function at 0x414e39
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp word [eax], 0
je 0x414f8c
push ebx
push esi
push edi
push eax
push str.statistic
push str.SoftwareJHotNews
push str._s_s_s
mov esi, 0x103
lea eax, [ebp - 0x514]
push esi
push eax
call fcn.00488ec0
push 0x7e
pop edi
xor eax, eax
push edi
push eax
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push eax
call fcn.0048e0e0
add esp, 0x24
lea eax, [ebp - 0x51c]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x518]
push eax
push 0x4c8274
lea eax, [ebp - 0x514]
xor ebx, ebx
push eax
inc ebx
push 0x80000001
mov dword [ebp - 0x518], ebx
mov dword [ebp - 0x51c], edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x414eef
cmp dword [ebp - 0x518], ebx
jne 0x414eef
cmp word [ebp - 0x104], ax
jne 0x414f89
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x30c], ax
lea eax, [ebp - 0x30a]
push eax
call fcn.0048e0e0
add esp, 0xc
push esi
lea eax, [ebp - 0x30c]
push eax
push dword [0x4f752c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
push edi
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.0048e0e0
add esp, 0xc
push 0x3f
pop ebx
lea esi, [ebp - 0x84]
lea edi, [ebp - 0x30c]
call fcn.0041dd5a
test eax, eax
je 0x414f89
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x414f58
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea eax, [ebp - 0x84]
push eax
push 1
push 0x4c8274
lea eax, [ebp - 0x514]
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488e60
leave
ret 4
Function at 0x414f9a
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a963c
mov eax, dword fs:[0]
push eax
mov eax, 0x1604
call fcn.0049b9f0
mov eax, dword [0x4dbc40]
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
push str.statistic
mov edi, str.SoftwareJHotNews
push edi
push str._s_s
lea eax, [ebp - 0x5a0]
push 0x103
push eax
call fcn.00488ec0
add esp, 0x14
lea eax, [ebp - 0x1610]
push eax
call fcn.0043578b
lea eax, [ebp - 0x5a0]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x1610]
mov dword [ebp - 4], ebx
call fcn.004153fa
test eax, eax
je 0x4151d4
push 0x7e
pop esi
xor eax, eax
push esi
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x10e]
push ebx
push eax
call fcn.0048e0e0
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x40
push eax
call fcn.0040e048
xor eax, eax
push esi
mov word [ebp - 0x190], ax
lea eax, [ebp - 0x18e]
push ebx
push eax
call fcn.0048e0e0
add esp, 0x14
lea eax, [ebp - 0x190]
push ebx
push eax
call fcn.0040c653
xor eax, eax
push esi
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push ebx
push eax
call fcn.0048e0e0
add esp, 0x14
lea eax, [ebp - 0x15f8]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x15f4]
push eax
push str.umid
push edi
mov edi, 0x80000001
push edi
mov dword [ebp - 0x15f4], 1
mov dword [ebp - 0x15f8], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 0x1600]
sub eax, dword [ebp - 0x1604]
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x15ec], ebx
test eax, eax
jbe 0x4151c6
xor eax, eax
push 0x1046
mov word [ebp - 0x15e8], ax
lea eax, [ebp - 0x15e6]
push ebx
push eax
call fcn.0048e0e0
xor eax, eax
add esp, 0xc
cmp ax, word [0x502e50]
jne 0x415114
call fcn.004018d6
mov dword [ebp - 0x15f0], eax
jmp 0x41511e
mov dword [ebp - 0x15f0], 0x502e50
push dword [ebp - 0x15ec]
lea esi, [ebp - 0x1610]
call fcn.00401ec6
cmp dword [eax + 0x18], 8
jb 0x41513a
mov eax, dword [eax + 4]
jmp 0x41513d
add eax, 4
lea ecx, [ebp - 0x15e8]
push ecx
push dword [ebp - 0x15f0]
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x110]
mov esi, eax
call fcn.00415205
test eax, eax
je 0x4151a2
xor eax, eax
push 0x206
mov word [ebp - 0x398], ax
lea eax, [ebp - 0x396]
push ebx
push eax
call fcn.0048e0e0
add esp, 0xc
lea eax, [ebp - 0x398]
push eax
push ebx
push ebx
push 0x7d0
push 1
push ebx
push ebx
push ebx
xor edx, edx
lea ecx, [ebp - 0x15e8]
call fcn.0041ec32
add esp, 0x20
mov eax, dword [ebp - 0x1600]
sub eax, dword [ebp - 0x1604]
push 0x1c
cdq
pop ecx
idiv ecx
inc dword [ebp - 0x15ec]
cmp dword [ebp - 0x15ec], eax
jb 0x4150de
lea eax, [ebp - 0x5a0]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea esi, [ebp - 0x1610]
call fcn.00401f31
push dword [ebp - 0x1610]
call fcn.00488e55
pop ecx
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.00488e60
leave
ret
Function at 0x415205
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2f0]
sub esp, 0x370
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp + 0x2ec], eax
mov eax, dword [ebp + 0x2f8]
push ebx
push edi
mov edi, dword [ebp + 0x2fc]
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x58], edx
mov dword [ebp + 0x4c], edi
test esi, esi
je 0x4153df
cmp word [esi], 0
je 0x4153df
test eax, eax
je 0x4153df
test ecx, ecx
je 0x4153df
test edx, edx
je 0x4153df
test edi, edi
je 0x4153df
push esi
push str.statistic
push str.SoftwareJHotNews
push str._s_s_s
lea eax, [ebp + 0x64]
push 0x103
push eax
call fcn.00488ec0
push 0x7e
pop ebx
xor eax, eax
push ebx
push eax
mov word [ebp + 0x26c], ax
lea eax, [ebp + 0x26e]
push eax
call fcn.0048e0e0
add esp, 0x24
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x26c]
push eax
lea eax, [ebp + 0x60]
push eax
push 0x4c8274
lea eax, [ebp + 0x64]
xor edi, edi
push eax
inc edi
push 0x80000001
mov dword [ebp + 0x60], edi
mov dword [ebp + 0x54], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4153df
cmp dword [ebp + 0x60], edi
jne 0x4153df
cmp word [ebp + 0x26c], ax
je 0x4153df
push 0xc8
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0048e0e0
add esp, 0xc
mov ebx, edi
push esi
mov ecx, ebx
call fcn.00414d57
mov dword [ebp + ebx*4 - 0x80], eax
inc ebx
cmp ebx, 0x33
jb 0x415305
push dword [ebp + 0x48]
lea eax, [ebp + 0x26c]
push dword [ebp + 0x44]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 4]
push dword [ebp]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push eax
push esi
push dword [ebp + 0x58]
push dword [ebp + 0x50]
push dword [ebp + 0x5c]
push str.http:__log.123juzi.net_glog.php
push str._s_ver_scid_sumid_stype_smver_sa_d__d__d__d__d__d__d__d__d__db_d__d__d__d__d__d__d__d__d__dc_d__d__d__d__d__d__d__d__d__dd_d__d__d__d__d__d__d__d__d__de_d__d__d__d__d__d__d__d__d__d
push 0x823
push dword [ebp + 0x4c]
call fcn.00488ec0
add esp, 0xec
mov eax, edi
jmp 0x4153e1
xor eax, eax
mov ecx, dword [ebp + 0x2ec]
pop edi
xor ecx, ebp
pop ebx
call fcn.00488e60
add ebp, 0x2f0
leave
ret 8
Function at 0x4153fa
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x238
mov eax, 0x4a91b5
call fcn.00490b44
mov eax, dword [ebp + 8]
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x228], esi
cmp word [eax], di
jne 0x415422
xor eax, eax
jmp 0x415536
lea ecx, [ebp - 0x21c]
push ecx
push 0xf003f
push edi
push eax
push 0x80000001
mov dword [ebp - 0x21c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415524
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov dword [ebp - 0x220], edi
call fcn.0048e0e0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push dword [ebp - 0x21c]
mov dword [ebp - 0x224], 0x103
call ebx
test eax, eax
jne 0x415518
lea eax, [ebp - 0x218]
push eax
lea esi, [ebp - 0x244]
call fcn.00404c93
mov eax, esi
push eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 4], edi
call fcn.00404cb2
or dword [ebp - 4], 0xffffffff
push edi
push 1
call fcn.00401eea
inc dword [ebp - 0x220]
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0048e0e0
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
mov dword [ebp - 0x224], 0x103
push dword [ebp - 0x21c]
call ebx
test eax, eax
je 0x41549a
mov esi, dword [ebp - 0x228]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
neg eax
sbb eax, eax
neg eax
call fcn.00490bc7
ret 4

Function at 0x4158cc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4aaffd
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4dbc40]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push edi
mov eax, dword [0x4dbc40]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
xor edi, edi
cmp dword [esi + 4], edi
je 0x4159b4
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xf
call fcn.004046b1
xor eax, eax
mov dword [esp + 0x248], edi
push 0x206
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push edi
push eax
call fcn.0048e0e0
add esp, 0xc
push str.translator.dat
call fcn.00401848
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004155c8
test eax, eax
je 0x41599d
mov ebx, dword [esp + 0x24]
cmp ebx, edi
je 0x4159a8
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
jae 0x415986
lea eax, [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push 0x9c
push 1
push eax
call fcn.00407509
add esp, 0x10
jmp 0x4159a8
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push 1
lea ecx, [esp + 0x18]
call fcn.004045ec
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00488e60
mov esp, ebp
pop ebp
ret
Function at 0x415f91
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x40e
xor esi, esi
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push esi
push eax
call fcn.0048e0e0
push 4
push str.__class
push 0x4fa360
push str.__s___s_d
lea eax, [ebp - 0x418]
push 0x207
push eax
call fcn.00488ec0
push 0x40
lea eax, [ebp - 0x46c]
push esi
push eax
call fcn.0048e0e0
xor eax, eax
mov dword [ebp - 0x428], esi
lea edi, [ebp - 0x424]
stosd dword es:[edi], eax
add esp, 0x30
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x470]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x418]
push eax
push esi
mov dword [ebp - 0x470], 0x44
mov dword [ebp - 0x444], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41605c
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x428]
call esi
xor esi, esi
inc esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00488e60
leave
ret
Function at 0x416f16
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1a8]
push ebx
push esi
push edi
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x1ac]
push 0x7e
mov dword [ebp - 0x80], eax
pop edi
xor eax, eax
push edi
mov word [ebp + 0x11c], ax
xor ebx, ebx
lea eax, [ebp + 0x11e]
push ebx
push eax
call fcn.0048e0e0
lea eax, [ebp + 0x11c]
push 0x40
push eax
call fcn.0040e048
xor eax, eax
push edi
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
call fcn.0048e0e0
lea eax, [ebp + 0x1c]
push ebx
push eax
call fcn.0040c653
xor eax, eax
push edi
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x62]
push ebx
push eax
call fcn.0048e0e0
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0x34
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.umid
push str.SoftwareJHotNews
push 0x80000001
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x78], edi
call esi
xor eax, eax
push edi
mov word [ebp + 0x9c], ax
lea eax, [ebp + 0x9e]
push ebx
push eax
call fcn.0048e0e0
lea eax, [ebp + 0x9c]
push eax
call fcn.0040cf0c
add esp, 0x10
push 4
pop edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
push str.ucount
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsJzbstall.exe
push 0x80000002
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x74], edi
call esi
test eax, eax
jne 0x417024
cmp dword [ebp - 0x6c], edi
je 0x417027
mov dword [ebp - 0x68], ebx
mov eax, 0x7fff
cmp dword [ebp - 0x68], eax
jbe 0x417034
mov dword [ebp - 0x68], eax
xor eax, eax
cmp ax, word [0x502e50]
jne 0x417048
call fcn.004018d6
mov esi, eax
jmp 0x41704d
mov esi, 0x502e50
push dword [ebp - 0x68]
lea eax, [ebp + 0x9c]
push eax
call fcn.0040ceb8
movzx eax, al
push eax
call fcn.0040cb95
movzx eax, al
push eax
call fcn.0040cd84
movzx eax, al
push eax
mov eax, dword [ebp - 0x70]
push dword [eax + 4]
lea eax, [ebp - 0x64]
push ebx
push 6
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x11c]
push eax
mov eax, dword [ebp - 0x80]
push esi
push str.http:__log.123juzi.net_log.php
push str._s_typeJHotNews_updateEndver_scid_smid_sumid_si_dir_diec_dos_dsafe_die_dflash_sch7_d
call fcn.0040202d
mov ecx, dword [ebp + 0x19c]
add esp, 0x38
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00488e60
add ebp, 0x1a0
leave
ret 8
Function at 0x417807
Capabilities:
Create new key via cryptacquirecontext
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ecx
push ebx
push ebp
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push 8
push 1
mov ebx, str.Microsoft_Base_Cryptographic_Provider_v1.0
push ebx
xor ebp, ebp
push ebp
push esi
mov dword [esp + 0x20], ebp
call edi
mov eax, dword [esi]
cmp eax, ebp
jne 0x41783d
push 0xf0000048
push 1
push ebx
push ebp
push esi
call edi
mov eax, dword [esi]
cmp eax, ebp
je 0x417866
push dword [esp + 0x14]
push ebp
push ebp
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x41785d
mov dword [esp + 0xc], 1
jmp 0x417866
push ebp
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop ebx
pop ecx
ret

Function at 0x417a52
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x5a0]
sub esp, 0x620
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp + 0x59c], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor ebx, ebx
push edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x78], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417ac8
cmp esi, ebx
je 0x417ac8
push 0x4c4408
lea eax, [ebp - 0x70]
push edi
push eax
mov dword [ebp - 0x70], ebx
call fcn.0048b616
add esp, 0xc
test eax, eax
jne 0x417ba2
lea eax, [ebp - 0x74]
push eax
lea esi, [ebp - 0x7c]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
call fcn.00417807
pop ecx
test eax, eax
jne 0x417ae2
push dword [ebp - 0x70]
call fcn.0048be9b
pop ecx
xor eax, eax
mov ecx, dword [ebp + 0x59c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488e60
add ebp, 0x5a0
leave
ret
push 0x3ff
lea eax, [ebp - 0x6b]
push ebx
xor edi, edi
push eax
inc edi
mov byte [ebp - 0x6c], bl
call fcn.0048e0e0
push dword [ebp - 0x70]
mov esi, 0x400
push esi
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.0048bc23
add esp, 0x1c
jmp 0x417b37
push eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
call fcn.0041786f
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x417b3b
push dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
push esi
push 1
push eax
call fcn.0048bc23
add esp, 0x10
cmp eax, ebx
jne 0x417b0f
xor eax, eax
push 0x206
mov word [ebp + 0x394], ax
lea eax, [ebp + 0x396]
push ebx
push eax
call fcn.0048e0e0
add esp, 0xc
cmp edi, ebx
je 0x417b8c
push dword [ebp - 0x74]
lea edi, [ebp + 0x394]
call fcn.00417894
pop ecx
test eax, eax
je 0x417b8c
mov eax, edi
push eax
push 0x4c2d64
push 0x3f
push dword [ebp - 0x80]
call fcn.00488ec0
add esp, 0x10
mov dword [ebp - 0x78], 1
push dword [ebp - 0x74]
push dword [ebp - 0x7c]
call fcn.00417958
push dword [ebp - 0x70]
call fcn.0048be9b
add esp, 0xc
mov eax, dword [ebp - 0x78]
jmp 0x417aca
Function at 0x417bc4
Capabilities:
Check if file exists
Set file attributes

Disassembly:
mov eax, esi
call fcn.00417c63
xor eax, eax
cmp dword [esp + 4], eax
je 0x417bfd
push dword [esp + 4]
mov ecx, 0x104
mov edx, esi
call fcn.004025a1
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417bfa
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
inc eax
ret 4

Function at 0x417c00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
lea esi, [edi + 0x208]
cmp dword [esi], 0
je 0x417c23
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x417c23
xor eax, eax
inc eax
jmp 0x417c5d
lea eax, [ebp - 4]
push edi
push eax
call fcn.00420516
mov edi, dword [ebp - 4]
xor eax, eax
cmp dword [ebp + 8], eax
push 0
setne al
lea eax, [eax*4 + 2]
push eax
push esi
push edi
call sym.JHotNews.exe_sqlite3_open_v2
mov esi, eax
add esp, 0x18
neg esi
sbb esi, esi
lea eax, [edi - 0x10]
inc esi
call fcn.00404bfa
mov eax, esi
pop edi
pop esi
leave
ret 4

Function at 0x418104
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0048e0e0
push 0x2454
push 0
push esi
call fcn.0048e0e0
lea eax, [esi + 8]
mov dword [ebp - 0x38], eax
lea eax, [esi + 0x2148]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 0x48]
mov dword [ebp - 0x10], eax
mov eax, 0x800
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
lea eax, [esi + 0x2348]
lea ecx, [esi + 0x1048]
mov dword [ebp - 0x20], eax
mov eax, 0x80
mov dword [ebp - 8], ecx
lea ecx, [esi + 0x2048]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
add esp, 0x18
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x28], 0x100
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x418188
sub eax, ecx
lea ecx, [ebp - 0x3c]
push ecx
push dword [ebp + 0xc]
sar eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4181e1
mov eax, dword [ebp - 0x30]
cmp eax, 3
je 0x4181bd
cmp eax, 4
je 0x4181bd
cmp eax, 1
jne 0x4181e1
mov cx, word [ebp - 0x24]
and dword [esi + 0x2448], 0
and dword [esi + 0x244c], 0
or dword [esi + 0x2450], 0xffffffff
mov dword [esi + 4], eax
xor eax, eax
mov word [esi], cx
inc eax
leave
ret
xor eax, eax
leave
ret