joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10094cb5
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
mov eax, dword [0x100e93e0]
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.100738a0
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.10074cf5
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x10094de2
push 0x100ccd90
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x830], eax
cmp dword [ebp - 0x830], 0
jne 0x10094d76
xor eax, eax
jmp 0x10094eb8
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 0x10094eb8
and dword [ebp - 0x848], 0
and dword [ebp - 0x84c], 0
and dword [ebp - 0x844], 0
jne 0x10094e17
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 0x10094eb2
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.10073920
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 0x10094e8f
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.10070c21
leave
ret 8
Function at 0x10095890
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x100958b0
xor eax, eax
jmp 0x100959a8
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 0x100959a5
push 0x22c
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.100738a0
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 0x1009599c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x10095985
and word [ebp - 0x450], 0
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call fcn.100738a0
add esp, 0xc
push 0x103
push dword [ebp - 0x244]
lea eax, [ebp - 0x450]
push eax
call fcn.10073f13
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.100750e8
pop ecx
pop ecx
test eax, eax
jne 0x10095985
mov dword [ebp - 4], 1
jmp 0x1009599c
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0xc], eax
jmp 0x100958fc
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.10070c21
leave
ret
Function at 0x100968a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba849
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100e93e0]
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.10003c1e
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.100966c8
pop ecx
push str.Simple_
lea ecx, [ebp - 0x10]
call fcn.10009fe3
push 0
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.ConfigFile
lea ecx, [ebp - 0x10]
call fcn.10009fe3
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
call fcn.10003ca2
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003c1e
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100105a7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8

Function at 0x10096c2d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bad79
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x100e93e0]
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.100738a0
add esp, 0xc
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
call fcn.10003c04
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 0x10096cae
cmp dword [ebp - 0x18], 0x400
jb 0x10096ccc
and dword [ebp - 0x850], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100105a7
mov eax, dword [ebp - 0x850]
jmp 0x10096d5c
lea eax, [ebp - 0x84c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x10]
call fcn.10094f03
pop ecx
pop ecx
cmp eax, 1
jne 0x10096d24
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.1001611c
add esp, 0x28
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.10041142
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x10]
call fcn.10070c0b
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 0x10096cd5
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x854], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100105a7
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.10070c21
leave
ret
Function at 0x100974d0
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.1004132e
jmp 0x100974fb
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.10041538
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.100413a8
push eax
lea ecx, [ebp - 8]
call fcn.1003e931
movzx eax, al
test eax, eax
je 0x10097563
lea ecx, [ebp - 8]
call fcn.100414be
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.10004e3f
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10097561
mov ecx, dword [ebp - 0xc]
call fcn.10004e3f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10097561
push 4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10004e3f
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x100974ed
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.1003805e
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.1004132e
jmp 0x10097593
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10041538
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.100413a8
push eax
lea ecx, [ebp - 0x14]
call fcn.1003e931
movzx eax, al
test eax, eax
je 0x100975cd
lea ecx, [ebp - 0x14]
call fcn.100414be
mov ecx, eax
call fcn.10004e3f
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10097585
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.1003805e
leave
ret
Function at 0x100985e5
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bbec3
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100e93e0]
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.100738a0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.10003c04
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 0x10098710
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100cc52c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10098707
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.10003cbb
push str.QQRepair.exe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.100107cd
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.100350cd
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100986f8
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x238]
call fcn.100350cd
push eax
call fcn.100afcbc
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.100105a7
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.100105a7
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.10070c21
leave
ret 4
Function at 0x10098742
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bbf27
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x100e93e0]
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 [0x10105210]
lea eax, [ebp - 0x234]
push eax
call fcn.10096954
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 0x100cc3fc
push dword [ebp - 0x29c]
lea eax, [ebp - 0x14]
push eax
call fcn.100107cd
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.100105a7
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.100738a0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.100350cd
push eax
call fcn.100af944
add esp, 0x10
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003cbb
push 0
lea ecx, [ebp - 0x14]
call fcn.100350cd
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100cc420
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100107cd
add esp, 0xc
mov byte [ebp - 4], 3
push 0
push 0x100cc430
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
push 0x451
push dword [0x10105210]
call fcn.1009720b
add esp, 0x14
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x100988aa
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100988aa
and dword [ebp - 0x238], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100105a7
mov eax, dword [ebp - 0x238]
jmp 0x100989bb
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x254]
call fcn.100016fc
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.10037ffe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.1000176a
lea ecx, [ebp - 0x14]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x270]
call fcn.100016fc
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.10037ffe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.1000176a
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
lea ecx, [ebp - 0x28c]
call fcn.100016fc
mov byte [ebp - 4], 6
push dword [0x1010518c]
push 1
call fcn.10046cf0
lea edx, [ebp - 0x28c]
mov ecx, eax
call fcn.10046df9
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28c]
call fcn.1000176a
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100105a7
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.10070c21
leave
ret
Function at 0x100989d2
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc3b2
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x100e93e0]
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 0x100cd214
lea ecx, [ebp - 0x10]
call fcn.10003c37
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10009fe3
push 0x100cd21c
lea ecx, [ebp - 0x98]
call fcn.100016fc
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 0x100cd220
lea ecx, [ebp - 0xb4]
call fcn.100016fc
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 0x100cd224
lea ecx, [ebp - 0xd0]
call fcn.100016fc
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.100350cd
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xd4], esp
push eax
call fcn.100016fc
lea ecx, [ebp - 0x7c]
call fcn.100ba191
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd0]
call fcn.1000176a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.1000176a
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.1000176a
and dword [ebp - 0xd8], 0
push 0x100cd22c
lea ecx, [ebp - 0xf4]
call fcn.100016fc
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.100167d9
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf4]
call fcn.1000176a
and dword [ebp - 0xf8], 0
push 0x100cd234
lea ecx, [ebp - 0x114]
call fcn.100016fc
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.100167d9
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x114]
call fcn.1000176a
push 0
push 0x100cd23c
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.10015f58
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.100350cd
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.100ba277
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100105a7
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.10070c21
leave
ret 0xc
Function at 0x100994ee
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc7cf
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100e93e0]
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.10003c04
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100b366f
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.10003ca2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100105a7
lea eax, [ebp - 0x24]
push eax
call fcn.100966c8
pop ecx
push str.Download_
lea ecx, [ebp - 0x24]
call fcn.10009fe3
push 0
lea ecx, [ebp - 0x24]
call fcn.100350cd
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.10099126
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.10003da1
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.100350cd
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.100107cd
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.100350cd
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.100107cd
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.100107cd
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.100350cd
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x10]
call fcn.100105a7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.100105a7
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.100105a7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.100105a7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.100105a7
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8
Function at 0x10099679
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc802
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100e93e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.100967fd
lea ecx, [ebp - 0x1c]
call fcn.10003c04
and dword [ebp - 4], 0
push 0x100c693e
push 0x100cbd40
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.100b95ef
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
push 0
push 0x100cbd34
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.100350cd
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10015f58
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100105a7
lea eax, [ebp - 0x18]
push eax
call fcn.100b366f
pop ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.100966c8
pop ecx
push 0x100cbd44
lea ecx, [ebp - 0x18]
call fcn.10009fe3
push 0
lea ecx, [ebp - 0x18]
call fcn.100350cd
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100cbd58
lea ecx, [ebp - 0x18]
call fcn.10009fe3
lea ecx, [ebp - 0x18]
call fcn.100350cd
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1438
call fcn.10070967
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
push 0x1438
push 0
push dword [ebp - 0x10]
call fcn.100738a0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 2
push 0xe0
call fcn.10070967
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x100997b7
mov ecx, dword [ebp - 0x2c]
call fcn.1003fa9e
mov dword [ebp - 0x3c], eax
jmp 0x100997bb
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
and dword [eax + 8], 0
lea ecx, [ebp - 0x1c]
call fcn.100350cd
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1000a026
lea ecx, [ebp - 0x18]
call fcn.100350cd
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.1000a026
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1004125d
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x2c]
and dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100105a7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100105a7
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x10099c2e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bca38
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100e93e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x22c]
call fcn.1001900a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.10041500
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x228]
call fcn.100414cf
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10010ef9
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x23c]
call fcn.10098eed
test eax, eax
jne 0x10099ce0
and dword [ebp - 0x230], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10017651
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10017651
mov eax, dword [ebp - 0x230]
jmp 0x10099de3
push 0x100cccfc
lea ecx, [ebp - 0x22c]
call fcn.1003827f
lea ecx, [ebp - 0x22c]
call fcn.100414e8
test eax, eax
jne 0x10099d2f
and dword [ebp - 0x234], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10017651
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10017651
mov eax, dword [ebp - 0x234]
jmp 0x10099de3
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.100738a0
add esp, 0xc
lea ecx, [ebp - 0x22c]
call fcn.10010ef9
push eax
push 0x104
lea eax, [ebp - 0x224]
push eax
push str.setup.exe
push str.PacketExe
push str.setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.1003827f
lea ecx, [ebp - 0x228]
call fcn.10010ef9
push eax
push 0x104
mov eax, dword [ebp + 0xc]
add eax, 0x90
push eax
call fcn.10074cf5
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.100414e8
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10017651
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10017651
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10070c21
leave
ret 8