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

Disassembly:
mov eax, 0x12a4
call fcn.004d9670
mov ax, word [0x514ff0]
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [esp + 0x12c8]
push edi
mov word [esp + 0x64], ax
mov ecx, 0x493
xor eax, eax
lea edi, [esp + 0x66]
lea edx, [esi + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x21c]
mov ebx, ebp
push ecx
push str._tmp:
push edx
push 0x506994
mov ecx, 0x514ff8
and ebx, 0x20
stosw word es:[edi], ax
call fcn.00409720
xor ecx, ecx
mov edx, dword [esp + 0x12d8]
mov ch, byte [esi + 0x10]
push eax
mov eax, dword [0x5edfa0]
mov cl, byte [esi + 0xc]
push str._gw:
push eax
mov eax, dword [esp + 0x12d8]
push str._mw:
push ecx
push 0x4f7754
push ebp
push 0x4f7658
push edx
push 0x4f76a0
mov ecx, dword [esp + 0x12f8]
push eax
mov edx, dword [esp + 0x12f4]
mov eax, ebp
and al, 2
push 0x4f7744
neg al
sbb eax, eax
push ecx
and eax, 5
push 0x4f773c
push edx
inc eax
push 0x4f774c
push eax
push str._tp:
push 0x515064
push str.__s___s_d__s_d__s_d__s_d__s_d__s_d__s_d__s_d__s_d__s__s___s__s_
lea ecx, [esp + 0xc4]
push 0x927
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x68
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
xor ebp, ebp
xor edx, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edx
push eax
push ecx
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x54], 0x80
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], edx
push ebp
mov edx, ebx
push ebp
neg edx
sbb edx, edx
lea eax, [esp + 0x74]
and edx, 0x40
push edx
push 1
push ebp
push ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, ebp
je 0x489120
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x489120
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x12c8]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
cmp eax, 1
jne 0x489157
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 0x489171
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 0x489820
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push 1
call fcn.004099f0
add esp, 4
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x14], 1
jne 0x489849
mov dword [0x5f308c], 0
push esi
mov esi, str.CloseToOrder
mov ecx, dword [esi + 0x20]
push ecx
push esi
push 0x4f7318
call fcn.00409e30
add esi, 0x34
add esp, 0xc
cmp esi, str.HomePage
jb 0x48984f
mov esi, 0x511f2c
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
lea ecx, [esi - 0x20]
push eax
push ecx
push 0x4f7318
call fcn.00409cb0
add esi, 0x34
add esp, 0x10
cmp esi, 0x511fc8
jb 0x489871
call fcn.0048cea0
call fcn.004899f0
pop esi
add esp, 0x24
ret
Function at 0x4898b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
mov ecx, 0x514ff8
push ebp
push edi
call fcn.00407ac0
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x48991c
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
mov edi, 0x5f6668
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 8]
push ecx
push str.Medias
push 0x103
push 0x5f6668
call ebp
add esp, 0x10
mov eax, dword [0x511404]
xor edi, edi
push ebx
mov ebx, dword [esp + 0x218]
test eax, eax
push esi
jbe 0x489961
mov esi, 0x50f884
test ebx, ebx
je 0x489940
mov eax, dword [esi + 0xc]
test eax, eax
je 0x489954
mov edx, dword [esi]
lea eax, [esi - 0x20]
push edx
push eax
push 0x4f7318
call fcn.00409e30
add esp, 0xc
mov eax, dword [0x511404]
inc edi
add esi, 0x34
cmp edi, eax
jb 0x489935
mov eax, dword [0x511408]
xor edi, edi
test eax, eax
jbe 0x4899a1
mov esi, 0x510f18
test ebx, ebx
je 0x48997c
mov eax, dword [esi + 8]
test eax, eax
je 0x489994
mov ecx, dword [esi]
mov edx, dword [esi - 4]
push ecx
lea eax, [esi - 0x24]
push edx
push eax
push 0x4f7318
call fcn.00409cb0
add esp, 0x10
mov eax, dword [0x511408]
inc edi
add esi, 0x34
cmp edi, eax
jb 0x489971
cmp word [0x5f45a8], 0
pop esi
pop ebx
jne 0x4899cb
push 0x614748
push 0x4f6170
push 0x1047
push 0x5f45a8
call ebp
add esp, 0x10
call fcn.0048d4e0
push section..taihang
call fcn.0048a140
add esp, 4
call fcn.0048bf90
call fcn.0048c120
call fcn.004899f0
pop edi
pop ebp
add esp, 0x208
ret
Function at 0x48b4a0
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 0x48b5e5
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 0x48b5d5
lea ecx, [esp + 0x68]
push ecx
call fcn.00492010
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 0x48b585
mov edx, dword [esp + 0x694]
lea ecx, [esp + 0x270]
inc edx
push edx
push ebp
push ecx
push eax
push esi
call fcn.0048b4a0
add esp, 0x14
jmp 0x48b5d5
mov eax, dword [esp + 0x1c]
test ah, 8
jne 0x48b5d5
test byte [esp + 0x20], 3
jne 0x48b5d5
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x48b5d5
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 0x48b5d5
push 0
push eax
push 0x14e
push esi
call edi
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jl 0x48b4fa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x670
ret

Function at 0x48e480
Capabilities:
Get common file path

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
mov dword [esp + 4], 0
je 0x48e4bc
cmp word [esi], 0
je 0x48e4bc
call fcn.0048e460
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 0x48e4d9
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 0x48e4d9
xor eax, eax
pop esi
pop ecx
ret 8
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8

Function at 0x48e8d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dee23
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.004d7b60
lea edi, [esi + 0x24]
mov dword [esp + 0x14], 0
mov ecx, edi
call fcn.004bbd50
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.0040e050
mov dword [edi], 0x4e7068
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x56e4]
mov dword [esi], 0x4e705c
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 0x48e970
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4dee5f
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], 0x4e705c
mov dword [edi], 0x4e7068
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], 1
call fcn.0040e270
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004bbd80
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004d7ba0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x48ede0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x48ee18
push edi
lea edi, [esi + 0x30]
push 2
mov ecx, edi
mov dword [esi + 0x28], 1
call fcn.0040ef80
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.0040ecc0
pop edi
pop esi
ret
Function at 0x48fa70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.0048fe00
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.0041a5b0
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 0x4f6170
push 0x824
push edx
call ebp
mov dx, word [0x514ff0]
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 0x4f6170
push 0x104
push edx
call ebp
mov esi, dword [esi + 4]
add esp, 0x10
mov ecx, ebx
mov dword [ebx + 0x269c], 0x48fb80
mov dword [ebx + 0x2698], esi
call fcn.0041a4e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret

Function at 0x490030
Capabilities:
Get common file path

Disassembly:
sub esp, 0x410
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], si
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x214]
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4900af
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], si
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push 0x104
push ecx
push esi
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x210]
lea eax, [esp + 8]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea ecx, [esp + 8]
cmp eax, ecx
mov eax, 1
je 0x4900b1
mov eax, esi
pop edi
pop esi
add esp, 0x410
ret
Function at 0x4900c0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1084
call fcn.004d9670
mov edx, dword [esp + 0x1088]
xor eax, eax
test edx, edx
push esi
je 0x4901c5
mov esi, dword [esp + 0x1090]
test esi, esi
je 0x4901c5
mov edx, dword [esp + 0x1094]
test edx, edx
je 0x4901c5
mov eax, dword [0x5ed660]
test eax, eax
je 0x4901b8
call fcn.00490030
test eax, eax
jne 0x4901b8
push edi
mov ecx, 0x411
lea edi, [esp + 0x46]
mov word [esp + 0x44], ax
rep stosd dword es:[edi], eax
push esi
push 0x4f7624
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], 0x515064
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x4901a9
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.00421f10
mov ecx, eax
call fcn.00423d90
pop esi
add esp, 0x1084
ret 0x10

Function at 0x490a70
Capabilities:
Create process on windows

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x410
test edx, edx
push edi
jne 0x490a8b
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 0x514ff0
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, edx
call fcn.00491040
mov ecx, 0x514ff8
call fcn.00407ac0
test eax, eax
je 0x490b59
call fcn.00494910
test eax, eax
jne 0x490b59
mov dx, word [0x514ff0]
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 0x4f7658
push eax
push 0x4f7624
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 0x515064
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jae 0x490b68
xor eax, eax
pop edi
add esp, 0x410
ret 4
lea eax, [esp + 4]
push 1
push eax
call fcn.00433910
add esp, 8
mov eax, 1
pop edi
add esp, 0x410
ret 4
Function at 0x491220
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 0x4912e5
push 0
mov ecx, 0x514ff8
call fcn.00407c00
mov edi, eax
test edi, edi
je 0x4912e5
push esi
push 0x5c
push edi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x49126e
cmp word [eax + 2], 0
lea esi, [ebx + 8]
push edi
jne 0x491272
push str._sstat.ini
jmp 0x491277
lea esi, [ebx + 8]
push edi
push str._s_stat.ini
push 0x104
push esi
call fcn.004377d0
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4912dd
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 0x5123d0
lea eax, [esp + 0x14]
push 0x40
push eax
call fcn.004377d0
add esp, 0x10
lea ecx, [esp + 0xc]
push esi
push ecx
push 0x5123c8
push 0x5123c0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebx + 4], 1
pop esi
pop edi
pop ebx
add esp, 0x80
ret

Function at 0x4913a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, ecx
call fcn.00491220
mov eax, dword [esi + 4]
test eax, eax
je 0x491406
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x491406
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 0x5123d0
push 0x20
push ecx
call fcn.004377d0
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 0x491416
Capabilities:
Delete file

Disassembly:
sub esp, 0x80
push esi
mov esi, ecx
call fcn.00491220
mov eax, dword [esi + 4]
test eax, eax
je 0x49149c
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5043a4
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
test eax, eax
je 0x49144c
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 0x5123d0
lea eax, [esp + 0x10]
push 0x40
push eax
call fcn.004377d0
add esp, 0x10
lea ecx, [esp + 8]
push esi
push ecx
push 0x5123c8
push 0x5123c0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
add esp, 0x80
ret
Function at 0x4914f0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4def7e
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 0x4916c9
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 0x4916c9
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 0x491565
mov ecx, eax
call fcn.00419fc0
jmp 0x491567
xor eax, eax
push esi
push edi
mov ecx, eax
mov dword [esp + 0x42c], 0xffffffff
mov dword [0x5ed418], eax
call fcn.0041a5b0
mov eax, dword [0x5ed418]
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 0x4f6170
push 0x824
rep stosd dword es:[edi], eax
push edx
call esi
mov eax, dword [0x5ed418]
mov ecx, 0x81
lea edi, [esp + 0x26]
add esp, 0x10
mov dword [eax + 0x269c], 0x4919c0
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 0x4f6894
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [0x5ed418]
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 0x4f6170
push 0x104
push edx
call esi
mov edx, dword [0x5ed418]
add esp, 0x10
mov dword [edx + 0x2464], 1
mov eax, dword [0x5ed418]
mov dword [eax + 0x26a4], 0x1388
mov ecx, dword [0x5ed418]
call fcn.0041a4e0
mov eax, dword [ebx + 0x214]
mov edx, dword [ebx + 0x218]
add eax, 0x1250
cmp eax, edx
je 0x4916b2
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 0x491698
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 0x4916e0
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, ecx
call fcn.00491220
mov eax, dword [esi + 4]
test eax, eax
je 0x491752
lea eax, [esi + 8]
push edi
push eax
push 0
push 0x5123c8
push 0x5123c0
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 0x491721
test eax, eax
jge 0x491752
push 0x1e
push 0
push str.biaoqian
push str.http:__seapp.stat.360safe.com_ver.html
mov ecx, esi
call fcn.00491760
push 0x1e
push 1
push str.addbar
push str.http:__seapp.stat.360safe.com_ver.html
mov ecx, esi
call fcn.00491760
mov ecx, esi
call fcn.004914f0
pop esi
ret
Function at 0x491760
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2360
call fcn.004d9670
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 0x4919a9
mov ebx, dword [esp + 0x2378]
cmp ebx, ebp
je 0x4919a9
call fcn.00491220
cmp dword [edi + 4], ebp
je 0x4919a9
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xda]
mov word [esp + 0xd8], bp
rep stosd dword es:[edi], eax
push str.3.7.1.2
stosw word es:[edi], ax
call fcn.00484250
push eax
push ebx
push esi
push str._s_name_smid_sver_s
lea eax, [esp + 0xec]
push 0x824
push eax
call fcn.004377d0
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 0x49190e
push ebx
push 0x5123d0
lea ecx, [esp + 0x20]
push 0x20
push ecx
call fcn.004377d0
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 0x491875
push str.__ld
lea edx, [esp + 0x60]
push 0x40
push edx
call fcn.004377d0
add esp, 0x10
jmp 0x491897
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.004377d0
add esp, 0x14
lea ecx, [esp + 0x10]
test ecx, ecx
je 0x4918ba
lea edx, [esp + 0x10]
lea eax, [esp + 0xd8]
push edx
push 0x824
push eax
call fcn.00491d60
cmp eax, ebp
jl 0x4918fe
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 0x4918f8
cmp edi, ebp
je 0x4918f4
mov dx, word [esi]
cmp dx, bp
je 0x4918f4
mov word [ecx], dx
add ecx, 2
add esi, 2
dec eax
dec edi
cmp eax, ebp
jne 0x4918d7
jmp 0x4918f8
cmp eax, ebp
jne 0x4918fb
sub ecx, 2
mov word [ecx], bp
mov eax, dword [esp + 0x2380]
inc ebx
cmp ebx, eax
jb 0x491808
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 0x491962
mov cx, word [esi + eax]
cmp cx, bp
je 0x491962
mov word [eax], cx
add eax, 2
dec edx
jne 0x491944
jmp 0x491966
cmp edx, ebp
jne 0x491969
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.00491db0
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.00491a20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2360
ret 0x10