joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a20e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x34]
mov ebx, ecx
push eax
xor esi, esi
call fcn.004a1e00
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
jb 0x4a210b
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a211b
mov esi, 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], 0
push eax
mov ecx, ebx
call fcn.004a1c60
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
jb 0x4a2139
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a214b
mov dword [ebp - 0x38], 1
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push eax
push 0x20019
push 0
push dword [ebx + 0x18]
push reloc.gdiplus.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
neg eax
sbb eax, eax
and eax, 1
cmp dword [ebp - 0x38], 0
je 0x4a2181
test esi, esi
jne 0x4a2185
lea esi, [eax + 2]
jmp 0x4a218e
test esi, esi
je 0x4a218c
mov esi, 1
jmp 0x4a218e
xor esi, esi
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x4a21c4
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a21ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2220
push edx
push ecx
call fcn.004c1d47
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
cmp edx, 8
jb 0x4a220e
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2204
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2220
push edx
push ecx
call fcn.004c1d47
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
call fcn.004c7ca1
int3
Function at 0x4a2230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push str.chrome.dll
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea eax, [ebp - 0x34]
push eax
call fcn.004a1fa0
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x4a226f
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0xc], 0
xor eax, eax
mov dword [ebp - 8], 7
push esi
mov word [ebp - 0x1c], ax
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a2290
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.00407020
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x4a22e3
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a22d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a23a7
push edx
push ecx
call fcn.004c1d47
add esp, 8
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
jb 0x4a22ef
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a235d
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
jb 0x4a2306
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004a23c0
mov esi, eax
add esp, 8
cmp edi, esi
je 0x4a2355
mov ecx, edi
call fcn.004072c0
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x34]
call fcn.00407320
mov edx, dword [ebp - 8]
pop esi
cmp edx, 8
jb 0x4a2394
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a238a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a23ac
push edx
push ecx
call fcn.004c1d47
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret 4
call fcn.004c7ca1
call fcn.004c7ca1
int3
Function at 0x4a23c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
xor esi, esi
mov dword [ebp - 0x210], 7
mov dword [ebp - 0x214], esi
mov word [ebp - 0x224], ax
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x4a2562
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a2404
sub ecx, edx
sar ecx, 1
je 0x4a2562
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], esi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x4a2536
inc eax
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.004a1310
mov esi, dword [ebp - 0x228]
add esp, 8
test esi, esi
je 0x4a2536
push esi
push dword [ebp - 0x22c]
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4a2501
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x228], 0
push eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x22c], 0
push eax
push 0x50f724
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4a2501
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c49e0
mov ecx, dword [ebp - 0x228]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004937d0
xor eax, eax
lea ecx, [ebp - 0x224]
add esp, 0x2c
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.00407160
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
call fcn.00406fd0
push esi
call fcn.004bdb8e
add esp, 4
lea ecx, [ebp - 0x224]
call fcn.00407320
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x224]
mov ecx, edi
push eax
call fcn.00406fd0
lea ecx, [ebp - 0x224]
call fcn.00407320
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 4]
mov dword [edi], eax
xor ecx, ebp
mov eax, dword [ebp - 0x220]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x21c]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x218]
mov dword [edi + 0xc], eax
mov eax, edi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 7
pop edi
pop esi
pop ebx
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
Function at 0x4a3070
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push edi
push 0x20a
push 0
push eax
mov edi, ecx
call fcn.004c49e0
add esp, 0xc
test esi, esi
je 0x4a30df
mov ecx, esi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a30b0
sub ecx, edx
sar ecx, 1
je 0x4a30df
push esi
push str..._schrome.dll
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004937d0
add esp, 0x14
jmp 0x4a30f8
push str.chrome.dll
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.004cf451
add esp, 0xc
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.004a1fa0
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
jb 0x4a3122
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a318d
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
jb 0x4a3142
mov eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.004a23c0
add esp, 8
lea eax, [ebp - 0x240]
cmp dword [ebp - 0x22c], 8
jb 0x4a3167
mov eax, dword [ebp - 0x240]
push str.13.1.1001.0
push eax
call fcn.004a1880
add esp, 8
lea ecx, [ebp - 0x240]
mov esi, eax
call fcn.00407320
test esi, esi
js 0x4a318d
mov esi, 1
jmp 0x4a318f
xor esi, esi
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x4a31cb
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a31c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a31df
push edx
push ecx
call fcn.004c1d47
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret 4
call fcn.004c7ca1
int3
Function at 0x4a5530
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x140], 8
push esi
lea esi, [ecx + 0x12c]
mov eax, esi
jb 0x4a5547
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a556c
cmp dword [esi + 0x14], 8
jb 0x4a555a
mov esi, dword [esi]
push 5
push 0
push dword [ebp + 8]
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 4
Function at 0x4a63c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x458], edx
xor ecx, ecx
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x420], 7
mov word [ebp - 0x434], cx
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x4a65e1
mov ecx, eax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6412
sub ecx, esi
sar ecx, 1
je 0x4a65e1
mov eax, dword [edx + 8]
xor esi, esi
mov dword [ebp - 0x460], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x45c], eax
jmp 0x4a6440
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004c49e0
mov ebx, dword [ebp + esi*4 - 0x460]
lea eax, [ebp - 0x210]
add esp, 0xc
push ebx
push dword [ebp - 0x454]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a64bf
mov eax, dword [ebp - 0x458]
push dword [eax + 8]
push ebx
call fcn.004c7d74
add esp, 8
test eax, eax
jne 0x4a64f8
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
test eax, eax
je 0x4a64f8
cmp dword [ebp - 0x450], 6
jne 0x4a64f8
inc esi
cmp esi, 2
jl 0x4a6440
mov eax, dword [ebp - 0x434]
mov dword [edi], eax
mov eax, dword [ebp - 0x430]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x42c]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x428]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
jmp 0x4a6607
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.004c49e0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.004a23c0
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x4a6529
mov eax, dword [eax]
push eax
push dword [ebp - 0x454]
lea eax, [ebp - 0x41c]
push str._s_sInstaller_setup.exe
push 0xffffffffffffffff
push 0x104
push eax
call fcn.004937d0
add esp, 0x18
lea ecx, [ebp - 0x44c]
call fcn.00407320
lea ecx, [ebp - 0x41c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a6560
sub ecx, edx
lea eax, [ebp - 0x41c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x434]
call fcn.00407020
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x424]
mov dword [edi], eax
mov eax, dword [ebp - 0x430]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x42c]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x428]
mov dword [edi + 0xc], eax
xor eax, eax
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x420]
mov dword [edi + 0x14], ecx
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 7
mov word [ebp - 0x434], ax
call fcn.00407320
jmp 0x4a660e
mov eax, dword [ebp - 0x434]
mov dword [edi], eax
mov eax, dword [ebp - 0x430]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x42c]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x428]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret 8
Function at 0x4a6b50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a6c58
xor eax, eax
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x1c]
push eax
push esi
mov dword [ebp - 8], 7
call fcn.004a6c90
add esp, 8
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
jb 0x4a6ba0
mov eax, dword [ebp - 0x1c]
push str.Qizhi_Software__beijing__Co._Ltd
push eax
call fcn.004c7d74
add esp, 8
test eax, eax
je 0x4a6c69
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
jb 0x4a6bc2
mov eax, dword [ebp - 0x1c]
push 0x4f96e4
push eax
call fcn.004c7d74
add esp, 8
test eax, eax
je 0x4a6c69
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
jb 0x4a6be4
mov eax, dword [ebp - 0x1c]
push str.Qihoo_360_Software__Beijing__Company_Limited
push eax
call fcn.004c7d74
add esp, 8
test eax, eax
je 0x4a6c69
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
jb 0x4a6c02
mov eax, dword [ebp - 0x1c]
push str.QIHU_360_SOFTWARE_CO._LIMITED
push eax
call fcn.004c7d74
add esp, 8
test eax, eax
je 0x4a6c69
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
jb 0x4a6c20
mov eax, dword [ebp - 0x1c]
push str.Beijing_Qihu_Technology_Co.__Ltd.
push eax
call fcn.004c7d74
add esp, 8
test eax, eax
je 0x4a6c69
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
jb 0x4a6c3e
mov eax, dword [ebp - 0x1c]
push str.Beijing_Qihoo_Technologies_Co._Ltd
push eax
call fcn.004c7d74
add esp, 8
test eax, eax
je 0x4a6c69
lea ecx, [ebp - 0x1c]
call fcn.00407320
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1c]
call fcn.00407320
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret
Function at 0x4a6eb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
call fcn.00494780
test eax, eax
jne 0x4a6ec5
mov al, 1
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 4]
call fcn.00483760
mov esi, dword [ebp - 4]
cmp dword [esi - 0xc], 0
jl 0x4a6eff
push str.__lowrun
push esi
call fcn.004c531b
add esp, 8
test eax, eax
je 0x4a6eff
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4a700b
xor eax, eax
mov dword [ebp - 0x64], 0x44
mov ebx, str.___lowrun
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
sub ebx, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov edi, dword [esi - 0xc]
push 9
push str.___lowrun
mov dword [ebp - 8], str.___lowrun
sar ebx, 1
mov dword [ebp - 0x10], edi
call fcn.004cb6c8
mov edx, eax
mov ecx, SysReAllocString
sub ecx, edx
mov dword [ebp - 0xc], edx
add esp, 8
cmp ecx, edi
jl 0x4a702e
add edi, edx
js 0x4a702e
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or ecx, eax
jge 0x4a6fa5
push edi
lea ecx, [ebp - 4]
call fcn.004834d0
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
ja 0x4a6fb2
lea eax, [esi + ebx*2]
mov dword [ebp - 8], eax
lea eax, [edx + edx]
push eax
push dword [ebp - 8]
push eax
lea eax, [esi + ecx*2]
push eax
call fcn.00483640
add esp, 0x10
cmp edi, dword [esi - 8]
jg 0x4a702e
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call fcn.0048f0f0
add esp, 0x28
test eax, eax
je 0x4a700b
push dword [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x1c]
call edi
xor bl, bl
jmp 0x4a700d
mov bl, 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4a7025
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00483200
int3
Function at 0x4a70d0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
call fcn.004c49e0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.LoginServerdata
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a7148
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test edi, edi
je 0x4a71d4
push edi
lea ecx, [ebp - 0x214]
call fcn.00483760
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.00483760
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.004930b0
mov edx, dword [ebp - 0x210]
or edi, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a71a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4a71e2
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00483760
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret 8
Function at 0x4a7200
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
test edx, edx
je 0x4a73b1
mov ecx, edx
push esi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a7225
sub ecx, esi
sar ecx, 1
je 0x4a73b0
push edx
lea ecx, [ebp - 0x20]
call fcn.00483760
mov eax, dword [ebp - 0x20]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x4a73c2
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or edx, ecx
jge 0x4a726e
push esi
lea ecx, [ebp - 0x20]
call fcn.004834d0
mov eax, dword [ebp - 0x20]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004cba87
mov eax, dword [ebp - 0x20]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x4a73c2
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x20]
push str.reader.exe
mov word [eax + esi*2], cx
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
or esi, 0xffffffff
test eax, eax
je 0x4a7311
push 0x50f7a0
lea ecx, [ebp - 0x24]
call fcn.00483760
push str.Software360SoftMgr_reader
lea ecx, [ebp - 0x28]
call fcn.00483760
push reloc.gdiplus.dll_Ordinal_1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00496860
mov edx, dword [ebp - 0x28]
add esp, 0x10
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a72f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a7353
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4a7353
push str.sodadownloader.exe
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4a7353
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00490a70
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x4a7339
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20]
push str._s_sodadownloader.exe
push eax
call fcn.004832c0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00407320
push dword [ebp - 0x20]
call fcn.00482bf0
add esp, 4
test eax, eax
je 0x4a7398
push dword [ebp - 0x20]
mov eax, dword [0x53a658]
add eax, 0xb
push eax
push str.__d____path::___s__no_signed__
push str.CLoginApp::runCommand
call fcn.00486590
push eax
call fcn.00486af0
add esp, 0x14
push 5
push 0
push ebx
push dword [ebp - 0x20]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4a73b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.00483200
int3
Function at 0x4aa480
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x53ac84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x30], esi
mov esi, dword [ebp + 0xc]
cmp edi, 0x778
ja 0x4aa59b
je 0x4aa579
cmp edi, 0x113
je 0x4aa4d1
cmp edi, 0x401
jne 0x4aa579
call fcn.004aa6b0
jmp 0x4aa579
mov esi, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x24]
push 0
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call esi
push 0
lea eax, [ebp - 0x14]
push eax
call esi
mov esi, dword [ebp + 0xc]
cmp esi, 0x3e8
jne 0x4aa579
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x28]
mov eax, dword [0x543de8]
push dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
mov ecx, dword [0x543dec]
mov edx, dword [0x543df0]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 8], esi
mov esi, dword [sym.imp.USER32.dll_PtInRect]
push eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
call esi
test eax, eax
jne 0x4aa576
push dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push dword [ebp - 0x2c]
push eax
call esi
test eax, eax
jne 0x4aa576
push 0x3e8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp + 0xc]
push dword [ebp - 0x30]
mov ecx, ebx
push dword [ebp + 0x10]
push esi
push edi
call fcn.004aba30
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c1fe9
mov esp, ebp
pop ebp
ret 0x10
cmp edi, 0x2466
jne 0x4aa579
mov eax, dword [0x543020]
test eax, eax
jne 0x4aa5cf
push 0x543eb0
push 0x2c
call fcn.004c203f
add esp, 8
test eax, eax
je 0x4aa5c8
mov ecx, eax
call fcn.00485670
jmp 0x4aa5ca
xor eax, eax
mov dword [0x543020], eax
push str.HandleMessage_WM_LOGOUT
push str.UserInfoWnd
push eax
call fcn.00486af0
mov eax, dword [ebx + 0x60]
add esp, 0xc
cmp dword [eax - 0xc], 0
je 0x4aa579
push 0x50f7a0
push eax
mov ecx, ebx
call fcn.004ae260
jmp 0x4aa579