joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10092af8
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b18e5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100df3e0]
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.10003c6c
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.10092920
pop ecx
push str.Simple_
lea ecx, [ebp - 0x10]
call fcn.10009f75
push 0
lea ecx, [ebp - 0x10]
call fcn.10012148
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.ConfigFile
lea ecx, [ebp - 0x10]
call fcn.10009f75
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
call fcn.10003cf0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003c6c
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10010628
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8

Function at 0x10092e25
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.10042d96
jmp 0x10092e50
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.1003db9b
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.1003d9d3
push eax
lea ecx, [ebp - 8]
call fcn.100422e7
movzx eax, al
test eax, eax
je 0x10092eb8
lea ecx, [ebp - 8]
call fcn.1003db8a
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.10004e35
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10092eb6
mov ecx, dword [ebp - 0xc]
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10092eb6
push 4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x10092e42
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.1003dad4
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10042d96
jmp 0x10092ee8
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.1003db9b
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.1003d9d3
push eax
lea ecx, [ebp - 0x14]
call fcn.100422e7
movzx eax, al
test eax, eax
je 0x10092f22
lea ecx, [ebp - 0x14]
call fcn.1003db8a
mov ecx, eax
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10092eda
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.1003dad4
leave
ret
Function at 0x10093326
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b246d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100df3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
push dword [0x100fb264]
lea eax, [ebp - 0x1c]
push eax
call fcn.10092bac
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
and dword [ebp - 4], 0
push 0x100c2214
push dword [ebp - 0x84]
lea eax, [ebp - 0x14]
push eax
call fcn.10010844
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.10010628
push 0
lea ecx, [ebp - 0x14]
call fcn.10012148
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100c2220
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10010844
add esp, 0xc
mov byte [ebp - 4], 3
push 0x100c2230
lea ecx, [ebp - 0x10]
call fcn.10012148
push eax
push 0x451
push dword [0x100fb264]
call fcn.10091b9c
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10093422
lea ecx, [ebp - 0x10]
call fcn.10012148
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10093422
and dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10010628
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10010628
mov eax, dword [ebp - 0x20]
jmp 0x1009350c
lea ecx, [ebp - 0x10]
call fcn.10012148
push eax
lea ecx, [ebp - 0x3c]
call fcn.10001712
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x7c]
add ecx, 0xe0
call fcn.1003da74
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.10001780
lea ecx, [ebp - 0x14]
call fcn.10012148
push eax
lea ecx, [ebp - 0x58]
call fcn.10001712
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x94]
mov ecx, dword [ebp - 0x7c]
add ecx, 0xf0
call fcn.1003da74
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.10001780
lea ecx, [ebp - 0x10]
call fcn.10012148
push eax
lea ecx, [ebp - 0x74]
call fcn.10001712
mov byte [ebp - 4], 6
push dword [0x100fb1e4]
push 1
call fcn.100457f5
lea edx, [ebp - 0x74]
mov ecx, eax
call fcn.100458fe
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.10001780
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10010628
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10010628
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x10093c3a
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2beb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100df3e0]
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.10070d10
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.10003c52
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 0x10093d65
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100c232c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10093d5c
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.10003d09
push str.QQRepair.exe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.10010844
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.10012148
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10093d4d
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x238]
call fcn.10012148
push eax
call fcn.100a7135
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10010628
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.10010628
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.1006e071
leave
ret 4
Function at 0x10093d97
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2c23
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x100df3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
jne 0x10093dce
xor eax, eax
inc eax
jmp 0x10093f65
mov eax, dword [ebp + 8]
and dword [eax + 0x30], 0
mov ecx, dword [ebp + 8]
add ecx, 0x80
call fcn.1003d9f2
mov eax, dword [ebp + 8]
cmp dword [eax + 0x54], 0
je 0x10093dff
mov eax, dword [ebp + 8]
push dword [eax + 0x54]
call fcn.100902c0
pop ecx
mov eax, dword [ebp + 8]
and dword [eax + 0x54], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x58], 0
je 0x10093e1a
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x58]
call fcn.1004e6e0
mov eax, dword [ebp + 8]
and dword [eax + 0x58], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
je 0x10093e54
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10093e49
push 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x28], eax
jmp 0x10093e4d
and dword [ebp - 0x28], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x5c], 0
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.1003d8a7
mov ecx, dword [ebp + 8]
add ecx, 0x70
call fcn.1003d8a7
mov ecx, dword [ebp + 8]
add ecx, 0x98
call fcn.1003c892
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.100a237d
mov ecx, dword [ebp + 8]
call fcn.10092a55
call fcn.1001199a
mov ecx, eax
call fcn.1009ce6d
call fcn.10056550
lea eax, [ebp - 0x18]
push eax
call fcn.10092ce9
pop ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
push 0x100c1544
push dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
call fcn.10010844
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.10012148
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1c]
call fcn.10010628
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10010628
lea eax, [ebp - 0x20]
push eax
call fcn.100aa7af
pop ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 1
push 0x100c155c
push dword [ebp - 0x3c]
lea eax, [ebp - 0x24]
push eax
call fcn.10010844
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.10012148
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x24]
call fcn.10010628
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10010628
mov ecx, dword [ebp + 8]
add ecx, 0x50
call fcn.10012148
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
call fcn.10092f92
mov ecx, dword [ebp + 8]
call fcn.10092e25
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret 4
Function at 0x1009465e
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b33be
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100df3e0]
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.10003c52
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100aa7af
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.10003cf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10010628
lea eax, [ebp - 0x24]
push eax
call fcn.10092920
pop ecx
push str.Download_
lea ecx, [ebp - 0x24]
call fcn.10009f75
push 0
lea ecx, [ebp - 0x24]
call fcn.10012148
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.10094296
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.10003def
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.10012148
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.10010844
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.10012148
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.10010844
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.10010844
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.10012148
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x10]
call fcn.10010628
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.10010628
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.10010628
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.10010628
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10010628
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10010628
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8
Function at 0x100947e9
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b33f1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100df3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.10092a55
lea ecx, [ebp - 0x1c]
call fcn.10003c52
and dword [ebp - 4], 0
push 0x100bbe9f
push 0x100c1d18
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.100b05b6
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
push 0
push 0x100c1d0c
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.10012148
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10015e03
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10010628
lea eax, [ebp - 0x18]
push eax
call fcn.100aa7af
pop ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.10092920
pop ecx
push 0x100c1d1c
lea ecx, [ebp - 0x18]
call fcn.10009f75
push 0
lea ecx, [ebp - 0x18]
call fcn.10012148
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100c1d30
lea ecx, [ebp - 0x18]
call fcn.10009f75
lea ecx, [ebp - 0x18]
call fcn.10012148
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1438
call fcn.1006dddd
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.10070d10
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 2
push 0xe0
call fcn.1006dddd
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10094927
mov ecx, dword [ebp - 0x2c]
call fcn.1003c65e
mov dword [ebp - 0x3c], eax
jmp 0x1009492b
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.10012148
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10009fb8
lea ecx, [ebp - 0x18]
call fcn.10012148
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10009fb8
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003d769
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.10010628
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10010628
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x10094cf9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b35a8
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100df3e0]
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.1002410f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.1003db52
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x228]
call fcn.1003db21
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10010f66
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x23c]
call fcn.1009405d
test eax, eax
jne 0x10094dab
and dword [ebp - 0x230], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10033c05
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10033c05
mov eax, dword [ebp - 0x230]
jmp 0x10094eae
push 0x100c2980
lea ecx, [ebp - 0x22c]
call fcn.100379b2
lea ecx, [ebp - 0x22c]
call fcn.1003db3a
test eax, eax
jne 0x10094dfa
and dword [ebp - 0x234], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10033c05
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10033c05
mov eax, dword [ebp - 0x234]
jmp 0x10094eae
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10070d10
add esp, 0xc
lea ecx, [ebp - 0x22c]
call fcn.10010f66
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.100379b2
lea ecx, [ebp - 0x228]
call fcn.10010f66
push eax
push 0x104
mov eax, dword [ebp + 0xc]
add eax, 0x90
push eax
call fcn.10072017
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.1003db3a
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10033c05
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10033c05
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.1006e071
leave
ret 8
Function at 0x10096583
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b3859
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x100df3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.10092a55
lea ecx, [ebp - 0x22c]
call fcn.10003c52
and dword [ebp - 4], 0
push str.8.1.2965.301
lea ecx, [ebp - 0x238]
call fcn.10003c85
mov byte [ebp - 4], 1
push 0x100bbe9e
push 0x100c1ce0
lea eax, [ebp - 0x234]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.100b05b6
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x254]
push 0
push 0x100c1ce4
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
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp + 8]
call fcn.10096370
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.10010628
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10010628
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10070d10
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x23c]
call fcn.10003c85
mov byte [ebp - 4], 3
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.10092af8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x23c]
call fcn.10010628
push 0x1438
call fcn.1006dddd
pop ecx
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x10], eax
push 0x1438
push 0
push dword [ebp - 0x10]
call fcn.10070d10
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0x186a0
push 0xe0
call fcn.1006dddd
pop ecx
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x1009672c
mov ecx, dword [ebp - 0x248]
call fcn.1003c65e
mov dword [ebp - 0x258], eax
jmp 0x10096733
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x22c]
call fcn.10012148
push eax
mov ecx, dword [ebp - 0x228]
call fcn.10009fb8
lea ecx, [ebp - 0x230]
call fcn.10012148
push eax
mov ecx, dword [ebp - 0x228]
add ecx, 0x1c
call fcn.10009fb8
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003d769
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
call fcn.1009258d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x100]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x100], eax
and dword [ebp - 0x24c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
call fcn.10010628
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10010628
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006e071
leave
ret 4
Function at 0x100967f2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
call fcn.1005ae92
movzx eax, al
test eax, eax
je 0x1009681b
push str.CTxdlControllerImp::DownloadNext
push 0xd2
push 0x100c1670
call fcn.1005ad21
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.10094ec7
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10096836
mov eax, 0x80004005
jmp 0x10096a06
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003d813
jmp 0x10096855
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc]
call fcn.100155ff
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003d836
push eax
lea ecx, [ebp - 0xc]
call fcn.100422e7
movzx eax, al
test eax, eax
je 0x10096a01
lea ecx, [ebp - 0xc]
call fcn.1003792b
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.1003792b
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x1009689f
cmp dword [ebp - 0x14], 0
jne 0x100968a1
jmp 0x10096847
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 4
ja 0x100969fc
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10004e35
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
call dword [eax + 4]
test eax, eax
je 0x10096969
mov eax, dword [ebp + 8]
and dword [eax + 0xc4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.10042d96
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.1003d9d3
push eax
lea ecx, [ebp - 0x1c]
call fcn.100422e7
movzx eax, al
test eax, eax
je 0x10096959
lea ecx, [ebp - 0x1c]
call fcn.1003db8a
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1009694f
push 0
push 0
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
push dword [ebp - 0x20]
call dword [eax + 0x10]
lea ecx, [ebp - 0x1c]
call fcn.1003dbcf
jmp 0x1009690b
xor eax, eax
jne 0x100968fc
xor eax, eax
jmp 0x10096a06
mov eax, dword [ebp + 8]
mov dword [eax + 0xc4], 0x12
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.10042d96
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.1003d9d3
push eax
lea ecx, [ebp - 0x28]
call fcn.100422e7
movzx eax, al
test eax, eax
je 0x100969f1
lea ecx, [ebp - 0x28]
call fcn.1003db8a
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x100969e7
mov eax, dword [ebp + 8]
push dword [eax + 0xc4]
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
push dword [ebp - 0x2c]
call dword [eax + 0x14]
lea ecx, [ebp - 0x28]
call fcn.1003dbcf
jmp 0x1009699e
xor eax, eax
jne 0x1009698f
mov eax, 0x80004005
jmp 0x10096a06
jmp 0x10096847
mov eax, 0x80004005
leave
ret 4