joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d5d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f268
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x493224]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x40d610
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40d61c
mov al, 1
jmp 0x40d7bf
mov dword [ebp - 0x10], 8
call fcn.00409990
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00409990
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00409940
add esp, 8
movzx eax, al
test eax, eax
je 0x40d65f
xor al, al
jmp 0x40d7bf
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.0040d0e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00401b70
mov ecx, eax
call fcn.00402fb0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00404040
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401b70
mov ecx, eax
call fcn.00402fb0
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0040f250
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x40d6da
cmp dword [ebp - 0x6c], 1
je 0x40d6e1
cmp dword [ebp - 0x6c], 3
je 0x40d77b
jmp 0x40d793
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00401b70
mov ecx, eax
call fcn.00402fb0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x40d744
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401b70
mov ecx, eax
call fcn.00402fb0
push eax
call fcn.0041bc0f
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x40d744
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403fd0
mov al, byte [ebp - 0x61]
jmp 0x40d7bf
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40d767
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403fd0
mov al, byte [ebp - 0x62]
jmp 0x40d7bf
cmp dword [ebp - 0x38], 0
jne 0x40d779
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00407e70
jmp 0x40d7ab
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403fd0
mov al, byte [ebp - 0x63]
jmp 0x40d7bf
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403fd0
mov al, byte [ebp - 0x64]
jmp 0x40d7bf
jmp 0x40d672
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004195fb
mov esp, ebp
pop ebp
ret
Function at 0x413fd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x413fe0
xor eax, eax
jmp 0x41417d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x41413e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x433f10]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x433f10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x433f10]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x433f10]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x433f10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x433f10]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x433f10]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x433f10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x413fe9
cmp dword [ebp + 0x10], 0
je 0x414177
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x433f10]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x414144
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x414180
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x433f10]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x433f10]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x415140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x41518f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x415185
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x4151e9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x4151af
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041c530
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x416b50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x416b6a
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x416b74
mov eax, 0x1000000
jmp 0x416c4e
mov edx, dword [ebp - 0x18]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0x244
push eax
call fcn.0041b10d
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x416bd2
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x416bd2
push 0x4343a8
mov edx, dword [ebp - 0x18]
add edx, 0x244
push edx
call fcn.0041ca28
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x416c06
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x10], eax
xor ecx, ecx
cmp dword [ebp - 0x10], 0xffffffff
setne cl
mov byte [ebp - 0x11], cl
movzx edx, byte [ebp - 0x11]
test edx, edx
jne 0x416c06
mov eax, 0x2000000
jmp 0x416c4e
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00414e20
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x416c2c
mov eax, dword [ebp - 0xc]
jmp 0x416c4e
mov ecx, dword [ebp - 4]
push ecx
call fcn.004155d0
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x416c4c
mov eax, 0x200
jmp 0x416c4e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x417700
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x493224]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
je 0x417734
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x417734
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x417743
jmp 0x41784e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
movzx ecx, word [eax]
test ecx, ecx
je 0x417795
mov edx, dword [ebp - 0x218]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x41777b
mov ecx, dword [ebp - 0x218]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x417784
mov eax, dword [ebp - 0x218]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x218]
add ecx, 2
mov dword [ebp - 0x218], ecx
jmp 0x417752
mov edx, dword [ebp - 4]
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x4177f8
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.0041c530
add esp, 0xc
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
xor edx, edx
mov word [ebp + ecx*2 - 0x420], dx
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417700
add esp, 8
mov edx, dword [ebp - 0x214]
add edx, 2
mov dword [ebp - 0x214], edx
xor eax, eax
mov word [ebp - 0x210], ax
cmp dword [ebp + 8], 0
je 0x41781a
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0041ca56
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.0041ca28
add esp, 8
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41784e
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004195fb
mov esp, ebp
pop ebp
ret
Function at 0x4195fb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x493224]
jne 0x419605
repz ret
jmp fcn.0042144f

Function at 0x428ba7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00420e5e
and dword [ebp - 4], 0
cmp dword [0x4956c0], 0
mov ebx, eax
jne 0x428c58
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x428d09
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x428d09
push eax
call fcn.00420dec
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4956c0], eax
call esi
push eax
call fcn.00420dec
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4956c4], eax
call esi
push eax
call fcn.00420dec
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4956c8], eax
call esi
push eax
call fcn.00420dec
pop ecx
mov dword [0x4956d0], eax
test eax, eax
je 0x428c58
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00420dec
pop ecx
mov dword [0x4956cc], eax
mov eax, dword [0x4956cc]
cmp eax, ebx
je 0x428cb0
cmp dword [0x4956d0], ebx
je 0x428cb0
push eax
call fcn.00420e67
push dword [0x4956d0]
mov esi, eax
call fcn.00420e67
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x428cb0
test edi, edi
je 0x428cb0
call esi
test eax, eax
je 0x428ca7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x428ca7
test byte [ebp - 0xc], 1
jne 0x428cb0
or dword [ebp + 0x10], 0x200000
jmp 0x428ce9
mov eax, dword [0x4956c4]
cmp eax, ebx
je 0x428ce9
push eax
call fcn.00420e67
pop ecx
test eax, eax
je 0x428ce9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x428ce9
mov eax, dword [0x4956c8]
cmp eax, ebx
je 0x428ce9
push eax
call fcn.00420e67
pop ecx
test eax, eax
je 0x428ce9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4956c0]
call fcn.00420e67
pop ecx
test eax, eax
je 0x428d09
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x428d0b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4025bb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x4025c3
mov dword [ecx*4 + 0x49eea0], eax
inc ecx
cmp ecx, 0x100
jb 0x4025be
mov edx, 0x800
jmp 0x402610
mov eax, dword [ecx*4 + 0x49eaa0]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x49eea0]
inc ecx
mov dword [ecx*4 + 0x49ee9c], eax
cmp ecx, edx
jb 0x4025ef
mov dword [0x49d3b8], 0x402633
call fcn.004149b9
test eax, eax
jne 0x402631
mov dword [0x49d3b8], 0x4026cf
pop esi
ret

Function at 0x402f51
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [esi]
test edi, edi
je 0x402f99
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x402f6a
mov eax, edi
and dword [ebp - 4], 0
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
add dword [ebp + 0xc], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x402f9e
test ecx, ecx
je 0x402f99
test edi, edi
ja 0x402f5f
xor eax, eax
pop edi
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x402f9b

Function at 0x407b2d
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x461e41
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x498d50]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
push str.DownloadFiles...
lea ecx, [esp + 0x1c]
call fcn.00402060
xor esi, esi
push esi
lea eax, [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x34], esi
call fcn.00411fb7
or dword [esp + 0x34], 0xffffffff
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [ebx + 0xc0], esi
je 0x407b9c
xor eax, eax
jmp 0x407bdd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x5c4]
push eax
call fcn.004170f0
mov edi, eax
call esi
sub eax, dword [esp + 0x18]
lea ecx, [esp + 0x17]
dec eax
push ecx
push eax
mov eax, str.Download_Update_Time
mov byte [esp + 0x1f], 0
call fcn.0040922c
test edi, edi
je 0x407bdb
call fcn.004191da
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4086a3
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x45f3ce
call fcn.0044806b
call fcn.00434892
push eax
lea ecx, [ebp - 0x10]
call fcn.0040210b
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 0x10]
lea edi, [ebp - 0x10]
call fcn.0042f38e
pop ecx
lea ecx, [ebp + 0x10]
test eax, eax
jne 0x408720
push str.Failed_to_create_launcher_path
call fcn.00402060
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push ecx
push 0x1b2c4
add edx, 0x838
mov ecx, eax
call fcn.00410436
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
push 0xd
pop eax
jmp 0x408839
push str.Launcher_path:
call fcn.00402060
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x10]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.00411b31
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edi, dword [ebp - 0x10]
push 5
push ebx
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, 0x271c8
mov dword [ebp + 0xc], eax
cmp dword [0x49dcc8], esi
je 0x4087c3
cmp eax, 0x21
jl 0x4087c3
mov eax, dword [ebp + 8]
push str.ShellExecute_succeded.
lea ecx, [ebp + 8]
mov dword [eax + 0xbc], 1
call fcn.00402060
push ebx
lea eax, [ebp + 8]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.00411fb7
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [edi - 0x10]
call fcn.0040253e
xor eax, eax
jmp 0x408839
push str.ShellExecute_failed
lea ecx, [ebp + 0x10]
call fcn.00402060
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push ecx
push esi
add edx, 0x838
mov ecx, eax
call fcn.00410436
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [ebp + 0xc], 5
jne 0x40882e
push str.ShellExecute_failed_with_SE_ERR_ACCESSDENIED
lea ecx, [ebp + 8]
call fcn.00402060
push ebx
lea eax, [ebp + 8]
push eax
push 1
mov byte [ebp - 4], 4
call fcn.00411fb7
mov ecx, dword [ebp + 8]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [edi - 0x10]
call fcn.0040253e
mov eax, dword [ebp + 0xc]
call fcn.00448143
ret 0xc
Function at 0x409941
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xc
mov eax, 0x45d56c
call fcn.0044806b
mov esi, ecx
lea eax, [esi + 0x5fc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402060
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ebx
je 0x409a55
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x409a55
cmp dword [esi + 0x588], ebx
jne 0x4099c9
push str.Report_is_not_enabled_in_Session
lea ecx, [ebp - 0x18]
call fcn.00402060
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.00411fb7
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov esi, 0x30d0e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, esi
jmp 0x409a8e
lea edi, [esi + 0x5f8]
push 0x468f88
push str.Reported
lea esi, [ebp - 0xd]
mov ecx, edi
mov byte [ebp - 0xd], bl
call fcn.00412699
cmp byte [ebp - 0xd], bl
je 0x409a1b
push str.already_reported
lea ecx, [ebp - 0x18]
call fcn.00402060
mov byte [ebp - 4], 3
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
call fcn.00411fb7
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
push 0x15
pop esi
jmp 0x4099b7
push ebx
push str.SessionApplication
lea esi, [ebp - 0xd]
mov ecx, edi
mov byte [ebp - 0xd], bl
call fcn.00412699
cmp byte [ebp - 0xd], bl
jne 0x409a46
push str.Product_info_missing__cannot_report_data
lea ecx, [ebp - 0x18]
call fcn.00402060
mov byte [ebp - 4], 4
jmp 0x4099fc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
jmp 0x409a8e
push str.No_Report_file
lea ecx, [ebp - 0x18]
call fcn.00402060
push ebx
lea eax, [ebp - 0x18]
push eax
push 2
mov byte [ebp - 4], 1
call fcn.00411fb7
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
push 2
pop eax
call fcn.00448143
ret
Function at 0x40f555
Capabilities:
Create bits job

Disassembly:
push 4
mov eax, 0x45f140
call fcn.0044806b
mov esi, dword [ebp + 8]
lea ebx, [esi + 8]
mov ecx, ebx
call fcn.0040203f
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], vtable.CProxy.0
call fcn.0040203f
lea ecx, [esi + 0x34]
call fcn.0040203f
mov dword [esi + 0x2c], 1
push 0x10
mov byte [ebp - 4], 1
lea eax, [esi + 0x18]
push edi
push eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.004462a0
add esp, 0xc
push dword [ebp + 0xc]
mov ecx, ebx
mov dword [esi + 0xc], edi
mov dword [esi + 0x38], 4
call fcn.004020d4
push 2
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, 0x272f4
mov dword [esi + 0xc], eax
cmp dword [0x49dcc8], ebx
je 0x40f690
cmp eax, edi
jl 0x40f690
push edi
push edi
push edi
push 3
push 2
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, edi
mov dword [esi + 0xc], eax
jge 0x40f624
cmp eax, 0x80010119
je 0x40f624
push str.Failed_to_connect_to_BITS__CoInitializeSecurity_
lea ecx, [ebp + 0xc]
call fcn.00402060
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 4
push 0x27358
jmp 0x40f670
push esi
push 0x46d26c
push 4
push edi
push 0x46d25c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, 0x222e0
mov dword [esi + 0xc], eax
cmp dword [0x49dcc8], ebx
je 0x40f64c
cmp eax, edi
jge 0x40f6be
mov eax, dword [esi]
cmp eax, edi
je 0x40f65a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], edi
push str.Failed_to_connect_to_BITS
lea ecx, [ebp + 0xc]
call fcn.00402060
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 3
push ebx
mov ecx, dword [esi + 0xc]
mov edx, 0x49dcc0
call fcn.00410436
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040253e
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x40f6be
push 0x46c5b0
lea ecx, [ebp + 0xc]
call fcn.00402060
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xc]
push ebx
mov edx, 0x49dcc0
call fcn.00410436
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, esi
call fcn.00448143
ret 8

Function at 0x410b5c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x410ba7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x410b8f
push 0xd
pop esi
cmp esi, 0xe8
jne 0x410bb4
push 0xa
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jl 0x410b64
jmp 0x410bb4
mov esi, dword [ebp - 4]
sub esi, 4
neg esi
sbb esi, esi
and esi, 0xd
pop edi
mov eax, esi
pop esi
leave
ret