joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4302e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47394b
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x494048]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x410]
push 0x400
push eax
push 0
mov dword [ebp - 0x42c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0
push eax
lea eax, [ebp - 0x410]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, 1
jge 0x430375
mov dword [esi + 0x10], 0
xor eax, eax
push 7
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x4771cc
mov word [esi], ax
call fcn.00404a00
jmp 0x430499
push ebx
call fcn.00457f24
mov edi, eax
add esp, 4
test edi, edi
je 0x43034f
push edi
push ebx
push 0
lea eax, [ebp - 0x410]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0x4771dc
push edi
call sub.VERSION.dll_VerQueryValueA
cmp dword [ebp - 0x434], 0x34
jae 0x4303d0
push edi
call fcn.004524da
add esp, 4
mov ecx, esi
push 0x4771cc
call fcn.004048f0
jmp 0x430499
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [ebp - 0x410]
push edx
push str.V_i._i._i._i
push eax
call fcn.0042f740
push edi
call fcn.004524da
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x418], 0
add esp, 0x1c
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430430
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0041ad40
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.0042e7f0
mov edx, dword [ebp - 0x414]
add esp, 8
cmp edx, 0x10
jb 0x430499
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43048f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4304b7
push edx
push ecx
call fcn.00448b15
add esp, 8
mov eax, esi
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.0044937d
mov esp, ebp
pop ebp
ret
call fcn.0044e13a
int3
Function at 0x431490
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473858
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x494048]
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, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
xor eax, eax
push eax
push 0x4854f0
xor bl, bl
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, section..data
push eax
mov dword [ebp - 4], 0
call fcn.00404a00
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43153b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431531
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431599
push edx
push ecx
call fcn.00448b15
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x431543
mov edi, dword [edi]
lea eax, [ebp - 0x2c]
push eax
push 2
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43157b
cmp dword [esi + 0x14], 8
jb 0x431563
mov esi, dword [esi]
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x2c]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
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.0044937d
mov esp, ebp
pop ebp
ret
call fcn.0044e13a
int3
Function at 0x4315a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473b1b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x494048]
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, dword [ebp + 8]
lea ecx, [ebp - 0xa8]
mov esi, dword [ebp + 0xc]
xor eax, eax
push eax
push 0x4854f0
mov dword [ebp - 0xb0], 0x7f
xor bl, bl
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.00404a00
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0xa8]
push dword [ebp - 0x98]
cmovae eax, dword [ebp - 0xa8]
mov ecx, section..data
push eax
mov dword [ebp - 4], 0
call fcn.00404a00
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x43167a
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431670
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4316ff
push edx
push ecx
call fcn.00448b15
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x431682
mov edi, dword [edi]
lea eax, [ebp - 0xac]
push eax
push 1
push 0
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4316e1
cmp dword [esi + 0x14], 8
jb 0x4316a5
mov esi, dword [esi]
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push esi
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4316d3
cmp eax, 0xea
je 0x4316d3
xor bl, bl
jmp 0x4316d5
mov bl, 1
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
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.0044937d
mov esp, ebp
pop ebp
ret
call fcn.0044e13a
int3
Function at 0x431c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473c08
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x494048]
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 eax, dword [ebp + 0x10]
xor bl, bl
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
dec eax
mov dword [ebp - 0x34], ecx
mov dword [ecx], eax
xor eax, eax
push eax
push 0x4854f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, section..data
push eax
mov dword [ebp - 4], 0
call fcn.00404a00
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x431d57
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431d4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431dd4
push edx
push ecx
call fcn.00448b15
add esp, 8
cmp dword [ebp - 0x2c], 0
je 0x431db6
cmp dword [ebp + 0x18], 0
jbe 0x431db6
cmp dword [esi + 0x14], 8
jb 0x431d6b
mov esi, dword [esi]
lea eax, [ebp - 0x30]
push eax
push 1
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x431db6
cmp dword [edi + 0x14], 8
jb 0x431d8b
mov edi, dword [edi]
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
push 0
push edi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x30]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
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.0044937d
mov esp, ebp
pop ebp
ret
call fcn.0044e13a
int3
Function at 0x431de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473c08
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x494048]
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 eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 8]
xor bl, bl
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
dec eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x34], eax
xor eax, eax
push eax
push 0x4854f0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, section..data
push eax
mov dword [ebp - 4], 0
call fcn.00404a00
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x431ea2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431e98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431f20
push edx
push ecx
call fcn.00448b15
add esp, 8
cmp dword [ebp - 0x2c], 0
je 0x431f02
cmp dword [ebp + 0x18], 0
jbe 0x431f02
cmp dword [esi + 0x14], 8
jb 0x431eb6
mov esi, dword [esi]
lea eax, [ebp - 0x30]
push eax
push 1
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x431f02
cmp dword [edi + 0x14], 8
jb 0x431ed6
mov edi, dword [edi]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x38]
push 0
push edi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x30]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
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.0044937d
mov esp, ebp
pop ebp
ret
call fcn.0044e13a
int3
Function at 0x431f30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473c38
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x494048]
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 eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 8]
xor bl, bl
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
push eax
push 0x4854f0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, section..data
push eax
mov dword [ebp - 4], 0
call fcn.00404a00
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x431feb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x431fe1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43206a
push edx
push ecx
call fcn.00448b15
add esp, 8
cmp dword [ebp - 0x2c], 0
je 0x43204c
cmp dword [ebp + 0x18], 0
jbe 0x43204c
cmp dword [esi + 0x14], 8
jb 0x431fff
mov esi, dword [esi]
lea eax, [ebp - 0x30]
push eax
push 2
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43204c
cmp dword [edi + 0x14], 8
jb 0x43201f
mov edi, dword [edi]
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [eax]
push 0
push edi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x30]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
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.0044937d
mov esp, ebp
pop ebp
ret
call fcn.0044e13a
int3

Function at 0x432180
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x494048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, ecx
push 0
mov dword [ebp - 0x234], edi
push eax
mov dword [ebp - 0x234], edi
call fcn.00433b10
push 0
push 2
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x432226
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x43221f
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
cmp ebx, dword [ebp - 0x228]
je 0x432215
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4321f0
jmp 0x43221e
mov ecx, dword [ebp - 0x218]
mov dword [edi + 0x18], ecx
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0044937d
mov esp, ebp
pop ebp
ret 4
Function at 0x432500
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473a88
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x494048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
push 0x20219
push 0
push str.SoftwareWorking_SolutionsAcquire
push 0x80000002
mov dword [ebp - 0x44], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x432574
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x4854f0
mov word [esi], ax
call fcn.00404a00
jmp 0x4326b3
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push str.mainexe
push dword [ebp - 0x44]
call edi
test eax, eax
jne 0x43268b
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
shr ecx, 1
inc ecx
cmp ecx, eax
ja 0x4325d3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x4325e0
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.0042be50
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
push str.mainexe
push dword [ebp - 0x44]
call edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042eac0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x432683
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x432651
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x432647
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4326d0
push edx
push ecx
call fcn.00448b15
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x40]
call fcn.00404890
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044937d
mov esp, ebp
pop ebp
ret
call fcn.0044e13a
int3
Function at 0x4326e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 0x18]
cmp eax, 1
jb 0x432741
push eax
push 0
push 0x100000
mov byte [ebp - 1], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x432728
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
neg ebx
push esi
sbb bl, bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and bl, byte [ebp - 1]
jne 0x43273e
push str.Acquire_Control_Screen
push str.TMainControl
call dword [sym.imp.USER32.dll_FindWindowW]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 8]
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x433750
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebx + 0x18], 0
je 0x432795
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
cmp esi, edi
je 0x43279b
lea eax, [ebp - 8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x43278e
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x18]
je 0x4327e2
add esi, 4
cmp esi, edi
jne 0x432776
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
sub edi, esi
test edi, 0xfffffffc
je 0x4327e9
mov eax, esi
mov edi, dword [eax]
test esi, esi
je 0x4327d9
mov ecx, dword [ebp - 0xc]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4327cf
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432822
push ecx
push esi
call fcn.00448b15
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov esi, dword [ebp - 0x14]
jmp 0x4327a7
test esi, esi
je 0x432819
mov ecx, dword [ebp - 0xc]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x43280f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432822
push ecx
push esi
call fcn.00448b15
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044e13a
int3
Function at 0x4338d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
xor bl, bl
cmp dword [eax + 0x14], 8
jb 0x4338e1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4338fd
test al, 0x10
mov ecx, 1
movzx eax, bl
cmove eax, ecx
pop ebx
pop ebp
ret
mov al, bl
pop ebx
pop ebp
ret

Function at 0x433980
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
cmp dword [eax + 0x14], 8
jb 0x433991
mov eax, dword [eax]
push esi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4339cf
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
xor edx, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x462d84
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00462bfa

Function at 0x46568c
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046560e
Function at 0x4c5130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x494005
lea edi, [esi - 0x93005]
push edi
or ebp, 0xffffffff
jmp 0x4c5152
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c5159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c5148
mov eax, 1
add ebx, ebx
jne 0x4c516b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c517c
jne 0x4c519b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c519b
dec eax
add ebx, ebx
jne 0x4c5188
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c5160
add ebx, ebx
jne 0x4c5197
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c51ed
xor ecx, ecx
sub eax, 3
jb 0x4c51b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c5222
sar eax, 1
mov ebp, eax
jmp 0x4c51be
add ebx, ebx
jne 0x4c51be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c518c
inc ecx
add ebx, ebx
jne 0x4c51cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c518c
add ebx, ebx
jne 0x4c51d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c51ce
jne 0x4c51ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c51ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c520c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c51fe
jmp 0x4c514e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c520c
add edi, ecx
jmp 0x4c514e
pop esi
mov edi, esi
mov ecx, 0x3ac7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c522a
cmp byte [edi], 0xe
jne 0x4c522a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4c522f
lea edi, [esi + 0xc3000]
mov eax, dword [edi]
or eax, eax
je 0x4c529e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc5000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc503c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c525c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc5044]
or eax, eax
je 0x4c5298
mov dword [ebx], eax
add ebx, 4
jmp 0x4c5279
call dword [esi + 0xc5040]
mov ebp, dword [esi + 0xc5048]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x18f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4c52d2
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46e030]
jne 0x401073
repz ret
jmp fcn.00402061

Function at 0x408d0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404f5a
and dword [ebp - 4], 0
cmp dword [0x470b68], 0
mov ebx, eax
jne 0x408dbc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408e6d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408e6d
push eax
call fcn.00404ee8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x470b68], eax
call esi
push eax
call fcn.00404ee8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x470b6c], eax
call esi
push eax
call fcn.00404ee8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x470b70], eax
call esi
push eax
call fcn.00404ee8
pop ecx
mov dword [0x470b78], eax
test eax, eax
je 0x408dbc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404ee8
pop ecx
mov dword [0x470b74], eax
mov eax, dword [0x470b74]
cmp eax, ebx
je 0x408e14
cmp dword [0x470b78], ebx
je 0x408e14
push eax
call fcn.00404f63
push dword [0x470b78]
mov esi, eax
call fcn.00404f63
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408e14
test edi, edi
je 0x408e14
call esi
test eax, eax
je 0x408e0b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408e0b
test byte [ebp - 0xc], 1
jne 0x408e14
or dword [ebp + 0x10], 0x200000
jmp 0x408e4d
mov eax, dword [0x470b6c]
cmp eax, ebx
je 0x408e4d
push eax
call fcn.00404f63
pop ecx
test eax, eax
je 0x408e4d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408e4d
mov eax, dword [0x470b70]
cmp eax, ebx
je 0x408e4d
push eax
call fcn.00404f63
pop ecx
test eax, eax
je 0x408e4d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x470b68]
call fcn.00404f63
pop ecx
test eax, eax
je 0x408e6d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408e6f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret