joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447180
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x493c9b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4bea30]
xor eax, esp
mov dword [esp + 0x21c], eax
push esi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jne 0x4471c5
xor eax, eax
jmp 0x4472c5
push str.QueryProcessTopLevelWindow
push str.CInstallAction
call fcn.0042af10
xor eax, eax
mov dword [esp + 0x1c], eax
add esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push 0x4472f0
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x4472aa
cmp dword [esp + 0xc], eax
je 0x4472aa
call fcn.0045525d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x447229
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
push 0x104
lea ecx, [esp + 0x20]
mov dword [esp + 0x234], 0
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x10]
push str._p:_s
push edx
call fcn.004045e0
mov esi, dword [esp + 0x18]
push str.QueryProcessTopLevelWindow
call fcn.0042b470
lea eax, [esi - 0x10]
add esp, 0x14
mov dword [esp + 0x230], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4472aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push ecx
push str.QueryProcessTopLevelWindow
push str.CInstallAction
call fcn.0042b330
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0047a105
add esp, 0x22c
ret

Function at 0x4485d0
Capabilities:
Terminate thread

Disassembly:
push esi
push 0x4aa96c
push str.CPanelAction
mov esi, ecx
call fcn.0042af10
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
add esp, 8
mov ecx, esi
call edx
test eax, eax
je 0x44861b
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x2c]
push 0x4c7
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x14]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x2c], 0
push 0x4aa96c
push str.CPanelAction
xor esi, esi
call fcn.0042b0b0
add esp, 8
pop esi
ret
Function at 0x449160
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
push edi
push str.TernimateDeviceopOrScanop
push str.CPanelAction
call fcn.0042af10
add esp, 8
push str.sendvalue.installer.epson.co.jp
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push eax
push str.RegisterWindowMessage
call fcn.0042b600
add esp, 8
lea eax, [esp + 8]
push eax
push 0x4491d0
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 8]
push ecx
mov edi, str.TernimateDeviceopOrScanop
mov ecx, str.CPanelAction
call fcn.0042b400
mov eax, dword [esp + 0xc]
add esp, 4
pop edi
add esp, 8
ret

Function at 0x4497e0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x234
mov eax, dword [0x4bea30]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
push 0
push 2
mov dword [esp + 0xc], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x44984c
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x449845
lea ecx, [esp + 4]
push ecx
push ebx
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
jne 0x449845
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x449824
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.0047a105
add esp, 0x234
ret
Function at 0x44a230
Capabilities:
Query or enumerate registry key

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
xor ecx, ecx
push esi
mov eax, 0x208
mov edx, 2
xor esi, esi
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.00455056
add esp, 4
push esi
push esi
push esi
push esi
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
push ebx
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x44a2f3
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
test esi, esi
jne 0x44a2dc
test edi, edi
je 0x44a295
push edi
call fcn.0045505b
add esp, 4
xor ecx, ecx
mov eax, 0x410
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00455056
add esp, 4
push 0
push 0
push 0
push 0
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
push ebx
mov dword [esp + 0x2c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x44a2f3
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov dword [ecx], edi
pop edi
mov dword [eax], edx
mov eax, esi
pop esi
pop ebp
pop ecx
ret
test edi, edi
je 0x44a300
push edi
call fcn.0045505b
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x44aaa0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x4bea30]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebp
mov ebp, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push str.Base_Name
push esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x104
call ebx
test eax, eax
jne 0x44ab53
cmp dword [esp + 8], 1
jne 0x44ab53
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44ab00
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call fcn.00404b00
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push str.Port_Number
push esi
mov dword [esp + 0x24], 0x104
call ebx
test eax, eax
jne 0x44ab53
cmp dword [esp + 8], 4
jne 0x44ab53
test ebp, ebp
je 0x44ab53
mov ecx, dword [esp + 0x10]
mov dword [ebp], ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x114]
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0047a105
add esp, 0x110
ret
Function at 0x44ad60
Capabilities:
Check for time delay via gettickcount
Check os version

Disassembly:
sub esp, 0x130
mov eax, dword [0x4bea30]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x134]
push ebx
push ebp
push esi
push edi
push str.QueryDeviceConnectionOnUSBPort
push str.CQueryDevice
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call fcn.0042af10
push 0x11c
xor edi, edi
lea edx, [esp + 0x24]
push edi
push edx
call fcn.0047c3b0
add esp, 0x14
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x1c]
cmp eax, 6
jb 0x44aee8
jne 0x44add8
cmp dword [esp + 0x20], 2
jb 0x44aee8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov ebp, eax
xor esi, esi
cmp esi, 0xea60
jae 0x44ae2b
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
call fcn.0044af20
mov edi, eax
test edi, edi
jne 0x44ae1c
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
sub eax, ebp
push eax
push str.EllapseTime
call fcn.0042b540
add esp, 8
add esi, 0x7d0
test edi, edi
je 0x44ade4
jmp 0x44aec4
test edi, edi
jne 0x44aec4
mov ecx, SysReAllocString
mov eax, str.USB001
xor edx, edx
nop
cmp word [eax], 0
je 0x44ae50
add eax, 2
sub ecx, 1
jne 0x44ae40
jmp 0x44ae58
test ecx, ecx
jne 0x44aedc
mov edx, 0x80070057
xor eax, eax
xor ecx, ecx
test edx, edx
setl cl
mov edx, 2
sub ecx, 1
and ecx, eax
add ecx, 1
mov esi, ecx
xor ecx, ecx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00455056
mov edi, eax
add esp, 4
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.0047c3b0
add esp, 0xc
cmp esi, 0x7fffffff
ja 0x44aeb2
mov eax, str.USB001
mov edx, esi
mov ecx, edi
call fcn.00402840
push str.QueryDeviceConnectionOnUSBPort
mov esi, str.Incompleted__
call fcn.0042b470
add esp, 4
push str.QueryDeviceConnectionOnUSBPort
push str.CQueryDevice
mov esi, edi
call fcn.0042b0b0
add esp, 8
mov eax, edi
jmp 0x44af01
mov eax, SysReAllocString
sub eax, ecx
jmp 0x44ae5f
push str.QueryDeviceConnectionOnUSBPort
push str.CQueryDevice
mov esi, str.Environment_mismatch__
call fcn.0042b0b0
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047a105
add esp, 0x130
ret
Function at 0x44b580
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 4], 0
mov dword [esp], ecx
jne 0x44b593
mov eax, 6
pop ecx
ret 0x1c
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x18]
push 0
push 0
push ebx
push ebp
push edi
call dword [sym.imp.SETUPAPI.dll_SetupInitDefaultQueueCallbackEx]
push 0x30
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
call fcn.0045502b
push 0x30
mov esi, eax
push 0
push esi
call fcn.0047c3b0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x14], ebx
xor ebx, ebx
add esp, 0x10
test al, 4
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x18], 0x44bc40
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], ebx
je 0x44b681
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
je 0x44b62a
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
xor ecx, ecx
cmp eax, ebx
je 0x44b621
mov ecx, eax
mov dword [edx + 4], ebx
mov dword [esi + 4], 1
jmp 0x44b631
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x18]
push edx
push ebx
push esi
push 0x44b6d0
push ebx
push ebx
mov dword [esi], ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
je 0x44b679
cmp ebp, ebx
je 0x44b664
mov eax, dword [esp + 0x20]
mov dword [ebp], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x2c]
jmp 0x44b6ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44b6ab
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
push esi
push 0x44bc40
push eax
push edi
call dword [sym.imp.SETUPAPI.dll_SetupCommitFileQueueW]
test eax, eax
jne 0x44b6af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x44b6af
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupTermDefaultQueueCallback]
push esi
call fcn.0045505b
mov eax, dword [esp + 0x24]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
Function at 0x44baa0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x270
mov eax, dword [0x4bea30]
xor eax, esp
mov dword [esp + 0x26c], eax
mov eax, dword [esp + 0x27c]
push ebx
push ebp
mov ebp, dword [esp + 0x27c]
cmp dword [ebp + 4], 0
push esi
mov esi, dword [esp + 0x284]
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0
jne 0x44baee
xor eax, eax
jmp 0x44bc16
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x44bc12
mov eax, esi
call fcn.004354e0
mov ebx, eax
add ebx, 1
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00455056
add esp, 4
cmp ebx, 0x7fffffff
mov edi, eax
ja 0x44bb43
mov eax, esi
mov edx, ebx
mov ecx, edi
call fcn.00402840
call fcn.00430330
jmp 0x44bb50
mov eax, dword [esp + 0x28]
shr eax, 4
not eax
test al, 1
je 0x44bbe6
lea eax, [esp + 0x54]
call fcn.004354e0
lea esi, [eax + ebx + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00455056
add esp, 4
cmp ebx, 0x7fffffff
mov esi, eax
ja 0x44bb9e
mov eax, edi
mov edx, ebx
mov ecx, esi
call fcn.00402840
lea eax, [esp + 0x54]
push eax
mov eax, esi
call fcn.00430470
mov eax, dword [esp + 0x298]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp]
mov edx, dword [edx + 4]
add esp, 4
push eax
mov eax, dword [esp + 0x294]
push 0
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
push esi
mov ecx, ebp
call edx
add dword [esp + 0x14], eax
push esi
call fcn.0045505b
add esp, 4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44bb50
push edi
call fcn.0045505b
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047a105
add esp, 0x270
ret 0x14

Function at 0x44bd20
Capabilities:
Get disk size

Disassembly:
sub esp, 0x220
mov eax, dword [0x4bea30]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
cmp word [eax + 2], 0x3a
mov ecx, eax
jne 0x44bd65
cmp word [eax + 4], 0x5c
jne 0x44bd65
mov ecx, dword [eax]
mov dx, word [eax + 4]
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], dx
mov word [esp + 0x16], 0
lea ecx, [esp + 0x10]
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x44bdb3
test esi, esi
je 0x44bdb3
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov dword [esi], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 4], edx
mov edx, dword [esp + 0xc]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0047a105
add esp, 0x220
ret
Function at 0x44c1f0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
push edi
mov dword [esi], vtable.CRemainingTime.0
je 0x44c20a
push eax
call fcn.0045505b
add esp, 4
mov eax, dword [esi + 0x10]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], 0
je 0x44c22d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x10]
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44c237
push eax
call edi
mov esi, dword [esi + 0x18]
test esi, esi
je 0x44c241
push esi
call edi
pop edi
pop esi
ret

Function at 0x44c254
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
mov dword [esi + 8], eax
xor ecx, ecx
push edi
add eax, 1
mov edx, 8
xor edi, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00455056
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x18]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
push edx
push eax
mov dword [esi + 0xc], eax
call fcn.00482520
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push 4
push esi
push 0x44c6c0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x10], eax
je 0x44c2c3
mov ecx, dword [esp + 0xc]
push eax
mov dword [esi + 4], ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [edi + 1]
pop edi
pop esi
ret 0xc
mov eax, edi
pop edi
pop esi
ret 0xc
Function at 0x44d320
Capabilities:
Log keystrokes via polling

Disassembly:
push edi
mov edi, eax
mov ecx, edi
call fcn.0044dc30
mov eax, dword [edi + 0x3c]
cmp eax, 1
jne 0x44d33a
mov ecx, edi
pop edi
jmp fcn.0044d350
cmp eax, 5
je 0x44d347
mov ecx, edi
pop edi
jmp fcn.0044d6c0
call fcn.00450f80
pop edi
ret
Function at 0x44e1d0
Capabilities:
Create directory
Delete file
Move file

Disassembly:
sub esp, 0x24
push esi
push str.ClearWebDownloadFolder
push 0x4ab404
mov esi, eax
call fcn.0042af10
mov eax, dword [esi + 0x44]
add esp, 8
test eax, eax
je 0x44e356
mov eax, dword [eax + 8]
test eax, eax
je 0x44e356
push eax
call fcn.004334c0
add esp, 4
test eax, eax
je 0x44e32f
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
mov eax, dword [esi + 0x44]
push edi
mov dword [esp + 0x10], 3
mov ecx, dword [eax + 8]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x18], ecx
mov word [esp + 0x20], 0x14
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push eax
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + 8]
push ecx
call fcn.0042b540
add esp, 8
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
push esi
push 0x44e380
mov dword [esi + 0x48], eax
call fcn.0045d245
mov edi, eax
test edi, edi
je 0x44e324
mov edx, dword [esi + 0x48]
push 0x7530
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push eax
push str.WaitResult
mov dword [esp + 0x10], eax
call fcn.0042b540
add esp, 8
cmp dword [esp + 8], 0x102
jne 0x44e324
mov eax, dword [esi + 0x48]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [edi + 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea ecx, [esp + 0xc]
push ecx
push edx
call ebx
test eax, eax
je 0x44e311
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44e2f0
cmp dword [esp + 0x10], 0x103
jne 0x44e310
push 0x1f4
call ebp
mov ecx, dword [edi + 0x2c]
lea eax, [esp + 0x10]
push eax
push ecx
call ebx
test eax, eax
jne 0x44e2f0
pop ebp
mov edx, dword [esp + 0xc]
push edx
push str.ThreadResult
call fcn.0042b540
add esp, 8
pop ebx
mov eax, dword [esi + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [esi + 0x44]
mov edx, dword [ecx + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push eax
push str.ClearWebDownloadFolder
push 0x4ab404
call fcn.0042b190
add esp, 0xc
pop esi
add esp, 0x24
ret
push str.ClearWebDownloadFolder
push 0x4ab404
mov esi, str.InvalidParameter
call fcn.0042b0b0
add esp, 8
pop esi
add esp, 0x24
ret
Function at 0x44fc80
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4941a0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea30]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
push str.LoadDownloadLibraryByCmdline
push 0x4ab404
call fcn.0042af10
add esp, 8
xor ebx, ebx
call fcn.0045ed7b
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x48]
lea ecx, [esp + 0x18]
push ecx
call fcn.00422880
mov dword [esp + 0x2c], ebx
call fcn.0045525d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x44fcf2
push 0x80004005
call fcn.004022b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x34]
push ecx
push str.IDEA
lea eax, [esp + 0x20]
mov byte [esp + 0x34], 1
call fcn.004229a0
test eax, eax
mov esi, dword [esp + 0x34]
je 0x44fd8d
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44fd8d
mov eax, dword [ebp + 0x40]
test eax, eax
je 0x44fd42
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp + 0x40], 0
cmp dword [ebp + 0x40], 0
mov edi, 1
jne 0x44fd60
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor edx, edx
test eax, eax
setne dl
mov dword [ebp + 0x40], eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
mov ebx, edi
je 0x44fd8d
mov ebp, dword [ebp + 8]
push esi
push ebp
mov eax, str._IDEA_
mov ecx, 1
call fcn.00435f90
push str.IDEA
call fcn.0042b470
add esp, 4
push ebx
push str.LoadDownloadLibraryByCmdline
push 0x4ab404
call fcn.0042b190
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44fdc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x18], vtable.CCmdlineParser.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44fdf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x4527f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
mov edi, eax
mov esi, edi
shr esi, 2
test esi, esi
jle 0x452833
movzx eax, byte [ecx]
xor edx, edx
mov dh, byte [ecx + 1]
add ecx, 1
add ecx, 1
add ecx, 1
sub esi, 1
add ecx, 1
or eax, edx
movzx edx, byte [ecx - 2]
shl edx, 0x10
or eax, edx
movzx edx, byte [ecx - 1]
shl edx, 0x18
or eax, edx
xor ebp, eax
test esi, esi
jg 0x452802
and edi, 3
xor eax, eax
sub edi, 1
je 0x452859
sub edi, 1
je 0x452850
sub edi, 1
jne 0x45285e
movzx eax, byte [ecx]
shl eax, 0x10
add ecx, 1
xor edx, edx
mov dh, byte [ecx]
or eax, edx
add ecx, 1
movzx ecx, byte [ecx]
or eax, ecx
pop edi
pop esi
xor eax, ebp
pop ebp
ret

Function at 0x452900
Capabilities:
Get disk size

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4bea30]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push esi
xor esi, esi
cmp word [eax + 2], 0x3a
jne 0x452944
cmp word [eax + 4], 0x5c
jne 0x452944
mov ecx, dword [eax]
mov dx, word [eax + 4]
mov dword [esp + 0x14], ecx
mov word [esp + 0x18], dx
mov word [esp + 0x1a], si
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x452982
mov eax, dword [esp + 4]
imul eax, dword [esp + 8]
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0047a105
add esp, 0x21c
ret
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0047a105
add esp, 0x21c
ret

Function at 0x454620
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov ebx, 0x104
call fcn.0045502b
mov esi, eax
add esp, 4
test esi, esi
je 0x4546cd
push 0x208
push edi
push esi
call fcn.0047c3b0
add esp, 0xc
test esi, esi
je 0x4546cd
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, 0x208
push esi
push ebx
call ebp
cmp ebx, eax
ja 0x4546a7
test esi, esi
je 0x454675
push esi
call fcn.0045505b
add esp, 4
add edi, 0x208
push edi
add ebx, 0x104
call fcn.0045502b
mov esi, eax
add esp, 4
test esi, esi
je 0x4546a0
push edi
push 0
push esi
call fcn.0047c3b0
add esp, 0xc
test esi, esi
jne 0x454660
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret
test esi, esi
je 0x4546a0
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
call edi
push esi
mov ebx, eax
call edi
push esi
call fcn.0045505b
add esp, 4
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebx
ret