joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442c60
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0xdec]
call fcn.00446f60
push 1
mov ecx, esi
call fcn.004453d0
push 0
mov ecx, esi
call fcn.00446320
mov eax, dword [esi + 0x3e0]
lea eax, [eax + eax*2]
cmp dword [eax*8 + 0x47cfa8], 0x10
lea edx, [eax*8 + 0x47cf94]
jb 0x442c9c
mov edx, dword [edx]
mov ecx, dword [esi + 0x43c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push 0
push 0
push esi
push 0x43ecf0
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
ret

Function at 0x442cd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46011b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x47b0b0]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
push edi
mov eax, dword [0x47b0b0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov edi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.0043ca10
mov dword [esp + 0x260], 0
mov eax, dword [esp + 0xc]
mov esi, dword [edi + 4]
lea ecx, [esp + 0xc]
call dword [eax + 4]
test eax, eax
je 0x442d45
lea ecx, [esp + 0xc]
call fcn.00419200
test al, al
je 0x442d96
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
call dword [eax + 4]
test eax, eax
jne 0x442d61
lea ecx, [esp + 0xc]
call fcn.00419150
test al, al
je 0x442d96
lea eax, [esp + 0xc]
push eax
push dword [0x47f324]
mov ecx, eax
mov eax, dword [esp + 0x14]
push 0
push esi
push 0
push 0
push 0
push 0
push 0x96c80000
push 0x46c081
call dword [eax]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xc]
call fcn.00418fe0
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x442db9
push 1
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0xc]
call fcn.00418dd0
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 1
push 1
push 0
push 0
push 0xffffffffffffffff
push dword [edi + 4]
call esi
push 3
push 1
push 1
push 0
push 0
push 0xfffffffffffffffe
push dword [edi + 4]
call esi
cmp byte [esp + 0x224], 0
je 0x442e44
push 0
mov ecx, edi
call fcn.00446320
mov eax, dword [edi + 0x3e0]
lea eax, [eax + eax*2]
cmp dword [eax*8 + 0x47cfd8], 0x10
lea edx, [eax*8 + 0x47cfc4]
jb 0x442e19
mov edx, dword [edx]
mov ecx, dword [edi + 0x43c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
lea ecx, [edi + 0xdec]
call fcn.00446f60
push 0
push 0
push edi
push 0x43ea90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + 0x260], 0xffffffff
mov eax, dword [esp + 0x23c]
test eax, eax
je 0x442e84
push eax
call fcn.0044d05e
add esp, 4
mov dword [esp + 0x23c], 0
mov dword [esp + 0x240], 0
mov dword [esp + 0x244], 0
lea ecx, [esp + 0x20]
call fcn.00420420
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0044d04f
mov esp, ebp
pop ebp
ret
Function at 0x4463e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460158
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x47b0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0044c420
lea ecx, [edi + 0xdec]
call fcn.00446f60
mov ebx, dword [ebp - 0x18]
cmp ebx, dword [ebp - 0x14]
jne 0x446477
mov eax, dword [edi + 0x3e0]
lea eax, [eax + eax*2]
cmp dword [eax*8 + 0x47d0c8], 0x10
lea edx, [eax*8 + 0x47d0b4]
jb 0x44645d
mov edx, dword [edx]
mov ecx, dword [edi + 0x43c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push 1
mov ecx, edi
call fcn.00446320
jmp 0x44653e
call fcn.004470a0
mov eax, dword [edi + 0x3e0]
lea eax, [eax + eax*2]
cmp dword [eax*8 + 0x47cfd8], 0x10
lea edx, [eax*8 + 0x47cfc4]
jb 0x446498
mov edx, dword [edx]
mov ecx, dword [edi + 0x43c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
push 0
mov ecx, edi
call fcn.00446320
mov eax, dword [ebp - 0x14]
sub eax, ebx
sar eax, 2
mov dword [edi + 0x3d8], 0
mov dword [edi + 0x3dc], 0
mov esi, ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], edi
push 0x4d
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [0x47f410]
mov ebx, dword [eax]
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 4]
push ebx
call fcn.004476c0
mov edx, dword [0x47f414]
mov ecx, 0xccccccb
sub ecx, edx
mov edi, eax
cmp ecx, 1
jb 0x44655d
inc edx
mov dword [0x47f414], edx
mov dword [ebx + 4], edi
mov eax, dword [edi + 4]
push 0
mov dword [eax], edi
mov eax, dword [0x47f410]
push 0
mov eax, dword [eax]
add eax, 8
push eax
push 0x444330
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
add esi, 4
cmp dword [ebp - 0x14], esi
jne 0x4464d1
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x44654b
push ebx
call fcn.0044d05e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0044cf95
int3
Function at 0x44b0a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
mov edx, dword [ebx + 0x16c]
mov dword [ebx + 0xb8], 0
mov eax, dword [edx + 0x3e8]
mov edx, dword [edx + 0x3e4]
mov eax, dword [eax*4 + 0x46f78c]
push edi
sub esp, 0x14
lea edi, [ebx + 0xd4]
push eax
push edx
mov ecx, edi
mov dword [edi + 0x94], ebx
call fcn.0044bba0
test eax, eax
je 0x44b208
push 0
push 0
push edi
push 0x44bdd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], eax
test eax, eax
je 0x44b208
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [edi + 0x80]
mov dword [eax], 0
mov ecx, dword [edi + 0x80]
mov dword [edi + 0x8c], 7
mov eax, dword [0x46f880]
mov dword [ecx], eax
mov ax, word [0x46f884]
mov word [ecx + 4], ax
mov al, byte [0x46f886]
mov byte [ecx + 6], al
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebx + 0x16c]
cmp byte [ecx + 0x3a1], 0
je 0x44b1e0
mov eax, dword [ecx + 0x3e8]
push 0
push 7
push 0x46f880
push 1
push dword [eax*4 + 0x46f78c]
push dword [ecx + 0x3e4]
lea ecx, [ebp - 0x1c]
call fcn.0044ba30
push 1
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x16c]
push 0xfb9
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
cmp eax, ecx
je 0x44b1d7
mov edi, edi
mov esi, dword [eax]
push eax
call fcn.0044d05e
mov ecx, dword [ebp - 0x14]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x44b1c0
mov esi, dword [ebp - 4]
push ecx
call fcn.0044d05e
add esp, 4
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebx + 0xb8], 0
jne 0x44b211
inc esi
mov dword [ebp - 4], esi
cmp esi, 2
jl 0x44b112
mov ecx, edi
call fcn.0044c100
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.0044b450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, 0x46f7e8
mov dword [edi + 0xb8], 0
mov dword [ebp - 8], ecx
jmp 0x44b250
mov eax, dword [edi + 0x16c]
cmp dword [eax + 0x3d8], 0
jne 0x44b3c9
mov eax, dword [ecx]
sub esp, 0x14
lea esi, [edi + 0xd4]
push eax
push ebx
mov ecx, esi
mov dword [esi + 0x94], edi
call fcn.0044bba0
test eax, eax
je 0x44b3ab
push 0
push 0
push esi
push 0x44bdd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
je 0x44b3ab
xor ebx, ebx
jmp 0x44b2b0
mov eax, dword [edi + 0x16c]
cmp dword [eax + 0x3d8], 0
jne 0x44b428
mov eax, dword [esi + 0x80]
mov dword [eax], 0
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x8c], 7
mov eax, dword [0x46f880]
mov dword [ecx], eax
mov ax, word [0x46f884]
mov word [ecx + 4], ax
mov al, byte [0x46f886]
mov byte [ecx + 6], al
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x16c]
cmp byte [eax + 0x3a1], 0
je 0x44b383
mov eax, dword [ebp - 8]
push 0
push 7
push 0x46f880
push 1
push dword [eax]
lea ecx, [ebp - 0x24]
push dword [ebp + 8]
call fcn.0044ba30
push 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [edi + 0x16c]
push 0xfb9
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
cmp eax, ecx
je 0x44b37a
mov esi, dword [eax]
push eax
call fcn.0044d05e
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x44b360
lea esi, [edi + 0xd4]
push ecx
call fcn.0044d05e
add esp, 4
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xb8], 0
jne 0x44b3da
inc ebx
cmp ebx, 2
jl 0x44b2b0
mov ecx, esi
call fcn.0044c100
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
inc dword [ebp - 0xc]
add ecx, 4
mov dword [ebp - 8], ecx
cmp ecx, 0x46f7f8
jl 0x44b250
mov eax, dword [edi + 0x16c]
inc dword [eax + 0x3dc]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
mov eax, dword [edi + 0x16c]
add ecx, 2
mov dword [eax + 0x3d8], 1
and ecx, 0x80000003
jns 0x44b3fd
dec ecx
or ecx, 0xfffffffc
inc ecx
mov eax, dword [edi + 0x16c]
mov ebx, dword [ebp + 8]
mov dword [eax + 0x3e8], ecx
mov eax, dword [edi + 0x16c]
mov ecx, edi
mov dword [eax + 0x3e4], ebx
call fcn.0044b450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc dword [eax + 0x3dc]
lea ecx, [edi + 0xd4]
call fcn.0044c100
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44bf10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x28]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edi, [esi + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0xf
push dword [esi + 0x90]
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
call dword [sym.imp.KERNEL32.dll_PurgeComm]
lea ebx, [esi + 0x3c]
push ebx
lea eax, [ebp - 4]
push eax
push dword [esi + 0x8c]
push dword [esi + 0x80]
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44bf9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x44bfa1
push 1
lea eax, [ebp - 4]
push eax
push ebx
push dword [esi + 0x90]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44bfc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x47b0b0]
xor eax, ebp
mov dword [ebp - 8], eax
movq xmm0, qword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
push edi
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_ClearCommError]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 0
je 0x44c0ab
lea ebx, [esi + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
lea eax, [ebp - 0x24]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44c06a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
cmp eax, 0x3e5
jne 0x44c06a
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x28]
mov ecx, dword [esi + 0x94]
call fcn.00449a00
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_ClearCommError]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x18], 0
jne 0x44c025
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d04f
mov esp, ebp
pop ebp
ret

Function at 0x44c180
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
sub esp, 0x14
mov esi, ecx
push dword [ebp + 0xc]
mov dword [esi + 0x94], eax
push dword [ebp + 8]
call fcn.0044bba0
test eax, eax
jne 0x44c1a6
pop esi
pop ebp
ret 0xc
push 0
push 0
push esi
push 0x44bdd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 8], eax
pop esi
mov eax, ecx
pop ebp
ret 0xc
Function at 0x44c420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46152b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x47b0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
push str.HardwareDeviceMapSerialComm
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44c5d3
mov eax, dword [edi]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [edi + 4], eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x210]
push eax
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x110]
push eax
push esi
push dword [ebp - 0x22c]
mov dword [ebp - 0x234], 0x100
mov dword [ebp - 0x230], 0x100
call ebx
cmp eax, 0x103
je 0x44c5c7
lea esp, [esp]
cmp byte [ebp - 0x110], 0
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
mov byte [ebp - 0x228], 0
jne 0x44c4f8
xor eax, eax
jmp 0x44c50a
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44c501
sub eax, edx
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x228]
call fcn.00448ed0
push 8
push 0
push str.Nmserial
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0
call fcn.00447210
cmp eax, 0xffffffff
jne 0x44c560
lea eax, [ebp - 0x20d]
push eax
call fcn.0044d503
add esp, 4
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
mov ecx, edi
call fcn.0044cab0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x214], 0x10
jb 0x44c57e
push dword [ebp - 0x228]
call fcn.0044d05e
add esp, 4
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x110]
push eax
inc esi
push esi
push dword [ebp - 0x22c]
mov dword [ebp - 0x234], 0x100
mov dword [ebp - 0x230], 0x100
call ebx
cmp eax, 0x103
jne 0x44c4d0
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044d04f
mov esp, ebp
pop ebp
ret
Function at 0x45941d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47b0b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00453318
mov dword [ebp - 0x14], eax
cmp dword [0x47f2ac], edi
jne 0x45950e
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x45949b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4595ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4595ee
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4595ee
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x47f2ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x47f2b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x47f2b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47f2bc], eax
test eax, eax
je 0x45950b
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47f2b8], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x459533
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x459526
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x459548
push 4
pop eax
jmp 0x4595f0
cmp dword [ebp - 0x14], edi
je 0x459548
push dword [0x47f2ac]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x45952d
mov eax, dword [0x47f2b8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4595a6
cmp dword [0x47f2bc], esi
je 0x4595a6
push eax
call ebx
push dword [0x47f2bc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4595a6
test eax, eax
je 0x4595a6
call ecx
test eax, eax
je 0x45959b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x45959b
test byte [ebp - 8], 1
jne 0x4595a6
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4595d6
mov eax, dword [0x47f2b0]
cmp eax, esi
je 0x4595d3
push eax
call ebx
test eax, eax
je 0x4595d3
call eax
mov edi, eax
test edi, edi
je 0x4595d3
mov eax, dword [0x47f2b4]
cmp eax, esi
je 0x4595d3
push eax
call ebx
test eax, eax
je 0x4595d3
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x47f2ac]
call ebx
test eax, eax
je 0x4595ee
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4595f0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d04f
leave
ret
Function at 0x4012a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov eax, dword [eax]
push esi
mov esi, dword [ecx]
push edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x14], 0x10
mov ebx, edi
xor eax, dword [ebx]
push eax
push edi
mov ebp, eax
call fcn.00401300
mov ecx, dword [esp + 0x1c]
add esp, 8
xor eax, esi
add ebx, 4
dec ecx
mov esi, ebp
mov dword [esp + 0x14], ecx
jne 0x4012be
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
xor ecx, eax
mov eax, dword [esp + 0x18]
xor edx, esi
pop edi
mov dword [eax], edx
mov edx, dword [esp + 0x18]
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
ret

Function at 0x401350
Capabilities:
Encrypt data using blowfish

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov eax, 0x40b198
lea ecx, [esi + 0x48]
mov edx, 0x100
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
dec edx
jne 0x401366
cmp eax, 0x40c198
jl 0x401361
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov edi, 0x40b150
xor eax, eax
sub edi, esi
mov dword [esp + 0x10], 0x12
xor ecx, ecx
mov dword [esp + 0x20], 4
xor ebx, ebx
mov bl, byte [eax + edx]
shl ecx, 8
or ecx, ebx
inc eax
cmp eax, ebp
jl 0x4013ae
xor eax, eax
mov ebx, dword [esp + 0x20]
dec ebx
mov dword [esp + 0x20], ebx
jne 0x40139d
mov ebx, dword [edi + esi]
add esi, 4
xor ebx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esi - 4], ebx
dec ecx
mov dword [esp + 0x10], ecx
jne 0x401393
mov ebx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov esi, ebx
mov edi, 9
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
call fcn.004012a0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esi], edx
mov dword [esi + 4], eax
add esp, 0xc
add esi, 8
dec edi
jne 0x4013e4
lea esi, [ebx + 0x4c]
mov ebp, 4
mov edi, 0x80
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
push ebx
call fcn.004012a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esi - 4], eax
mov dword [esi], ecx
add esp, 0xc
add esi, 8
dec edi
jne 0x401417
dec ebp
jne 0x401412
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x401510
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x808
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [esp + 0x14], 0x400
xor esi, esi
push esi
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318_
lea eax, [esp + 0x20]
push str._s_04d
push eax
call fcn.004036d4
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push 0xf003f
push 0
push edx
push connect
call edi
test eax, eax
jne 0x4015e6
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x418]
push eax
push ecx
push 0
push 0
push str.DriverDesc
push edx
mov dword [esp + 0x2c], 0x400
call ebx
test eax, eax
jne 0x4015b2
cmp dword [esp + 0x14], 0x400
ja 0x4015b2
lea eax, [esp + 0x418]
push str.Web_Caster_FT_STC_Va_g_Wireless_LAN_Card
push eax
call ebp
test eax, eax
je 0x40160a
jmp 0x4015bd
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
cmp esi, 0x63
jl 0x401536
push str.Web_Caster_FT_STC_Va_g_Wireless_LAN_Card
push 0x40d32c
call fcn.0040319c
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
lea edx, [esp + 0x18]
push edx
push 0x40d310
push 0x40e010
call fcn.00403000
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
lea eax, [esp + 0x418]
push eax
push 0x40d304
call fcn.0040319c
mov eax, dword [esp + 0x18]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret

Function at 0x401630
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x404
push ebx
push ebp
mov ebp, dword [esp + 0x410]
push esi
push edi
mov edi, 0x400
xor esi, esi
mov dword [esp + 0x10], edi
test ebp, ebp
jne 0x40165d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x404
ret
call fcn.00401510
mov ebx, eax
test ebx, ebx
je 0x4016c4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.NetCfgInstanceId
push ebx
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4016d1
cmp dword [esp + 0x10], edi
ja 0x4016d1
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40d3d8
push 0x40e010
call fcn.00403000
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret