joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446240
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.004ade29
add esp, 4
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x44]
call fcn.004463f0
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 8], ecx
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0xc], ecx
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x10], ecx
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x54]
mov dword [eax + 0x14], ecx
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x18], ecx
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x44]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 5], al
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x38]
mov dword [ecx], edx
mov eax, dword [ebp - 0x60]
mov cx, word [ebp - 0x2c]
mov word [eax + 4], cx
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 4
Function at 0x44b6e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], ecx
mov byte [ebp - 1], 0
mov eax, dword [ebp - 0x214]
movzx ecx, byte [eax + 0xa]
cmp ecx, 1
jne 0x44b713
mov al, 1
jmp 0x44b862
mov ecx, dword [ebp - 0x214]
call fcn.0044b880
movzx edx, al
test edx, edx
je 0x44b741
push str._SendIpcMessageToUi__opening__Update_Stop_Signal_
push 3
call fcn.00442530
push eax
call fcn.00442bb0
add esp, 0xc
xor al, al
jmp 0x44b862
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004066d0
mov ecx, eax
call fcn.00407700
add eax, 0x14
push eax
call fcn.00401670
mov ecx, eax
call fcn.0040bc00
cmp eax, 1
sete al
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x44b841
mov edx, dword [ebp - 0x214]
movzx eax, byte [edx + 0xa]
cmp eax, 1
jne 0x44b796
mov byte [ebp - 1], 1
jmp 0x44b841
call fcn.004066d0
mov ecx, eax
call fcn.00407700
add eax, 0x14
push eax
call fcn.004ade29
add esp, 4
test eax, eax
jne 0x44b7bb
mov byte [ebp - 1], 1
jmp 0x44b841
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004ad2c0
add esp, 0xc
call fcn.004066d0
mov ecx, eax
call fcn.00407700
add eax, 0x14
push eax
push str.Send_Ipc_Msg_Fail_:__s
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.00405d60
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004066d0
mov ecx, eax
call fcn.00407700
add eax, 0x14
push eax
call fcn.00401670
mov ecx, eax
call fcn.0040bc00
cmp eax, 1
sete cl
mov byte [ebp - 1], cl
call fcn.00401670
mov dword [ebp - 0x218], eax
mov edx, dword [ebp - 0x218]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x218]
mov edx, dword [eax + 0xc]
call edx
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44dbe0
Capabilities:
Enumerate processes
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e35ff
mov eax, dword fs:[0]
push eax
sub esp, 0x8e0
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8e8], ecx
mov dword [ebp - 0x47c], 0
xor eax, eax
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x6d4], 0
push 0x40
push 0
lea ecx, [ebp - 0x6d0]
push ecx
call fcn.004ad2c0
add esp, 0xc
mov word [ebp - 0x8dc], 0
push 0x206
push 0
lea edx, [ebp - 0x8da]
push edx
call fcn.004ad2c0
add esp, 0xc
mov word [ebp - 0x234], 0
push 0x206
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.004ad2c0
add esp, 0xc
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x685], 0
push str.Explorer.exe
push 0x208
lea ecx, [ebp - 0x8dc]
push ecx
call fcn.00405cc0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
jne 0x44dcc7
xor eax, eax
jmp 0x44de73
push 0x22c
push 0
lea edx, [ebp - 0x46c]
push edx
call fcn.004ad2c0
add esp, 0xc
mov dword [ebp - 0x46c], 0x22c
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x684]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov dword [ebp - 0x238], 1
lea ecx, [ebp - 0x24]
call fcn.0041d6f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0041d800
cmp dword [ebp - 0x238], 0
je 0x44dd41
lea edx, [ebp - 0x46c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x8ec], eax
jmp 0x44dd57
lea ecx, [ebp - 0x46c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x8ec], eax
cmp dword [ebp - 0x8ec], 0
je 0x44de00
mov dword [ebp - 0x238], 0
movzx eax, byte [ebp - 0x685]
test eax, eax
jne 0x44ddb4
lea ecx, [ebp - 0x448]
push ecx
call fcn.004ade29
add esp, 4
push eax
lea edx, [ebp - 0x8dc]
push edx
lea eax, [ebp - 0x448]
push eax
call fcn.004b4001
add esp, 0xc
test eax, eax
jne 0x44ddb2
lea ecx, [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0041d7d0
jmp 0x44ddfb
lea edx, [ebp - 0x448]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call fcn.004ade29
add esp, 4
push eax
lea eax, [ebp - 0x8dc]
push eax
lea ecx, [ebp - 0x448]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call fcn.004b4001
add esp, 0xc
test eax, eax
jne 0x44ddfb
lea edx, [ebp - 0x464]
push edx
lea ecx, [ebp - 0x24]
call fcn.0041d7d0
jmp 0x44dd20
lea ecx, [ebp - 0x24]
call fcn.0041d7b0
test eax, eax
jne 0x44de39
mov eax, dword [ebp - 0x8e8]
mov byte [eax + 0xa], 1
mov dword [ebp - 0x8e0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041d730
mov eax, dword [ebp - 0x8e0]
jmp 0x44de73
mov ecx, dword [ebp - 0x8e8]
mov byte [ecx + 0xa], 0
mov dword [ebp - 0x8e4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041d730
mov eax, dword [ebp - 0x8e4]
jmp 0x44de73
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret
Function at 0x44fca0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0xffffffff
setne al
mov esp, ebp
pop ebp
ret

Function at 0x44fcd0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0xffffffff
setne al
mov esp, ebp
pop ebp
ret

Function at 0x44fd30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44fd59
mov dword [ebp - 8], 1
jmp 0x44fd84
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 2
je 0x44fd74
cmp dword [ebp - 0xc], 3
je 0x44fd74
cmp dword [ebp - 0xc], 0xf
jne 0x44fd7d
mov dword [ebp - 8], 0
jmp 0x44fd84
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x44fd90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6bc
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x430], 0
xor eax, eax
mov dword [ebp - 0x42e], eax
mov dword [ebp - 0x42a], eax
mov dword [ebp - 0x426], eax
mov dword [ebp - 0x422], eax
mov word [ebp - 0x41e], ax
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004ad2c0
add esp, 0xc
mov word [ebp - 0x4a0], 0
push 0x62
push 0
lea edx, [ebp - 0x49e]
push edx
call fcn.004ad2c0
add esp, 0xc
mov word [ebp - 0x6bc], 0
xor eax, eax
mov dword [ebp - 0x6ba], eax
mov dword [ebp - 0x6b6], eax
mov dword [ebp - 0x6b2], eax
mov dword [ebp - 0x6ae], eax
mov word [ebp - 0x6aa], ax
mov word [ebp - 0x6a8], 0
push 0x206
push 0
lea ecx, [ebp - 0x6a6]
push ecx
call fcn.004ad2c0
add esp, 0xc
mov word [ebp - 0x418], 0
push 0x206
push 0
lea edx, [ebp - 0x416]
push edx
call fcn.004ad2c0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.0044fd30
add esp, 4
test eax, eax
je 0x44fe85
jmp 0x44fff0
push 0xa
lea ecx, [ebp - 0x6bc]
push ecx
push 0x32
lea edx, [ebp - 0x4a0]
push edx
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0xa
lea ecx, [ebp - 0x430]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b1a89
add esp, 0x24
lea eax, [ebp - 0x434]
push eax
push 0x5002ec
lea ecx, [ebp - 0x210]
push ecx
call fcn.004b5951
add esp, 0xc
mov dword [ebp - 0x41c], eax
push 0
push 0
push 0x5002f0
lea edx, [ebp - 0x430]
push edx
push 0x104
lea eax, [ebp - 0x6a8]
push eax
call fcn.004b5836
add esp, 0x18
lea ecx, [ebp - 0x6a8]
push ecx
call fcn.004b5704
add esp, 4
cmp dword [ebp - 0x41c], 0
je 0x44fff0
mov edx, dword [ebp - 0x41c]
push edx
call fcn.004ade29
add esp, 4
test eax, eax
je 0x44fff0
mov eax, dword [ebp - 0x41c]
push eax
push 0x104
lea ecx, [ebp - 0x418]
push ecx
call fcn.00402280
push 0
push 0
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x430]
push eax
push 0x104
lea ecx, [ebp - 0x6a8]
push ecx
call fcn.004b5836
add esp, 0x18
lea edx, [ebp - 0x6a8]
push edx
call fcn.0044fd30
add esp, 4
test eax, eax
jne 0x44ffb9
push 0
lea eax, [ebp - 0x6a8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp + 0xc], 0
je 0x44ffb9
lea ecx, [ebp - 0x6a8]
push ecx
call fcn.004ade29
add esp, 4
push eax
lea edx, [ebp - 0x6a8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004b3edc
add esp, 0xc
lea ecx, [ebp - 0x434]
push ecx
push 0x5002f4
push 0
call fcn.004b5951
add esp, 0xc
mov dword [ebp - 0x41c], eax
push 0x5002f8
push 0x104
lea edx, [ebp - 0x418]
push edx
call fcn.00402280
jmp 0x44ff0c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret
Function at 0x450120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x450140
xor eax, eax
jmp 0x4501ee
mov dword [ebp - 0x224], 0
mov word [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
mov word [ebp - 0x220], 0
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.004ad2c0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x4501de
push 0
push 0
push 0
push 0
push 0
push 0
push 0xa
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.004b1a89
add esp, 0x24
lea edx, [ebp - 0x18]
push edx
push 0x500308
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.00401cd0
add esp, 0x10
mov dword [ebp - 0x224], 1
jmp 0x4501e8
mov dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret
Function at 0x450460
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x468], 0
push 0x206
push 0
lea eax, [ebp - 0x466]
push eax
call fcn.004ad2c0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x4504a6
xor eax, eax
jmp 0x450613
mov ecx, dword [ebp + 8]
push ecx
push str._s
push 0x104
lea edx, [ebp - 0x468]
push edx
call fcn.004adeef
add esp, 0x10
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x468]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
jne 0x4504ed
xor eax, eax
jmp 0x450613
movzx edx, word [ebp - 0x22c]
cmp edx, 0x2e
jne 0x450504
movzx eax, word [ebp - 0x22a]
test eax, eax
je 0x450527
movzx ecx, word [ebp - 0x22c]
cmp ecx, 0x2e
jne 0x45052c
movzx edx, word [ebp - 0x22a]
cmp edx, 0x2e
jne 0x45052c
movzx eax, word [ebp - 0x228]
test eax, eax
jne 0x45052c
jmp 0x4505c9
mov word [ebp - 0x670], 0
push 0x206
push 0
lea ecx, [ebp - 0x66e]
push ecx
call fcn.004ad2c0
add esp, 0xc
lea edx, [ebp - 0x22c]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x500334
push 0x104
lea ecx, [ebp - 0x670]
push ecx
call fcn.004adeef
add esp, 0x14
mov edx, dword [ebp - 0x258]
and edx, 0x10
je 0x45058b
lea eax, [ebp - 0x670]
push eax
call fcn.00450460
add esp, 4
jmp 0x4505c9
push 0x80
lea ecx, [ebp - 0x670]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x670]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4505c9
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x25c], 0
xor eax, eax
jmp 0x450613
lea ecx, [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4504ed
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x25c], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x45060e
xor eax, eax
jmp 0x450613
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret
Function at 0x450630
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x521e28]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x25c], 0
push 0x104
push 0
lea eax, [ebp - 0x258]
push eax
call fcn.004ad2c0
add esp, 0xc
mov dword [ebp - 4], 0
push 0x208
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x260], ecx
push 0x104
push 0
mov edx, dword [ebp - 0x260]
push edx
call fcn.004ad2c0
add esp, 0xc
push 0x208
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x264], eax
push 0x104
push 0
mov ecx, dword [ebp - 0x264]
push ecx
call fcn.004ad2c0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x500340
push 0x104
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00401cd0
add esp, 0x14
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
jne 0x450769
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x270], ecx
mov edx, dword [ebp - 0x270]
push edx
call fcn.0048c532
add esp, 4
mov dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x274]
push ecx
call fcn.0048c532
add esp, 4
mov dword [ebp - 0x264], 0
xor eax, eax
jmp 0x4508a3
mov edx, dword [ebp - 0x258]
and edx, 0x10
je 0x450824
movzx eax, word [ebp - 0x22c]
cmp eax, 0x2e
je 0x450793
movzx ecx, word [ebp - 0x22c]
cmp ecx, 0x2e2e
jne 0x450798
jmp 0x45082d
push 2
mov edx, dword [ebp + 8]
push edx
call fcn.004ade29
add esp, 4
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2 - 2]
push edx
push 0x50034c
call fcn.004b26b8
add esp, 0xc
test eax, eax
je 0x4507e5
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x500350
push 0x104
mov edx, dword [ebp - 0x260]
push edx
call fcn.00401cd0
add esp, 0x14
jmp 0x450809
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x50035c
push 0x104
mov edx, dword [ebp - 0x260]
push edx
call fcn.00401cd0
add esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x260]
push ecx
call fcn.00450630
add esp, 8
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
jmp 0x45082d
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x450769
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
push ecx
call fcn.0048c532
add esp, 4
mov dword [ebp - 0x260], 0
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x27c], edx
mov eax, dword [ebp - 0x27c]
push eax
call fcn.0048c532
add esp, 4
mov dword [ebp - 0x264], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ad2aa
mov esp, ebp
pop ebp
ret
Function at 0x451680
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0x208
mov byte [ebp - 0xd], 0
mov dword [ebp - 0xc], 1
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x451701
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xd], al
cmp dword [ebp - 0xc], 4
jne 0x451701
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
call fcn.004ad2c0
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x451790
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0xd], 0
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x451831
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xd], al
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x451800
cmp dword [ebp - 0xc], 4
jne 0x451800
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp + 0x14]
push edx
call fcn.004ade29
add esp, 4
lea eax, [eax + eax + 2]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 1
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xd], al
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x453690
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3839
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x521e28]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], ecx
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x13c], 0
je 0x453701
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x13c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x13c], 0
push 0x208
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
push 0x104
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.004ad2c0
add esp, 0xc
push 0x208
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00427170
add esp, 8
push str._nspupres.dll
push 0x208
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041bbd0
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x453772
mov dword [ebp - 0x24], 1
push 0x510634
lea eax, [ebp - 0x24]
push eax
call fcn.004ad33a
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x13c], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x13c], 0
jne 0x45382a
push 0x208
call fcn.0048c52d
add esp, 4
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], edx
push 0x104
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ad2c0
add esp, 0xc
push 0x104
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00427170
add esp, 8
mov edx, dword [ebp - 0x18]
push edx
push 0x104
mov eax, dword [ebp - 0x14]
push eax
call fcn.00402280
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x453809
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x13c], eax
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x13c], 0
jne 0x45382a
mov dword [ebp - 0x2c], 1
push 0x510634
lea eax, [ebp - 0x2c]
push eax
call fcn.004ad33a
mov byte [ebp - 0x19], 1
jmp 0x453841
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x453867
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0048c532
add esp, 4
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x14], 0
je 0x453886
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.0048c532
add esp, 4
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret