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

Disassembly:
sub esp, 0x80c
mov eax, dword [0x6c6f60]
xor eax, esp
mov dword [esp + 0x808], eax
mov eax, dword [esp + 0x814]
push ebx
mov ebx, dword [esp + 0x814]
push edi
xor edi, edi
cmp dword [esp + 0x820], 1
je 0x458ac9
mov eax, dword [ebx]
push str.Unsupported_type_of_known_host_information_store
push 0xffffffffffffffdf
push eax
call fcn.00465c70
add esp, 0xc
pop edi
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.005c950e
add esp, 0x80c
ret
push 0x6a66f4
push eax
call fcn.005ec2cc
add esp, 8
mov dword [esp + 8], eax
test eax, eax
jne 0x458b08
mov ecx, dword [ebx]
push str.Failed_to_open_file
push 0xfffffffffffffff0
push ecx
call fcn.00465c70
add esp, 0xc
pop edi
pop ebx
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.005c950e
add esp, 0x80c
ret
lea edx, [ebx + 4]
push esi
push edx
call fcn.00466140
mov esi, eax
add esp, 4
test esi, esi
je 0x458b84
push ebp
lea esp, [esp]
push 1
lea eax, [esp + 0x18]
push eax
push 0x800
lea ecx, [esp + 0x24]
push ecx
push esi
push ebx
call fcn.00458750
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x458b83
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
push edx
push ebp
lea eax, [esp + 0x20]
push 1
push eax
call fcn.005eb3a8
add esp, 0x10
cmp eax, ebp
jne 0x458b6f
push esi
call fcn.00466150
mov esi, eax
add esp, 4
test esi, esi
jne 0x458b20
jmp 0x458b83
mov ecx, dword [ebx]
push str.Write_failed
push 0xfffffffffffffff0
push ecx
call fcn.00465c70
add esp, 0xc
mov edi, eax
pop ebp
mov edx, dword [esp + 0xc]
push edx
call fcn.005e7e28
mov ecx, dword [esp + 0x818]
add esp, 4
pop esi
mov eax, edi
pop edi
pop ebx
xor ecx, esp
call fcn.005c950e
add esp, 0x80c
ret

Function at 0x459570
Capabilities:
Set socket configuration

Disassembly:
push ecx
lea ecx, [esp]
push ecx
push 0x8004667e
push edx
mov dword [esp + 0xc], eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
pop ecx
ret
Function at 0x45a7e0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x218
push ebx
push edi
mov edi, dword [esp + 0x224]
lea eax, [esp + 8]
push eax
xor ebx, ebx
push edi
mov dword [edi + 0x130], ebx
call sym.Setup.exe_libssh2_keepalive_send
add esp, 8
cmp eax, ebx
jl 0x45a931
mov edx, dword [esp + 8]
mov ecx, edx
push edi
imul ecx, ecx, 0x3e8
call sym.Setup.exe_libssh2_session_block_directions
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x45a834
call fcn.004592a0
mov ecx, 0x3e8
mov eax, dword [edi + 0x54]
cmp eax, ebx
push esi
jle 0x45a883
cmp edx, ebx
je 0x45a844
cmp edx, eax
jle 0x45a883
push ebx
call fcn.005ebafd
mov ecx, dword [esp + 0x234]
push edx
mov edx, dword [esp + 0x234]
push eax
push ecx
push edx
call fcn.005f9c22
fmul qword [0x6a7308]
add esp, 0x14
call fcn.005ca750
mov ecx, dword [edi + 0x54]
cmp eax, ecx
jg 0x45a919
sub ecx, eax
mov esi, 1
jmp 0x45a88c
xor eax, eax
cmp ecx, ebx
setg al
mov esi, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
imul eax, eax, 0x3e8
sub ecx, eax
mov al, byte [esp + 0x10]
imul ecx, ecx, 0x3e8
push ebp
xor ebp, ebp
mov dword [esp + 0x1c], ecx
test al, 1
je 0x45a8d4
mov ecx, dword [edi + 0x11c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 1
lea ebx, [esp + 0x20]
test al, 2
je 0x45a8f7
mov edx, dword [edi + 0x11c]
mov dword [esp + 0x128], edx
mov dword [esp + 0x124], 1
lea ebp, [esp + 0x124]
mov ecx, dword [edi + 0x11c]
neg esi
sbb esi, esi
lea eax, [esp + 0x18]
and esi, eax
push esi
push 0
push ebp
push ebx
inc ecx
push ecx
call dword [sym.imp.WS2_32.dll_select]
pop ebp
test eax, eax
jg 0x45a92e
mov eax, 0xfffffff7
pop esi
mov dword [edi + 0x130], eax
pop edi
pop ebx
add esp, 0x218
ret
xor eax, eax
pop esi
pop edi
pop ebx
add esp, 0x218
ret
Function at 0x474de0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x474e01
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x474e19
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x474e31
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x474e47
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x474e5f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4795c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax]
je 0x4795f6
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x13c]
je 0x4795f6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x13c]
jne 0x479609
jmp 0x47976d
mov edx, dword [ebp - 4]
cmp dword [edx + 0x13c], 0
je 0x479693
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x28], 0x14
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x13c]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x13c]
mov edx, dword [eax + 0x108]
call edx
push 0
push 0
push 0
push 0x67c164
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x13c]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0047a070
mov edx, dword [ebp - 4]
mov dword [edx + 0x13c], 0
cmp dword [ebp + 8], 0
jne 0x47969e
jmp 0x47976d
cmp dword [ebp + 8], 0
je 0x47976d
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x47976d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0xc8]
call eax
movzx ecx, al
test ecx, ecx
je 0x47976d
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xd4]
call edx
movzx eax, al
test eax, eax
je 0x47976d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x13c], edx
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x15
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x13c]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x13c]
mov edx, dword [eax + 0x108]
call edx
push 0
push 0
push 0
push str.setfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x13c]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0047a070
mov esp, ebp
pop ebp
ret 4
Function at 0x47c6b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x113
je 0x47c6d5
cmp dword [ebp - 4], 0x402
je 0x47c6eb
jmp 0x47c6f3
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.0047c710
jmp 0x47c6f3
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.004fee53
mov esp, ebp
pop ebp
ret 0xc

Function at 0x47c800
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60d4a6
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x11c], ecx
push 0x67d0dc
mov ecx, dword [ebp - 0x11c]
add ecx, 0x2c
call fcn.0047b430
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 0x35c], eax
push 0x67d0f0
mov ecx, dword [ebp - 0x11c]
add ecx, 0x2c
call fcn.0047b430
mov edx, dword [ebp - 0x11c]
mov dword [edx + 0x358], eax
push str.foreImage
mov ecx, dword [ebp - 0x11c]
add ecx, 0x2c
call fcn.0047b430
mov ecx, dword [ebp - 0x11c]
mov dword [ecx + 0x3c0], eax
push str.version
mov ecx, dword [ebp - 0x11c]
add ecx, 0x2c
call fcn.0047b430
mov edx, dword [ebp - 0x11c]
mov dword [edx + 0x368], eax
lea ecx, [ebp - 0x94]
call fcn.004f02ba
mov dword [ebp - 4], 0
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x368]
mov eax, dword [ebp - 0x11c]
mov edx, dword [edx]
mov ecx, dword [eax + 0x368]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x124]
push edx
lea ecx, [ebp - 0x94]
call fcn.004f042b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004f03ac
mov ecx, dword [ebp - 0x11c]
add ecx, 0x384
call fcn.0047ca20
push eax
lea ecx, [ebp - 0x94]
call fcn.004f054a
push 0
push 0x32
push 0x3e8
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0
mov edx, dword [ebp - 0x11c]
push edx
push 0x47c7e0
push 0
push 0
call fcn.005e73dd
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004f03ac
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x480cf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jne 0x480d00
xor al, al
jmp 0x480d40
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x480d17
xor al, al
jmp 0x480d40
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x480d25
mov byte [ebp - 2], 1
jmp 0x480d3d
mov edx, dword [ebp - 8]
and edx, 0x10
jne 0x480d33
mov byte [ebp - 1], 0
jmp 0x480d37
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov byte [ebp - 2], al
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret

Function at 0x480d50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60d7c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.0048b770
movzx eax, al
test eax, eax
je 0x480d8e
xor al, al
jmp 0x480e72
push 0
mov ecx, dword [ebp + 8]
call fcn.0048b7e0
push eax
call fcn.00480cf0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x480daf
mov al, 1
jmp 0x480e72
mov dword [ebp - 0x38], 0xffffffff
mov ecx, dword [ebp + 8]
call fcn.0048b7e0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x28]
call fcn.0048bfe0
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [0x6c7aac]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.005e7779
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x480e3e
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x28]
call fcn.0048bc00
mov eax, dword [0x6c7aac]
push eax
lea ecx, [ebp - 0x28]
call fcn.0048bc00
lea ecx, [ebp - 0x28]
call fcn.0048b7e0
push eax
call fcn.005ebdd5
add esp, 4
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [0x6c7aac]
push edx
push 0
call fcn.005e7779
add esp, 0xc
mov dword [ebp - 0x30], eax
jmp 0x480df0
cmp dword [ebp - 0x38], 0xffffffff
jne 0x480e5c
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0048bcd0
mov al, byte [ebp - 0x29]
jmp 0x480e72
mov byte [ebp - 0x2a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0048bcd0
mov al, byte [ebp - 0x2a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x491610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e978
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x491650
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x49165c
mov al, 1
jmp 0x4917ff
mov dword [ebp - 0x48], 8
call fcn.0047eb30
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.0047eb30
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0047eab0
add esp, 8
movzx eax, al
test eax, eax
je 0x49169f
xor al, al
jmp 0x4917ff
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0048be90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.0048ba70
mov ecx, eax
call fcn.0047de40
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.0048b7c0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.0048ba70
mov ecx, eax
call fcn.0047de40
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.00493720
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x49171a
cmp dword [ebp - 0x38], 1
je 0x491721
cmp dword [ebp - 0x38], 3
je 0x4917bb
jmp 0x4917d3
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0048ba70
mov ecx, eax
call fcn.0047de40
mov edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x491784
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.0048ba70
mov ecx, eax
call fcn.0047de40
push eax
call fcn.005eb3a8
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x491784
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0048bcd0
mov al, byte [ebp - 0x2d]
jmp 0x4917ff
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x4917a7
mov byte [ebp - 0x2e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0048bcd0
mov al, byte [ebp - 0x2e]
jmp 0x4917ff
cmp dword [ebp - 0x34], 0
jne 0x4917b9
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00491180
jmp 0x4917eb
mov byte [ebp - 0x2f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0048bcd0
mov al, byte [ebp - 0x2f]
jmp 0x4917ff
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0048bcd0
mov al, byte [ebp - 0x30]
jmp 0x4917ff
jmp 0x4916b2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4a7a80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f433
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
push 0
push 0
mov eax, dword [ebp - 0x2c]
push eax
push 0x4a7a00
push 0
push 0
call fcn.005e73dd
add esp, 0x18
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
push 1
push 3
lea ecx, [ebp - 0xe8]
call fcn.0048cf20
mov dword [ebp - 4], 0
push str..log
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0xd8]
call fcn.004a8fb0
push eax
call fcn.0049a570
add esp, 8
push 0x6a5bf8
mov ecx, dword [ebp - 0x2c]
add ecx, 0x20
call fcn.004a8ec0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xe8]
call fcn.0048ce80
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
call fcn.0048b7e0
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x20
call fcn.0048bc00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0048bcd0
mov dword [ebp - 0x38], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.00480ab0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret

Function at 0x4a8250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f536
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6c6f60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0048bfe0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.0048bfe0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
push str.0.0B_S
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004a8ec0
mov edx, dword [ebp - 0x10]
xorps xmm0, xmm0
movsd qword [edx + 0x28], xmm0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
push str.0.0B_S
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.004a8ec0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4b4ba0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610386
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x140], 0x100000
mov dword [ebp - 0x13c], 0
lea ecx, [ebp - 0x94]
call fcn.004f02ba
mov dword [ebp - 4], 0
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
je 0x4b4c23
mov byte [ebp - 0x119], 1
jmp 0x4b4c2a
mov byte [ebp - 0x119], 0
mov cl, byte [ebp - 0x119]
mov byte [ebp - 0x11a], cl
movzx edx, byte [ebp - 0x11a]
test edx, edx
je 0x4b4d05
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
call fcn.005ca4d0
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x6a7378]
divss xmm0, dword [0x6a7378]
divss xmm0, dword [0x6a7378]
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x120]
add ecx, 0x4f8
call fcn.0047ca20
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004f0864
add esp, 0x10
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x130]
call fcn.005ca4d0
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x6a7378]
divss xmm0, dword [0x6a7378]
divss xmm0, dword [0x6a7378]
mov ecx, dword [ebp - 0x120]
movss dword [ecx + 0x4d8], xmm0
lea ecx, [ebp - 0x94]
call fcn.004f08e4
push eax
mov edx, dword [ebp - 0x120]
mov eax, dword [edx + 0x37c]
mov ecx, dword [ebp - 0x120]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x37c]
mov eax, dword [edx + 0x2c]
call eax
push 0x68ee2c
mov ecx, dword [ebp - 0x120]
add ecx, 0x2c
call fcn.0047b430
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x128]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x128]
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x138]
call fcn.004f08e4
push eax
mov ecx, dword [ebp - 0x120]
add ecx, 0x4e0
call fcn.0047ca20
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.004f0864
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.004f03ac
lea ecx, [ebp - 0x94]
call fcn.004f08e4
push eax
mov edx, dword [ebp - 0x120]
mov eax, dword [edx + 0x378]
mov ecx, dword [ebp - 0x120]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x378]
mov eax, dword [edx + 0x2c]
call eax
mov cl, byte [ebp - 0x11a]
mov byte [ebp - 0x121], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004f03ac
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret 4
Function at 0x4b54e0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6104d7
mov eax, dword fs:[0]
push eax
sub esp, 0x594
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x57c], ecx
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.005e2ec0
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.005e2ec0
add esp, 0xc
push 0x68ef04
mov ecx, dword [ebp - 0x57c]
add ecx, 0x2c
call fcn.0047b430
mov dword [ebp - 0x578], eax
lea edx, [ebp - 0x4ec]
push edx
mov eax, dword [ebp - 0x578]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x578]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x580], eax
mov ecx, dword [ebp - 0x580]
mov dword [ebp - 0x584], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x584]
call fcn.004f08e4
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0047ca60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4ec]
call fcn.004f03ac
push 0x68ef28
mov ecx, dword [ebp - 0x57c]
add ecx, 0x2c
call fcn.0047b430
mov dword [ebp - 0x578], eax
lea edx, [ebp - 0x570]
push edx
mov eax, dword [ebp - 0x578]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x578]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0x588], eax
mov ecx, dword [ebp - 0x588]
mov dword [ebp - 0x58c], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x58c]
call fcn.004f08e4
push eax
lea ecx, [ebp - 0x450]
call fcn.0048b540
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x570]
call fcn.004f03ac
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x59c], esp
lea edx, [ebp - 0x450]
push edx
call fcn.0047cc80
mov dword [ebp - 0x5a0], eax
call fcn.004da380
add esp, 0x18
mov byte [ebp - 0x571], al
movzx eax, byte [ebp - 0x571]
test eax, eax
je 0x4b566b
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
jmp 0x4b567e
push 0
push 0x10
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x104
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x438]
call fcn.0048b540
mov byte [ebp - 4], 4
push 0x68ef24
lea ecx, [ebp - 0x438]
call fcn.004c4ef0
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp - 0x57c]
call fcn.004c1f40
mov dword [ebp - 0x590], eax
mov ecx, dword [ebp - 0x590]
mov dword [ebp - 0x594], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x594]
push edx
lea ecx, [ebp - 0x438]
call fcn.004c4f10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x468]
call fcn.0047caf0
push 0
lea ecx, [ebp - 0x438]
call fcn.0047ca20
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp + 8]
call fcn.0047ca80
mov dword [ebp - 0x598], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x438]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
call fcn.0047caf0
mov eax, dword [ebp - 0x598]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret 8