joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431270
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10004
call fcn.004473e0
mov eax, dword [esp + 0x10008]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
je 0x431400
cmp dword [esp + 0x1001c], ebp
je 0x431400
mov eax, dword [esp + 0x10020]
cmp eax, ebp
je 0x431400
cmp word [eax], bp
lea ebx, [esp + 0x14]
mov dword [esp + 0x10], ebp
je 0x431400
push 0x465008
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x431400
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll__filelength]
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x4313f6
cmp edi, 0xa00000
jg 0x4313f6
cmp edi, 0xffff
jle 0x43131b
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x4313f6
mov dword [esp + 0x10], 1
push esi
push edi
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov ecx, dword [0x4dc754]
add esp, 0x14
mov dword [0x4dc758], ebp
push ebp
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
push 0x401
push ecx
call ebp
push 0
push 0x430c10
push str.http:__profile.se.360.cn_fav_upload
call fcn.00449464
mov esi, eax
test esi, esi
jne 0x43137a
push ebx
call fcn.0044737a
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10004
ret
mov edx, dword [esp + 0x10018]
push edx
push 0x465250
push esi
call fcn.004494d1
mov eax, dword [esp + 0x1001c]
push eax
push 0x468bac
push esi
call fcn.004494d1
push edi
push ebx
push str.favdata
push esi
call fcn.004494e9
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4313be
push ebx
call fcn.0044737a
add esp, 4
mov ecx, dword [0x4dc754]
push 0
push 1
push 0x401
push ecx
mov dword [0x4dc758], 1
call ebp
push esi
call fcn.00449505
push esi
call fcn.00449519
mov eax, dword [0x4dc758]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10004
ret
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x10004
ret
Function at 0x431b60
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
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 eax, dword [esp + 0x218]
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push 0x468cec
lea ecx, [esp + 0x14]
push 0x103
push ecx
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
add esp, 0x10
lea edx, [esp + 0xc]
push edx
push esi
call ebx
mov esi, eax
test esi, esi
je 0x431c0a
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, dword [esp + 0x224]
add esp, 4
lea ecx, [esi + eax*2]
mov esi, dword [esp + 0x21c]
push ecx
dec edx
push 0x463604
push edx
push esi
call edi
add esp, 0x10
push 0x468ce8
push esi
call ebx
test eax, eax
je 0x431c0a
pop edi
mov word [eax], 0
pop esi
mov eax, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x208
ret
Function at 0x437400
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44ea4e
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [0x4dcbc4]
push ebp
push esi
push edi
test ecx, ecx
jne 0x43745d
push 1
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x20], 0
je 0x43744b
mov ecx, eax
call fcn.00421650
jmp 0x43744d
xor eax, eax
mov ecx, eax
mov dword [esp + 0x20], 0xffffffff
mov dword [0x4dcbc4], ecx
lea edx, [ebx + 0x9b8]
lea esi, [ebx + 0x9b4]
push edx
lea edx, [ebx + 0x9b0]
lea edi, [ebx + 0x9ac]
push esi
lea ebp, [ebx + 0x9a4]
push edx
lea eax, [ebx + 0x14]
push edi
push ebp
push eax
mov dword [esp + 0x28], eax
call fcn.00441bc0
test eax, eax
jne 0x437609
mov ebp, dword [ebp]
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x437609
mov edi, dword [edi]
push edi
push 0x103
push 0x4dc340
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0xc
mov ecx, ebx
call fcn.00436350
test eax, eax
je 0x4375a1
mov eax, dword [esi]
push ecx
mov dword [esp + 0x18], esp
mov ebp, esp
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x4374eb
mov dword [ebp], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x437558
mov eax, dword [0x463290]
mov dword [ebp], eax
mov esi, dword [esi]
test esi, esi
jne 0x437501
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x43750e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x14], eax
mov edi, eax
mov eax, dword [ebp]
cmp dword [eax - 0xc], 1
jg 0x43751c
cmp edi, dword [eax - 4]
jle 0x43752f
mov ecx, ebp
call fcn.00402f00
push edi
mov ecx, ebp
call fcn.00402e70
test eax, eax
je 0x437558
lea eax, [edi + edi]
mov edi, dword [ebp]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov dword [ecx - 8], edx
mov ecx, dword [ebp]
mov word [eax + ecx], 0
lea eax, [ebx + 0x9a4]
mov dword [esp + 0x24], 1
push eax
push ecx
lea eax, [ebx + 0x9ac]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0043ae90
mov ecx, ebx
mov dword [esp + 0x2c], 0xffffffff
call fcn.0043a380
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [ebx + 8]
test eax, eax
jne 0x4375f1
mov ecx, dword [0x4dcbc4]
test ecx, ecx
jne 0x4375e7
push 1
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x20], 2
je 0x4375d5
mov ecx, eax
call fcn.00421650
jmp 0x4375d7
xor eax, eax
mov ecx, eax
mov dword [esp + 0x20], 0xffffffff
mov dword [0x4dcbc4], ecx
mov edx, dword [esp + 0x10]
push edx
call fcn.00442150
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x437620
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44ea68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 0x9cc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43777e
mov eax, dword [edi + 0x9cc]
push eax
call fcn.00413ac0
add esp, 4
test eax, eax
je 0x43777e
mov eax, dword [edi + 0x9d4]
push eax
push 0x103
push 0x4dc340
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0xc
mov ecx, edi
call fcn.00436350
test eax, eax
je 0x43777e
mov eax, dword [edi + 0x9dc]
push ecx
mov dword [esp + 0x18], esp
mov ebx, esp
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x4376bc
mov dword [ebx], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43774d
mov eax, dword [0x463290]
mov dword [ebx], eax
mov esi, dword [edi + 0x9dc]
test esi, esi
jne 0x4376d1
xor ebp, ebp
jmp 0x4376da
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
mov eax, dword [ebx]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
jg 0x4376ec
cmp ebp, dword [eax - 4]
jle 0x437726
mov edx, dword [0x463294]
add eax, 0xfffffff4
cmp eax, edx
je 0x43771a
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x437712
mov eax, dword [ebx]
sub eax, 0xc
push eax
call fcn.0044737a
add esp, 4
mov ecx, dword [0x463290]
mov dword [ebx], ecx
push ebp
mov ecx, ebx
call fcn.00402e70
test eax, eax
je 0x43774d
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov edi, dword [esp + 0x14]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [edx + eax], 0
lea eax, [edi + 0x9cc]
mov dword [esp + 0x24], 0
push eax
push ecx
lea eax, [edi + 0x9d4]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0043ae90
mov ecx, edi
mov dword [esp + 0x2c], 0xffffffff
call fcn.0043a380
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x438410
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44eb2b
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, 0x4d6e34
push ebx
push ebp
push esi
push edi
test eax, eax
jne 0x43843c
xor ebp, ebp
jmp 0x438449
push 0x4d6e34
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
mov ebx, dword [esp + 0x22c]
push ebp
mov ecx, ebx
call fcn.00402f40
test eax, eax
je 0x438484
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
mov esi, 0x4d6e34
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [edx + eax], 0
mov eax, dword [0x463290]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
xor esi, esi
push ecx
push 0x4d6e34
push str.CLSIDD27CDB6E_AE6D_11cf_96B8_444553540000InprocServer32
push SysReAllocString
mov dword [esp + 0x234], esi
call fcn.00410ec0
mov edx, dword [esp + 0x20]
add esp, 0x10
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4384ed
mov eax, dword [esp + 0x10]
mov edx, dword [0x463294]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4385d3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4385d3
jmp 0x4385c3
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], si
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push 0x103
stosw word es:[edi], ax
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0040f070
lea edx, [esp + 0x20]
add esp, 0xc
test edx, edx
jne 0x438524
xor ebp, ebp
jmp 0x438531
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
mov eax, dword [ebx]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
jg 0x438543
cmp ebp, dword [eax - 4]
jle 0x43857d
mov edx, dword [0x463294]
add eax, 0xfffffff4
cmp eax, edx
je 0x438571
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x438569
mov ecx, dword [ebx]
sub ecx, 0xc
push ecx
call fcn.0044737a
add esp, 4
mov edx, dword [0x463290]
mov dword [ebx], edx
push ebp
mov ecx, ebx
call fcn.00402e70
cmp eax, esi
je 0x4385a4
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
lea esi, [esp + 0x14]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [edx + eax], 0
mov eax, dword [esp + 0x10]
mov edx, dword [0x463294]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4385d3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4385d3
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.0044737a
add esp, 4
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x439670
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x44eca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x463290]
push esi
mov dword [esp + 4], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
push ecx
call fcn.00411770
add esp, 4
push str.360se_temp
lea edx, [esp + 0xc]
push eax
push edx
mov byte [esp + 0x24], 1
call fcn.00409a80
mov esi, eax
push 0
mov byte [esp + 0x1c], 2
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x10]
push str._s__d__d
push ecx
call fcn.00409c00
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x463294]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x14
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43971c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43971c
mov eax, dword [esp + 8]
add eax, 0xfffffff4
push eax
call fcn.0044737a
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [0x463294]
mov byte [esp + 0x18], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43974c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43974c
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0044737a
add esp, 4
mov eax, dword [esp + 4]
push eax
call fcn.0040f210
mov ecx, dword [esp + 8]
add esp, 4
push 0
push 0
push 1
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 4]
je 0x4397d4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 4]
mov edx, dword [0x463294]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4397bf
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4397bf
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0044737a
add esp, 4
mov eax, 1
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov edx, dword [0x463294]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4397fb
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4397fb
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0044737a
add esp, 4
mov ecx, dword [esp + 0x10]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x43a1b0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x44edc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
lea eax, [esp + 8]
push edi
mov ebx, ecx
push eax
call fcn.00412600
push eax
mov dword [esp + 0x2c], 0
call fcn.00411b50
mov eax, dword [esp + 0x14]
mov edx, dword [0x463294]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 8
lea ecx, [eax - 0xc]
mov dword [esp + 0x24], 0xffffffff
cmp ecx, edx
je 0x43a221
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x43a221
mov edx, dword [esp + 0xc]
lea eax, [edx - 0xc]
push eax
call fcn.0044737a
add esp, 4
mov eax, dword [ebx + 0x9a4]
lea edi, [ebx + 0x9a4]
push esi
push eax
call fcn.0040f210
mov esi, dword [edi]
lea eax, [esp + 0x20]
push eax
call fcn.00412580
add esp, 8
push 0x463600
lea ecx, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x34], 1
call fcn.00409a80
lea edx, [ebx + 0x9a0]
mov byte [esp + 0x28], 2
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00414ef0
mov eax, dword [eax]
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [0x463294]
mov esi, eax
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43a2ab
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x43a2ab
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.0044737a
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x463294]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43a2d6
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x43a2d6
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.0044737a
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x463294]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43a309
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x43a309
mov edx, dword [esp + 0x1c]
lea eax, [edx - 0xc]
push eax
call fcn.0044737a
add esp, 4
test esi, esi
pop esi
je 0x43a36c
mov ecx, dword [0x4dcbb8]
test ecx, ecx
jne 0x43a34d
push 1
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x24], 3
je 0x43a33b
mov ecx, eax
call fcn.00421650
jmp 0x43a33d
xor eax, eax
mov ecx, eax
mov dword [esp + 0x24], 0xffffffff
mov dword [0x4dcbb8], ecx
lea eax, [ebx + 0x9b0]
lea edx, [ebx + 0x9a8]
push eax
push edx
lea eax, [ebx + 0x99c]
push edi
add ebx, 0x14
push eax
push ebx
call fcn.0043eba0
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x43a380
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44ede0
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x20]
push str.5.0.3.8
push edi
mov dword [esp + 0x20], 1
xor bl, bl
call fcn.00414360
add esp, 8
test eax, eax
jl 0x43a3cd
push str.5.1.0.0
push edi
call fcn.00414360
add esp, 8
test eax, eax
jl 0x43a3df
push str.5.1.1.0
push edi
call fcn.00414360
add esp, 8
test eax, eax
jl 0x43a3f1
push 1
call fcn.0040fcf0
add esp, 4
test al, al
je 0x43a3fb
mov bl, 1
jmp 0x43a3fb
push 0
call fcn.0040fcf0
add esp, 4
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
push 1
push 0
mov eax, dword [eax]
push ebp
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jae 0x43a442
mov al, byte [esi + 0x9bc]
test al, al
lea eax, [esi + 0x9c4]
jne 0x43a433
lea eax, [esi + 0x99c]
push eax
call fcn.004458f0
mov ecx, eax
call fcn.00445940
jmp 0x43a45f
test bl, bl
je 0x43a45f
push 1
push str.installkillprocess
push str.Software360360se5
push SysReAllocString
call fcn.00411010
add esp, 0x10
mov eax, dword [0x463294]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [edi - 0xc]
cmp ecx, eax
je 0x43a484
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x43a484
push esi
call fcn.0044737a
add esp, 4
mov eax, dword [0x463294]
lea edx, [ebp - 0xc]
cmp edx, eax
je 0x43a4a3
lea esi, [ebp - 0xc]
push esi
call ebx
test eax, eax
jg 0x43a4a3
push esi
call fcn.0044737a
add esp, 4
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x43ce70
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push 0
push 0x43cea0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43e410
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x410
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov cx, word [0x4d6e34]
xor eax, eax
mov word [esp + 0x20c], cx
mov ecx, 0x81
lea edi, [esp + 0x20e]
lea edx, [esp + 0x20c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x4d5dd4]
push 0x104
push edx
push 0xe6
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x40030
push 0xf
call fcn.0040f770
add esp, 4
lea ecx, [esp + 0x210]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x418]
pop edi
test eax, eax
push 0
push 0
je 0x43e4bf
lea edx, [esp + 8]
push str._v3_update_and_reboot_with_high_privilidge
push edx
jmp 0x43e4c9
lea eax, [esp + 8]
push str._v3_update_only_update_with_high_privilidge
push eax
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 0x410
ret 4

Function at 0x43ea50
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44f0c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 4]
test eax, eax
jne 0x43ea76
xor edx, edx
jmp 0x43ea8c
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
test edx, edx
jle 0x43eb8c
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__wcsicmp]
push esi
xor esi, esi
mov dword [esp + 0xc], edx
mov eax, dword [edi + 4]
mov ecx, dword [esi + eax + 0x24]
mov edx, dword [ecx - 8]
test edx, edx
je 0x43eb78
mov eax, dword [esi + eax + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43eb78
mov eax, dword [edi + 4]
mov eax, dword [esi + eax + 0x18]
push eax
call fcn.00413ac0
add esp, 4
test eax, eax
je 0x43eb78
mov edx, dword [0x463290]
mov dword [esp + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x1c], 0
lea edx, [esi + eax + 0x18]
push edx
call fcn.004429f0
mov eax, dword [esp + 0x28]
add esp, 8
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43eb45
mov ecx, dword [edi + 4]
mov ecx, dword [esi + ecx + 0xc]
push ecx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x43eb41
mov eax, dword [edi + 4]
push 0x3e8
push 0
mov ecx, dword [esi + eax + 0x24]
mov eax, dword [esi + eax + 0x18]
push ecx
push 0
push eax
call fcn.00413520
add esp, 0x14
mov eax, dword [esp + 0x20]
mov edx, dword [0x463294]
lea ecx, [eax - 0xc]
cmp ecx, edx
mov dword [esp + 0x18], 0xffffffff
je 0x43eb78
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43eb78
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.0044737a
add esp, 4
mov eax, dword [esp + 0xc]
add esi, 0x28
dec eax
mov dword [esp + 0xc], eax
jne 0x43eaa2
pop esi
pop ebp
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x441660
Capabilities:
Check if file exists
Move file

Disassembly:
push 0xffffffffffffffff
push 0x44f290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
mov esi, ecx
push eax
call fcn.00412580
add esp, 4
mov cl, byte [esp + 0x13]
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov byte [esp + 0x18], cl
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x38], 1
call fcn.004423b0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor esi, esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp eax, ebp
je 0x4416fa
mov edx, ecx
sub edx, eax
sar edx, 2
cmp esi, edx
jae 0x4416fa
mov eax, dword [eax + esi*4]
push eax
call edi
test eax, eax
je 0x4416f7
mov eax, dword [esp + 0x1c]
push 4
push ebp
mov ecx, dword [eax + esi*4]
push ecx
call ebx
inc esi
jmp 0x4416c9
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ecx
mov edi, ecx
mov esi, eax
je 0x441738
mov ecx, dword [esi]
lea edx, [ecx - 0xc]
cmp edx, dword [0x463294]
je 0x441731
add ecx, 0xfffffff4
push ecx
call ebx
test eax, eax
jg 0x44172d
mov eax, dword [esi]
sub eax, 0xc
push eax
call fcn.0044737a
add esp, 4
mov eax, dword [esp + 0x1c]
add esi, 4
cmp esi, edi
jne 0x441708
push eax
call fcn.0044737a
mov eax, dword [esp + 0x18]
mov edx, dword [0x463294]
add esp, 4
mov dword [esp + 0x1c], ebp
lea ecx, [eax - 0xc]
mov dword [esp + 0x20], ebp
cmp ecx, edx
mov dword [esp + 0x24], ebp
je 0x441778
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x441778
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0044737a
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x442150
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
push eax
push 0
push str.retrycount
push 0x4563fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
lea edx, [esp + 4]
mov dword [esp + 6], ecx
inc eax
mov dword [esp + 0xa], ecx
push 0xa
mov dword [esp + 0x12], ecx
push edx
mov dword [esp + 0x1a], ecx
push eax
mov word [esp + 0x10], 0
mov word [esp + 0x22], cx
call dword [sym.imp.MSVCRT.dll__itow]
mov eax, dword [esi]
add esp, 0xc
lea ecx, [esp + 4]
push eax
push ecx
push str.retrycount
push 0x4563fc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop esi
add esp, 0x14
ret 4