joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10094ba0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x3c], ecx
cmp dword [ebp + 0x10], 0
jne 0x10094bb6
xor eax, eax
jmp 0x10094cf5
mov dword [ebp - 0xc], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.100498b0
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.10049880
push eax
lea ecx, [ebp - 8]
call fcn.1004b2e0
movzx eax, al
test eax, eax
je 0x10094c39
lea ecx, [ebp - 0x18]
call fcn.100489c0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.100497c0
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x10094cf2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
call fcn.10049960
add eax, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
sub eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx]
jbe 0x10094ce9
cmp dword [ebp - 0x20], 0x12c
jbe 0x10094ce9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jbe 0x10094ce9
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 0
fild qword [ebp - 0x44]
fdiv qword [0x100dc2f0]
fstp qword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
fild qword [ebp - 0x4c]
fdiv qword [ebp - 0x30]
fnstcw word [ebp - 0x4e]
movzx eax, word [ebp - 0x4e]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp qword [ebp - 0x5c]
fldcw word [ebp - 0x4e]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
jmp 0x10094cf2
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1009553d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x1009554c
cmp dword [ebp + 0x10], 0
jg 0x10095554
mov eax, dword [ebp + 8]
jmp 0x100956d7
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jl 0x1009569d
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x1009555d
cmp dword [ebp + 0x10], 0
je 0x100956d1
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd128]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
jne 0x100956a3
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x100960f5
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
mov eax, dword [0x100ee3e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x854], ecx
and dword [ebp - 4], 0
push 0x820
push 0
lea eax, [ebp - 0x828]
push eax
call fcn.10074c40
add esp, 0xc
mov dword [ebp - 0x828], 0x820
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x81c], 1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x814], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x810], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x818], 1
push str.test.exe
push 0x400
lea eax, [ebp - 0x808]
push eax
call fcn.10075da2
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x10096222
push 0x100cf9e0
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x830], eax
cmp dword [ebp - 0x830], 0
jne 0x100961b6
xor eax, eax
jmp 0x100962f8
mov dword [ebp - 0x83c], 1
mov dword [ebp - 0x838], 0x820
lea eax, [ebp - 0x828]
mov dword [ebp - 0x834], eax
and dword [ebp - 0x840], 0
lea eax, [ebp - 0x840]
push eax
push 0x7530
push 1
lea eax, [ebp - 0x83c]
push eax
push dword [ebp - 0x830]
push 0x4a
push dword [ebp - 0x830]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov dword [ebp - 0x82c], eax
xor eax, eax
cmp dword [ebp - 0x82c], 0
setne al
jmp 0x100962f8
and dword [ebp - 0x848], 0
and dword [ebp - 0x84c], 0
and dword [ebp - 0x844], 0
jne 0x10096257
push str.Global9830FF25_8009_4406_90C8_1B4C7692A0E3_SM
push 0x820
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x844], eax
cmp dword [ebp - 0x844], 0
je 0x100962f2
push 0x820
push 0
push 0
push 6
push dword [ebp - 0x844]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x84c], eax
push 0x820
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x84c]
call fcn.10074cc0
add esp, 0xc
push str.Global9830FF25_8009_4406_90C8_1B4C7692A0E3_EVT
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x850], eax
cmp dword [ebp - 0x850], 0
je 0x100962cf
push dword [ebp - 0x850]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 0x848], 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x84c]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x844]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x848]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10071fa1
leave
ret 8
Function at 0x10096cb0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x100ee3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x10096cd0
xor eax, eax
jmp 0x10096dc8
and dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x10096dc5
push 0x22c
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.10074c40
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10096dbc
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x10096da5
and word [ebp - 0x450], 0
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call fcn.10074c40
add esp, 0xc
push 0x103
push dword [ebp - 0x244]
lea eax, [ebp - 0x450]
push eax
call fcn.100752b3
add esp, 0xc
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
push dword [ebp + 8]
lea eax, [ebp - 0x450]
push eax
call fcn.10076195
pop ecx
pop ecx
test eax, eax
jne 0x10096da5
mov dword [ebp - 4], 1
jmp 0x10096dbc
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0xc], eax
jmp 0x10096d1c
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10071fa1
leave
ret
Function at 0x10097c66
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bbbdc
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100ee3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
and dword [ebp - 0x14], 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10003b40
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.10097a8e
pop ecx
push str.Simple_
lea ecx, [ebp - 0x10]
call fcn.10009fcd
push 0
lea ecx, [ebp - 0x10]
call fcn.100348a0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.ConfigFile
lea ecx, [ebp - 0x10]
call fcn.10009fcd
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
call fcn.10003bc4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003b40
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100106a5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8

Function at 0x10097ff3
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc10c
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x100ee3e0]
xor eax, ebp
mov dword [ebp - 0x48], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and word [ebp - 0x84c], 0
push 0x7fe
push 0
lea eax, [ebp - 0x84a]
push eax
call fcn.10074c40
add esp, 0xc
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
call fcn.10010607
and dword [ebp - 4], 0
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x84c]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10098074
cmp dword [ebp - 0x18], 0x400
jb 0x10098092
and dword [ebp - 0x850], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100106a5
mov eax, dword [ebp - 0x850]
jmp 0x10098122
lea eax, [ebp - 0x84c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x10]
call fcn.10096343
pop ecx
pop ecx
cmp eax, 1
jne 0x100980ea
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x44]
push str._c:_u__u__u__u__u__u__u_
lea eax, [ebp - 0x14]
push eax
call fcn.10015f61
add esp, 0x28
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.100414d3
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x10]
call fcn.10071f8b
pop ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
test eax, eax
jne 0x1009809b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x854], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100106a5
mov eax, dword [ebp - 0x854]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x48]
xor ecx, ebp
call fcn.10071fa1
leave
ret
Function at 0x10098896
Capabilities:
Check if file exists
Delete directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.100392df
jmp 0x100988c1
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.100418c5
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.10044dad
push eax
lea ecx, [ebp - 8]
call fcn.1003bf1f
movzx eax, al
test eax, eax
je 0x10098929
lea ecx, [ebp - 8]
call fcn.100418b4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.10004d78
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10098927
mov ecx, dword [ebp - 0xc]
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10098927
push 4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x100988b3
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.10037dcb
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.100392df
jmp 0x10098959
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.100418c5
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10044dad
push eax
lea ecx, [ebp - 0x14]
call fcn.1003bf1f
movzx eax, al
test eax, eax
je 0x10098993
lea ecx, [ebp - 0x14]
call fcn.100418b4
mov ecx, eax
call fcn.10004d78
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1009894b
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10037dcb
leave
ret
Function at 0x100999ea
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd1a7
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100ee3e0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x18], 0
and word [ebp - 0x234], 0
push 0x208
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.10074c40
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.10010607
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x20a
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push str.SoftwareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10099b15
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100cebc4
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10099b0c
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003bdd
push str.QQRepair.exe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.100108cb
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.100348a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10099afd
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x238]
call fcn.100348a0
push eax
call fcn.100b0eab
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.100106a5
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x23c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100106a5
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.10071fa1
leave
ret 4
Function at 0x10099b47
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd20b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x100ee3e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x294], ecx
push dword [0x1010a390]
lea eax, [ebp - 0x234]
push eax
call fcn.10097d1a
pop ecx
pop ecx
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x29c], eax
and dword [ebp - 4], 0
push 0x100cea94
push dword [ebp - 0x29c]
lea eax, [ebp - 0x14]
push eax
call fcn.100108cb
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.100106a5
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10074c40
add esp, 0xc
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.100348a0
push eax
call fcn.100b0b33
add esp, 0x10
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003bdd
push 0
lea ecx, [ebp - 0x14]
call fcn.100348a0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100ceab8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100108cb
add esp, 0xc
mov byte [ebp - 4], 3
push 0
push 0x100ceac8
lea ecx, [ebp - 0x10]
call fcn.100348a0
push eax
push 0x451
push dword [0x1010a390]
call fcn.100985d1
add esp, 0x14
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x10099caf
lea ecx, [ebp - 0x10]
call fcn.100348a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10099caf
and dword [ebp - 0x238], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.100106a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100106a5
mov eax, dword [ebp - 0x238]
jmp 0x10099dc0
lea ecx, [ebp - 0x10]
call fcn.100348a0
push eax
lea ecx, [ebp - 0x254]
call fcn.100016ce
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x294]
add ecx, 0xe0
call fcn.10037d6b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.1000173c
lea ecx, [ebp - 0x14]
call fcn.100348a0
push eax
lea ecx, [ebp - 0x270]
call fcn.100016ce
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x294]
add ecx, 0xf0
call fcn.10037d6b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.1000173c
lea ecx, [ebp - 0x10]
call fcn.100348a0
push eax
lea ecx, [ebp - 0x28c]
call fcn.100016ce
mov byte [ebp - 4], 6
push dword [0x1010a30c]
push 1
call fcn.10047055
lea edx, [ebp - 0x28c]
mov ecx, eax
call fcn.1004715e
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28c]
call fcn.1000173c
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.100106a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100106a5
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10071fa1
leave
ret
Function at 0x10099dd7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd6d1
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x100ee3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x11c], ecx
push 0x100cff60
lea ecx, [ebp - 0x10]
call fcn.10003b59
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10009fcd
push 0x100cff68
lea ecx, [ebp - 0x98]
call fcn.100016ce
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x124]
push 0x100cff6c
lea ecx, [ebp - 0xb4]
call fcn.100016ce
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x12c]
push 0x100cff70
lea ecx, [ebp - 0xd0]
call fcn.100016ce
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x134]
lea ecx, [ebp - 0x10]
call fcn.100348a0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xd4], esp
push eax
call fcn.100016ce
lea ecx, [ebp - 0x7c]
call fcn.100bb51a
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd0]
call fcn.1000173c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.1000173c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.1000173c
and dword [ebp - 0xd8], 0
push 0x100cff78
lea ecx, [ebp - 0xf4]
call fcn.100016ce
mov byte [ebp - 4], 8
lea eax, [ebp - 0xd8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10016747
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf4]
call fcn.1000173c
and dword [ebp - 0xf8], 0
push 0x100cff80
lea ecx, [ebp - 0x114]
call fcn.100016ce
mov byte [ebp - 4], 9
lea eax, [ebp - 0xf8]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10016747
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x114]
call fcn.1000173c
push 0
push 0x100cff88
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x11c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0xc]
push dword [eax]
push str.Define__d___d__d
lea eax, [ebp - 0x10]
push eax
call fcn.10015ed2
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.100348a0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x118], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.100bb600
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100106a5
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10071fa1
leave
ret 0xc
Function at 0x1009a8f3
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bdb89
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100ee3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x24]
call fcn.10010607
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100b4944
pop ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x38]
lea ecx, [ebp - 0x24]
call fcn.10003bc4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100106a5
lea eax, [ebp - 0x24]
push eax
call fcn.10097a8e
pop ecx
push str.Download_
lea ecx, [ebp - 0x24]
call fcn.10009fcd
push 0
lea ecx, [ebp - 0x24]
call fcn.100348a0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.1009a52b
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10003cc3
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.100348a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str..tdl
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100108cb
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.100348a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str..xfd
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100108cb
add esp, 0xc
mov byte [ebp - 4], 5
push str..xftp
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100108cb
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.100348a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x10]
call fcn.100106a5
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.100106a5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.100106a5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.100106a5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100106a5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.100106a5
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8