joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432840
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59862c
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0055dc87
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004a2910
mov byte [ebp - 4], 2
push 0x5a7aac
mov eax, dword [ebp + 8]
push eax
push 0x5a7ab0
lea ecx, [ebp - 0x14]
push ecx
call fcn.004098b0
add esp, 0x10
push 0
lea ecx, [ebp - 0x14]
call fcn.004090f0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0055dd1c
cmp eax, 1
jne 0x4329f5
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0
je 0x4329f5
lea ecx, [ebp - 0x2c]
call fcn.0055da20
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2c]
call fcn.0055dc4c
test eax, eax
je 0x4328ea
jmp 0x4329f0
lea ecx, [ebp - 0x2c]
call fcn.004300c0
test eax, eax
je 0x432983
push ecx
mov edx, esp
mov dword [ebp - 0x30], esp
push edx
lea ecx, [ebp - 0x2c]
call fcn.0055deca
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x44]
call fcn.00432840
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0055deca
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x34]
call fcn.00408330
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0055deca
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
push ecx
push str.__s__eliminated_folder
push 0x108
push 0x5a7ad0
push 0x61c838
call fcn.0043a910
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.00408330
jmp 0x4329f0
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0055deca
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x3c]
call fcn.00408330
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0055deca
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x60]
mov eax, dword [edx]
push eax
push 0x5a7af4
push 0x10e
push str.CProjectUpdate::DelFileInSubFolder
push 0x61c838
call fcn.0043a910
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00408330
jmp 0x4328c4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00408330
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0055dcad
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408330
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x432a30
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59865f
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x2c]
call fcn.0055dc87
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004a2910
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x432a99
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0055dcad
jmp 0x432bee
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push ecx
push 0x5a7b30
lea edx, [ebp - 0x14]
push edx
call fcn.004098b0
add esp, 0x10
push 0
lea ecx, [ebp - 0x14]
call fcn.004090f0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0055dd1c
cmp eax, 1
jne 0x432bd3
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0
je 0x432bd3
lea ecx, [ebp - 0x2c]
call fcn.0055da20
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x2c]
call fcn.0055dc4c
test eax, eax
je 0x432b06
jmp 0x432bce
lea ecx, [ebp - 0x2c]
call fcn.004300c0
test eax, eax
je 0x432b9f
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
push eax
lea ecx, [ebp - 0x2c]
call fcn.0055deca
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x40]
call fcn.00432840
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0055deca
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x38]
call fcn.00408330
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0055deca
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
push edx
push str.__s__eliminated_folder.
push 0x12c
push 0x5a7b50
push 0x61c838
call fcn.0043a910
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00408330
jmp 0x432bce
lea ecx, [ebp - 0x14]
call fcn.004090f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x14]
push eax
push str.__s__eliminated_file.
push 0x138
push str.CProjectUpdate::DelfileApply
push 0x61c838
call fcn.0043a910
add esp, 0x14
jmp 0x432ae0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0055dcad
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x439de0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x418]
cmp dword [eax], 0
jne 0x439e0b
xor eax, eax
jmp 0x439f78
mov dword [ebp - 4], 0
push 0x5a878c
mov ecx, dword [ebp - 0x418]
add ecx, 8
call fcn.004090f0
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.005713ed
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x439e50
mov edx, dword [ebp - 0x418]
mov eax, dword [edx]
push eax
call fcn.004ac850
add esp, 4
xor eax, eax
jmp 0x439f78
mov ecx, dword [ebp - 0x418]
mov edx, dword [ecx]
push edx
call fcn.004addb0
add esp, 4
test eax, eax
je 0x439e89
mov eax, dword [ebp - 4]
push eax
call fcn.00571296
add esp, 4
mov ecx, dword [ebp - 0x418]
mov edx, dword [ecx]
push edx
call fcn.004ac850
add esp, 4
xor eax, eax
jmp 0x439f78
mov dword [ebp - 0x414], 0
mov dword [ebp - 8], 0
mov byte [ebp - 0x410], 0
push 0x3ff
push 0
lea eax, [ebp - 0x40f]
push eax
call fcn.0056f420
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 0x418]
mov eax, dword [edx]
push eax
call fcn.004ade70
add esp, 0xc
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
je 0x439f13
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x414]
push edx
push 1
lea eax, [ebp - 0x410]
push eax
call fcn.0057119d
add esp, 0x10
test eax, eax
jae 0x439f05
jmp 0x439f13
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x414]
mov dword [ebp - 8], ecx
jmp 0x439eb7
mov edx, dword [ebp - 4]
push edx
call fcn.00571296
add esp, 4
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
push ecx
call fcn.004ae540
add esp, 4
mov edx, dword [ebp - 0x418]
mov eax, dword [edx]
push eax
call fcn.004ac850
add esp, 4
mov ecx, dword [ebp - 0x418]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x418]
call fcn.00439da0
mov ecx, dword [ebp - 0x418]
mov dword [ecx], 0
mov edx, dword [ebp - 0x418]
mov dword [edx + 4], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret
Function at 0x43a700
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59912b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0x80004005
push 0x18
call fcn.00550320
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x20], 0
je 0x43a761
mov ecx, dword [ebp - 0x20]
call fcn.0043b8d0
mov dword [ebp - 0x2c], eax
jmp 0x43a768
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x43a7d8
mov edx, dword [0x61c9b4]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0043ba10
lea ecx, [ebp + 8]
call fcn.004090f0
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov eax, dword [ebp - 0x18]
push eax
push 0
lea ecx, [ebp + 0xc]
call fcn.004090f0
push eax
lea ecx, [ebp + 8]
call fcn.004090f0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
xor edx, edx
cmp dword [ebp - 0x14], 0
setge dl
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00408330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00408330
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x43aa20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
push 0x5a8854
mov eax, dword [ebp - 0xc]
push eax
call fcn.005713d6
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43aa4f
mov eax, dword [ebp - 8]
jmp 0x43aa94
push 2
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.005716f5
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0056fc20
add esp, 4
push eax
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.0057119d
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
call fcn.00571296
add esp, 4
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x440ed0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x191b4], 1
cmp dword [0x61c9bc], 0
je 0x440eff
xor eax, eax
jmp 0x440f26
lea ecx, [ebp - 0x198]
push ecx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x440f1a
or eax, 0xffffffff
jmp 0x440f26
mov dword [0x61c9bc], 1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret
Function at 0x457b70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x457ba1
mov eax, dword [ebp + 0x14]
add eax, 2
cdq
mov ecx, 3
idiv ecx
lea edx, [eax*4 + 1]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00446d40
add esp, 8
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x457bae
xor eax, eax
jmp 0x457d25
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
mov byte [edx], 0
cmp dword [ebp + 0xc], 0
jne 0x457bc8
mov eax, dword [ebp - 4]
jmp 0x457d25
jmp 0x457bdc
mov eax, dword [ebp + 0x14]
sub eax, 3
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0xc]
add ecx, 3
mov dword [ebp + 0xc], ecx
cmp dword [ebp + 0x14], 2
jle 0x457c54
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
shl ecx, 8
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 1]
or ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
shl ecx, 8
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 2]
or ecx, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 4
jmp 0x457c21
mov ecx, dword [ebp - 0xc]
shr ecx, 6
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 0
jle 0x457c46
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
and eax, 0x3f
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 8]
mov dl, byte [eax + 0x5a8af0]
mov byte [ecx], dl
jmp 0x457c18
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp + 0x10], eax
jmp 0x457bca
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
cmp dword [ebp + 0x14], 0
jle 0x457d22
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x457c7d
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x14]
jge 0x457ca1
mov ecx, dword [ebp - 0xc]
shl ecx, 8
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
or ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
jmp 0x457c74
jmp 0x457cac
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 3
jge 0x457cbd
mov eax, dword [ebp - 0xc]
shl eax, 8
mov dword [ebp - 0xc], eax
jmp 0x457ca3
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x457cd1
mov edx, dword [ebp - 0xc]
shr edx, 6
mov dword [ebp - 0xc], edx
cmp dword [ebp - 8], 0
jle 0x457cf6
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0x3f
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 8]
mov al, byte [ecx + 0x5a8af0]
mov byte [edx], al
jmp 0x457cc8
mov dword [ebp - 8], 3
jmp 0x457d08
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x14]
jle 0x457d1b
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 8]
mov byte [eax], 0x3d
jmp 0x457cff
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x47ed90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a2c8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x616738]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x10]
call fcn.004a2910
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00488300
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
push eax
push str._sEstsoftALUpdateALAd.dll
lea ecx, [ebp - 0x10]
push ecx
call fcn.004098b0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00408330
mov ecx, dword [ebp - 0x28]
call fcn.0047ef60
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00408fd0
mov dword [ebp - 0x34], eax
call fcn.004a0eb0
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov edx, dword [ebp - 0x28]
cmp dword [edx], 0
je 0x47eef2
push str.ALBanner_InitializeEx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x61c9e0], eax
push str.ALBanner_Finalize
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x61c9e4], eax
push str.ALBanner_Execute
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x61c9f0], eax
push str.ALBanner_BannerResize
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x61c9e8], eax
push str.ALBanner_IsNeedEventPopup
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x61c9ec], eax
cmp dword [0x61c9e0], 0
je 0x47eed7
cmp dword [0x61c9f0], 0
je 0x47eed7
cmp dword [0x61c9e4], 0
je 0x47eed7
cmp dword [0x61c9e8], 0
je 0x47eed7
cmp dword [0x61c9ec], 0
jne 0x47eef2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408330
mov eax, dword [ebp - 0x1c]
jmp 0x47ef4f
cmp dword [0x61c9e0], 0
je 0x47ef36
push 1
push 0
lea ecx, [ebp - 0x20]
push ecx
call fcn.00488000
add esp, 8
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x40]
call fcn.004090f0
push eax
call dword [0x61c9e0]
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00408330
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408330
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x47fd10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a439
mov eax, dword fs:[0]
push eax
sub esp, 0x8bc
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x800
push 0
lea eax, [ebp - 0x864]
push eax
call fcn.0056f420
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.004807e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x880]
call fcn.004807e0
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.00485420
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
call fcn.00411920
push eax
push 0x400
lea eax, [ebp - 0x864]
push eax
push 0
mov ecx, 0x61ca10
call fcn.00411920
push eax
mov ecx, 0x61c9f4
call fcn.00411920
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x864]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0042f1d0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x880]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.0047ffa0
add esp, 0x10
movzx eax, al
test eax, eax
jne 0x47fedb
push 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x89c]
push edx
call fcn.00485420
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.00411920
push eax
push 0x400
lea eax, [ebp - 0x864]
push eax
push 0
mov ecx, 0x61ca2c
call fcn.00411920
push eax
mov ecx, 0x61c9f4
call fcn.00411920
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x864]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0047fcf0
lea edx, [ebp - 0x880]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x89c]
push eax
call fcn.004802a0
add esp, 0x14
movzx ecx, al
test ecx, ecx
jne 0x47fecc
mov byte [ebp - 0x89d], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x89c]
call fcn.00411900
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00411900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00411900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x880]
call fcn.00411900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00411900
mov al, byte [ebp - 0x89d]
jmp 0x47ff7a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x89c]
call fcn.00411900
push 0
lea ecx, [ebp - 0x48]
call fcn.00411920
push eax
lea edx, [ebp - 0x8bc]
push edx
call fcn.00485310
add esp, 0xc
mov dword [ebp - 0x8c4], eax
mov eax, dword [ebp - 0x8c4]
mov dword [ebp - 0x8c8], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x8c8]
call fcn.00411740
push eax
push 0x5af8b0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004098b0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x8bc]
call fcn.00411720
mov byte [ebp - 0x8bd], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00411900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00411900
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x880]
call fcn.00411900
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00411900
mov al, byte [ebp - 0x8bd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret
Function at 0x4806d0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov byte [ebp - 0x210], 0
push 0x207
push 0
lea ecx, [ebp - 0x20f]
push ecx
call fcn.0056f420
add esp, 0xc
push 0
push 0x24
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x480778
push 0x5af9b4
lea eax, [ebp - 0x210]
push eax
call fcn.0040fa70
add esp, 8
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x480776
lea ecx, [ebp - 0xa]
cmp dword [ebp - 0x214], ecx
jae 0x48076d
mov edx, dword [ebp - 0x214]
add edx, 1
mov dword [ebp - 0x214], edx
mov eax, dword [ebp - 0x214]
mov byte [eax], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 4], ecx
jmp 0x480785
mov edx, dword [ebp + 8]
mov dword [edx], 0x132901c
xor al, al
jmp 0x4807b2
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x4807b0
mov edx, dword [ebp + 8]
mov dword [edx], 0x132901c
xor al, al
jmp 0x4807b2
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret
Function at 0x480f00
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
jmp 0x480f33
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
test eax, eax
je 0x481039
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
mov eax, dword [edx*4 + 0x610c50]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x481034
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 3
ja case.default.0x480f6e
mov edx, dword [ebp - 0x1c]
jmp dword [edx*4 + 0x481040]
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp case.default.0x480f6e
mov ecx, dword [ebp - 0x18]
shl ecx, 2
mov edx, dword [ebp - 0x14]
and edx, 0x30
sar edx, 4
or ecx, edx
mov byte [ebp - 0xd], cl
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jge 0x480fb3
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0xd]
mov byte [ecx], dl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp case.default.0x480f6e
mov edx, dword [ebp - 0x18]
and edx, 0xf
shl edx, 4
mov eax, dword [ebp - 0x14]
and eax, 0x3c
sar eax, 2
or edx, eax
mov byte [ebp - 0xd], dl
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x10]
jge 0x480ff1
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov byte [edx], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp case.default.0x480f6e
mov eax, dword [ebp - 0x18]
and eax, 3
shl eax, 6
or eax, dword [ebp - 0x14]
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x10]
jge 0x481027
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov byte [edx], al
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
jmp 0x480f2a
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x485500
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x616738]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa0], 0
push 0x90
push 0
lea eax, [ebp - 0x9c]
push eax
call fcn.0056f420
add esp, 0xc
mov dword [ebp - 0xa0], 0x94
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x9c], 6
jb 0x48555a
mov eax, 1
jmp 0x48555c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056edd3
mov esp, ebp
pop ebp
ret