joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409bb0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
mov eax, dword [0x46d394]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x63c], ecx
mov eax, dword [ebp - 0x63c]
mov dword [eax + 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 8], 0x30b
mov ecx, dword [ebp - 8]
push ecx
lea edx, [ebp - 0x628]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x409c00
jmp 0x409dad
xor eax, eax
mov ecx, dword [ebp - 8]
mov word [ebp + ecx*2 - 0x628], ax
push 0
push 0
push 3
push 0
push 1
push 0x80000000
lea edx, [ebp - 0x628]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x409dad
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x62c], eax
mov ecx, dword [ebp - 0x63c]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp - 0x62c]
jle 0x409c68
mov eax, dword [ebp - 0x63c]
mov ecx, dword [ebp - 0x62c]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x63c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x62c]
jle 0x409c88
mov ecx, dword [ebp - 0x63c]
mov edx, dword [ebp - 0x62c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x63c]
movzx ecx, byte [eax]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 2
push ecx
push 0
mov edx, dword [ebp - 0x63c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x409dad
mov edx, dword [ebp - 0x63c]
movzx eax, byte [edx + 0xc]
test eax, eax
je 0x409cdd
mov ecx, dword [ebp - 0x63c]
mov edx, dword [ecx + 4]
add edx, 1
mov dword [ebp - 0x640], edx
jmp 0x409cec
mov eax, dword [ebp - 0x63c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x640], ecx
mov edx, dword [ebp - 0x640]
push edx
call fcn.0042e2d1
add esp, 4
mov dword [ebp - 0x634], eax
mov eax, dword [ebp - 0x63c]
mov ecx, dword [ebp - 0x634]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x63c]
cmp dword [edx + 0x10], 0
je 0x409dad
push 0
lea eax, [ebp - 0x630]
push eax
mov ecx, dword [ebp - 0x63c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x63c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x409d5c
mov eax, dword [ebp - 0x63c]
mov ecx, dword [ebp - 0x630]
cmp ecx, dword [eax + 4]
je 0x409d82
mov edx, dword [ebp - 0x63c]
movzx eax, byte [edx + 0xc]
test eax, eax
je 0x409d80
mov ecx, dword [ebp - 0x63c]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x63c]
mov ecx, dword [eax + 4]
mov byte [edx + ecx], 0
jmp 0x409dad
mov edx, dword [ebp - 0x63c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x638], eax
mov ecx, dword [ebp - 0x638]
push ecx
call fcn.0042eb09
add esp, 4
mov edx, dword [ebp - 0x63c]
mov dword [edx + 0x10], 0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042e367
mov esp, ebp
pop ebp
ret
Function at 0x409fd0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x40a016
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
jmp 0x40a021
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 4], 0
setne al
mov esp, ebp
pop ebp
ret 8
Function at 0x42e367
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46d394]
jne 0x42e371
repz ret
jmp fcn.004335b0

Function at 0x43ea22
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043442a
and dword [ebp - 4], 0
cmp dword [0x46fb3c], 0
mov ebx, eax
jne 0x43ead3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43eb84
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43eb84
push eax
call fcn.004343b8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46fb3c], eax
call esi
push eax
call fcn.004343b8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46fb40], eax
call esi
push eax
call fcn.004343b8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46fb44], eax
call esi
push eax
call fcn.004343b8
pop ecx
mov dword [0x46fb4c], eax
test eax, eax
je 0x43ead3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004343b8
pop ecx
mov dword [0x46fb48], eax
mov eax, dword [0x46fb48]
cmp eax, ebx
je 0x43eb2b
cmp dword [0x46fb4c], ebx
je 0x43eb2b
push eax
call fcn.00434433
push dword [0x46fb4c]
mov esi, eax
call fcn.00434433
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43eb2b
test edi, edi
je 0x43eb2b
call esi
test eax, eax
je 0x43eb22
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43eb22
test byte [ebp - 0xc], 1
jne 0x43eb2b
or dword [ebp + 0x10], 0x200000
jmp 0x43eb64
mov eax, dword [0x46fb40]
cmp eax, ebx
je 0x43eb64
push eax
call fcn.00434433
pop ecx
test eax, eax
je 0x43eb64
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43eb64
mov eax, dword [0x46fb44]
cmp eax, ebx
je 0x43eb64
push eax
call fcn.00434433
pop ecx
test eax, eax
je 0x43eb64
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46fb3c]
call fcn.00434433
pop ecx
test eax, eax
je 0x43eb84
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43eb86
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43fd30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x24
call fcn.0040fb90
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x43fd10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
push 0x190
mov edx, dword [ebp - 4]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43ff30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.00413ed0
movzx eax, al
test eax, eax
je 0x43fff3
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x10], 0
jle 0x43fff3
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x14], 0
jle 0x43fff3
push 0
push 1
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x10]
call fcn.00447e80
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43ffef
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov ecx, dword [ebp - 0x14]
call fcn.00408ed0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x43ffdd
push 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x4c], 1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0042eb09
add esp, 4
mov al, 1
jmp 0x43fff5
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4417e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00440ac0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x441780
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov esp, ebp
pop ebp
ret

Function at 0x441ac0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x13
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x441b0f
cmp dword [ebp - 0xc], 0
jne 0x441b97
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x441b97
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042e2d1
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x441b97
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.004336c0
add esp, 0xc
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0x13
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x441b85
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrToIntExW]
test eax, eax
jne 0x441b85
mov dword [ebp - 8], 0xffffffff
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0042eb09
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x4420f0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x44213f
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x120
call fcn.00407120
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x44213f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x114], eax
xor al, al
jmp 0x442141
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x442150
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x84], 0
je 0x44218a
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x84]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042eb09
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x84], 0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x88], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x4421cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x114], eax
xor al, al
jmp 0x4422c1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x88]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00441f20
mov edx, dword [ebp - 4]
add edx, 1
push edx
call fcn.0042e2d1
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x442295
mov ecx, dword [ebp - 4]
add ecx, 1
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.004336c0
add esp, 0xc
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x442283
movzx ecx, byte [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.004418d0
movzx ecx, al
test ecx, ecx
je 0x442266
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x1a4]
call fcn.0040e920
movzx eax, al
test eax, eax
jne 0x44226a
xor al, al
jmp 0x4422c1
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x1a4]
call fcn.00443890
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0042eb09
add esp, 4
cmp dword [ebp - 4], 0
ja 0x442197
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x88]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00441f20
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x1a4]
call fcn.004438c0
mov al, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x442900
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 5], 0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x16
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x442948
cmp dword [ebp - 0xc], 0
jne 0x4429c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4429c5
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042e2d1
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4429c5
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
call fcn.004336c0
add esp, 0xc
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
push 0x16
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x4429b3
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00409400
mov byte [ebp - 5], 1
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0042eb09
add esp, 4
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 8
Function at 0x443530
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.00442d40
movzx ecx, al
test ecx, ecx
je 0x443678
mov ecx, dword [ebp - 8]
add ecx, 0x15c
call fcn.00407120
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x140
call fcn.00407120
push eax
mov ecx, dword [ebp - 8]
add ecx, 0xf8
call fcn.00407120
push eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 8]
call fcn.00441c80
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x4435a7
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 8]
call fcn.00441d60
mov byte [ebp - 2], 0
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x4435d0
mov byte [ebp - 2], 1
jmp 0x44361a
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.004423e0
movzx eax, al
test eax, eax
je 0x44361a
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x44360b
mov byte [ebp - 2], 1
jmp 0x44361a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x114], eax
movzx edx, byte [ebp - 2]
test edx, edx
je 0x443678
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00441ba0
movzx edx, al
test edx, edx
je 0x443678
push 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x443669
movzx edx, byte [ebp + 0x14]
push edx
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.004434a0
mov byte [ebp - 1], al
jmp 0x443678
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x114], eax
movzx edx, byte [ebp - 1]
test edx, edx
je 0x44368a
mov ecx, dword [ebp - 8]
call fcn.00441fe0
jmp 0x44369c
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x114]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00441fa0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x443a70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and eax, 1
je 0x443a94
mov ecx, dword [ebp - 4]
or ecx, 0x80000000
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
and edx, 2
je 0x443abd
push 0
mov ecx, dword [ebp - 8]
add ecx, 0x28
call fcn.00407120
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp - 4]
or eax, 0x40000000
mov dword [ebp - 4], eax
push 0
push 0x80
mov ecx, dword [ebp + 8]
and ecx, 2
neg ecx
sbb ecx, ecx
and ecx, 2
push ecx
push 0
push 1
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x44
call fcn.00407120
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 8]
xor eax, eax
cmp dword [edx + 0x24], 0xffffffff
setne al
mov esp, ebp
pop ebp
ret 4

Function at 0x443f10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbcc
mov eax, dword [0x46d394]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xbcc], ecx
mov dword [ebp - 0x3c8], 0
push 0x3b8
push 0
lea eax, [ebp - 0x3c4]
push eax
call fcn.004336c0
add esp, 0xc
mov dword [ebp - 0x3c8], 0x3bc
mov ecx, dword [ebp - 0xbcc]
call fcn.00404540
mov dword [ebp - 0x3c4], eax
mov dword [ebp - 0x3c0], 1
mov dword [ebp - 0x3bc], 6
xor ecx, ecx
mov word [ebp - 0xbc8], cx
push 0x7fe
push 0
lea edx, [ebp - 0xbc6]
push edx
call fcn.004336c0
add esp, 0xc
push 0x400
lea eax, [ebp - 0xbc8]
push eax
mov ecx, dword [ebp - 0xbcc]
call fcn.00404540
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x80
lea ecx, [ebp - 0xbc8]
push ecx
lea edx, [ebp - 0x3b0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [ebp - 0xbcc]
movzx ecx, word [eax + 0x18]
push ecx
mov ecx, dword [ebp - 0xbcc]
call fcn.0042d4b0
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x3b4], eax
lea edx, [ebp - 0x3c8]
push edx
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e367
mov esp, ebp
pop ebp
ret
Function at 0x444010
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbcc
mov eax, dword [0x46d394]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xbcc], ecx
mov dword [ebp - 0x3c8], 0
push 0x3b8
push 0
lea eax, [ebp - 0x3c4]
push eax
call fcn.004336c0
add esp, 0xc
mov dword [ebp - 0x3c8], 0x3bc
mov ecx, dword [ebp - 0xbcc]
call fcn.00404540
mov dword [ebp - 0x3c4], eax
mov dword [ebp - 0x3c0], 1
mov dword [ebp - 0x3bc], 7
mov dword [ebp - 0x3b8], 0x401
xor ecx, ecx
mov word [ebp - 0xbc8], cx
push 0x7fe
push 0
lea edx, [ebp - 0xbc6]
push edx
call fcn.004336c0
add esp, 0xc
push 0x400
lea eax, [ebp - 0xbc8]
push eax
mov ecx, dword [ebp - 0xbcc]
call fcn.00404540
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x80
lea ecx, [ebp - 0xbc8]
push ecx
lea edx, [ebp - 0x3b0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [ebp - 0xbcc]
movzx ecx, word [eax + 0x18]
push ecx
mov ecx, dword [ebp - 0xbcc]
call fcn.0042d4b0
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x3b4], eax
lea edx, [ebp - 0x3c8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e367
mov esp, ebp
pop ebp
ret

Function at 0x4441a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4441c2
push 1
mov ecx, dword [ebp - 4]
call fcn.00404540
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4441d3
push 0
mov ecx, dword [ebp - 4]
call fcn.00404540
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4
Function at 0x4469a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x446a3e
mov byte [ebp - 5], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
mov ax, word [edx]
mov word [ebp - 0x1a], ax
add dword [ebp - 0x14], 2
cmp word [ebp - 0x1a], 0
jne 0x4469eb
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
sar ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
shl edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x446a2f
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 5]
jmp 0x446a40
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x446c20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459215
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x46d394]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446d38
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x446d38
cmp dword [ebp - 0x14], 1
jne 0x446d38
lea ecx, [ebp - 0x38]
call fcn.00407980
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jbe 0x446d0f
mov ecx, dword [ebp - 0x18]
shr ecx, 1
push ecx
lea ecx, [ebp - 0x38]
call fcn.0040a1c0
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x38]
call fcn.00407120
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x38]
call fcn.004056b0
sub eax, 1
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a1c0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.004093c0
mov ecx, dword [ebp - 0x3c]
or ecx, 1
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00407100
mov eax, dword [ebp - 0x40]
jmp 0x446d50
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.004070c0
mov eax, dword [ebp - 0x3c]
or eax, 1
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042e367
mov esp, ebp
pop ebp
ret 0xc