joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f490
Capabilities:
Accept command line arguments
Delete directory
Get common file path

Disassembly:
mov eax, 0x14f4
call fcn.0040d3e0
cmp dword [0x259027c], 0x37
jne 0x41f594
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_RequestDeviceWakeup]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push 0
lea eax, [esp + 0x4f4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
lea ecx, [esp + 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x28]
push edx
push 0
lea eax, [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 0x24]
push ecx
push 0x403268
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0xcf0]
push edx
push 0
push 0x4032d4
push 0x40330c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
xor eax, eax
xor ecx, ecx
lea edx, [esp + 0x14]
mov word [esp + 4], ax
mov dword [esp + 6], eax
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov word [esp + 0x12], ax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
push edx
lea eax, [esp + 8]
mov word [esp + 0x18], cx
push eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
mov edx, dword [0x2590280]
mov dword [esp], edx
mov eax, 0x5d1
add dword [esp], eax
mov eax, dword [esp]
mov cl, byte [eax + esi]
mov edx, dword [0x44600c]
mov byte [edx + esi], cl
add esp, 0x14f4
ret
Function at 0x41f5c0
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x78
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax]
mov edx, dword [0x43cf34]
push ebx
push ebp
push esi
mov esi, dword [eax + 4]
mov eax, dword [0x43cf30]
mov dword [esp + 0x20], eax
mov eax, dword [0x43cf38]
mov dword [esp + 0x24], edx
mov edx, dword [0x43cf3c]
push edi
mov dword [esp + 0x14], ecx
mov edi, 0xc6ef3720
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], 0x20
jmp 0x41f614
mov ecx, dword [esp + 0x14]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x1c]
lea ebx, [edi + ecx]
shr ecx, 5
cmp dword [0x259027c], 0x1b
mov dword [esp + 0x10], eax
mov ebp, ecx
jne 0x41f640
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov eax, dword [esp + 0x10]
add ebp, dword [esp + 0x20]
mov dword [0x258622c], 0
xor ebp, ebx
xor ebp, eax
sub esi, ebp
mov edx, esi
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], eax
cmp dword [0x259027c], 0x1be
lea ebx, [edi + esi]
jne 0x41f688
lea eax, [esp + 0x2c]
push eax
push 0
lea ecx, [esp + 0x38]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x28]
mov dword [0x2586230], 0xff6b3619
xor edx, ebx
xor dword [esp + 0x10], edx
mov dword [0x2586234], 0xffffffff
mov eax, dword [esp + 0x10]
sub dword [esp + 0x14], eax
add edi, 0x61c88647
dec dword [esp + 0x18]
jne 0x41f610
cmp dword [0x259027c], 0x8d4
jne 0x41f6f4
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x78
ret 4
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x14]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x78
ret 4

Function at 0x41f770
Capabilities:
Manipulate console buffer

Disassembly:
push ecx
mov eax, dword [0x259027c]
shr eax, 3
push esi
mov esi, dword [0x44600c]
test eax, eax
je 0x41f7b4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push edi
mov edi, eax
mov edi, edi
cmp dword [0x259027c], 0x1c
jne 0x41f7a6
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call ebx
push esi
call fcn.0041f5c0
add esi, 8
dec edi
jne 0x41f790
pop edi
pop ebx
pop esi
pop ecx
ret
Function at 0x405c50
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x477b54]
xor eax, esp
push ebp
push esi
lea edx, [esp + 0x10]
push edx
push 0x2001f
mov ebp, ecx
mov ecx, dword [esp + 0x230]
push 0
mov dword [esp + 0x22c], eax
mov eax, dword [ebp]
push ecx
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [0x460014]
mov esi, eax
test esi, esi
jne 0x405cb7
lea ecx, [esp + 8]
call fcn.00405b40
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
je 0x405cc5
lea ecx, [esp + 8]
call fcn.00405b40
jmp 0x405d5e
push edi
mov edi, dword [0x460020]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x38]
push ecx
push 0
push eax
mov dword [esp + 0x30], 0x100
call edi
test eax, eax
jne 0x405d2c
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x10]
call fcn.00405c50
mov esi, eax
test esi, esi
jne 0x405d54
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x10]
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
push esi
push eax
mov dword [esp + 0x30], 0x100
call edi
test eax, eax
je 0x405cf2
mov eax, dword [esp + 0xc]
test eax, eax
je 0x405d43
push eax
call dword [0x460018]
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
push ecx
push edx
call dword [0x460008]
mov esi, eax
lea ecx, [esp + 0xc]
call fcn.00405b40
pop edi
mov ecx, dword [esp + 0x220]
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.0045337b
add esp, 0x21c
ret 4
Function at 0x4060f0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [0x46028c]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x406102
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [0x460024]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x406649
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x4066eb
cmp word [esi], bx
je 0x4066eb
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x4066e7
inc eax
push edi
push eax
call fcn.00452cc0
mov edi, eax
cmp edi, ebx
pop ecx
je 0x4066e6
push edi
push dword [ebp + 8]
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4066df
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x461048
push edi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 0x34
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4066df
mov eax, dword [ebp - 4]
mov cx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
mov word [edx], cx
mov cx, word [eax + 8]
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov cx, word [eax + 0xe]
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [ebp + 0x18]
mov word [ecx], ax
mov bl, 1
push edi
call fcn.0045341c
pop ecx
pop edi
mov al, bl
jmp 0x4066f8
push 0x132b3a1
call fcn.004068be
pop ecx
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x40894d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x46193c
push 0x80000002
call dword [0x46002c]
test eax, eax
jne 0x4089a8
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0
push 0x461934
push dword [ebp - 4]
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x104
call dword [0x460028]
push dword [ebp - 4]
call dword [0x460018]
xor eax, eax
inc eax
leave
ret

Function at 0x409b8d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
shl eax, 1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [0x460030]
test eax, eax
jne 0x409beb
cmp dword [ebp + 0x10], 1
je 0x409bc9
cmp dword [ebp + 0x10], 2
jne 0x409be0
test edi, edi
mov eax, dword [ebp - 4]
je 0x409be5
test al, 1
jne 0x409be0
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x409be5
push 0xd
pop eax
jmp 0x409beb
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x40a89c
Capabilities:
Check if file exists
Create directory

Disassembly:
mov eax, 0x45ab5f
call fcn.00453740
sub esp, 0xc8
mov eax, dword [0x477b54]
push ebx
xor eax, ebp
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], eax
call fcn.0040ab65
test eax, eax
mov esi, 0x104
je 0x40a8fd
push esi
call fcn.00452cc0
push esi
mov ebx, eax
push 0
push ebx
call fcn.0045373a
push esi
push ebx
call fcn.0040a754
add esp, 0x18
test eax, eax
jne 0x40a97d
push ebx
call fcn.0045341c
pop ecx
push esi
call fcn.00452cc0
push esi
mov edi, eax
push 0
push edi
call fcn.0045373a
mov esi, dword [0x460180]
add esp, 0x10
push dword [ebp - 0x80]
push edi
call esi
mov ebx, dword [0x4606d0]
push edi
call ebx
push edi
call ebx
push str.XBrowserData_
push edi
call dword [0x4606bc]
push edi
push dword [ebp - 0x7c]
call esi
push edi
call fcn.0045341c
pop ecx
xor esi, esi
cmp dword [ebp + 0x14], esi
je 0x40a961
push dword [ebp - 0x7c]
call dword [0x4606dc]
test eax, eax
jne 0x40a961
push esi
push dword [ebp - 0x7c]
push esi
call dword [0x4606a0]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0045337b
leave
ret
push edi
lea ecx, [ebp - 0x40]
call dword [0x46037c]
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0040a646
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call dword [0x4604bc]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0
call dword [0x460370]
xor eax, eax
mov byte [ebp - 0x24], 0
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040a6fa
push 0x14
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0040a7dd
add esp, 0x14
push 0x461e40
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 2
call dword [0x46037c]
mov esi, eax
push 0x461e30
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call dword [0x46037c]
lea ecx, [ebp - 0x78]
push ecx
push eax
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 4
call fcn.00401670
push esi
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 5
call fcn.00401670
add esp, 0x18
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 9
call dword [0x460370]
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 8
call dword [0x460370]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 7
call dword [0x460370]
lea ecx, [ebp - 0x5c]
call dword [0x460498]
push eax
push ebx
call dword [0x4606bc]
push ebx
push dword [ebp - 0x7c]
call dword [0x460180]
push ebx
call fcn.0045341c
pop ecx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call dword [0x460370]
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0
call dword [0x460370]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call dword [0x460370]
jmp 0x40a942
Function at 0x419110
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
push 0x3e8
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00419820
movzx ecx, al
test ecx, ecx
jne 0x419147
push 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [0x460784]
xor eax, eax
jmp 0x419301
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
jne 0x419169
mov ecx, dword [ebp - 0x2c]
call fcn.004199a0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [0x460780]
jmp 0x419301
mov ecx, dword [ebp - 4]
push ecx
call dword [0x46070c]
test eax, eax
jne 0x419195
mov ecx, dword [ebp - 0x2c]
call fcn.004199a0
push 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [0x460784]
xor eax, eax
jmp 0x419301
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
push 0xfffffffffffffff0
mov edx, dword [ebp - 0x20]
push edx
call dword [0x46080c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
and eax, 0x10000000
jne 0x4191c4
mov dword [ebp - 0x24], 1
jmp 0x419201
mov ecx, dword [ebp - 0x28]
and ecx, 0x40000000
jne 0x4191e6
mov edx, dword [ebp - 0x20]
push edx
call dword [0x460770]
test eax, eax
je 0x4191e4
mov dword [ebp - 0x24], 1
jmp 0x419201
mov eax, dword [ebp - 0x20]
push eax
call dword [0x46076c]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x46070c]
test eax, eax
jne 0x4191a2
cmp dword [ebp - 0x24], 0
je 0x419229
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [0x460780]
test eax, eax
je 0x419229
push 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [0x460784]
jmp 0x41924f
cmp dword [ebp - 0x24], 0
jne 0x41924f
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [0x460780]
test eax, eax
jne 0x41924f
push 4
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [0x460784]
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xd8]
push edx
call dword [0x46080c]
mov dword [ebp - 0x18], eax
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [0x46080c]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x18]
and edx, 0x8000000
je 0x4192a1
mov eax, dword [ebp - 0x1c]
and eax, 0x8000000
jne 0x4192a1
push 0
push 0x8000000
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 4
call fcn.00420ac0
jmp 0x4192cb
mov ecx, dword [ebp - 0x18]
and ecx, 0x8000000
jne 0x4192cb
mov edx, dword [ebp - 0x1c]
and edx, 0x8000000
je 0x4192cb
push 0
push 0
push 0x8000000
mov ecx, dword [ebp - 0x2c]
add ecx, 4
call fcn.00420ac0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [0x460780]
test eax, eax
setne dl
mov byte [ebp - 0x13], dl
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00419960
mov ecx, dword [ebp - 0x2c]
call fcn.004199a0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [0x460780]
mov esp, ebp
pop ebp
ret
Function at 0x41d1c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ba2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x18], 0
mov eax, dword [0x47807c]
and eax, 1
jne 0x41d216
mov ecx, dword [0x47807c]
or ecx, 1
mov dword [0x47807c], ecx
mov dword [ebp - 4], 0
mov ecx, 0x478074
call fcn.00424820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00424820
lea edx, [ebp - 0x14]
push edx
call dword [0x460750]
cmp dword [ebp + 8], 0x204
jne 0x41d26e
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x1ac], 0
mov ecx, dword [ebp - 0x14]
mov dword [0x478074], ecx
mov edx, dword [ebp - 0x10]
mov dword [0x478078], edx
push 0x41d3d0
push str.User32.dll
push str.TrackPopupMenu
mov ecx, 0x47802c
call fcn.0044ca29
jmp 0x41d3b3
cmp dword [ebp + 8], 0x205
jne 0x41d2e7
mov ecx, 0x47802c
call fcn.0044c86c
cmp dword [0x478020], 0
je 0x41d2d8
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x1ac], 0
jne 0x41d2d8
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [0x478024]
push edx
call dword [0x460754]
mov eax, dword [ebp - 0x14]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x10]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
push 0
push 0x204
mov ecx, dword [0x478024]
push ecx
call dword [0x4607a0]
mov dword [0x478020], 0
jmp 0x41d3b3
cmp dword [ebp + 8], 0x200
jne 0x41d37b
push 2
call dword [0x460758]
movsx edx, ax
shr edx, 0x10
mov word [ebp - 0x1c], dx
movsx eax, word [ebp - 0x1c]
cmp eax, 0xffffffff
jne 0x41d379
mov dword [ebp - 0x30], 5
mov ecx, dword [0x478078]
add ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [0x478074]
add edx, dword [ebp - 0x30]
push edx
mov eax, dword [0x478078]
sub eax, dword [ebp - 0x30]
push eax
mov ecx, dword [0x478074]
sub ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00425010
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00425510
test eax, eax
jne 0x41d372
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x1ac], 1
mov dword [ebp - 0x18], 1
jmp 0x41d3b3
cmp dword [ebp + 8], 0x20a
jne 0x41d3b3
push 2
call dword [0x460758]
movsx ecx, ax
shr ecx, 0x10
mov word [ebp - 0x34], cx
movsx edx, word [ebp - 0x34]
cmp edx, 0xffffffff
jne 0x41d3b3
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x1ac], 1
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42fb20
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x477b54]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
mov word [ebp - 0x210], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x210]
push eax
call fcn.00408ab7
add esp, 4
lea ecx, [ebp - 0x210]
push ecx
call dword [0x4606cc]
test eax, eax
jne 0x42fb8f
push 0
lea edx, [ebp - 0x210]
push edx
push 0
call dword [0x46069c]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040950d
mov ecx, dword [ebp - 0x214]
or ecx, 1
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045337b
mov esp, ebp
pop ebp
ret 4

Function at 0x43deb8
Capabilities:
Capture webcam image

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
je 0x43dd30
call dword [0x4602a4]
push dword [esp + 8]
push eax
push 0x419
push dword [esi + 0x80]
call dword [0x4607bc]
pop esi
ret 4
cmp dword [esp + 4], 0
je 0x43dec4
jmp 0x43dd0a
ret 4

Function at 0x4448c8
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x10], eax
jne 0x4448e8
push eax
push eax
push esi
push 0x4447db
push eax
push eax
call dword [0x460628]
add esp, 0x18
mov dword [esi + 0x10], eax
pop esi
ret

Function at 0x44852a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0x208
xor esi, esi
push esi
push dword [ebp + 8]
call fcn.0045373a
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
push str.SOFTWAREThunder_NetworkMiniXL
push 0x80000002
mov dword [ebp - 4], esi
call dword [0x460014]
test eax, eax
jne 0x4485a8
cmp dword [ebp - 4], esi
je 0x4485a8
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push esi
push 0x46865c
push dword [ebp - 4]
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0x104
call dword [0x460030]
push dword [ebp - 4]
mov edi, eax
call dword [0x460018]
xor eax, eax
cmp edi, esi
sete al
pop edi
jmp 0x4485aa
xor eax, eax
pop esi
leave
ret

Function at 0x448628
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.004485ad
test eax, eax
je 0x44869f
and dword [ebp - 8], 0
push esi
push 4
pop esi
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000002
mov dword [ebp - 0xc], esi
call dword [0x460014]
test eax, eax
mov dword [ebp - 0x10], esi
pop esi
jne 0x44869f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.EnableLUA
push dword [ebp - 4]
call dword [0x460030]
test eax, eax
jne 0x448696
cmp dword [ebp - 8], 1
jne 0x448696
push dword [ebp - 4]
call dword [0x460018]
xor eax, eax
inc eax
leave
ret
push dword [ebp - 4]
call dword [0x460018]
xor eax, eax
leave
ret
Function at 0x4491f7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push 0x468800
push dword [ebp + 8]
call dword [0x460574]
mov ebx, eax
xor esi, esi
cmp ebx, esi
pop ecx
pop ecx
jne 0x44921e
xor eax, eax
jmp 0x4492e5
push edi
mov edi, dword [0x460640]
push 2
push esi
push ebx
call edi
push ebx
call dword [0x46063c]
push esi
push esi
push ebx
mov dword [ebp - 0xc], eax
call edi
add esp, 0x1c
push dword [ebp - 0xc]
push 0x40
call dword [0x460170]
mov edi, eax
cmp edi, esi
push ebx
jne 0x44925d
call dword [0x460638]
pop ecx
xor eax, eax
jmp 0x4492e4
push dword [ebp - 0xc]
push 1
push edi
call dword [0x460634]
push ebx
call dword [0x460638]
add esp, 0x14
lea eax, [ebp - 4]
push eax
push esi
push edi
call dword [0x46085c]
cmp dword [ebp - 4], esi
je 0x4492a6
lea eax, [ebp - 8]
push eax
push 0x465078
push esi
push esi
push dword [ebp - 4]
call dword [0x460674]
cmp dword [ebp - 8], esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
jne 0x4492af
call dword [ecx + 8]
push edi
call dword [0x460168]
jmp 0x449256
call dword [ecx + 8]
push edi
call dword [0x460168]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push 4
push esi
push esi
push esi
push dword [ebp - 0x10]
call dword [0x4607d8]
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret