joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ebe38
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x665708]
call fcn.00666a1c
mov dword [ebp - 8], eax
mov eax, dword [0x8069f0]
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 8]
call fcn.00696b74
xor ecx, ecx
mov dl, 1
mov eax, dword [0x653edc]
call fcn.006546a0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00676808
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00656d98
mov edx, 0x7ebee0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.004ecb98
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14c]
test eax, eax
setg byte [ebp - 1]
mov eax, dword [ebp - 0xc]
call fcn.004ecba4
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00403d10
mov eax, dword [ebp - 8]
call fcn.00403d10
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x7ebf14
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x665708]
call fcn.00666a1c
mov dword [ebp - 8], eax
mov eax, dword [0x8069f0]
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 8]
call fcn.00696b74
xor ecx, ecx
mov dl, 1
mov eax, dword [0x653edc]
call fcn.006546a0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00676808
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00656d98
mov edx, 0x7ebfc0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.004ecb98
mov edx, 0x7ec000
mov eax, dword [ebp - 0xc]
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.004ecba4
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00403d10
mov eax, dword [ebp - 8]
call fcn.00403d10
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x7ec20c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x7ec2f9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x665708]
call fcn.00666a1c
mov dword [ebp - 0xc], eax
mov eax, dword [0x8069f0]
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 0xc]
call fcn.00696b74
xor ecx, ecx
mov dl, 1
mov eax, dword [0x653edc]
call fcn.006546a0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00676808
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp - 0x10]
call fcn.00656d98
mov edx, 0x7ec30c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
call fcn.004ecb98
mov edx, 0x7ec348
mov eax, dword [ebp - 0x10]
call fcn.004ede10
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00404cb4
mov edx, 0x7ec360
mov eax, dword [ebp - 0x10]
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
call fcn.004ecba4
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x10]
call fcn.00403d10
mov eax, dword [ebp - 0xc]
call fcn.00403d10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7ec300
lea eax, [ebp - 0x14]
call fcn.00404c60
ret
Function at 0x7f30a8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push ebx
xor edx, edx
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x7f3495
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
mov eax, dword [eax + 0x23c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x26c]
call fcn.0045db9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [0x806e40]
mov eax, dword [eax]
mov dx, 0xffef
invalid
sub dword [edx], edi
Function at 0x7f6674
Capabilities:
Reference sql statements

Disassembly:
inc ebx
dec eax
pop edi
dec ecx
inc esp
cmp eax, 0x41532e53
dec esp
inc ebp
pop edi
inc ebx
dec eax
pop edi
dec ecx
inc esp
and byte [edi + 0x52], cl
inc esp
inc ebp
push edx
and byte [edx + 0x59], al
and byte [ebx + 0x2e], dl
push ebx
inc ecx
dec esp
inc ebp
pop edi
dec esi
push eax
push eax
add byte [eax], al
add byte [eax], al
push ebp
mov ebp, esp
push ecx
mov ecx, 0x63
push 0
push 0
dec ecx
jne 0x7f667d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x164]
call fcn.00405110
xor eax, eax
push ebp
push 0x7f7e5f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x174], eax
xor eax, eax
mov dword [ebp - 0x168], eax
xor eax, eax
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
call fcn.00404c60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
call fcn.0045f1c4
test eax, eax
je 0x7f672f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
call fcn.0045f1c4
cmp dword [eax + 0xc], 0
je 0x7f672f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
add eax, dword [eax]
add al, ch
mov edx, 0x8bffc68a
inc eax
or al, 0x8b
add byte [ecx - 0x1737b], cl
dec dword [ebx - 0x7f7403bb]
add byte [ebx], 0
add al, ch
mov eax, dword [0x8bffc68a]
inc eax
or al, 0x8b
inc eax
add al, 0x89
invalid
cwde
invalid
invalid
invalid
mov eax, dword [ebp - 4]

Function at 0x7f9b14
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x665708]
call fcn.00666a1c
mov dword [ebp - 0x14], eax
mov eax, dword [0x8069f0]
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 0x14]
call fcn.00696b74
xor ecx, ecx
mov dl, 1
mov eax, dword [0x653edc]
call fcn.006546a0
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.00676808
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp - 0x18]
call fcn.00656d98
mov edx, 0x7f9bdc
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x7f9c44
mov eax, dword [ebp - 0x18]
call fcn.00656e64
mov edx, dword [ebp - 8]
call fcn.00686a74
mov eax, dword [ebp - 0x18]
call fcn.004ecb98
mov edx, 0x7f9c58
mov eax, dword [ebp - 0x18]
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x10]
wait
mov eax, dword [ebp - 0x18]
call fcn.004ecba4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x18]
call fcn.00403d10
mov eax, dword [ebp - 0x14]
call fcn.00403d10
fild qword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x7f9c5c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x665708]
call fcn.00666a1c
mov dword [ebp - 0x14], eax
mov eax, dword [0x8069f0]
mov eax, dword [eax]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 0x14]
call fcn.00696b74
xor ecx, ecx
mov dl, 1
mov eax, dword [0x653edc]
call fcn.006546a0
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.00676808
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [ebp - 0x18]
call fcn.00656d98
mov edx, 0x7f9d24
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x7f9d74
mov eax, dword [ebp - 0x18]
call fcn.00656e64
mov edx, dword [ebp - 8]
call fcn.00686a74
mov eax, dword [ebp - 0x18]
call fcn.004ecb98
mov edx, 0x7f9d88
mov eax, dword [ebp - 0x18]
call fcn.004ede10
mov edx, dword [eax]
call dword [edx + 0x4c]
fistp qword [ebp - 0x10]
wait
mov eax, dword [ebp - 0x18]
call fcn.004ecba4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x18]
call fcn.00403d10
mov eax, dword [ebp - 0x14]
call fcn.00403d10
fild qword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x7fa74c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call sub.KERNEL32.DLL_GetTickCount_1
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_ClearCommError
jmp 0x7fa78b
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_ClearCommError
call sub.KERNEL32.DLL_GetTickCount_1
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
ja 0x7fa7a0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 8]
jb 0x7fa77a
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 8]
jb 0x7fa7ac
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x401aa0
Capabilities:
Parse pe header

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

Function at 0x40d5a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d5cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d5cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
mov eax, section..reloc
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x87f7e23
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5ed50244
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401138
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x104]
push 0
mov ebx, ecx
push eax
call fcn.004160d0
mov edi, str.c:database_
push edi
call fcn.00401328
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x10
push eax
lea eax, [ebp - 0x104]
push eax
call esi
push edi
call fcn.00401328
pop ecx
push eax
lea eax, [ebp - 0x208]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x104]
push str.FOF.SS
push eax
call esi
lea eax, [ebp - 0x208]
push 0x421050
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileA]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x104]
push eax
call edi
lea ecx, [ebx + 4]
call fcn.00401528
test eax, eax
je 0x4011f2
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x208]
push eax
call esi
mov eax, 0x835
jmp 0x4011fd
lea eax, [ebp - 0x208]
push eax
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407f89
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x41cc8f
call fcn.00416014
sub esp, 0x360
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0xae8]
mov ecx, ebx
call fcn.00414c70
test eax, eax
jne 0x407fb9
mov eax, 0x741
jmp 0x40813a
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [0x422534], eax
mov eax, dword [ebp + 0xc]
mov dword [0x422538], eax
mov eax, dword [ebp + 0x10]
and byte [eax], 0
call fcn.0040a53e
test eax, eax
je 0x408017
mov eax, dword [0x422518]
push 0xb5
mov edi, dword [eax + 0x118]
add edi, dword [esi + 0x4c]
push edi
call fcn.0040ebed
pop ecx
test eax, eax
pop ecx
jne 0x408017
lea eax, [esi + 6]
push eax
lea eax, [edi + 0x4f]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x408017
push edi
mov ecx, ebx
call fcn.0040a040
test eax, eax
jne 0x408021
mov eax, 0x742
jmp 0x40813a
mov ecx, esi
call fcn.00407d38
test eax, eax
je 0x40803b
mov ecx, esi
call fcn.00407a59
test eax, eax
jne 0x40813a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x3c]
test eax, eax
jne 0x40813a
lea ecx, [ebp - 0x20]
call fcn.00407e5a
and dword [ebp - 4], 0
lea eax, [ebp - 0x124]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x40807b
call fcn.00415150
mov ebx, 0x1390
jmp 0x408130
lea eax, [ebp - 0x124]
push eax
call fcn.00401328
lea eax, [ebp - 0x124]
push edi
push eax
call fcn.00416140
lea eax, [ebp - 0x124]
push str..MSG
push eax
call fcn.00416140
mov edi, dword [esi + 0xc00]
add esp, 0x14
lea ecx, [ebp - 0x36c]
call fcn.004146e0
push 0
lea eax, [ebp - 0x124]
push 1
push eax
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 1
call fcn.00414990
test eax, eax
je 0x4080db
mov ebx, eax
jmp 0x408121
lea eax, [ebp - 0x36c]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
call fcn.00407f13
lea ecx, [ebp - 0x36c]
mov ebx, eax
call fcn.00414bf0
lea eax, [ebp - 0x124]
mov dword [esi + 0xc00], edi
test ebx, ebx
push eax
je 0x408115
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x408121
push dword [ebp + 0x10]
call fcn.00416130
pop ecx
xor ebx, ebx
pop ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x36c]
call fcn.00414770
lea ecx, [ebp - 0x20]
call fcn.00407e8a
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x409b51
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp byte [eax], 0
mov edi, ecx
je 0x409cc0
test eax, eax
je 0x409cc0
push eax
call fcn.00409893
cmp ax, 0xffff
mov dword [ebp - 4], eax
je 0x409cc0
movzx eax, ax
push 0xa98
lea esi, [eax + eax*4]
mov eax, dword [edi + 4]
shl esi, 1
mov eax, dword [eax + esi]
add eax, 0x4c
push eax
call fcn.0040ebed
pop ecx
test eax, eax
pop ecx
jne 0x409bf1
mov eax, dword [edi + 4]
add eax, esi
mov ecx, dword [eax]
cmp dword [ecx + 0xae4], 0
je 0x409cbc
dec word [eax + 8]
mov eax, dword [edi + 4]
add eax, esi
cmp word [eax + 8], 0
jne 0x409c5b
mov eax, dword [eax]
push 0xb5
mov ebx, dword [eax + 0x4c]
mov eax, dword [0x422518]
add ebx, dword [eax + 0x118]
push ebx
call fcn.0040ebed
pop ecx
test eax, eax
pop ecx
je 0x409bfb
mov eax, 0x771
jmp 0x409cc5
cmp byte [ebx + 0x11], 0x64
jne 0x409c5b
mov byte [ebx + 0x11], 0x63
mov ecx, dword [0x422978]
test ecx, ecx
je 0x409c1f
or dword [ebp - 8], 0xffffffff
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00403b02
lea eax, [ebp - 0x10c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x10c]
push str..MSG
push eax
call fcn.0040ed07
pop ecx
pop ecx
push 0
mov ecx, edi
push dword [ebp - 4]
call fcn.00409ccc
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x409cbc
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi]
call fcn.0040a47c
mov eax, dword [edi + 4]
mov eax, dword [eax + esi]
lea ecx, [eax + 0xae8]
mov eax, dword [eax + 0xae8]
call dword [eax + 0x3c]
mov eax, dword [edi + 4]
add eax, esi
cmp word [eax + 8], 0
ja 0x409cbc
mov eax, dword [eax]
mov eax, dword [eax + 0xae0]
test eax, eax
jne 0x409cbc
cmp dword [edi + 8], 0x76
jae 0x409cad
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + esi]
mov dword [ecx + 0xae0], eax
jmp 0x409cbc
test eax, eax
jne 0x409cbc
push eax
mov ecx, edi
push dword [ebp - 4]
call fcn.00409ccc
xor eax, eax
jmp 0x409cc5
mov eax, 0x772
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40d121
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, ecx
lea ecx, [esi + 8]
call fcn.00414c70
test eax, eax
jne 0x40d140
mov eax, 0x933
jmp 0x40d172
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, esi
call fcn.0040d36c
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
and ax, 0xf6cd
add eax, 0x933
pop esi
leave
ret

Function at 0x40e26b
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
push str.SS_NotifQueueManager_Event
push edi
push 1
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x14], eax
je 0x40e2a9
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x40e2ad
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
pop edi
pop esi
pop ecx
ret
Function at 0x40e520
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41ce24
call fcn.00416014
push ecx
push ecx
mov al, byte [ebp - 0xd]
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
mov dword [ebp - 0x14], esi
mov byte [esi], al
call fcn.0040e784
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0x1ffffff
mov dword [esi + 0x14], edi
mov dword [esi + 0x30], edi
call fcn.0040e26b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40fcd2
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x88], eax
jne 0x40fcf1
xor al, al
jmp 0x40fd0b
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x40fd0f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ecx
ret
Function at 0x4120a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
jne 0x4120bb
xor esi, esi
jmp 0x4120e9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00416da0
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
jne 0x412124
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x41211d
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x4121b9
xor esi, esi
jmp 0x4121b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x412147
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x41215a
xor esi, esi
jmp 0x4121b0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x41216c
jmp 0x412137
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x4121b0
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [esi + eax], bl
je 0x4121a2
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.00416da0
lea eax, [esi + 1]
mov edi, esp
push eax
push dword [ebp + 8]
push edi
call fcn.004165a0
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push edi
call fcn.00412220
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x412c37
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x41d090
call fcn.00416014
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00412bf9
mov edi, eax
cmp edi, esi
je 0x412c81
cmp dword [ebp - 0x10], esi
je 0x412c7a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x412d1e
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x412cf2
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.00412c37
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x412cdf
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x412ca4
cmp dword [ebp - 0x10], esi
je 0x412ced
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x412d1e
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x412d05
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x412d1c
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4