joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ad10
Capabilities:
Move file

Disassembly:
push 0x4c
mov eax, 0x62457a
call fcn.0050f5e6
mov esi, ecx
cmp dword [esi + 0x1c], 0xffffffff
je 0x41ad31
push dword [esi + 0x1c]
call fcn.00539572
or dword [esi + 0x1c], 0xffffffff
pop ecx
mov eax, dword [esi + 0x28]
mov ecx, esi
dec eax
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00419aa8
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005308ce
mov edi, dword [esi + 0x28]
sub edi, 2
pop ecx
js 0x41adb5
push edi
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00419aa8
lea eax, [edi + 1]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00419aa8
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x28]
call fcn.00402a10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00402a10
sub edi, 1
jns 0x41ad5f
mov ecx, esi
call fcn.0041ab13
lea ecx, [ebp - 0x58]
mov byte [esi + 0x5c], 0
call fcn.00402a10
call fcn.0050f590
ret

Function at 0x41adce
Capabilities:
Move file

Disassembly:
push 0x4c
mov eax, 0x62457a
call fcn.0050f5e6
mov esi, ecx
cmp dword [esi + 0x1c], 0xffffffff
je 0x41adef
push dword [esi + 0x1c]
call fcn.00539572
or dword [esi + 0x1c], 0xffffffff
pop ecx
mov eax, dword [esi + 0x28]
mov ecx, esi
dec eax
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00419aa8
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005308ce
mov edi, dword [esi + 0x28]
sub edi, 2
pop ecx
js 0x41ae73
push edi
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00419aa8
lea eax, [edi + 1]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00419aa8
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x28]
call fcn.00402a10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00402a10
sub edi, 1
jns 0x41ae1d
mov ecx, esi
call fcn.0041abaa
lea ecx, [ebp - 0x58]
mov byte [esi + 0x5c], 0
call fcn.00402a10
call fcn.0050f590
ret
Function at 0x41c2cd
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov esi, edi
push 2
pop ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, ebx
cmp ax, dx
jne 0x41c2e0
sub esi, ecx
xor ecx, ecx
sar esi, 1
lea eax, [esi + 1]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050f100
mov ebx, eax
sub eax, edi
pop ecx
movzx ecx, word [edi]
mov word [eax + edi], cx
lea edi, [edi + 2]
test cx, cx
jne 0x41c307
xor edi, edi
mov byte [ebp + 0xb], 1
test esi, esi
js 0x41c358
push 0x5c
pop eax
cmp word [ebx + edi*2], ax
jne 0x41c34d
xor eax, eax
push ebx
mov word [ebx + edi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41c346
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41c354
push 0x5c
pop eax
mov word [ebx + edi*2], ax
inc edi
cmp edi, esi
jle 0x41c323
jmp 0x41c358
mov byte [ebp + 0xb], 0
push ebx
call fcn.0050ea83
mov al, byte [ebp + 0xb]
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41c367
Capabilities:
Get disk information

Disassembly:
push 0x3c
mov eax, 0x624874
call fcn.0050f5e6
mov edi, dword [ebp + 8]
xor ebx, ebx
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test eax, eax
je 0x41c44e
movzx eax, word [eax]
lea ecx, [ebp - 0x40]
push eax
call fcn.0041c2a6
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x41c44e
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050f100
push esi
mov ebx, eax
push 0
push ebx
call fcn.005281f0
add esp, 0x10
push ebx
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x41c447
xor eax, eax
mov esi, ebx
mov word [ebp - 0x42], ax
movzx eax, word [ebx]
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 2
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0052d79d
add esp, 0xc
test eax, eax
je 0x41c43c
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x41c427
movzx eax, word [esi]
test ax, ax
je 0x41c447
jmp 0x41c405
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.0041c2a6
push ebx
call fcn.0050ea83
pop ecx
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00402ab0
lea ecx, [ebp - 0x40]
call fcn.00402a10
lea ecx, [ebp - 0x28]
call fcn.00402a10
mov eax, edi
call fcn.0050f590
ret
Function at 0x41c471
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6b9538]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
push 0x208
xor edi, edi
mov dword [ebp - 0x210], esi
push edi
push eax
call fcn.005281f0
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
add esp, 0xc
or ecx, 0x8000
cmp byte [ebp + 0x10], 0
cmove ecx, dword [ebp + 0xc]
push eax
push edi
push edi
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, esi
test eax, eax
je 0x41c4d1
push edi
jmp 0x41c4d8
lea eax, [ebp - 0x20c]
push eax
call fcn.00402af0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0050ea72
leave
ret

Function at 0x41cefe
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop ebp
ret 4

Function at 0x41d17f
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x6b9538]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d1ae
push 2
pop eax
jmp 0x41d233
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0041d037
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.005281f0
add esp, 0x14
mov dword [ebp - 0x58], edi
test ebx, ebx
mov dword [ebp - 0x48], esi
mov ecx, str.open
mov dword [ebp - 0x54], 0x40
mov eax, 0x62d838
cmove eax, ecx
cmp dword [ebp - 8], 8
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x20], 0
mov esi, eax
je 0x41d229
cmp dword [ebp + 0x10], 0
je 0x41d229
push dword [ebp + 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x1c]
call fcn.00402a10
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ea72
leave
ret
Function at 0x41e905
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push edi
je 0x41e9b5
cmp dword [ebp + 0xc], 0
je 0x41e9b5
push 0
push 0x80
push 3
push 0
push 5
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41e94a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41e9b8
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 8], edi
cmp edi, 0xffffffff
je 0x41e942
jb 0x41e966
push 8
pop eax
jmp 0x41e9b8
push esi
mov esi, eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41e972
mov dword [eax], edi
inc esi
push esi
call fcn.0050f100
mov ecx, dword [ebp + 0xc]
push esi
xor esi, esi
push esi
push eax
mov dword [ecx], eax
call fcn.005281f0
add esp, 0x10
mov dword [ebp + 8], esi
lea eax, [ebp + 8]
push esi
push eax
mov eax, dword [ebp + 0xc]
push edi
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x41e942
cmp dword [ebp + 8], edi
jne 0x41e9b5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41e9b8
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret

Function at 0x41e9bc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
push ebx
xor ebx, ebx
push edi
mov edi, ebx
cmp dword [eax + 0x10], ebx
je 0x41eacd
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x10], ebx
je 0x41eacc
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41e9eb
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
test eax, eax
je 0x41eacc
push 0x6c591c
push eax
call fcn.0050f327
mov dword [ebp - 4], eax
pop ecx
pop ecx
test eax, eax
je 0x41eacc
cmp dword [esi + 0x14], 0x10
jb 0x41ea20
mov esi, dword [esi]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
call sub.VERSION.dll_GetFileVersionInfoA
mov esi, dword [ebp - 4]
test eax, eax
je 0x41eaba
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41eaba
mov eax, dword [ebp - 0x10]
push 0x6c591c
push 0x80
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 8], ecx
call fcn.0050f327
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41eaba
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x41ea83
mov eax, dword [eax]
push eax
push dword [ebp - 8]
push str.StringFileInfo_08lx_s
push 0x80
push edi
call fcn.0041b296
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41eab8
push dword [ebp - 0x18]
mov ecx, dword [ebp + 0x10]
call fcn.00409750
mov bl, 1
push esi
call fcn.0050ea83
pop ecx
test edi, edi
je 0x41eacc
push edi
call fcn.0050ea83
pop ecx
pop esi
pop edi
mov al, bl
pop ebx
leave
ret
Function at 0x41eaeb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
test eax, eax
je 0x41eb4e
xor edi, edi
cmp word [eax], di
je 0x41eb4e
push edi
push 0x80
push 2
push edi
push edi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41eb24
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x41eb43
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x41eb51
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x41f5fa
Capabilities:
Check mutex on windows

Disassembly:
push 0x1c
mov eax, 0x624e30
call fcn.0050f5b2
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.004248db
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004248f4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0xc
call fcn.004248f0
push dword [ebp + 8]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
lea ecx, [ebp - 0x28]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
call fcn.004248eb
call fcn.0050f57b
ret 4
Function at 0x41fee0
Capabilities:
Get common file path
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30fc
call fcn.0050fa10
mov eax, dword [0x6b9538]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
mov edi, ecx
push ebx
push eax
call fcn.005281f0
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.005281f0
add esp, 0x18
lea eax, [ebp - 0x108]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str.._c:
push eax
call fcn.0041d01c
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41ff6f
mov al, 1
jmp 0x420078
push 0x2710
lea eax, [ebp - 0x30ec]
mov dword [ebp - 0x30fc], ebx
push ebx
push eax
call fcn.005281f0
push 0x3e8
lea eax, [ebp - 0x9dc]
push ebx
push eax
call fcn.005281f0
push 0x3e8
lea eax, [ebp - 0x5f4]
push ebx
push eax
call fcn.005281f0
add esp, 0x24
mov dword [ebp - 0x30f0], ebx
lea eax, [ebp - 0x30fc]
mov dword [ebp - 0x30f8], ebx
mov dword [ebp - 0x30f4], ebx
push ebx
push eax
push 0x2710
lea eax, [ebp - 0x30ec]
push eax
push 0xc
lea eax, [ebp - 0x30f8]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x41fff1
mov bl, 2
jmp 0x42006f
lea eax, [ebp - 0x5f4]
push eax
push ebx
push dword [ebp - 0x30dc]
lea eax, [ebp - 0x30ec]
push eax
call fcn.00420087
lea eax, [ebp - 0x9dc]
push eax
push 1
push dword [ebp - 0x30d4]
lea eax, [ebp - 0x30ec]
push eax
call fcn.00420087
lea ecx, [ebp - 0x5f4]
add esp, 0x20
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420032
sub ecx, edx
lea eax, [ebp - 0x5f4]
push ecx
push eax
push edi
call fcn.004253f9
lea ecx, [ebp - 0x9dc]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x420055
sub ecx, edx
lea eax, [ebp - 0x9dc]
push ecx
push eax
push edi
call fcn.004253f9
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ea72
leave
ret
Function at 0x420eb5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x6b9538]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x21c], esi
call fcn.005281f0
add esp, 0xc
mov ebx, 0x20019
lea eax, [ebp - 0x210]
push eax
push ebx
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x420f80
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x420f74
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
jne 0x420fa5
cmp edi, reloc.OLEAUT32.dll_SysReAllocString
jne 0x420fa5
cmp ebx, 0x20019
jne 0x420fa5
mov esi, dword [ebp - 0x21c]
mov ebx, 0x20119
jmp 0x420f0a
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call fcn.00402af0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0050ea72
leave
ret

Function at 0x42131e
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.0050fa10
mov eax, dword [0x6b9538]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, 0x1000
mov dword [ebp - 0x1218], eax
push esi
lea eax, [ebp - 0x1210]
push 0
push eax
call fcn.005281f0
and dword [ebp - 0x1214], 0
add esp, 0xc
xor eax, eax
xor ebx, ebx
mov word [ebp - 8], ax
lea eax, [ebp - 0x1214]
push eax
push esi
lea eax, [ebp - 0x1210]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4213f4
push edi
mov edi, dword [ebp - 0x1214]
xor esi, esi
shr edi, 2
test edi, edi
je 0x4213f3
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.005281f0
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp + esi*4 - 0x1210]
call fcn.00421404
add esp, 0x18
test eax, eax
je 0x4213e5
lea eax, [ebp - 0x210]
push eax
call fcn.0053aa32
push dword [ebp - 0x1218]
lea eax, [ebp - 0x210]
push eax
call fcn.005264cc
add esp, 0xc
test eax, eax
jne 0x4213ec
inc esi
cmp esi, edi
jb 0x42138e
jmp 0x4213f3
mov ebx, dword [ebp + esi*4 - 0x1210]
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ea72
leave
ret
Function at 0x421404
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test esi, esi
je 0x421431
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
pop ebp
ret

Function at 0x423437
Capabilities:
Check if file exists

Disassembly:
push 0x68
mov eax, 0x625328
call fcn.0050f5e6
mov esi, ecx
cmp dword [esi + 0x10], 0
ja 0x4234bc
lea eax, [ebp - 0x28]
push str.APPDATA_HTTP_CACHE_FOLDER
push eax
call fcn.00414d84
pop ecx
pop ecx
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x58]
push eax
call fcn.004064c0
mov ecx, eax
call fcn.00413ea2
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 1
jb 0x42347d
mov edi, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x423485
mov eax, dword [eax]
push edi
push eax
lea eax, [ebp - 0x40]
push 0x62bd4c
push eax
call fcn.0041b659
add esp, 0x10
mov ecx, esi
push eax
call fcn.00402a70
lea ecx, [ebp - 0x40]
call fcn.00402a10
lea ecx, [ebp - 0x58]
call fcn.00402a10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402a10
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4234c6
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4234e2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4234db
mov eax, dword [esi]
push eax
call fcn.0041c2cd
pop ecx
cmp dword [esi + 0x28], 0
ja 0x423519
push 0
sub esp, 0x18
mov eax, esp
push str.RESPONES_DW_CBC_KEY
push eax
call fcn.00414d6a
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
call fcn.0041bee3
add esp, 0x20
lea ecx, [esi + 0x18]
push eax
call fcn.004068a0
lea ecx, [ebp - 0x28]
call fcn.00406850
cmp dword [esi + 0x40], 0
ja 0x423550
push 0
sub esp, 0x18
mov eax, esp
push str.RESPONES_DW_CBC_CHAIN
push eax
call fcn.00414d6a
pop ecx
pop ecx
lea eax, [ebp - 0x70]
push eax
call fcn.0041bee3
add esp, 0x20
lea ecx, [esi + 0x30]
push eax
call fcn.004068a0
lea ecx, [ebp - 0x70]
call fcn.00406850
call fcn.0050f590
ret
Function at 0x423e1a
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x62552d
call fcn.0050f5e6
push 0x67
push 0x6f
push 0x6c
push 0x74
pop eax
push eax
push 0x6e
push 0x65
push eax
push 0x6e
push 0x6f
push 0x43
push 0x70
push eax
push eax
push 0x48
push 0x77
push 0x6f
push 0x68
push 0x53
lea eax, [ebp - 0x40]
push str._c_c_c_c_c_c_c_c_c_c_c_c_c_c_c._c_c_c
push eax
call fcn.0041b659
add esp, 0x50
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x62d3bc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004066f0
push 0x62d3c0
lea ecx, [ebp - 0x28]
call fcn.004066f0
push 0x6a5850
lea ecx, [ebp - 0x28]
call fcn.004066f0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.00409540
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x28]
setne bl
call fcn.00402a10
lea ecx, [ebp - 0x40]
call fcn.00402a10
mov al, bl
call fcn.0050f590
ret

Function at 0x423f2b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6b9538]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x118
xor ebx, ebx
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.005281f0
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00423ee0
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp eax, 5
jne 0x423faa
cmp dword [ebp - 0x118], ebx
jbe 0x423fe4
cmp dword [ebp - 0x118], 1
setne bl
inc ebx
jmp 0x423fe4
cmp eax, 6
jne 0x423fd4
cmp byte [ebp - 6], 1
jne 0x423fd0
mov eax, dword [ebp - 0x118]
sub eax, ebx
je 0x423fcc
sub eax, 1
je 0x423fc8
push 7
jmp 0x423fdb
push 5
jmp 0x423fdb
push 3
jmp 0x423fdb
push 4
jmp 0x423fdb
cmp eax, 0xa
jne 0x423fde
push 8
pop ebx
jmp 0x423fe4
push 9
pop ecx
cmova ebx, ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0050ea72
leave
ret
Function at 0x424518
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x868
mov eax, 0x6255db
call fcn.0050f5e6
mov esi, ecx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov edx, dword [ebp + 0x18]
test edx, edx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x870], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x86c], edi
mov dword [ebp - 0x86c], eax
mov eax, 0x6a41c4
cmovne eax, edx
push eax
call fcn.00402af0
xor ecx, ecx
add esi, 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0x85c], ecx
mov dword [ebp - 0x868], ecx
mov dword [ebp - 0x864], ecx
mov dword [ebp - 0x860], ecx
cmp dword [esi + 0x10], ecx
ja 0x4245a7
lea eax, [ebp - 0x858]
push eax
call fcn.00421155
pop ecx
push eax
mov ecx, esi
call fcn.00402a70
lea ecx, [ebp - 0x858]
call fcn.00402a10
xor ecx, ecx
cmp dword [esi + 0x14], 8
jb 0x4245af
mov esi, dword [esi]
lea eax, [ebp - 0x85c]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
je 0x4245ef
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x828]
cmovae ecx, dword [ebp - 0x828]
push ecx
mov ecx, edi
call fcn.00402af0
jmp 0x424776
lea eax, [ebp - 0x868]
push eax
push 0x20119
push 0
push 0x62dbc4
push dword [ebp - 0x85c]
call esi
test eax, eax
je 0x424631
push dword [ebp - 0x85c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
jmp 0x4245e3
lea eax, [ebp - 0x864]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x868]
call esi
test eax, eax
je 0x424664
push dword [ebp - 0x868]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x85c]
call esi
jmp 0x42461a
lea eax, [ebp - 0x860]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x870]
push dword [ebp - 0x864]
call esi
test eax, eax
je 0x42469b
push dword [ebp - 0x860]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x864]
jmp 0x424658
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.005281f0
add esp, 0xc
mov dword [ebp - 0x874], 0x400
lea eax, [ebp - 0x874]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x86c]
push dword [ebp - 0x860]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x860]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x864]
call esi
push dword [ebp - 0x868]
call esi
push dword [ebp - 0x85c]
call esi
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42470b
sub ecx, edx
sar ecx, 1
je 0x42461a
xor eax, eax
mov dword [ebp - 0x830], ebx
mov word [ebp - 0x840], ax
lea ecx, [ebp - 0x840]
lea eax, [ebp - 0x810]
mov dword [ebp - 0x82c], 7
push eax
call fcn.004029b0
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
mov ecx, edi
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x840]
push eax
call fcn.00402af0
lea ecx, [ebp - 0x840]
call fcn.00402a10
lea ecx, [ebp - 0x828]
call fcn.00402a10
mov eax, edi
call fcn.0050f590
ret 0x14