joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.00402d50
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x402d3c
cmp dword [ebp - 4], 0x50000000
jb 0x402cbc
cmp dword [ebp - 4], 0x80000000
ja 0x402cbc
mov dword [ebp - 4], 0x80010000
jmp 0x402c95
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00432e20
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x402ce2
jmp 0x402d3c
cmp dword [ebp - 0x10], 0x10000
jne 0x402d25
cmp dword [ebp - 0x14], 0x10000
jb 0x402d25
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x402d18
mov eax, dword [ebp - 0x24]
jmp 0x402d3e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x402d37
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.00402d50
add esp, 4
mov dword [ebp - 4], eax
jmp 0x402c95
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x402d80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.00402e50
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x402e44
cmp dword [ebp - 4], 0x50000000
jb 0x402dc1
cmp dword [ebp - 4], 0x80000000
ja 0x402dc1
mov dword [ebp - 4], 0x4fff0000
jmp 0x402d9a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00432e20
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x402de7
jmp 0x402e44
cmp dword [ebp - 0x10], 0x10000
jne 0x402e2a
cmp dword [ebp - 0x14], 0x10000
jb 0x402e2a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x402e1d
mov eax, dword [ebp - 0x24]
jmp 0x402e46
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x402e3f
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.00402e50
add esp, 4
mov dword [ebp - 4], eax
jmp 0x402d9a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402e80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4ecb40], eax
je 0x402ea5
mov eax, 0x10dd
jmp 0x40303d
cmp dword [0x4ecb44], 0
je 0x402eb8
mov eax, dword [0x4ecb44]
jmp 0x40303d
cmp dword [ebp + 8], 0
jne 0x402ec8
mov eax, 6
jmp 0x40303d
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x402ef1
mov dword [ebp - 0xc], 6
mov ecx, dword [ebp - 0xc]
mov dword [0x4ecb44], ecx
mov edx, dword [ebp + 8]
mov dword [0x4ecb48], edx
mov eax, dword [ebp - 0xc]
jmp 0x40303d
push 0x18
call fcn.0042e7eb
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402f4a
mov dword [ebp - 0xc], 8
mov ecx, dword [ebp - 0xc]
mov dword [0x4ecb44], ecx
cmp dword [ebp - 0x18], 0
je 0x402f39
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.0042e299
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [0x4ecb48], ecx
mov eax, dword [ebp - 0xc]
jmp 0x40303d
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00401900
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00401900
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0
je 0x402f8a
cmp dword [ebp - 8], 0x1e
jbe 0x402fa6
mov dword [ebp - 0xc], 9
cmp dword [0x4ecb38], 0
je 0x402fa1
jmp 0x402f1a
jmp 0x402f11
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x402fcd
mov dword [ebp - 0xc], 9
cmp dword [0x4ecb38], 0
je 0x402fc8
jmp 0x402f1a
jmp 0x402f11
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0x40
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x402ffa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x402f11
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4ecb50]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov dword [0x4ecb50], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x403420
Capabilities:
Encrypt data using rc4 prga
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4d55c0
push 0x433100
mov eax, dword fs:[0]
push eax
add esp, 0xffffff8c
mov eax, dword [0x4ea00c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x3c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
cmp dword [ebp + 0xc], 0
jne 0x403465
mov dword [ebp - 0x1c], 0x10000
jmp 0x403470
mov eax, dword [ebp + 0xc]
add eax, 0x10000
mov dword [ebp - 0x1c], eax
push 0x1c
push 0
lea ecx, [ebp - 0x38]
push ecx
call fcn.00432e20
add esp, 0xc
jmp 0x40348b
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
push 0x1c
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
jne 0x4034a8
jmp 0x4035c7
mov eax, dword [ebp - 0x2c]
and eax, 0xfff
cmp eax, 0xfff
jne 0x4034bc
jmp 0x4035c7
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x1c]
jae 0x4034cc
jmp 0x4035c7
cmp dword [ebp - 0x28], 0x1000
jne 0x4034ed
mov edx, dword [ebp - 0x24]
and edx, 0xff
cmp edx, 1
je 0x4034ed
mov eax, dword [ebp - 0x24]
and eax, 0x100
je 0x4034ef
jmp 0x403482
mov dword [ebp - 4], 0
push 0
push 0x40
lea ecx, [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x40351c
mov dword [ebp - 4], 0xfffffffe
jmp 0x403482
movzx ecx, word [ebp - 0x80]
cmp ecx, 0x5a4d
jne 0x403536
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x2c]
ja 0x403536
cmp dword [ebp - 0x44], 0x40
jae 0x403542
mov dword [ebp - 4], 0xfffffffe
jmp 0x403482
push 0
push 0xf8
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x40356e
mov dword [ebp - 4], 0xfffffffe
jmp 0x403482
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x403585
mov dword [ebp - 4], 0xfffffffe
jmp 0x403482
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x84]
jmp 0x4035c9
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.0042e29e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x403ed0
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0x1c]
or eax, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x34], 0
jne 0x403eee
mov ecx, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp + 0x34], ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp + 0x34]
test eax, eax
jne 0x403f21
xor eax, eax
jmp 0x403f95
mov dword [ebp - 0x20], 0
cmp dword [ebp + 0x30], 0
je 0x403f41
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x30]
mov dword [ebp + eax*4 - 0xc], ecx
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00403050
test eax, eax
jne 0x403f66
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
jmp 0x403f95
cmp dword [ebp + 0x2c], 0
je 0x403f7e
push 0x10
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0x2c]
push edx
call fcn.004332a0
add esp, 0xc
mov eax, dword [ebp + 0x1c]
and eax, 4
jne 0x403f90
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x30
Function at 0x4064c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
mov byte [ecx + 0x31], al
mov ecx, dword [ecx + 0x54]
test al, al
je 0x4064dd
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
Function at 0x408d50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push 0
push dword [esi + 0x54]
mov dword [esi + 0x68], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x200
push dword [esi + 0x54]
mov byte [esi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebp
ret 4

Function at 0x408d90
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x200
push dword [esi + 0x54]
mov byte [esi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret
Function at 0x409560
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4095b7
push 0
push 0
push 0x200
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x472
push str.ck_W
push dword [esi + 0x108]
push dword [esi + 0x54]
call sym.Install_rocket.exe_int___cdecl_ShowTray_struct_HWND_____struct_HICON_____wchar_t_const___unsigned_int_
push 2
push 0x4c9194
push 0x4c919c
push dword [esi + 0x54]
call sym.Install_rocket.exe_int___cdecl_ShowBalloon_struct_HWND_____wchar_t_const___wchar_t_const___int_
add esp, 0x20
pop esi
pop ebp
ret 4

Function at 0x40a240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40a299
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40a299
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40a288
cmp esi, edx
jae 0x40a299
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40a276
cmp esi, edx
jae 0x40a299
cmp word [esi], 0
je 0x40a299
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x40c0e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
add eax, 0xffffffdd
push esi
mov esi, ecx
cmp eax, 0xc3
ja 0x40c12c
mov ecx, dword [esi + 0x10c]
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 0xa3]
cmp edx, eax
jl 0x40c12c
lea eax, [ecx + 0xb7]
cmp edx, eax
jg 0x40c12c
sub esp, 0x10
lea ecx, [esi + 0x2e84]
push dword [esi + 0x17d0]
push dword [esi + 0x54]
call fcn.0040b150
pop esi
pop ebp
ret 8
push 0
push dword [esi + 0x2ed8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x200
push dword [esi + 0x2ed8]
mov byte [esi + 0x2f4b], 1
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebp
ret 8
Function at 0x40d2c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab5c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ea00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x484], 0
jle 0x40d42c
nop word [eax + eax]
xor esi, esi
cmp byte [edi + 0xc7], 0
jne 0x40d473
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jl 0x40d302
dec dword [edi + 0x484]
call fcn.0040a520
mov ecx, eax
test ecx, ecx
je 0x40d485
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push dword [edi + 0x484]
push 0x4c9554
push eax
call fcn.00409d70
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ebx, dword [edi + 0x278]
sub ebx, 0x10
lea esi, [eax - 0x10]
cmp esi, ebx
je 0x40d3fc
cmp dword [ebx + 0xc], 0
jl 0x40d3ed
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x40d3ed
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x40d39a
cmp ecx, dword [esi]
jne 0x40d39a
mov dword [ebp - 0x14], esi
lock inc dword [eax]
jmp 0x40d3c8
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40d48f
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
lea ecx, [esi + 0x10]
mov edx, dword [esi + 4]
inc edx
push edx
push ecx
lea ecx, [eax + 0x10]
call fcn.00409b40
add esp, 8
or eax, 0xffffffff
lea ecx, [ebx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40d3df
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [edi + 0x278], eax
jmp 0x40d3fc
push dword [eax - 0xc]
lea ecx, [edi + 0x278]
push eax
call fcn.004099c0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40d41f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0x484], 0
jg 0x40d300
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x480]
call dword [eax + 0x60]
push 0
push dword [edi + 0x54]
mov dword [edi + 0x68], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x200
push dword [edi + 0x54]
mov byte [edi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_PostMessageW]
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 0x80004005
call fcn.0040a620
call fcn.00409b00
int3
Function at 0x40dfd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 1
mov edi, ecx
call fcn.00406940
test al, al
jne 0x40e058
push ebx
mov ebx, dword [ebp + 0xc]
movzx eax, bx
shr ebx, 0x10
cmp byte [edi + 0xc8], 0
mov dword [ebp + 0xc], eax
jne 0x40e057
mov eax, dword [edi + 0xd4]
xor esi, esi
mov ecx, dword [edi + 0xd0]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x40e057
nop
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx + 4]
mov al, byte [ecx + 0x31]
test edx, edx
jne 0x40e02b
test al, al
je 0x40e041
cmp byte [ecx + 0x30], dl
jne 0x40e041
push dword [edi + 4]
jmp 0x40e036
test al, al
je 0x40e041
cmp byte [ecx + 0x30], 0
jne 0x40e041
push edx
mov eax, dword [ecx]
push 1
push ebx
push dword [ebp + 0xc]
call dword [eax + 0x10]
mov eax, dword [edi + 0xd4]
inc esi
mov ecx, dword [edi + 0xd0]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x40e010
pop ebx
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x200
push dword [edi + 0x54]
call esi
push 0
push dword [edi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x200
push dword [edi + 0x54]
mov byte [edi + 0xc7], 1
call esi
pop edi
pop esi
pop ebp
ret 8

Function at 0x40e0a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
push dword [ebp + 8]
mov edi, ecx
call fcn.004072e0
mov ecx, esi
movzx eax, si
shr ecx, 0x10
cmp eax, dword [edi + 0x14]
jg 0x40e0e6
cmp ecx, dword [edi + 0x18]
jg 0x40e0e6
mov eax, dword [edi + 0x104]
cmp ecx, eax
jle 0x40e12c
sub ecx, eax
mov eax, ecx
cdq
idiv dword [edi + 0x108]
mov dword [edi + 0x10c], eax
pop edi
pop esi
pop ebp
ret 8
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
push dword [edi + 0x54]
mov byte [edi + 0xfc], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x200
push dword [edi + 0x54]
mov byte [edi + 0xc7], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 4]
push 0
push 0
push 0xfbd
push dword [eax + 0x54]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebp
ret 8
Function at 0x414fb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abaab
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4ea00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00409740
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp + 8]
add ecx, 0x1c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00409740
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x34], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edx + 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x41c340
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
cmp dword [ebp + 0x10], 0
je 0x41c358
mov dword [ebp - 8], 1
jmp 0x41c35f
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
xor ecx, ecx
jne 0x41c365
cmp dword [ebp - 0x14], 0
jne 0x41c379
push 0x80004005
call fcn.0040a620
xor edx, edx
jne 0x41c349
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41c4c0
cmp dword [ebp + 8], 0
je 0x41c4c0
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jbe 0x41c4af
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jbe 0x41c495
cmp dword [ebp - 4], 2
jbe 0x41c3e6
cmp dword [ebp - 4], 7
je 0x41c42b
jmp 0x41c495
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x41c40b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2 - 2]
test edx, edx
je 0x41c426
mov eax, 2
imul ecx, eax, 0
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + ecx], dx
mov eax, 0xd
jmp 0x41c4c3
jmp 0x41c4ad
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x41c47b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
cmp eax, 1
jb 0x41c47b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shr edx, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
jne 0x41c47b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
cmp eax, 1
jbe 0x41c493
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shr edx, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 4]
test ecx, ecx
je 0x41c493
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + eax], cx
mov eax, 0xd
jmp 0x41c4c3
jmp 0x41c4ad
mov eax, 2
imul ecx, eax, 0
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + ecx], dx
mov eax, 0xd
jmp 0x41c4c3
jmp 0x41c4c0
mov ecx, 2
imul edx, ecx, 0
xor eax, eax
mov ecx, dword [ebp + 8]
mov word [ecx + edx], ax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41c580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x41c589
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41c5cc
mov eax, dword [ebp - 8]
jmp 0x41c632
cmp dword [ebp - 0xc], 1
je 0x41c5df
cmp dword [ebp - 0xc], 2
je 0x41c5df
mov eax, 0xd
jmp 0x41c632
cmp dword [ebp + 0xc], 0
je 0x41c626
cmp dword [ebp - 4], 0
je 0x41c615
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x41c60c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x41c613
mov eax, 0xd
jmp 0x41c632
jmp 0x41c626
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41c780
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x41c789
cmp dword [ebp + 0xc], 0
je 0x41c79c
mov dword [ebp - 4], 1
jmp 0x41c7a3
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jne 0x41c7b6
mov eax, 0xd
jmp 0x41c7e5
xor edx, edx
jne 0x41c78d
mov eax, dword [ebp + 0xc]
push eax
call fcn.0043ba05
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc