joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dc70
Capabilities:
Hash data with md5

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

Function at 0x45e890
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467576
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x481e08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x45e8d2
lea ecx, [ebp + 0xc]
call fcn.00402dd0
movzx eax, al
cmp eax, 1
jne 0x45e8f0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004010b0
mov eax, dword [ebp - 0x18]
jmp 0x45e990
push 0x4776a0
lea ecx, [ebp + 0xc]
push ecx
call fcn.00402ad0
add esp, 8
movzx edx, al
test edx, edx
je 0x45e923
push 4
lea eax, [ebp + 0x28]
push eax
push 4
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
jmp 0x45e943
push 4
lea edx, [ebp + 0x28]
push edx
push 4
push 0
lea ecx, [ebp + 0xc]
call fcn.00401160
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x45e966
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004010b0
mov eax, dword [ebp - 0x1c]
jmp 0x45e990
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004010b0
mov eax, dword [ebp - 0x20]
jmp 0x45e990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x45e9a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4675a1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x481e08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x45e9fc
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004010b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.004010b0
mov eax, dword [ebp - 0x18]
jmp 0x45eadc
push 0x47769c
lea eax, [ebp + 0xc]
push eax
call fcn.00402ad0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x45ea3d
lea ecx, [ebp + 0x28]
call fcn.00402db0
shl eax, 1
push eax
lea ecx, [ebp + 0x28]
call fcn.00401160
push eax
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
jmp 0x45ea6b
lea ecx, [ebp + 0x28]
call fcn.00402db0
shl eax, 1
push eax
lea ecx, [ebp + 0x28]
call fcn.00401160
push eax
push 1
push 0
lea ecx, [ebp + 0xc]
call fcn.00401160
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x45ea9a
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004010b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.004010b0
mov eax, dword [ebp - 0x1c]
jmp 0x45eadc
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004010b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.004010b0
mov eax, dword [ebp - 0x20]
jmp 0x45eadc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x45ec10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46790f
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x481e08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x45ec52
lea ecx, [ebp + 0xc]
call fcn.00402dd0
movzx eax, al
cmp eax, 1
jne 0x45ec70
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004010b0
mov eax, dword [ebp - 0x28]
jmp 0x45ed70
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x20]
push ecx
push 0
lea edx, [ebp - 0x18]
push edx
push 0
lea ecx, [ebp + 0xc]
call fcn.00401160
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45ecd2
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004010b0
mov eax, dword [ebp - 0x2c]
jmp 0x45ed70
mov ecx, 1
test ecx, ecx
je 0x45ed3f
mov edx, dword [ebp - 0x20]
push edx
call fcn.0043a5f7
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0043a770
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp + 0xc]
call fcn.00401160
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45ed28
jmp 0x45ed3f
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x28]
call fcn.00401130
mov dword [ebp - 0x24], 1
jmp 0x45ed3f
cmp dword [ebp - 0x14], 0
je 0x45ed58
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0043a6c1
add esp, 4
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004010b0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x45ef20
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x1000
call fcn.0043a5f7
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
push 0
push 0
push 0
push 0
push str.Microsoft_Internet_Explorer
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x45ef60
xor eax, eax
jmp 0x45ef6f
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 1
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x45f000
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
jne 0x45f02e
mov dword [ebp - 8], 0
lea ecx, [ebp + 0xc]
call fcn.004010b0
lea ecx, [ebp + 0x28]
call fcn.004010b0
mov eax, dword [ebp - 8]
jmp 0x45f0ad
cmp dword [ebp + 8], 0
je 0x45f03d
mov dword [ebp - 0x18], str.POST
jmp 0x45f044
mov dword [ebp - 0x18], 0x477918
mov ecx, dword [ebp + 0x44]
push ecx
push 0
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.00401160
push eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x45f093
mov dword [ebp - 0xc], 0
lea ecx, [ebp + 0xc]
call fcn.004010b0
lea ecx, [ebp + 0x28]
call fcn.004010b0
mov eax, dword [ebp - 0xc]
jmp 0x45f0ad
mov dword [ebp - 0x10], 1
lea ecx, [ebp + 0xc]
call fcn.004010b0
lea ecx, [ebp + 0x28]
call fcn.004010b0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0x40

Function at 0x45f170
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x45f18f
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45f191
jmp 0x45f1cb
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x45f1a6
jmp 0x45f1cb
push str.DllRegisterServer
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45f1c0
jmp 0x45f1cb
call dword [ebp - 0xc]
mov byte [ebp - 1], 1
xor eax, eax
jne 0x45f17a
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x45f1e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45f206
xor eax, eax
jmp 0x45f214
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret
Function at 0x45f280
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x481e08]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and eax, 0xff
movzx ecx, al
mov edx, dword [ebp + 0xc]
and edx, 0xff
movzx eax, dl
shl eax, 8
or ecx, eax
mov word [ebp - 0x19c], cx
lea ecx, [ebp - 0x198]
push ecx
movzx edx, word [ebp - 0x19c]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x45f2de
xor eax, eax
jmp 0x45f319
movzx eax, word [ebp - 0x198]
and eax, 0xff
movzx ecx, al
cmp ecx, dword [ebp + 8]
jne 0x45f30a
movzx edx, word [ebp - 0x198]
shr edx, 8
and edx, 0xff
movzx eax, dl
cmp eax, dword [ebp + 0xc]
je 0x45f314
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x45f319
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439a7d
mov esp, ebp
pop ebp
ret

Function at 0x4602f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x481e08]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0043a770
add esp, 0xc
push 1
mov edx, dword [ebp + 0xc]
neg edx
sbb edx, edx
and edx, 9
add edx, 0x10
push edx
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 1
jne 0x460369
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401130
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439a7d
mov esp, ebp
pop ebp
ret

Function at 0x460380
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x481e08]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0043a770
add esp, 0xc
push 1
mov edx, dword [ebp + 0xc]
neg edx
sbb edx, edx
and edx, 0x15
add edx, 2
push edx
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 1
jne 0x4603f9
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401130
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439a7d
mov esp, ebp
pop ebp
ret

Function at 0x4608c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x481e08]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0043a770
add esp, 0xc
push 1
xor edx, edx
cmp dword [ebp + 0xc], 1
sete dl
lea edx, [edx*4 + 0x26]
push edx
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 1
jne 0x46093c
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401130
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439a7d
mov esp, ebp
pop ebp
ret
Function at 0x460ce0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x481e08]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x23c], 0
mov ecx, dword [ebp + 8]
call fcn.00403210
push 0x22c
push 0
lea eax, [ebp - 0x238]
push eax
call fcn.0043a770
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x244]
push edx
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
sete al
movzx ecx, al
mov dword [ebp - 0x240], ecx
cmp dword [ebp - 0x240], 1
jne 0x460df6
push 0x22c
call fcn.0043a5f7
add esp, 4
mov dword [ebp - 0x23c], eax
push 0x22c
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x23c]
push eax
call fcn.0043aa10
add esp, 0xc
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403190
push 0x22c
push 0
lea edx, [ebp - 0x238]
push edx
call fcn.0043a770
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
sete dl
movzx eax, dl
test eax, eax
jne 0x460d63
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x460e26
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x460e17
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x460e26
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439a7d
mov esp, ebp
pop ebp
ret
Function at 0x461040
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467c8e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x481e08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0x48]
call fcn.00401000
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401000
mov byte [ebp - 4], 1
mov byte [ebp - 0x4d], 0x43
jmp 0x46109e
mov al, byte [ebp - 0x4d]
add al, 1
mov byte [ebp - 0x4d], al
movsx ecx, byte [ebp - 0x4d]
cmp ecx, 0x5a
jg 0x46112c
movsx dx, byte [ebp - 0x4d]
movzx eax, dx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402d30
push 0x477a8c
lea ecx, [ebp - 0x2c]
call fcn.00401110
lea ecx, [ebp - 0x2c]
call fcn.00401160
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jne 0x461127
push 0x477a94
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.00401b50
add esp, 0xc
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00402900
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.004010b0
jmp 0x461096
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x70], esp
push 0x477a9c
call fcn.00401030
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x74], esp
lea eax, [ebp - 0x48]
push eax
call fcn.00401070
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0x90]
push ecx
mov byte [ebp - 4], 1
call fcn.00460410
add esp, 0x3c
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x48]
call fcn.004010d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.004010b0
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401070
mov edx, dword [ebp - 0x94]
or edx, 1
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004010b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004010b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00439a7d
mov esp, ebp
pop ebp
ret
Function at 0x4628b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467f6d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x481e08]
xor eax, ebp
mov dword [ebp - 0x28], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x24]
call fcn.00402ed0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push str._
call fcn.00401030
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
mov edx, dword [ebp + 8]
push edx
call fcn.00401070
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 0
call fcn.00462780
add esp, 0x3c
lea ecx, [ebp - 0x44]
call fcn.00401000
mov byte [ebp - 4], 2
mov eax, dword [0x478424]
push eax
push 0
lea ecx, [ebp - 0x44]
call fcn.00401660
push 0
lea ecx, [ebp - 0x24]
call fcn.00402fd0
push eax
lea ecx, [ebp - 0x44]
call fcn.004010d0
mov dword [ebp - 0x48], 1
jmp 0x46296b
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x24]
call fcn.00402f60
cmp dword [ebp - 0x48], eax
jae 0x4629b4
push 0x477960
lea ecx, [ebp - 0x44]
call fcn.00401110
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x24]
call fcn.00402fd0
mov ecx, eax
call fcn.00401160
push eax
lea ecx, [ebp - 0x44]
call fcn.00401110
push 0
lea ecx, [ebp - 0x44]
call fcn.00401160
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x462962
mov dword [ebp - 0x54], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004010b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402f40
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.00439a7d
mov esp, ebp
pop ebp
ret
Function at 0x4631c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468494
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x481e08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
push 0x8005
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x463219
push str.XYLog_
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x138]
call fcn.00401e90
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x138]
call fcn.0040adc0
push eax
call fcn.0043d154
add esp, 8
cmp eax, 0xffffffff
jne 0x463261
lea ecx, [ebp - 0x138]
call fcn.0040adc0
push eax
call fcn.0043d16c
add esp, 4
push str.Setup.log
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x154]
push ecx
call fcn.00406f40
add esp, 0xc
mov byte [ebp - 4], 1
push 1
lea ecx, [ebp - 0x1dc]
call fcn.004032e0
mov byte [ebp - 4], 2
push 0x40
push 0xa
lea ecx, [ebp - 0x154]
call fcn.0040adc0
push eax
lea ecx, [ebp - 0x1dc]
call fcn.00403420
lea ecx, [ebp - 0x1dc]
call fcn.00403400
movzx edx, al
test edx, edx
je 0x4632e8
push 0x40ab70
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1dc]
push ecx
call fcn.00406fd0
add esp, 8
mov ecx, eax
call fcn.00402d10
lea ecx, [ebp - 0x1dc]
call fcn.00403470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1dc]
call fcn.00402cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x154]
call fcn.004025d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.004025d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00439a7d
mov esp, ebp
pop ebp
ret
Function at 0x463900
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x463919
xor eax, eax
jmp 0x4639e1
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x6c]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x6c]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x134]
call eax
push 0
push 0
push 0
mov ecx, dword [ebp - 8]
add ecx, 0xf4
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4639ce
mov edx, dword [ebp - 8]
add edx, 0xf4
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xe0]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xf4]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4639cc
mov ecx, dword [ebp - 8]
add ecx, 0xf4
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
mov edx, dword [ebp - 8]
add edx, 0xf4
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x463965
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xfc]
mov dword [eax], edx
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x465a60
Capabilities:
Get common file path
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467b85
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x481e08]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2e4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401000
mov dword [ebp - 4], 0
lea eax, [ebp - 0x274]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00401030
mov byte [ebp - 4], 1
push 0x478034
lea ecx, [ebp - 0x68]
call fcn.00401110
lea ecx, [ebp - 0x68]
call fcn.00401160
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.guid
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.00401b50
add esp, 0xc
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.00401160
push eax
call fcn.00439b15
add esp, 8
neg eax
sbb eax, eax
add eax, 1
jne 0x465bc4
lea ecx, [ebp - 0x2e0]
push ecx
call fcn.004658c0
add esp, 4
mov dword [ebp - 0x2e8], eax
mov edx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2ec]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004010d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e0]
call fcn.004010b0
push 0x478048
lea ecx, [ebp - 0x48]
call fcn.00401160
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00439bf3
add esp, 0xc
cmp dword [ebp - 0x4c], 0
je 0x465bc2
mov edx, dword [ebp - 0x4c]
push edx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402db0
shl eax, 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401160
push eax
call fcn.00439da8
add esp, 0x10
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00439ea1
add esp, 4
mov dword [ebp - 0x4c], 0
jmp 0x465c39
push 0x478050
lea ecx, [ebp - 0x48]
call fcn.00401160
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00439bf3
add esp, 0xc
cmp dword [ebp - 0x4c], 0
je 0x465c39
xor edx, edx
mov word [ebp - 0x2c4], dx
push 0x4e
push 0
lea eax, [ebp - 0x2c2]
push eax
call fcn.0043a770
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
push ecx
push 1
push 0x50
lea edx, [ebp - 0x2c4]
push edx
call fcn.0043a1bd
add esp, 0x10
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401130
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00439ea1
add esp, 4
mov dword [ebp - 0x4c], 0
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401070
mov eax, dword [ebp - 0x2e4]
or eax, 1
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004010b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.004010b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004010b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00439a7d
mov esp, ebp
pop ebp
ret