joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a3ba
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41a3f9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41a3f9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41a3f9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41a3f9
cmp dword [ecx + 0x74], 0xe
jbe 0x41a3f9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7b6e37dc
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x30677a59
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1b6a3b66
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7f3a7fe8
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x405940
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cfbd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4541e0]
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 ecx, [ebp - 0x40]
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
push 0x39
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.00401480
push esi
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401390
add esp, 0xc
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push 0x20106
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4059df
mov byte [ebp - 0x45], 0
jmp 0x4059f8
push edi
push 0
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueA]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x45], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x405a28
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405a1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a88
push ecx
push edx
call fcn.0041ac6f
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x405a6a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405a60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405a88
push ecx
push edx
call fcn.0041ac6f
add esp, 8
mov al, byte [ebp - 0x45]
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.0041b2d9
mov esp, ebp
pop ebp
ret
call fcn.004203af
int3
Function at 0x405dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4541e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x30]
push 0x19
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.SoftwareHankuperAdLock_
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00401480
cmp dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x34]
push ecx
push 0x20119
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x405e2d
xor esi, esi
jmp 0x405f31
mov dword [ebp - 8], 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 4
mov esi, 1
mov dword [ebp - 0xc], 0x400
push eax
test edi, edi
jne 0x405eb0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push str.value_h
push dword [ebp - 0x34]
call edi
test eax, eax
jne 0x405e7d
mov eax, dword [ebp - 8]
cmp eax, 0x2b2
jb 0x405e7f
mov dword [0x454008], eax
jmp 0x405e7f
xor esi, esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.value_w
push dword [ebp - 0x34]
call edi
test eax, eax
jne 0x405f1f
mov eax, dword [ebp - 8]
cmp eax, 0x384
jb 0x405f21
mov dword [0x454004], eax
jmp 0x405f21
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0
push eax
push 0
push str.value_l
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405f1f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.value_t
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405f1f
mov eax, dword [0x454008]
mov edx, dword [ebp - 0x14]
sub eax, edx
mov ecx, dword [ebp - 0x18]
push 5
push eax
mov eax, dword [0x454004]
sub eax, ecx
push eax
push edx
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x405f21
xor esi, esi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x405f61
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405f57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405f73
push ecx
push edx
call fcn.0041ac6f
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret
call fcn.004203af
int3
Function at 0x405ff0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4541e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x19
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.SoftwareHankuperAdLock_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.00401480
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x30]
push 0
push ecx
push 0
push 0x20106
push 0
push 0
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x406061
xor esi, esi
jmp 0x406111
mov eax, dword [ebp + 0x14]
mov esi, 1
push ebx
mov ebx, dword [ebp + 0xc]
sub eax, ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.value_h
push dword [ebp - 0x30]
call edi
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 0x10]
cmovne esi, ecx
mov dword [ebp - 0x34], esi
mov esi, dword [ebp + 8]
sub eax, esi
push 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 4
push ecx
push str.value_w
push dword [ebp - 0x30]
call edi
xor ecx, ecx
mov dword [ebp - 0x10], esi
test eax, eax
mov eax, dword [ebp - 0x34]
push 4
cmovne eax, ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x10]
push eax
push 4
push ecx
push str.value_l
push dword [ebp - 0x30]
call edi
mov esi, dword [ebp - 0x34]
xor ecx, ecx
push 4
test eax, eax
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
push 4
push ecx
push str.value_t
push dword [ebp - 0x30]
cmovne esi, ecx
call edi
push dword [ebp - 0x30]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
test eax, eax
pop edi
cmovne esi, ecx
pop ebx
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x406141
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406137
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406152
push ecx
push edx
call fcn.0041ac6f
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret
call fcn.004203af
int3
Function at 0x406160
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4541e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x19
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push str.SoftwareHankuperAdLock_
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0xc], 0
call fcn.00401480
cmp dword [ebp - 0xc], 0x10
lea ecx, [ebp - 0x24]
push 0
push ecx
push 0
push 0x20106
push 0
push 0
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4061f5
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.value_p
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x24]
test eax, eax
je 0x40621f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov ecx, dword [ebp - 0xc]
cmp ecx, 0x10
jb 0x406236
mov edx, dword [ebp - 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40622c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406247
jmp 0x40622c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x4061f7
push ecx
push edx
call fcn.0041ac6f
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret
call fcn.004203af
int3
Function at 0x406490
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4541e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
cmp dword [ebx + 4], esi
mov edi, dword [ebp + 8]
sete cl
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
mov byte [ebp - 9], cl
je 0x406626
test edi, edi
je 0x406626
lea eax, [ebp - 0x2c]
push eax
call fcn.00408e50
mov eax, 0xcccccccd
add esp, 4
mul dword [ebx + 0x18]
shr edx, 3
cmp edx, 0x3e8
jae 0x4064ef
mov edx, 0x3e8
jmp 0x4064f9
mov eax, 0x2710
cmp edx, eax
cmova edx, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 0
cmp dword [ebx + 4], esi
je 0x406612
nop dword [eax]
lea eax, [ebp - 0x24]
push eax
call fcn.00401cd0
add esp, 4
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x24
push ebx
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x406612
cmp dword [ebx + 4], esi
je 0x4065ff
call fcn.004199e2
mov edi, eax
mov esi, edx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
call fcn.004199cb
mov ecx, eax
cmp edi, 0x989680
jne 0x40657b
test esi, esi
jne 0x40657b
mov edi, 0x64
mov eax, edx
mul edi
mov esi, eax
mov eax, ecx
mul edi
add esi, edx
mov edi, eax
jmp 0x4065cd
push ebx
push esi
push edi
push edx
push ecx
call fcn.0041b3a0
mov esi, ebx
pop ebx
nop
push 0
push 0x3b9aca00
push esi
push ecx
mov ebx, eax
mov edi, edx
call fcn.0041b480
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push edx
push eax
call fcn.0041b2f0
mov dword [ebp - 0x10], eax
mov esi, edx
mov eax, edi
mov ecx, 0x3b9aca00
mov edi, dword [ebp - 0x10]
mul ecx
mov edx, 0x3b9aca00
mov ecx, eax
mov eax, ebx
mov ebx, dword [ebp - 0x18]
mul edx
add ecx, edx
add edi, eax
adc esi, ecx
sub edi, dword [ebp - 0x2c]
push 0
sbb esi, dword [ebp - 0x28]
push 0xf4240
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041b480
cmp edx, esi
jl 0x406612
jg 0x4065ef
cmp eax, edi
jb 0x406612
mov esi, dword [ebp + 0x10]
cmp dword [ebx + 4], esi
je 0x406612
mov edi, dword [ebp - 0x1c]
jmp 0x406510
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret
mov al, cl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret
Function at 0x406640
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4541e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor bl, bl
mov eax, dword [esi + 4]
test eax, eax
je 0x4066b7
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 0
push ecx
push 0x24
lea ecx, [ebp - 0x2c]
mov dword [ebp - 8], 0
push ecx
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4066b7
push dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push dword [esi + 4]
call fcn.00406490
add esp, 0x14
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret 0xc

Function at 0x408270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d25d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4541e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0041ac3f
mov edi, eax
add esp, 4
test edi, edi
je 0x408314
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00419e77
add esp, 4
mov dword [edi + 4], eax
jmp 0x408316
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00401ee0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [ebp - 0x10]
mov bl, al
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x408370
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x408370
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x40838c
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x4083af
cmp byte [ebp + 0xc], 0
je 0x40839b
push esi
call fcn.0041a30c
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 8
test cl, 4
je 0x4083bb
mov esi, str.ios_base::badbit_set
jmp 0x4083cb
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.004085f0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.00402a20
push 0x451a54
lea eax, [ebp - 0x28]
push eax
call fcn.0041c8af
int3
Function at 0x408c20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d351
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4541e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x455404], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov dword [0x455494], 0
jne 0x408c73
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.004186d0
mov eax, dword [ebp - 0x44]
add esp, 8
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 0xc], 0
jne 0x408d37
mov eax, dword fs:[0x2c]
mov ecx, dword [0x455c2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4554b0]
cmp eax, dword [ecx + 4]
jg 0x408dce
mov ecx, dword [0x4554a8]
mov eax, 0x2aaaaaab
mov esi, dword [0x4554a4]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jbe 0x408d1a
cmp byte [0x4554a0], 0
jne 0x408d30
cmp eax, 4
jbe 0x408e31
cmp dword [esi + 0x74], 0x10
lea ecx, [esi + 0x60]
jb 0x408ce7
mov ecx, dword [ecx]
cmp eax, 5
jbe 0x408e31
cmp dword [esi + 0x8c], 0x10
lea eax, [esi + 0x78]
jb 0x408cfe
mov eax, dword [eax]
push 0x64
push 0
push ecx
push eax
call fcn.004062f0
mov byte [0x4554a0], 1
add esp, 0x10
mov eax, 1
jmp 0x408d39
push 0x64
push 0
push str.AdLock_still_running
push str.Left_click_on_the_AdLock_icon_to_open_n_rRight_click_on_the_icon_to_exit
call fcn.004062f0
add esp, 0x10
mov eax, 1
jmp 0x408d39
xor eax, eax
mov dword [0x4552e8], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x14], 0
push eax
call fcn.00418090
mov eax, dword [ebp - 0x14]
add esp, 8
test eax, eax
jns 0x408d65
mov dword [ebp - 0x14], 0
jmp 0x408d70
jle 0x408d70
push eax
call fcn.00406160
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
movlpd qword [ebp - 0x3c], xmm0
push eax
push dword [ebp - 0x44]
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetWindowPlacement]
movups xmm0, xmmword [ebp - 0x24]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.00405ff0
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret
push 0x4554b0
call fcn.0041b203
add esp, 4
cmp dword [0x4554b0], 0xffffffff
jne 0x408ca6
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 0x4554a4
movq qword [0x4554a4], xmm0
mov dword [0x4554ac], 0
call fcn.00414d40
push 0x43df60
call fcn.0041aebe
push 0x4554b0
mov dword [ebp - 4], 0xffffffff
call fcn.0041b1b9
add esp, 0xc
jmp 0x408ca6
call fcn.00407b20
int3
Function at 0x409330
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4541e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x409368
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret
cmp byte [0x455404], 1
jne 0x409382
lea eax, [ebp - 8]
push str.blad
push eax
call fcn.004186d0
add esp, 8
push 0xa
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [section..data], 0
jne 0x4093c2
lea eax, [ebp - 8]
push eax
call fcn.00418af0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
push dword [0x4552e0]
call fcn.0040e700
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret
Function at 0x40e2c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4541e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push ecx
push 0x101
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xorps xmm0, xmm0
test eax, eax
jne 0x40e33f
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push edi
push dword [ebp - 0x18]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x18]
test eax, eax
jne 0x40e336
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
jmp 0x40e346
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
push 0
push 0x43f423
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0
call fcn.00401480
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret

Function at 0x40e370
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x4541e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x434]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push ecx
push 0x101
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x430], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40e441
push 0x410
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.0041d260
add esp, 0xc
mov dword [ebp - 0x430], 0x410
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0
push 0
push edi
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x434]
test eax, eax
jne 0x40e43b
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x42c]
lea eax, [ebp - 7]
push eax
call fcn.0040d450
add esp, 8
lea ecx, [ebp - 0x435]
push ecx
lea ecx, [ebp - 7]
push ecx
push eax
mov ecx, esi
call fcn.0040d370
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov ecx, esi
push 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
push 0x43f423
mov dword [esi + 0x14], 0
call fcn.00401480
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0041b2d9
mov esp, ebp
pop ebp
ret