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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5066dd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x556754]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00413330
add esp, 4
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
call fcn.00418950
mov ecx, eax
call fcn.00418920
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x3c]
sub eax, 0x10
push eax
call fcn.0040f630
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x18]
or edi, 0xffffffff
mov byte [ebp - 4], 2
cmp dword [eax - 0xc], 0
jne 0x40f82e
xor ebx, ebx
jmp 0x40f8e1
push str.Utils7z.dll
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040d650
push str.Utils7z.dll
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040d650
add esp, 0x18
push dword [ebp - 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 4
call ebx
test eax, eax
je 0x40f8a3
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 0x10]
call ebx
push str.http:__s.ludashi.com_wan_typetypeactionactionpidpidmidmidmid2mid2
push 0
push 1
push 0
test eax, eax
jne 0x40f955
push str.7z_copy_fail
call fcn.00404d20
mov ecx, eax
call fcn.004392a0
xor ebx, ebx
mov edx, dword [ebp - 0x10]
mov eax, edi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f8c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, edi
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40f8e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40f8fc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x40f922
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x40f922
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x40f922
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x40f941
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.7z_copy_success
call fcn.00404d20
mov ecx, eax
call fcn.004392a0
mov ebx, 1
jmp 0x40f8a5
Function at 0x418d40
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50786c
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x556754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov ecx, dword [edi + 0xc]
mov ebx, dword [ebp + 8]
test ecx, ecx
je 0x418d7f
call fcn.004c2bb0
push 0x3c
call fcn.004b58fc
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x418dc5
xorps xmm0, xmm0
lea ecx, [esi + 0xc]
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj2_class_CCommandLine_.0
call fcn.004c2130
jmp 0x418dc7
xor esi, esi
lea eax, [esi + 0xc]
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov edi, dword [edi + 0x10]
mov dword [eax + 0x10], esi
test edi, edi
je 0x418e02
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x418e02
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x418e02
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test ebx, ebx
jne 0x418e0e
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, eax
mov ecx, ebx
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418e30
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040c140
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
call fcn.004c2850
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x418e95
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418e8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418eb3
push edx
push ecx
call fcn.004b592c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5d96
mov esp, ebp
pop ebp
ret 4
call fcn.004d899e
int3
Function at 0x423dd0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004b5db0
mov eax, dword [0x556754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x423e00
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b5d96
mov esp, ebp
pop ebp
ret
push 0x2000
lea eax, [ebp - 0x2004]
mov dword [ebp - 0x2024], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2018], 0
push 0
push eax
movlpd qword [ebp - 0x2012], xmm0
mov dword [ebp - 0x200a], 0
mov dword [ebp - 0x2020], 3
call fcn.004d5900
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.004df935
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004b5d96
mov esp, ebp
pop ebp
ret
Function at 0x424980
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508af0
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.004b5db0
mov eax, dword [0x556754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x2014], eax
mov eax, dword [ebp + 0x10]
push 0x2000
mov dword [ebp - 0x201c], eax
lea eax, [ebp - 0x2010]
push 0
push eax
call fcn.004d5900
add esp, 0xc
lea eax, [ebp - 0x2020]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x424afd
cmp eax, 0x1fff
ja 0x424afd
lea ecx, [ebp - 0x2010]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x424afd
lea eax, [ebp - 0x2024]
push eax
lea eax, [ebp - 0x2018]
push eax
push 0x517fb8
lea eax, [ebp - 0x2010]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x424afd
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp - 0x2018]
je 0x424a53
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0xc]
jmp 0x424a59
mov ebx, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov eax, dword [ebp - 0x2014]
test eax, eax
je 0x424a65
mov dword [eax], ebx
mov eax, dword [ebp - 0x201c]
test eax, eax
je 0x424a71
mov dword [eax], edi
test esi, esi
je 0x424af6
lea ecx, [ebp - 0x2014]
call fcn.00423700
movzx eax, di
push eax
shr edi, 0x10
push edi
movzx eax, bx
push eax
shr ebx, 0x10
lea eax, [ebp - 0x2014]
push ebx
push str._d._d._d._d
push eax
mov dword [ebp - 4], 0
call fcn.00409580
mov edx, dword [ebp - 0x2014]
add esp, 0x18
mov ecx, 0x104
sub edx, esi
nop dword [eax]
lea eax, [ecx + 0x7ffffefa]
test eax, eax
je 0x424ade
movzx eax, word [edx + esi]
test ax, ax
je 0x424ade
mov word [esi], ax
add esi, 2
sub ecx, 1
jne 0x424ac0
test ecx, ecx
lea eax, [esi - 2]
cmovne eax, esi
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x2014]
call fcn.00408570
mov eax, 1
jmp 0x424aff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5d96
mov esp, ebp
pop ebp
ret
Function at 0x425490
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508c1b
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x556754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2e0]
push 0x2d0
push 0
push eax
call fcn.004d5900
mov esi, dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
lea eax, [ebp - 0x2e8]
add esp, 0xc
mov dword [ebp - 0x2e8], 0x168
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0x515fc8
push str.http
push 1
push 0
call esi
xor ebx, ebx
test eax, eax
setns bl
test eax, eax
jns 0x425532
lea eax, [ebp - 0x2e8]
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0
push str.iexplore.exe
push 2
push 2
call esi
xor ebx, ebx
test eax, eax
setns bl
test ebx, ebx
je 0x42566c
call fcn.0040b050
mov ecx, eax
test ecx, ecx
je 0x42568a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2e4], eax
lea eax, [ebp - 0x2e0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x2e4]
call fcn.0040f500
test al, al
jne 0x4255a2
lea ecx, [ebp - 0x2e0]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425580
sub ecx, edx
lea eax, [ebp - 0x2e0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2e4]
call fcn.0040b860
mov esi, dword [ebp - 0x2e4]
mov dword [ebp - 4], 1
cmp dword [esi - 0xc], 0
jl 0x4255fc
push str..exe
push esi
call fcn.004d4ce8
add esp, 8
test eax, eax
je 0x4255fc
mov ecx, dword [esi - 0xc]
sub eax, esi
sar eax, 1
test eax, eax
jle 0x4255fc
sub ecx, eax
add eax, 4
add ecx, 4
push ecx
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00423cd0
push 1
push 0
lea ecx, [ebp - 0x2e4]
call fcn.00423cd0
mov esi, dword [ebp - 0x2e4]
push 1
push 0
push dword [edi]
push esi
push 0x515fc8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x425636
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42566c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42566c
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
push 1
push dword [edi]
push esi
call fcn.00427440
add esp, 0x20
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42566c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5d96
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404b30
int3
Function at 0x4256a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508c60
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x556754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x41c], eax
test ecx, ecx
je 0x425761
test edi, edi
je 0x425761
test eax, eax
je 0x425761
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004d5900
add esp, 0xc
mov dword [ebp - 0x418], 1
lea eax, [ebp - 0x414]
mov dword [ebp - 0x414], 0x400
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x41c]
push edi
push dword [ebp - 0x420]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x425761
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
call fcn.004076c0
jmp 0x4257b8
test ebx, ebx
mov edi, 0x515448
cmovne edi, ebx
call fcn.0040b050
mov ecx, eax
test ecx, ecx
je 0x4257d6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push edi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040f500
test al, al
jne 0x4257b8
test edi, edi
jne 0x42579b
xor ecx, ecx
jmp 0x4257af
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4257a0
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.0040b860
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5d96
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404b30
int3
Function at 0x426b60
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508e88
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x556754]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00437e80
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x426d28
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x50
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040bc80
movups xmm0, xmmword [str.D:workWeiDuanGameMicroGameBox_srcmicrogameboxutilsutils.cc]
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x14], 0x4f
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x517fe8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x517ff8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x518008]
movups xmmword [eax + 0x30], xmm0
mov byte [eax + 0x40], 0
mov dword [ebp - 0x28], eax
mov ax, word [0x515dac]
mov dword [ebp - 0x40], 0
mov word [ebp - 0x40], ax
mov al, byte [str._install]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 3
mov byte [ebp - 0x3e], al
mov byte [ebp - 0x3d], 0
mov byte [ebp - 4], 2
call fcn.00437e80
mov edi, eax
lea ecx, [ebp - 0xd8]
push 0x2e4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040d2d0
mov esi, eax
push 0x5182bc
push esi
mov byte [ebp - 4], 3
call fcn.00406fa0
mov ecx, dword [ebp + 8]
mov edx, 0x515a88
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.00406fa0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xd8]
call fcn.00408fe0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x426cd0
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x426cc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426d78
push edx
push ecx
call fcn.004b592c
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x426d16
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x426d0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x426d78
push edx
push ecx
call fcn.004b592c
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push dword [ebp + 8]
push reloc.gdiplus.dll_Ordinal_1
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426d58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5d96
mov esp, ebp
pop ebp
ret
call fcn.004d899e
int3
Function at 0x427440
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x547a88
push 0x4d5bd0
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x556754]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 4], 0
test esi, esi
je 0x4275a0
cmp word [esi], 0
je 0x4275a0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4274a0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x4275a0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4275a0
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004d5900
push esi
push 0x51810c
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.00427df0
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.004d5900
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], 0x515fc8
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x427567
cmp dword [ebp + 0x1c], 0
je 0x427567
push 0xffffffffffffffff
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x42757c
test esi, esi
je 0x42758c
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x42758c
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4275a9
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b5d96
mov esp, ebp
pop ebp
ret

Function at 0x4275d0
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4275fb
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
Function at 0x427a00
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x427a48
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427a48
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x427a38
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x427a48
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
Function at 0x428990
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
mov edx, 0x515448
test eax, eax
cmovne edx, eax
cmp dword [ebp + 8], 0
je 0x4289ed
cmp dword [ebp + 0xc], 0
je 0x4289ed
cmp dword [ebp + 0x10], 0
je 0x4289ed
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x14], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4289c0
sub ecx, dword [ebp + 0x14]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42a6c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50922d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x556754]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.004b58fc
add esp, 4
test eax, eax
je 0x42a702
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
jmp 0x42a704
xor eax, eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x42a660
push 0
push 0
call fcn.004e08ef
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x42a740
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [edi], 0
call fcn.004322c7
int3
Function at 0x42e440
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5099d5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x556754]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x558508
push 0x5584e4
push 0
push dword [ebp + 8]
call fcn.004d613f
mov edi, eax
add esp, 0x14
test edi, edi
je 0x42e5c4
mov ecx, dword [edi]
lea eax, [ebp - 0x14]
push 4
push eax
push 0x518894
push edi
mov dword [ebp - 0x14], 0
call dword [ecx + 0x30]
call fcn.0040b050
mov ecx, eax
test ecx, ecx
je 0x42e5d8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push 0x7c
push str.__user_agent_Mozilla_5.0__Windows_NT_6.2__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_49.0.2623.110_Safari_537.36_
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.0040f260
push 0x24
push str.___allow_universal_access_from_files
lea ecx, [ebp + 8]
call fcn.0040f260
push str.____cache_path
lea ecx, [ebp - 0x10]
call fcn.004076c0
push 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push str.MicroGame
push eax
call fcn.004bb230
push str.cef_cache_
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.0040d650
add esp, 0x18
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
push dword [eax - 0xc]
push eax
call fcn.0040f260
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e54c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e56a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp + 8]
push dword [eax - 0xc]
push eax
call fcn.0040f260
mov esi, dword [ebp + 8]
mov eax, dword [edi]
push 0
push esi
push str.special_command
push edi
call dword [eax + 0x30]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e5a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x42e5c4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404b30
int3