joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100500a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
mov esi, eax
shr eax, 4
and esi, 0xf
inc eax
push edi
mov edi, dword [esp + 0xc]
and eax, 0xffff
push ecx
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x100500ee
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100500ee
xor edx, edx
xor ecx, ecx
mov cx, word [eax]
add eax, 2
cmp esi, edx
je 0x100500f3
inc edx
lea eax, [eax + ecx*2]
cmp edx, 0x10
jl 0x100500d9
pop edi
xor eax, eax
pop esi
ret
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
test edi, edi
jne 0x10050103
test esi, esi
jne 0x10050121
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x1005011f
mov byte [eax + esi - 1], 0
jne 0x10050128
mov byte [esi + edi - 1], 0
mov eax, edi
pop edi
dec eax
pop esi
ret

Function at 0x10055810
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x10055860
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x10055860
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x10055865
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x1005584b
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x10055872
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret
Function at 0x10064124
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1006415c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10066fb4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10066f8b
jmp 0x10064168
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10065f29
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x10065f6b
call fcn.1007c998
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x10065f6b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10065f62
xor eax, eax
jmp 0x10065f73
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10065f79
pop edi
pop esi
pop ebx
ret 4

Function at 0x1007d4f1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.1007c998
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1007d52e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1007d52e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x1007d532
xor eax, eax
jmp 0x1007d5b0
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.1006217f
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x1007d56a
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x1007d554
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.1007d6b5
push ebx
mov edi, eax
call fcn.100621a8
test edi, edi
pop ecx
je 0x1007d5ac
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.1007d407
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.1007d5b5
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x409050
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4090e2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x4090d4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4090cc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x409095
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x403274
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0xccc]
cmp dword [edi], ebx
jne 0x4032cc
push 0x146dcf
call fcn.0045e75f
push ebx
call fcn.0045e76c
pop ecx
pop ecx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push ebx
push esi
push 0x403263
push ebx
push ebx
mov dword [esi + 0xcd0], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [esi + 0xcd0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebx
ret

Function at 0x4032f6
Capabilities:
Hide graphical window

Disassembly:
push esi
lea esi, [ecx + 0xcd4]
push 0
mov ecx, esi
call fcn.0040eee0
push 0
mov ecx, esi
call fcn.0040f1de
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret

Function at 0x404367
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
cmp byte [0x49bb18], 0
push ebx
push esi
push edi
mov esi, 0x49bb18
jne 0x40440c
and dword [esp + 0x14], 0
lea eax, [esp + 0x10]
push eax
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0x40
push eax
mov ebx, 0x47ccec
push ebx
push str.SoftwareSogouGame
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
je 0x40440c
and dword [esp + 0x18], 0
lea edi, [esp + 0x1c]
xor eax, eax
lea ecx, [esp + 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040d25a
test al, al
je 0x4043f0
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push 0x47cd04
push esi
call fcn.00406721
add esp, 0x18
push esi
call fcn.004402d0
pop ecx
push eax
push esi
push 1
push ebx
push str.SoftwareSogouGame
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b556
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x40b572
mov ecx, dword [ecx + 0xc]
push eax
push 0x3e8
push 3
call fcn.0040fd7a
jmp 0x40b5b5
cmp eax, 1
jne 0x40b595
lea eax, [ecx + 0x24]
push eax
xor eax, eax
push eax
push ecx
push 0x40b692
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b5b5
cmp eax, 0xffffffff
jne 0x40b5b5
mov ecx, dword [ecx + 0xc]
push 0
push 0x10005
push 0xbd0
call fcn.0040f1de
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop ebp
ret 0x10

Function at 0x40bf01
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x40bf90
push 0x228
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], 0x22c
push 0
push eax
call fcn.0043bad0
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x40bf7d
push str.SogouGameUpdate.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x40bfa8
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40bf59
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 5
jl 0x40bf18
xor al, al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043a99c
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x40bf98
Function at 0x40d059
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push edi
lea eax, [ebp - 8]
mov dword [ebp - 0x14], edx
push eax
xor ebx, ebx
push 0x48ab20
mov dword [ebp - 8], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x40d085
xor al, al
jmp 0x40d112
push esi
push edi
call fcn.00442e34
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x40d0e0
push esi
push edi
push ebx
push 0x48ab20
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x40d0e0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 0x4897e8
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x40d0e0
mov esi, dword [ebp - 4]
lea edi, [ebp - 0x48]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x48], 0xfeef04bd
mov esi, dword [ebp - 0x10]
sete al
mov bl, al
push esi
call fcn.00440047
pop ecx
pop esi
test bl, bl
je 0x40d07e
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x40]
mov eax, ecx
shr eax, 0x10
mov dword [edx], eax
movzx eax, cx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], eax
mov eax, ecx
shr eax, 0x10
mov dword [edx + 8], eax
movzx eax, cx
mov dword [edx + 0xc], eax
mov al, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d118
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push ecx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40d15b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp eax, 0x6400000
jb 0x40d164
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0xa
push eax
call fcn.0043b0ea
mov edi, eax
pop ecx
test edi, edi
je 0x40d154
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov byte [edi + eax], 0
test ebx, ebx
je 0x40d19c
mov eax, dword [ebp - 4]
mov dword [ebx], eax
mov eax, edi
jmp 0x40d15d
Function at 0x40dc58
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x198]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40dc86
xor al, al
jmp 0x40dd4f
mov eax, dword [0x49b904]
test eax, eax
jne 0x40dcad
push str.inetmib1.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x49b904], eax
cmp eax, 0x20
jae 0x40dcad
and dword [0x49b904], 0
jmp 0x40dc7f
cmp dword [0x49b8e4], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x40dccd
push str.SnmpExtensionInit
push eax
call esi
mov dword [0x49b8e4], eax
test eax, eax
je 0x40dc7f
push 0x49bac8
push 0x49bac4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [0x49b8e4]
cmp dword [0x49b900], 0
jne 0x40dd07
push str.SnmpExtensionInitEx
push dword [0x49b904]
call esi
mov dword [0x49b900], eax
test eax, eax
je 0x40dc7f
cmp dword [0x49b8e8], 0
jne 0x40dd2a
push str.SnmpExtensionQuery
push dword [0x49b904]
call esi
mov dword [0x49b8e8], eax
test eax, eax
je 0x40dc7f
cmp dword [0x49b8fc], 0
jne 0x40dd4d
push str.SnmpExtensionTrap
push dword [0x49b904]
call esi
mov dword [0x49b8fc], eax
test eax, eax
je 0x40dc7f
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043a99c
mov esp, ebp
pop ebp
ret
Function at 0x40e492
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor bl, bl
mov dword [ebp - 0x500], ecx
xor edi, edi
mov dword [ebp - 0x508], edi
test bl, bl
jne 0x40e670
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0043bad0
push 0x3e8
xor esi, esi
lea eax, [ebp - 0x4ec]
push esi
push eax
call fcn.0043bad0
push edi
lea eax, [ebp - 0x104]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
lea eax, [ebp - 0x104]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x504], eax
cmp eax, 0xffffffff
je 0x40e660
push 0x2710
push 8
mov dword [ebp - 0x4fc], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x40e654
xor eax, eax
lea edi, [ebp - 0x4f8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, dword [ebp - 0x504]
push eax
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x4f4], eax
lea eax, [ebp - 0x4fc]
push eax
push 0x2710
push esi
push 0xc
lea eax, [ebp - 0x4f8]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40e5c1
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40e5c1
lea ecx, [eax + esi]
lea edx, [ebp - 0x4ec]
call fcn.0040e817
lea ecx, [ebp - 0x4ec]
call fcn.0040e9a1
movsx ax, byte [ebp - 0x4ec]
movzx eax, ax
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
jne 0x40e625
push 0x2710
push 0
push esi
call fcn.0043bad0
add esp, 0xc
lea eax, [ebp - 0x4fc]
xor ecx, ecx
push ecx
push eax
push 0x2710
push esi
push ecx
push ecx
push 0x2d0c10
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40e63e
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x4ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x4ec]
call fcn.0040e9a1
movsx ax, byte [ebp - 0x4ec]
movzx eax, ax
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x40e63e
push 0x31
lea eax, [ebp - 0x4ec]
push eax
push dword [ebp - 0x500]
call fcn.0043cf20
mov bl, 1
add esp, 0xc
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebp - 0x508]
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
mov dword [ebp - 0x508], edi
cmp edi, 0x10
jl 0x40e4b8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a99c
mov esp, ebp
pop ebp
ret
Function at 0x4166cf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
cmp dword [ebp + 8], 9
push esi
push edi
mov esi, ecx
jne 0x416758
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
jne 0x416758
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
mov edi, eax
test edi, edi
je 0x41670b
mov ecx, edi
call fcn.00413cc7
test al, al
jne 0x416758
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xff00
test cx, ax
mov eax, dword [esi]
push edi
mov ecx, esi
je 0x416727
call dword [eax + 0x54]
jmp 0x41672a
call dword [eax + 0x58]
mov ecx, eax
test ecx, ecx
je 0x416738
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x7c]
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
je 0x416753
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.0040f8ab
xor eax, eax
inc eax
jmp 0x41678d
mov esi, dword [esi + 0x30]
lea ecx, [esp + 0xc]
and dword [esp + 0xc], 0
push ecx
push dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
push 7
call dword [eax + 4]
test al, al
je 0x41677e
mov eax, dword [esp + 0xc]
jmp 0x41678d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
push 7
call fcn.004102e1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x417fe9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
cmp eax, 0x84
jne 0x418004
mov eax, dword [ebp + 0x14]
or dword [eax], 0xffffffff
xor eax, eax
inc eax
jmp 0x418078
cmp eax, 0x21
jne 0x418014
mov eax, dword [ebp + 0x14]
mov dword [eax], 3
jmp 0x417fff
push ebx
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x418040
cmp byte [esi + 0x28], 0
mov edx, 0x12c
push 0
mov ecx, ebx
cmovne ecx, edx
push ecx
push 0x20
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp + 0x14]
and dword [ecx], 0
jmp 0x418095
cmp eax, 0x113
jne 0x41807d
cmp dword [ebp + 0xc], 0x20
push edi
mov edi, ebx
jne 0x418068
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x20
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x41806a
xor edi, edi
mov eax, dword [ebp + 0x14]
and dword [eax], 0
test edi, edi
pop edi
jne 0x418095
xor eax, eax
pop ebx
pop esi
pop ebp
ret 0x10
cmp eax, 0x400
jne 0x418075
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x14]
and dword [eax], 0
mov eax, ebx
jmp 0x418077
Function at 0x418aa0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.004187bd
test eax, eax
je 0x418ada
mov ecx, dword [ebp + 0xc]
call fcn.004187bd
test eax, eax
je 0x418ada
mov ecx, dword [ebp + 8]
call fcn.004187d0
movzx eax, al
test eax, eax
je 0x418ada
mov ecx, dword [ebp + 0xc]
call fcn.004187d0
movzx eax, al
test eax, eax
jne 0x418ade
xor al, al
jmp 0x418b0a
mov ecx, dword [ebp + 0xc]
call fcn.004187bd
push eax
mov ecx, dword [ebp + 8]
call fcn.004187bd
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x418b03
mov dword [ebp - 4], 1
jmp 0x418b07
and dword [ebp - 4], 0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42b6a3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cfdd
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x42b6e3
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x3e]
test eax, eax
jne 0x42b6ef
mov al, 1
jmp 0x42b880
mov dword [ebp - 0x44], 8
call fcn.004201cd
movzx eax, ax
push eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
call dword [eax + 0xc]
mov word [ebp - 0x36], ax
call fcn.004201cd
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x36]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0042014f
pop ecx
pop ecx
movzx eax, al
test eax, eax
je 0x42b734
xor al, al
jmp 0x42b880
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.0040794a
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042a866
mov ecx, eax
call fcn.0042b5b7
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00407970
add esi, eax
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042a866
mov ecx, eax
call fcn.0042b5b7
push eax
mov eax, dword [ebp - 0x2c]
add eax, 0x40
push eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
call fcn.0042c488
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x42b7ac
cmp dword [ebp - 0x3c], 1
je 0x42b7b3
cmp dword [ebp - 0x3c], 3
je 0x42b845
jmp 0x42b85a
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3e], 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042a866
mov ecx, eax
call fcn.0042b5b7
mov ecx, dword [ebp - 0x40]
sub ecx, eax
mov dword [ebp - 0x34], ecx
je 0x42b811
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x4c]
push dword [ebp - 0x34]
push 1
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042a866
mov ecx, eax
call fcn.0042b5b7
push eax
call fcn.00445ea3
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x42b811
mov byte [ebp - 0x2d], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402b1b
mov al, byte [ebp - 0x2d]
jmp 0x42b880
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x3e]
test eax, eax
jne 0x42b831
mov byte [ebp - 0x2e], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402b1b
mov al, byte [ebp - 0x2e]
jmp 0x42b880
cmp dword [ebp - 0x34], 0
jne 0x42b843
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.004079b4
jmp 0x42b86f
mov byte [ebp - 0x2f], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402b1b
mov al, byte [ebp - 0x2f]
jmp 0x42b880
mov byte [ebp - 0x30], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402b1b
mov al, byte [ebp - 0x30]
jmp 0x42b880
jmp 0x42b744
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret