joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414525
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x421508]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x414568
cmp word [esi], dx
jne 0x414568
or byte [edi + eax + 0x28], 4
jmp 0x41456d
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4146c0
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4146a0
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4145af
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4145e5
cmp eax, edx
jae 0x4145f1
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x414587
jmp 0x4146c0
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41469c
cmp dword [ebp - 0x14], 0
je 0x41469c
mov eax, dword [ebx*4 + 0x421508]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x414674
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41463d
mov word [esi], cx
jmp 0x414670
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x421508]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x421508]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x421508]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4146c0
pop ebx
cmp word [ebp - 4], bx
jne 0x414685
cmp esi, dword [ebp + 0xc]
jne 0x414685
mov word [esi], bx
jmp 0x4146bd
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00414349
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4146c0
push 0xd
jmp 0x4146b9
mov ecx, dword [ebx*4 + 0x421508]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4146b7
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4146c0
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x414e95
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00414e11
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x41500d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x41500d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x414fbc
jg 0x414eee
test eax, eax
je 0x414fb2
push 1
push 0x1000
call fcn.0040a945
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x414f14
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x414fa9
push 0x8000
push ebx
call fcn.0040946a
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x414f40
jg 0x414f3b
cmp ecx, 0x1000
jb 0x414f40
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00410675
add esp, 0x10
cmp eax, 0xffffffff
je 0x414f85
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x414f3b
jl 0x414f6c
test ecx, ecx
jne 0x414f2d
push dword [ebp - 0xc]
push ebx
call fcn.0040946a
push esi
call fcn.0040a5a4
add esp, 0xc
xor edi, edi
jmp 0x41501e
cmp byte [edi + 0x24], 0
je 0x414f9c
cmp dword [edi + 0x20], 5
jne 0x414f9c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x414fa7
mov edi, dword [edi + 0x18]
jmp 0x414fa9
xor edi, edi
push esi
call fcn.0040a5a4
pop ecx
jmp 0x41501e
test ecx, ecx
jg 0x414f7e
jl 0x414fbc
test eax, eax
jae 0x414f7e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00414349
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x414fdf
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x414f7e
jmp 0x415016
push ebx
call fcn.0040ea57
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x414f7e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x41501e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x41501b
mov edi, dword [edi + 0x18]
jmp 0x41501e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00414349
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424d4a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x525835
call fcn.0050cf19
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x424d6f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x424dc1
call fcn.0041ae8c
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d8d0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050ca4d
push eax
call fcn.00401010
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004012b0
mov eax, esi
call fcn.0050cff1
ret 8

Function at 0x428285
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5896f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4282ba
xor eax, eax
jmp 0x42830d
lea eax, [ebp - 0x210]
push eax
call fcn.0050cb1a
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x4282eb
push 0x55d2ac
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0050f07c
add esp, 0xc
test eax, eax
jne 0x4282b6
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0050f07c
add esp, 0xc
test eax, eax
jne 0x4282b6
lea eax, [ebp - 0x210]
push eax
call fcn.00415a00
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0050baf1
leave
ret

Function at 0x45365b
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x453696
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x45367d
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x45368e
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x453698
inc edi
add eax, 0x28
cmp edi, esi
jb 0x453673
xor eax, eax
pop edi
pop esi
ret

Function at 0x453c72
Capabilities:
Inspect section memory permissions

Disassembly:
cmp eax, ebx
je 0x453ccf
add eax, esi
cmp dword [eax], ebx
je 0x453ccf
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x453cca
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x453cb4
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x453cbc
cmp edx, ebx
jne 0x453e0a
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x453c8b
add eax, dword [eax + 4]
jmp 0x453c78
mov dword [ebp + 0xc], ebx
jmp 0x453cda
Function at 0x453ced
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x453cf2
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
add byte [eax], al
pushal
add byte [eax], al
pushal
jmp 0x453d10
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x453d6e
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x453d55
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x453d5e
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x453d68
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x453d4a
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x453cd4
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x453dbb
dec eax
je 0x453db2
sub eax, 3
je 0x453da9
mov dword [ebp - 4], 0x40
jmp 0x453dd8
mov dword [ebp - 4], 4
jmp 0x453dbe
mov dword [ebp - 4], 0x20
jmp 0x453dbe
mov dword [ebp - 4], ecx
dec ebp
cld
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x453e0a
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x453d8a
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
js fcn.00453e1b
add edi, esi
call fcn.0045361b
and ch, byte [ebx]
loope 0x453dbc
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x453e16
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4542f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
je 0x45430f
cmp dword [ebp - 0x398], 0
je 0x4544d9
cmp dword [ebp + 0xc], 1
je 0x4544d9
cmp dword [ebp + 0xc], 8
jne 0x4544a1
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.0045362b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004535e0
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.0045361b
js 0x4543f9
test dword [ecx + edi*8 - 1], esp
invalid
salc
cmp bh, 0xb5
push 0x8dfffff9
test dword [eax - 7], eax
invalid
call fcn.0045361b
fistp word [edx - 0x30]
rol byte [eax - 0x5435b], 1
inc dword [eax]
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.0045361b
cdq
push ebp
leave
and byte [ebp - 0x230], 0
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.004535f9
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
invalid
cmp dh, al
test dword [ecx + 0x11fffffc], esp
Function at 0x4010c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x5c
xor ecx, ecx
xor eax, eax
mov word [esp], ax
mov word [esp], cx
mov dword [esp + 4], ecx
fld qword [0x425408]
fmul qword [0x41f340]
mov dword [esp + 0x18], 0x44
mov edx, 1
mov dword [esp + 0x1c], ecx
fstp qword [0x425408]
mov eax, dword [esp + 4]
add eax, 0x3ce9b037
cmp eax, 0x897a5221
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], edx
jl 0x401133
mov eax, dword [0x42409c]
push esi
mov esi, dword [0x425aa0]
add eax, 0x93a2e482
imul esi, eax
mov dword [0x425aa0], esi
add dword [0x42409c], edx
pop esi
xor eax, eax
mov word [esp + 0x48], dx
mov edx, dword [esp + 4]
mov word [esp + 0x4a], ax
mov dword [esp + 0x4c], ecx
mov word [esp], dx
dec dword [esp + 4]
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x1c]
push edx
push ecx
push ecx
push 8
push ecx
push ecx
push ecx
mov ecx, dword [esp + 0x80]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
add esp, 0x5c
ret
Function at 0x401c10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
fldz
push ebx
mov ebx, dword [esp + 0x1c]
fstp qword [esp + 0xc]
push ebp
push esi
xor eax, eax
push edi
xor ecx, ecx
mov word [esp + 0x14], ax
mov word [esp + 0x10], cx
push ebx
call fcn.0040b22c
mov edi, dword [esp + 0x28]
push ebx
mov esi, eax
push edi
push esi
call fcn.0040b480
mov edx, dword [0x4279e4]
lea ebp, [esi + ebx]
mov ecx, 0xffff8eef
mov word [esp + 0x20], cx
mov cx, word [0x4240b4]
movzx ebx, word [esp + 0x24]
movsx ebx, bx
movsx ecx, cx
sub ecx, ebx
mov ebx, dword [0x426084]
add ecx, ebx
movzx ebx, word [0x425474]
imul ebx, ecx
mov word [0x425474], bx
dec word [0x4240b4]
mov ecx, dword [0x425320]
mov dword [esp + 0x38], ecx
sub edi, 0x423004
add esp, 0x10
fild dword [esp + 0x28]
add edx, edi
mov eax, esi
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
inc dword [0x425320]
cmp esi, ebp
je 0x401cc3
mov cl, byte [edx]
xor byte [eax], cl
inc eax
inc edx
cmp eax, ebp
jne 0x401cb7
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x402340
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
fldz
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
push 3
mov dword [esp + 0x14], 0
fstp qword [esp + 0x14]
push 0x425b88
call fcn.00401c10
mov ebx, dword [esp + 0x24]
mov esi, eax
push esi
push ebx
call fcn.0040bb80
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x402399
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
call fcn.0040bb80
mov edi, eax
add esp, 8
test edi, edi
je 0x4023b1
push edi
push 1
lea eax, [esp + 0x28]
push 4
push eax
call fcn.0040ba3a
push edi
call fcn.0040b85c
add esp, 0x14
fldz
xor eax, eax
mov word [esi], ax
fstp dword [esp + 0x10]
mov dword [esp + 0xc], 0
push esi
mov byte [esi + 2], al
call fcn.0040b14f
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
add esp, 4
fsub dword [esp + 0x10]
call fcn.0040b310
pop edi
pop esi
mov dword [esp + 4], eax
pop ebx
add esp, 0xc
ret
Function at 0x4025e0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
fldz
push ebp
fst dword [esp + 4]
push 0x2e
mov dword [esp + 0x14], 0
fstp dword [esp + 0x10]
push 0x424020
call fcn.00401c10
add esp, 8
mov ebp, eax
lea eax, [esp + 8]
push eax
push ebp
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4026bf
push esi
push edi
push 0x34
push 0x423200
call fcn.00401c10
fld qword [0x425500]
fsubr qword [0x41f4b8]
mov esi, eax
fld dword [esp + 0x1c]
add esp, 8
fcompp
fnstsw ax
fld qword [0x425500]
fld1
fadd st(1), st(0)
fxch st(1)
fstp qword [0x425500]
test ah, 1
jne 0x402682
fadd dword [esp + 0xc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fadd qword [0x41f4b0]
fsub dword [esp + 0xc]
fadd qword [0x423478]
fstp qword [0x423478]
jmp 0x40268e
add dword [0x424014], 0xfc4a7f5a
fstp st(0)
mov edx, dword [esp + 0x20]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402697
mov ecx, dword [esp + 0x10]
sub eax, edi
push eax
push edx
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
push 0x34
call fcn.004019c0
add esp, 8
pop edi
pop esi
fldz
push 0x2e
push 0
fstp dword [esp + 0x18]
mov dword [esp + 0xc], 0
push ebp
call fcn.0040b400
push ebp
call fcn.0040b14f
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
add esp, 0x10
fsub dword [esp + 0x10]
call fcn.0040b310
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
add esp, 0x10
ret
Function at 0x40a750
Capabilities:
Create thread

Disassembly:
sub esp, 0x1c
fldz
push ebx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
fst dword [esp + 0x18]
fst dword [esp + 4]
mov dword [esp + 0xc], ebx
fstp dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
push ebp
mov dword [0x4279ec], ebx
push esi
fmul dword [esp + 0xc]
xor esi, esi
push edi
fstp dword [esp + 0x10]
dec dword [esp + 0x18]
cmp dword [0x4259f0], ebx
je 0x40a7d7
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push ebx
push esi
push 0x4022c0
push ebx
push ebx
mov dword [esi*4 + 0x427528], ebx
call edi
fld qword [0x41fad0]
fstp qword [str.xf_Q_]
inc esi
fld dword [esp + 0x10]
fmul qword [0x41fac8]
fstp dword [esp + 0x10]
cmp esi, dword [0x4259f0]
jne 0x40a7a1
fld dword [esp + 0x10]
fsub qword [0x41f388]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
fiadd dword [esp + 0x28]
call fcn.0040b310
mov dword [esp + 0x20], eax
fld qword [0x426088]
fsub qword [0x41fac0]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
fsub dword [str.wp_vo]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [0x424604]
fadd qword [0x41fab8]
fstp dword [0x424604]
add dword [0x425400], 0x108c593
fld qword [0x41fab0]
fstp qword [0x425478]
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, 0x4259f4
movzx edx, word [esi]
mov eax, dword [edx*4 + 0x427528]
push eax
call ebp
fld dword [str._r_90o]
fadd qword [0x41f388]
fstp dword [str._r_90o]
fld dword [str._r_90o]
fadd qword [0x41faa8]
fsub qword [0x41faa0]
fmul dword [esp + 0x14]
movzx ecx, word [esi]
fstp dword [esp + 0x14]
cmp dword [ecx*4 + 0x427528], ebx
je 0x40a936
mov edi, edi
dec dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fadd qword [0x4231a8]
fsub qword [0x41fa98]
fcomp qword [0x41fa90]
fnstsw ax
test ah, 0x41
jp 0x40a8e8
mov ax, word [0x4253e0]
mov ecx, dword [esp + 0x18]
cwde
lea edx, [ecx + eax + 0x34b2c42f]
mov dword [esp + 0x18], edx
inc word [0x4253e0]
jmp 0x40a8f6
fld dword [esp + 0x14]
fmul qword [0x41fa88]
fstp dword [esp + 0x14]
push 0xa
call edi
fld dword [str._r_90o]
fadd qword [0x41f388]
fstp dword [str._r_90o]
fld dword [str._r_90o]
fadd qword [0x41faa8]
fsub qword [0x41faa0]
fmul dword [esp + 0x14]
movzx eax, word [esi]
fstp dword [esp + 0x14]
cmp dword [eax*4 + 0x427528], ebx
jne 0x40a8a0
fld dword [esp + 0x14]
add esi, 2
fsubr qword [0x41fa80]
fmul qword [0x424430]
fstp qword [0x424430]
cmp esi, 0x4259fc
jne 0x40a855
fld qword [0x426030]
fsub qword [0x41fa78]
fstp qword [0x426030]
call dword [0x4279ec]
ret 0xb023

Function at 0x40b2f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4261d8]
jne 0x40b300
repz ret
jmp fcn.0040f6b7
Function at 0x4167e4
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.00411f04
and dword [ebp - 4], 0
cmp dword [0x428454], 0
mov ebx, eax
jne 0x416895
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x416946
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420b78
push edi
call esi
test eax, eax
je 0x416946
push eax
call fcn.00411e92
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x428454], eax
call esi
push eax
call fcn.00411e92
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x428458], eax
call esi
push eax
call fcn.00411e92
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42845c], eax
call esi
push eax
call fcn.00411e92
pop ecx
mov dword [0x428464], eax
test eax, eax
je 0x416895
push 0x420b20
push edi
call esi
push eax
call fcn.00411e92
pop ecx
mov dword [0x428460], eax
mov eax, dword [0x428460]
cmp eax, ebx
je 0x4168ed
cmp dword [0x428464], ebx
je 0x4168ed
push eax
call fcn.00411f0d
push dword [0x428464]
mov esi, eax
call fcn.00411f0d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4168ed
test edi, edi
je 0x4168ed
call esi
test eax, eax
je 0x4168e4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4168e4
test byte [ebp - 0xc], 1
jne 0x4168ed
or dword [ebp + 0x10], 0x200000
jmp 0x416926
mov eax, dword [0x428458]
cmp eax, ebx
je 0x416926
push eax
call fcn.00411f0d
pop ecx
test eax, eax
je 0x416926
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x416926
mov eax, dword [0x42845c]
cmp eax, ebx
je 0x416926
push eax
call fcn.00411f0d
pop ecx
test eax, eax
je 0x416926
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x428454]
call fcn.00411f0d
pop ecx
test eax, eax
je 0x416946
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416948
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret