joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c680
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov ecx, 0x4d1010
push 0x40
sub ecx, eax
pop esi
movsx edx, byte [ecx + eax]
mov edi, dword [ebp + 8]
mov dl, byte [edx + edi - 1]
mov byte [eax], dl
inc eax
dec esi
jne 0x41c692
pop edi
pop esi
pop ebp
ret 8

Function at 0x41c6a9
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov ecx, 0x4d1050
push 0x30
sub ecx, eax
pop esi
movsx edx, byte [ecx + eax]
mov edi, dword [ebp + 8]
mov dl, byte [edx + edi - 1]
mov byte [eax], dl
inc eax
dec esi
jne 0x41c6bb
pop edi
pop esi
pop ebp
ret 8

Function at 0x41c6fd
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push edi
mov ecx, 0x4d1280
push 0x20
sub ecx, eax
pop esi
movsx edx, byte [ecx + eax]
mov edi, dword [ebp + 8]
mov dl, byte [edx + edi - 1]
mov byte [eax], dl
inc eax
dec esi
jne 0x41c70f
pop edi
pop esi
pop ebp
ret 8

Function at 0x41c8c5
Capabilities:
Check internet connectivity via wininet

Disassembly:
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCheckConnectionW]
push 0
push 1
push str.http:__www.qq.com
call esi
test eax, eax
jne 0x41c8e5
push eax
push 1
push str.http:__www.163.com
call esi
pop esi
ret

Function at 0x41d2c0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x502ae0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push 0x40
xor ebx, ebx
lea eax, [esi + 0x600]
push ebx
push eax
call fcn.0044d1b0
push 0x40
lea eax, [esi + 0x640]
push ebx
push eax
call fcn.0044d1b0
push 8
lea eax, [esi + 0x680]
push ebx
push eax
call fcn.0044d1b0
push 8
lea eax, [esi + 0x688]
push ebx
push eax
call fcn.0044d1b0
push 0x41
lea eax, [esi + 0x690]
push ebx
push eax
call fcn.0044d1b0
push 0x11
lea eax, [esi + 0x6d1]
push ebx
push eax
call fcn.0044d1b0
add esp, 0x48
push 9
lea eax, [esi + 0x6e2]
push ebx
push eax
call fcn.0044d1b0
mov edi, 0x1000
push edi
lea eax, [esi + 0x6eb]
push ebx
push eax
call fcn.0044d1b0
push edi
lea eax, [esi + 0x16eb]
push ebx
push eax
call fcn.0044d1b0
push 0x3f
lea eax, [ebp - 0x7b]
push ebx
push eax
mov byte [ebp - 0x7c], bl
call fcn.0044d1b0
add esp, 0x30
push 0x40
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0041c726
push 0x37
lea eax, [ebp - 0x3b]
push ebx
push eax
mov byte [ebp - 0x3c], bl
call fcn.0044d1b0
add esp, 0xc
movsx eax, byte [ebx + 0x4d0f98]
mov al, byte [ebp + eax - 0x7d]
mov byte [ebp + ebx - 0x3c], al
inc ebx
cmp ebx, 0x38
jl 0x41d398
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.0041c4f8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d74d
leave
ret 8
Function at 0x41dd71
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x502ae0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push 0x2f
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xf3]
push ebx
push eax
mov dword [ebp - 0x100], ecx
mov byte [ebp - 0xf4], bl
call fcn.0044d1b0
push 0x2f
lea eax, [ebp - 0x93]
push ebx
push eax
mov byte [ebp - 0x94], bl
call fcn.0044d1b0
push 7
xor eax, eax
pop ecx
mov byte [ebp - 0x24], bl
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x64], bl
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x2f
stosb byte es:[edi], al
lea eax, [ebp - 0xc3]
push ebx
push eax
mov byte [ebp - 0xc4], bl
call fcn.0044d1b0
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x44], bl
shl esi, 4
add esi, dword [ebp - 0x104]
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
imul esi, esi, 0x30
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp - 0x100]
push 0x30
add esi, edi
lea eax, [ebp - 0xc4]
push esi
push eax
call fcn.0044cad0
add esp, 0x30
lea eax, [ebp - 0xf4]
push eax
push dword [ebp - 0xf8]
mov ecx, edi
call fcn.0041c6a9
xor eax, eax
mov cl, byte [ebp + eax - 0xc4]
xor cl, byte [ebp + eax - 0xf4]
inc eax
mov byte [ebp + eax - 0x95], cl
cmp eax, 0x30
jb 0x41de58
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x94]
push eax
mov ecx, edi
call fcn.0041d3cc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.0041c6fd
mov esi, dword [ebp - 0xfc]
lea eax, [ebp - 0x24]
sub esi, eax
lea eax, [ebp + ebx - 0x24]
mov cl, byte [esi + eax]
xor cl, byte [eax]
inc ebx
mov byte [ebp + ebx - 0x65], cl
cmp ebx, 0x20
jb 0x41de9f
push 0x20
push dword [ebp - 0xf8]
push dword [ebp - 0xfc]
call fcn.0044cad0
push 0x20
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0xf8]
call fcn.0044cad0
mov ecx, dword [ebp - 4]
add esp, 0x18
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d74d
leave
ret 0x10

Function at 0x41dfd8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x10]
push esi
lea edx, [ebp - 4]
push edx
mov edx, dword [ecx + 4]
or edx, 0xf003f
push edx
xor esi, esi
push esi
push eax
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41e011
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040f083
mov eax, esi
pop esi
leave
ret 4
push edi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
pop edi
jne 0x41dfff
xor esi, esi
inc esi
jmp 0x41dfff
Function at 0x41e037
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 4
pop eax
lea edx, [ebp - 4]
push edx
mov edx, dword [ecx + 4]
or edx, 0x20019
push edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, dword [ecx + 0x10]
push 0
push eax
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41e07d
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040f083
mov eax, esi
pop esi
leave
ret 8
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41e0a1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 8]
jmp 0x41e06b

Function at 0x41e0af
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x502ae0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x3f
lea eax, [ebp - 0x103]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x104], bl
call fcn.0044d1b0
push 0x3f
lea eax, [ebp - 0x83]
push ebx
push eax
mov byte [ebp - 0x84], bl
call fcn.0044d1b0
push 7
xor eax, eax
pop ecx
mov byte [ebp - 0x24], bl
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x44], bl
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x3f
stosb byte es:[edi], al
lea eax, [ebp - 0xc3]
push ebx
push eax
mov byte [ebp - 0xc4], bl
call fcn.0044d1b0
add esp, 0x24
push 0x40
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0041c726
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.0041c680
push 0x20
pop edi
push edi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044cad0
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0044cad0
add esp, 0x18
mov dword [ebp - 0x108], ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push dword [ebp - 0x108]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041dd71
inc dword [ebp - 0x108]
cmp dword [ebp - 0x108], 0x10
jl 0x41e17e
push edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0044cad0
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0044cad0
add esp, 0x18
lea eax, [esi + 0x600]
movsx ecx, byte [ebx + 0x4d12a0]
mov cl, byte [ebp + ecx - 0xc5]
mov byte [eax + ebx], cl
inc ebx
cmp ebx, 0x40
jl 0x41e1d0
push 0x40
push eax
lea eax, [esi + 0x680]
push eax
mov ecx, esi
call fcn.0041c759
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d74d
leave
ret 8
Function at 0x41e209
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x502ae0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x3f
lea eax, [ebp - 0x103]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x104], bl
call fcn.0044d1b0
push 0x3f
lea eax, [ebp - 0x83]
push ebx
push eax
mov byte [ebp - 0x84], bl
call fcn.0044d1b0
push 7
xor eax, eax
pop ecx
mov byte [ebp - 0x44], bl
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x24], bl
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x3f
stosb byte es:[edi], al
lea eax, [ebp - 0xc3]
push ebx
push eax
mov byte [ebp - 0xc4], bl
call fcn.0044d1b0
add esp, 0x24
push 0x40
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0041c726
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
mov ecx, esi
call fcn.0041c680
push 0x20
pop edi
push edi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044cad0
push edi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0044cad0
add esp, 0x18
mov dword [ebp - 0x108], ebx
push dword [ebp + 0xc]
mov ecx, esi
push 0xf
pop eax
sub eax, dword [ebp - 0x108]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041dd71
inc dword [ebp - 0x108]
cmp dword [ebp - 0x108], 0x10
jl 0x41e2d8
push edi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0044cad0
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0044cad0
add esp, 0x18
lea eax, [esi + 0x640]
movsx ecx, byte [ebx + 0x4d12a0]
mov cl, byte [ebp + ecx - 0xc5]
mov byte [eax + ebx], cl
inc ebx
cmp ebx, 0x40
jl 0x41e32e
push 0x40
push eax
lea eax, [esi + 0x688]
push eax
mov ecx, esi
call fcn.0041c759
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d74d
leave
ret 8
Function at 0x41e663
Capabilities:
Create process on windows

Disassembly:
push 0x58
mov eax, 0x4c76e8
call fcn.0044d75c
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x60]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0044d1b0
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 5
pop eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp + 8]
xor edi, edi
add eax, 0xfffffff0
inc edi
push eax
mov dword [ebp - 0x38], edi
call fcn.0040f61d
lea esi, [eax + 0x10]
pop ecx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
cmp dword [esi - 4], edi
jle 0x41e6d6
push dword [esi - 0xc]
lea ecx, [ebp - 0x10]
call fcn.0040fd98
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push ebx
push ebx
push edi
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41e70f
xor edi, edi
lea ecx, [esi - 0x10]
call fcn.0040f083
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040f083
mov eax, edi
call fcn.0044d834
ret
push dword [ebp - 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x1c]
call ebx
jmp 0x41e6f4

Function at 0x41f16b
Capabilities:
Get file version info

Disassembly:
push 0x224
mov eax, 0x4c789e
call fcn.0044d7c5
mov ebx, dword [ebp + 8]
xor esi, esi
push 0x502868
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x22c], esi
call fcn.0040fd3c
mov dword [ebp - 4], esi
lea eax, [ebp - 0x218]
cmp ebx, esi
jne 0x41f1b1
push 0x208
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x41f1b9
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x224], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x230], eax
cmp eax, esi
je 0x41f294
push eax
push 2
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x220], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
cmp ebx, esi
je 0x41f294
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
push dword [ebp - 0x230]
mov dword [ebp - 0x22c], eax
push dword [ebp - 0x224]
lea eax, [ebp - 0x218]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x4d159c
push dword [ebp - 0x22c]
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 0x228], esi
je 0x41f294
mov eax, dword [ebp - 0x220]
cmp eax, esi
je 0x41f294
mov cx, word [eax + 0x12]
mov dx, word [eax + 0x10]
mov si, word [eax + 0x16]
movzx eax, word [eax + 0x14]
push eax
movzx eax, si
push eax
movzx eax, dx
push eax
movzx eax, cx
push eax
lea eax, [ebp - 0x21c]
push 0x4d1584
push eax
call fcn.0041182d
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [ebp - 0x21c]
add esi, 0xfffffff0
push esi
call fcn.0040f61d
add eax, 0x10
pop ecx
mov ecx, esi
mov dword [edi], eax
call fcn.0040f083
mov eax, edi
call fcn.0044d848
ret
Function at 0x41f3b7
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.0044db00
mov eax, dword [0x502ae0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x2d10], ecx
call fcn.0040fc8e
xor edi, edi
xor esi, esi
push esi
lea eax, [ebp - 0x204]
push 0x4d15a0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push edi
push edi
push 3
push edi
push 3
push edi
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41f41d
inc esi
cmp esi, 4
jl 0x41f3e0
jmp 0x41f4ba
mov esi, 0x2710
push esi
lea eax, [ebp - 0x2cfc]
push edi
push eax
mov dword [ebp - 0x2d0c], edi
call fcn.0044d1b0
push 0xc
lea eax, [ebp - 0x2d08]
push edi
push eax
call fcn.0044d1b0
push esi
lea eax, [ebp - 0x2cfc]
push edi
push eax
mov dword [ebp - 0x2d08], edi
mov dword [ebp - 0x2d04], edi
call fcn.0044d1b0
add esp, 0x24
push edi
lea eax, [ebp - 0x2d0c]
push eax
push esi
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41f4ba
mov eax, dword [ebp - 0x2ce4]
push 1
lea esi, [ebp - 0x5ec]
lea ecx, [ebp - 0x2cfc]
call fcn.0041c3af
pop ecx
mov ecx, dword [ebp - 0x2d10]
mov eax, esi
push eax
call fcn.004111f9
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d74d
leave
ret

Function at 0x41f58d
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push 8
mov eax, 0x4c78f9
call fcn.0044d75c
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41f5bc
test al, 1
je 0x41f5bc
and eax, 0xfffffffe
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x41f674
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x41f5e7
mov dword [ebp - 0x10], 1
jmp 0x41f674
mov ecx, dword [ebp + 8]
call fcn.0041c9bf
push 0x502868
lea ecx, [ebp - 0x14]
call fcn.0040fd3c
push 0
mov byte [ebp - 4], 1
call fcn.0044f44b
mov edi, eax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
pop ecx
mov ebx, edx
jle 0x41f623
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.0040fd98
mov eax, dword [ebp + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
lea eax, [ebp - 0x14]
push edx
push ebx
push edi
push esi
push str._s.bak_I64d_03d
push eax
call fcn.0041182d
mov esi, dword [ebp - 0x14]
add esp, 0x18
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x41f66c
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], 1
lea ecx, [esi - 0x10]
call fcn.0040f083
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040f083
mov eax, dword [ebp - 0x10]
call fcn.0044d834
ret
Function at 0x4202ac
Capabilities:
Check if file exists
Create directory

Disassembly:
push 8
mov eax, 0x4c7c93
call fcn.0044d75c
mov ebx, ecx
push dword [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
and dword [ebp - 4], 0
call esi
test eax, eax
jne 0x420373
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
mov edi, esp
push eax
call fcn.0040f61d
add eax, 0x10
pop ecx
mov dword [edi], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.004184bd
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
call esi
test eax, eax
jne 0x420344
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
call fcn.0040f61d
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.004202ac
test eax, eax
jne 0x420344
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040f083
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040f083
xor eax, eax
call fcn.0044d834
ret 4
xor esi, esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42036e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040f083
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040f083
mov eax, esi
jmp 0x42033c
xor esi, esi
inc esi
jmp 0x420354
xor esi, esi
jmp 0x42035f

Function at 0x420377
Capabilities:
Get common file path

Disassembly:
push 0x210
mov eax, 0x4c7cb6
call fcn.0044d7c5
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x218]
push ecx
push eax
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, esi
test eax, eax
je 0x4203b5
lea eax, [ebp - 0x218]
push eax
jmp 0x4203ba
push 0x4d02f4
call fcn.0041217e
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040f083
mov eax, esi
call fcn.0044d848
ret 8
Function at 0x4203d4
Capabilities:
Check if file exists

Disassembly:
push 0x48
mov eax, 0x4c7d47
call fcn.0044d75c
mov esi, dword [ebp + 8]
xor edi, edi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
call fcn.00410878
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x1c], esp
inc ebx
push str.pcmaster.exe
mov dword [ebp - 4], ebx
call fcn.0041217e
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00420283
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00418668
push dword [esi]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4205c5
lea ecx, [ebp - 0x3c]
call fcn.00410878
push str.SoftwareRuanMeiPCMaster
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0041217e
mov byte [ebp - 4], 4
call fcn.0040f2b8
test eax, eax
je 0x420477
mov ebx, str.SoftwareWow6432NodeRuanMeiPCMaster
push ebx
call fcn.0044c78e
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.00410ebd
mov eax, dword [ebp - 0x10]
push edi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov edi, esp
push eax
call fcn.0040f61d
pop ecx
add eax, 0x10
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x3c]
mov dword [edi], eax
call fcn.004120da
test eax, eax
je 0x4205a7
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
mov edi, 0x4d02f4
push edi
call fcn.0041217e
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Install_Dir
mov byte [ebp - 4], 5
call fcn.0041217e
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00412518
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004115eb
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.0040f083
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x4205a7
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push edi
call fcn.0041217e
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4d1640
mov byte [ebp - 4], 7
call fcn.0041217e
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00412518
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 8
jne 0x420547
mov ecx, esi
call fcn.0040fc8e
jmp 0x42059c
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov edi, esp
push eax
call fcn.0040f61d
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi]
sub eax, 0x10
mov dword [ebp - 0x24], esp
mov edi, esp
push eax
mov byte [ebp - 4], 9
call fcn.0040f61d
add eax, 0x10
mov dword [edi], eax
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
call fcn.00418668
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.004115eb
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040f083
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040f083
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040f083
lea ecx, [ebp - 0x3c]
call fcn.00410276
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0040f083
lea ecx, [ebp - 0x54]
call fcn.00410276
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.0040f083
mov eax, esi
call fcn.0044d834
ret
Function at 0x42196a
Capabilities:
Check if file exists

Disassembly:
push 0x28
mov eax, 0x4c8018
call fcn.0044d75c
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0041c8c5
test eax, eax
je 0x421a3e
lea ecx, [ebp - 0x34]
call fcn.00410878
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
call fcn.00420214
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421a20
push 0x502868
lea ecx, [ebp - 0x10]
call fcn.0040fd3c
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x4d1e4c
push eax
mov byte [ebp - 4], 2
call fcn.0041182d
add esp, 0xc
push str.__postdata
lea ecx, [ebp - 0x18]
call fcn.0041217e
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
mov byte [ebp - 4], 3
call fcn.0041ef94
add esp, 0xc
call fcn.0041e663
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040f083
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040f083
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040f083
lea ecx, [ebp - 0x34]
call fcn.00410276
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040f083
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
call fcn.0044d834
ret