joyce8/EMBER2024-capa huggingface dataset:
Function at 0x487ff0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x12a4
call fcn.004d7fa0
mov ax, word [0x5117f0]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov word [esp + 0x64], ax
mov ecx, 0x493
xor eax, eax
lea edi, [esp + 0x66]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x21c]
mov edx, dword [esp + 0x12cc]
stosw word es:[edi], ax
push ecx
mov ecx, dword [0x5e9710]
lea eax, [esi + 0x14]
push str._tmp:
push eax
xor eax, eax
mov ah, byte [esi + 0x10]
mov ebp, dword [esp + 0x12d4]
mov al, byte [esi + 0xc]
push 0x5032a8
push ecx
mov ecx, dword [esp + 0x12d0]
push str._mw:
push eax
mov eax, dword [esp + 0x12dc]
push 0x4f5838
mov ebx, edx
push edx
and dl, 2
and ebx, 0x20
push 0x4f56f4
push ebp
neg dl
push 0x4f5784
push ecx
mov ecx, dword [esp + 0x12ec]
push 0x4f5828
sbb edx, edx
push eax
and edx, 5
push 0x4f5820
push ecx
inc edx
push 0x4f5830
push edx
push str._tp:
push 0x511864
push str.__s___s_d__s_d__s_d__s_d__s_d__s_d__s_d__s_d__s__s___s__s_
lea edx, [esp + 0xbc]
push 0x927
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x84]
add esp, 0x60
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], eax
push ecx
push edx
push eax
mov dword [esp + 0x28], eax
push eax
mov eax, ebx
mov dword [esp + 0x30], 0x44
neg eax
sbb eax, eax
mov dword [esp + 0x5c], 0x80
and eax, 0x40
push eax
push 1
push 0
lea ecx, [esp + 0x80]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x488139
mov eax, dword [esp + 0x14]
test eax, eax
je 0x488139
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
cmp ebp, 1
mov ebp, dword [esp + 0x18]
jne 0x488169
xor eax, eax
mov dword [esi + 0x424], edx
test ebx, ebx
sete al
mov dword [esi + 0x430], eax
mov dword [esi + 0x428], ebp
mov dword [esi + 0x42c], ecx
mov eax, dword [esp + 0x12c4]
test eax, eax
je 0x488183
mov dword [eax], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12a4
ret 0x18

Function at 0x488840
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push 1
call fcn.0040c770
add esp, 4
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x14], 1
jne 0x488869
mov dword [0x5ef08c], 0
push esi
mov esi, str.CloseToOrder
mov ecx, dword [esi + 0x20]
push ecx
push esi
push 0x4f539c
call fcn.0040cbb0
add esi, 0x34
add esp, 0xc
cmp esi, 0x50e7e4
jb 0x48886f
mov esi, 0x50e804
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
lea ecx, [esi - 0x20]
push eax
push ecx
push 0x4f539c
call fcn.0040ca30
add esi, 0x34
add esp, 0x10
cmp esi, 0x50e8a0
jb 0x488891
call fcn.004069b0
call fcn.004889f0
pop esi
add esp, 0x24
ret
Function at 0x4888d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
mov ecx, 0x511800
push ebx
push esi
push edi
call fcn.0040ac60
test eax, eax
je 0x48893b
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
mov edi, 0x5f2668
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0xc]
push ecx
push str.Medias
push 0x103
push 0x5f2668
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, dword [0x50dcdc]
mov ebx, dword [esp + 0x218]
xor edi, edi
test eax, eax
jbe 0x48897e
mov esi, 0x50c15c
test ebx, ebx
je 0x48895d
mov eax, dword [esi + 0xc]
test eax, eax
je 0x488971
mov edx, dword [esi]
lea eax, [esi - 0x20]
push edx
push eax
push 0x4f539c
call fcn.0040cbb0
add esp, 0xc
mov eax, dword [0x50dcdc]
inc edi
add esi, 0x34
cmp edi, eax
jb 0x488952
mov eax, dword [0x50dce0]
xor edi, edi
test eax, eax
jbe 0x4889be
mov esi, 0x50d7f0
test ebx, ebx
je 0x488999
mov eax, dword [esi + 8]
test eax, eax
je 0x4889b1
mov ecx, dword [esi]
mov edx, dword [esi - 4]
push ecx
lea eax, [esi - 0x24]
push edx
push eax
push 0x4f539c
call fcn.0040ca30
add esp, 0x10
mov eax, dword [0x50dce0]
inc edi
add esi, 0x34
cmp edi, eax
jb 0x48898e
push section..taihang
call fcn.00489150
add esp, 4
call fcn.0048afa0
call fcn.0048b130
mov ecx, 0x5e7308
call fcn.0046fc80
call fcn.004889f0
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x48a4b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x670
mov ecx, dword [esp + 0x678]
push ebx
lea eax, [esp + 0x5c]
push ecx
mov dword [esp + 0xc], 0x30
mov dword [esp + 0x10], 0x147
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], 0x21
call dword [sym.imp.USER32.dll_GetMenuItemCount]
xor ebx, ebx
mov dword [esp + 4], eax
test eax, eax
jle 0x48a5f5
push ebp
mov ebp, dword [esp + 0x688]
push esi
mov esi, dword [esp + 0x680]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x688]
lea edx, [esp + 0x14]
push edx
push 0x400
push ebx
push eax
mov word [esp + 0x78], 0
mov dword [esp + 0x4c], 0x104
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x48a5e5
lea ecx, [esp + 0x68]
push ecx
call fcn.00490780
mov eax, dword [esp + 0x690]
add esp, 4
lea edx, [esp + 0x68]
lea ecx, [esp + 0x270]
push edx
push eax
push str._s____s
push 0x208
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [esp + 0x3c]
add esp, 0x14
test eax, eax
je 0x48a595
mov edx, dword [esp + 0x694]
lea ecx, [esp + 0x270]
inc edx
push edx
push ebp
push ecx
push eax
push esi
call fcn.0048a4b0
add esp, 0x14
jmp 0x48a5e5
mov eax, dword [esp + 0x1c]
test ah, 8
jne 0x48a5e5
test byte [esp + 0x20], 3
jne 0x48a5e5
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x48a5e5
mov dword [esp + 0x64], eax
lea eax, [esp + 0x44]
push eax
push 0
lea edx, [esp + 0x278]
push 0x40b
push esi
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], edx
call edi
cmp ebp, dword [esp + 0x24]
jne 0x48a5e5
push 0
push eax
push 0x14e
push esi
call edi
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x48a50a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x670
ret

Function at 0x48ccf0
Capabilities:
Get common file path

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
mov dword [esp + 4], 0
je 0x48cd2c
cmp word [esi], 0
je 0x48cd2c
call fcn.0048ccd0
mov ecx, dword [eax]
lea edx, [esp + 4]
push 0
push edx
push 0
push esi
push 0
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x48cd49
xor eax, eax
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x48cd49
xor eax, eax
pop esi
pop ecx
ret 8
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8

Function at 0x48d140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dd663
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004d6450
lea edi, [esi + 0x24]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.004b99f0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.00410e60
mov dword [edi], 0x4e5000
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x56e0]
mov dword [esi], 0x4e4ff4
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x48d1e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4dd69f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x24]
mov dword [esi], 0x4e4ff4
mov dword [edi], 0x4e5000
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 1
call fcn.00411070
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004b9a20
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004d6490
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x48d630
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x48d668
push edi
lea edi, [esi + 0x30]
push 2
mov ecx, edi
mov dword [esi + 0x28], 1
call fcn.00411d70
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 1
mov ecx, edi
call fcn.00411ac0
pop edi
pop esi
ret
Function at 0x48e2e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.0048e670
mov eax, dword [esi + 4]
push 0x3f0
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [esi + 0x166c]
mov ecx, ebx
call fcn.0041d1f0
lea edx, [ebx + 0x5d4e0]
mov ecx, 0x412
xor eax, eax
mov edi, edx
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x214]
push ecx
push 0x4f5254
push 0x824
push edx
call ebp
mov dx, word [0x5117f0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], dx
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esi + 0x125c]
lea edx, [esp + 0x10]
push ecx
push edx
lea eax, [esi + 0xc]
push str._s_s.zip
push 0x103
push eax
call ebp
lea edx, [ebx + 0x5d0d0]
mov ecx, 0x82
xor eax, eax
mov edi, edx
add esp, 0x14
rep stosd dword es:[edi], eax
lea eax, [esi + 0xc]
push eax
push 0x4f5254
push 0x104
push edx
call ebp
mov esi, dword [esi + 4]
add esp, 0x10
mov ecx, ebx
mov dword [ebx + 0x269c], 0x48e3f0
mov dword [ebx + 0x2698], esi
call fcn.0041d120
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret

Function at 0x48e8a0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1084
call fcn.004d7fa0
mov edx, dword [esp + 0x1088]
xor eax, eax
test edx, edx
push esi
je 0x48e9a5
mov esi, dword [esp + 0x1090]
test esi, esi
je 0x48e9a5
mov edx, dword [esp + 0x1094]
test edx, edx
je 0x48e9a5
mov eax, dword [0x5e8dd0]
test eax, eax
je 0x48e998
call fcn.0042d240
test eax, eax
jne 0x48e998
push edi
mov ecx, 0x411
lea edi, [esp + 0x46]
mov word [esp + 0x44], ax
rep stosd dword es:[edi], eax
push esi
push 0x4f56cc
push 8
push str._tp:
stosw word es:[edi], ax
push str._s_d__s__s_
lea eax, [esp + 0x58]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x28]
add esp, 0x1c
rep stosd dword es:[edi], eax
lea edx, [esp + 8]
lea ecx, [esp + 0x44]
push edx
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x1c], 0x511864
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x48e989
mov eax, dword [esp + 0x3c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
add esp, 0x1084
ret 0x10
push esi
call fcn.00424ba0
mov ecx, eax
call fcn.00426920
pop esi
add esp, 0x1084
ret 0x10
Function at 0x48f250
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x410
test edx, edx
push edi
jne 0x48f26b
xor eax, eax
pop edi
add esp, 0x410
ret 4
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [edx + 0xc34]
push 0x5117f0
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, edx
call fcn.0048f820
mov ecx, 0x511800
call fcn.0040ac60
test eax, eax
je 0x48f339
call fcn.004932a0
test eax, eax
jne 0x48f339
mov dx, word [0x5117f0]
mov ecx, 0x81
lea edi, [esp + 0x20e]
mov word [esp + 0x20c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [esp + 8]
push 0x4f56f4
push eax
push 0x4f56cc
push 8
push str._tp:
push str._s_d__s__s___s_d
lea ecx, [esp + 0x228]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x24
lea edx, [esp + 0x20c]
push 5
push 0
push edx
push 0x511864
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jae 0x48f348
xor eax, eax
pop edi
add esp, 0x410
ret 4
lea eax, [esp + 4]
push 1
push eax
call fcn.00435a00
add esp, 8
mov eax, 1
pop edi
add esp, 0x410
ret 4

Function at 0x48fa00
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80
push ebx
mov ebx, ecx
push edi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x48fac5
push 0
mov ecx, 0x511800
call fcn.0040ada0
mov edi, eax
test edi, edi
je 0x48fac5
push esi
push 0x5c
push edi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x48fa4e
cmp word [eax + 2], 0
lea esi, [ebx + 8]
push edi
jne 0x48fa52
push str._sstat.ini
jmp 0x48fa57
lea esi, [ebx + 8]
push edi
push str._s_stat.ini
push 0x104
push esi
call fcn.00439540
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48fabd
push eax
call dword [sym.imp.MSVCRT.dll_time]
mov edx, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
add esp, 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x50ec28
lea eax, [esp + 0x14]
push 0x40
push eax
call fcn.00439540
add esp, 0x10
lea ecx, [esp + 0xc]
push esi
push ecx
push 0x50ec20
push 0x50ec18
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebx + 4], 1
pop esi
pop edi
pop ebx
add esp, 0x80
ret

Function at 0x48fb80
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, ecx
call fcn.0048fa00
mov eax, dword [esi + 4]
test eax, eax
je 0x48fbe6
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x48fbe6
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0xc]
push eax
push 0x50ec28
push 0x20
push ecx
call fcn.00439540
add esp, 0x10
add esi, 8
lea edx, [esp + 0xc]
push esi
push 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret 8
Function at 0x48fbf6
Capabilities:
Delete file

Disassembly:
sub esp, 0x80
push esi
mov esi, ecx
call fcn.0048fa00
mov eax, dword [esi + 4]
test eax, eax
je 0x48fc7c
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5021c4
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
test eax, eax
je 0x48fc2c
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push edi
push 0
call dword [sym.imp.MSVCRT.dll_time]
mov edx, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
add esp, 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x50ec28
lea eax, [esp + 0x10]
push 0x40
push eax
call fcn.00439540
add esp, 0x10
lea ecx, [esp + 8]
push esi
push ecx
push 0x50ec20
push 0x50ec18
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
add esp, 0x80
ret
Function at 0x48fcd0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4dd7be
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x214]
cmp eax, ebp
je 0x48fea9
mov ecx, dword [ebx + 0x218]
sub ecx, eax
mov eax, 0xdfac1f75
imul ecx
add edx, ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x48fea9
push 0x62ca4
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 8], eax
cmp eax, ebp
mov dword [esp + 0x424], ebp
je 0x48fd45
mov ecx, eax
call fcn.0041cc00
jmp 0x48fd47
xor eax, eax
push esi
push edi
mov ecx, eax
mov dword [esp + 0x42c], 0xffffffff
mov dword [0x5e8b88], eax
call fcn.0041d1f0
mov eax, dword [0x5e8b88]
mov esi, dword [ebx + 0x214]
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [eax + 0x5d4e0]
mov ecx, 0x412
xor eax, eax
mov edi, edx
push 0x4f5254
push 0x824
rep stosd dword es:[edi], eax
push edx
call esi
mov eax, dword [0x5e8b88]
mov ecx, 0x81
lea edi, [esp + 0x26]
add esp, 0x10
mov dword [eax + 0x269c], 0x4901a0
mov dword [eax + 0x2698], ebx
xor eax, eax
mov word [esp + 0x14], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0x1c]
push 0x4f4870
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [0x5e8b88]
mov ecx, 0x82
lea edx, [eax + 0x5d0d0]
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x21c]
push ecx
push 0x4f5254
push 0x104
push edx
call esi
mov edx, dword [0x5e8b88]
add esp, 0x10
mov dword [edx + 0x2464], 1
mov eax, dword [0x5e8b88]
mov dword [eax + 0x26a4], 0x1388
mov ecx, dword [0x5e8b88]
call fcn.0041d120
mov eax, dword [ebx + 0x214]
mov edx, dword [ebx + 0x218]
add eax, 0x1250
cmp eax, edx
je 0x48fe92
lea ebp, [eax - 0x1250]
mov esi, eax
mov edi, ebp
add eax, 0x1250
mov ecx, 0x494
add ebp, 0x1250
cmp eax, edx
rep movsd dword es:[edi], dword [esi]
jne 0x48fe78
mov eax, dword [ebx + 0x218]
pop edi
add eax, 0xffffedb0
pop esi
mov dword [esp + 8], eax
mov dword [ebx + 0x218], eax
mov ecx, dword [esp + 0x41c]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x420
ret

Function at 0x48fec0
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
call fcn.0048fa00
mov eax, dword [esi + 4]
test eax, eax
je 0x48ff32
lea eax, [esi + 8]
push edi
push eax
push 0
push 0x50ec20
push 0x50ec18
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
mov edi, eax
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
sub eax, edi
cmp eax, 0x15180
pop edi
jge 0x48ff01
test eax, eax
jge 0x48ff32
push 0x1e
push 0
push str.biaoqian
push str.http:__seapp.stat.360safe.com_ver.html
mov ecx, esi
call fcn.0048ff40
push 0x1e
push 1
push str.addbar
push str.http:__seapp.stat.360safe.com_ver.html
mov ecx, esi
call fcn.0048ff40
mov ecx, esi
call fcn.0048fcd0
pop esi
ret
Function at 0x48ff40
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2360
call fcn.004d7fa0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2370]
push edi
xor ebp, ebp
mov edi, ecx
cmp esi, ebp
mov dword [esp + 0x14], edi
je 0x490189
mov ebx, dword [esp + 0x2378]
cmp ebx, ebp
je 0x490189
call fcn.0048fa00
cmp dword [edi + 4], ebp
je 0x490189
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xda]
mov word [esp + 0xd8], bp
rep stosd dword es:[edi], eax
push str.3.6.1.7
stosw word es:[edi], ax
call fcn.00482eb0
push eax
push ebx
push esi
push str._s_name_smid_sver_s
lea eax, [esp + 0xec]
push 0x824
push eax
call fcn.00439540
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x239c]
add esp, 0x1c
xor ebx, ebx
cmp eax, ebp
jbe 0x4900ee
push ebx
push 0x50ec28
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.00439540
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2388]
add esp, 0x10
lea eax, [edx + 8]
push eax
lea eax, [esp + 0x1c]
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x5a]
mov word [esp + 0x58], bp
xor edx, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, ebx
mov ecx, 0xa
div ecx
push esi
test edx, edx
je 0x490055
push str.__ld
lea edx, [esp + 0x60]
push 0x40
push edx
call fcn.00439540
add esp, 0x10
jmp 0x490077
mov eax, 0xcccccccd
mul ebx
shr edx, 3
add edx, 0x61
lea eax, [esp + 0x5c]
push edx
push str.f_c_ld
push 0x40
push eax
call fcn.00439540
add esp, 0x14
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x49009a
lea edx, [esp + 0x10]
lea eax, [esp + 0xd8]
push edx
push 0x824
push eax
call fcn.00490540
cmp eax, ebp
jl 0x4900de
mov ecx, dword [esp + 0x10]
mov eax, 0x824
sub eax, ecx
mov edi, SysReAllocString
lea esi, [esp + 0x58]
lea ecx, [esp + ecx*2 + 0xd8]
je 0x4900d8
cmp edi, ebp
je 0x4900d4
mov dx, word [esi]
cmp dx, bp
je 0x4900d4
mov word [ecx], dx
add ecx, 2
add esi, 2
dec eax
dec edi
cmp eax, ebp
jne 0x4900b7
jmp 0x4900d8
cmp eax, ebp
jne 0x4900db
sub ecx, 2
mov word [ecx], bp
mov eax, dword [esp + 0x2380]
inc ebx
cmp ebx, eax
jb 0x48ffe8
mov ecx, 0x493
xor eax, eax
lea edi, [esp + 0x1122]
mov word [esp + 0x1120], bp
rep stosd dword es:[edi], eax
lea esi, [esp + 0xd8]
lea ecx, [esp + 0x1120]
stosw word es:[edi], ax
mov edx, 0x824
lea eax, [esp + 0x1120]
sub esi, ecx
lea ecx, [edx + 0x7ffff7da]
test ecx, ecx
je 0x490142
mov cx, word [esi + eax]
cmp cx, bp
je 0x490142
mov word [eax], cx
add eax, 2
dec edx
jne 0x490124
jmp 0x490146
cmp edx, ebp
jne 0x490149
sub eax, 2
mov edx, dword [esp + 0x2378]
push SysReAllocString
mov word [eax], bp
push edx
push ebp
lea eax, [esp + 0x2174]
push 0x104
push eax
call fcn.0049f7d0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1120]
add ecx, 0x210
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.00490200
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2360
ret 0x10
Function at 0x491370
Capabilities:
Check os version

Disassembly:
sub esp, 0x31c
lea eax, [esp]
push esi
push eax
mov dword [esp + 8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp eax, 2
mov dword [0x5e8dc8], ecx
mov dword [0x5e8dd4], ecx
mov dword [0x5e8dcc], ecx
mov dword [0x5e8dd0], ecx
mov esi, 1
jne 0x491400
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x4913d7
mov eax, dword [esp + 0xc]
cmp eax, ecx
jne 0x4913cb
mov dword [0x5e8dd4], esi
jmp 0x49140a
cmp eax, esi
jne 0x49140a
mov dword [0x5e8dcc], esi
jmp 0x49140a
cmp eax, 6
jne 0x49140a
mov eax, dword [esp + 0xc]
cmp eax, ecx
je 0x4913e8
cmp eax, esi
jne 0x49140a
cmp eax, esi
mov dword [0x5e8dcc], esi
mov dword [0x5e8dd0], esi
jne 0x49140a
mov dword [0x5e8dd8], esi
jmp 0x49140a
cmp eax, esi
jne 0x49140a
mov dword [0x5e8dc8], esi
mov cx, word [0x5117f0]
push edi
mov word [esp + 0x11c], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x11e]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x11c]
push 0x103
push edx
stosw word es:[edi], ax
call fcn.00492200
mov ax, word [esp + 0x124]
add esp, 8
cmp ax, 0x37
pop edi
jne 0x49145e
mov dword [0x5e8ddc], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x36
jne 0x491472
mov dword [0x5e8de0], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x38
jne 0x491486
mov dword [0x5e8de4], esi
pop esi
add esp, 0x31c
ret
cmp ax, 0x39
jne 0x491492
mov dword [0x5e8de8], esi
pop esi
add esp, 0x31c
ret

Function at 0x4914a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x4914d4
cmp dword [esp + 4], 5
jne 0x4914d4
mov ecx, dword [esp + 8]
mov eax, 1
cmp ecx, eax
je 0x4914d6
xor eax, eax
add esp, 0x114
ret

Function at 0x4914e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x10], 2
jne 0x491552
cmp dword [esp + 4], 5
jne 0x491552
cmp dword [esp + 8], 1
jne 0x491552
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [esp + 0x18]
push str.Service_Pack_2
push ecx
call esi
add esp, 8
test eax, eax
je 0x491545
lea edx, [esp + 0x18]
push str.Service_Pack_3
push edx
call esi
add esp, 8
test eax, eax
je 0x491545
xor eax, eax
pop esi
add esp, 0x114
ret
mov eax, 1
pop esi
add esp, 0x114
ret
xor eax, eax
add esp, 0x114
ret

Function at 0x4915c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
test esi, esi
jne 0x4915e1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret