joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4099a8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [0x455db4]
push edi
push str._Windows_Subsystem__Fixing__s_n
call fcn.00409785
push 0x443514
push edi
call fcn.004196b6
add esp, 0x10
mov esi, eax
test esi, esi
mov byte [ebp - 4], 0x50
mov byte [ebp - 3], 0x45
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
push edi
jne 0x4099fa
push str._Windows_Subsystem__Could_not_open_file__s_n
call fcn.00409785
pop ecx
pop ecx
push 1
call fcn.0041928e
push str._Windows_Subsystem__Opened__s_n
call fcn.00409785
pop ecx
xor ebx, ebx
pop ecx
xor edi, edi
push esi
call fcn.0041b13f
pop ecx
push esi
mov dword [ebp - 8], eax
inc ebx
call fcn.0041bd5e
test eax, eax
pop ecx
jne 0x409acd
mov al, byte [ebp - 8]
cmp al, byte [ebp + edi - 4]
jne 0x409a30
inc edi
jmp 0x409a32
xor edi, edi
cmp edi, 4
jne 0x409a0a
cmp ebx, 0xffffffff
mov dword [0x455e54], ebx
je 0x4099f3
lea edi, [ebx + 0x58]
push edi
push 0x58
push ebx
push str._Windows_Subsystem__Found_marker_OK_at__d___d___d__n
call fcn.00409785
xor ebx, ebx
push ebx
push edi
push esi
call fcn.0041c6d0
add esp, 0x1c
push edi
push str._Windows_Subsystem__Skipped_to_relevant_spot__d_n
call fcn.00409785
push esi
call fcn.0041b13f
add esp, 0xc
push eax
push str._Windows_Subsystem__Was__02X_n
call fcn.00409785
push ebx
push edi
push esi
call fcn.0041c6d0
add esp, 0x14
push esi
push 2
call fcn.0041c207
push esi
call fcn.00419556
add esp, 0xc
push ebx
push edi
push esi
call fcn.0041c6d0
add esp, 0xc
push esi
call fcn.0041b13f
pop ecx
push eax
push str._Windows_Subsystem__Now__02X_n
call fcn.00409785
push esi
call fcn.00419556
add esp, 0xc
push esi
call fcn.0041b0c3
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push str.SS_edit___PE_sig
push str.Could_not_find_marker:__s_n
jmp 0x4099ec

Function at 0x409bbc
Capabilities:
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x446504]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
push str.perm_all
push esi
call fcn.00419b50
test eax, eax
pop ecx
pop ecx
jne 0x409c5b
push str.Permanent_install_for_all_users_n
call fcn.00409785
pop ecx
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x409c20
cmp dword [ebp - 0x9c], 5
jbe 0x409c20
push str.PROGRAMDATA
call fcn.0041afcd
pop ecx
jmp 0x409c83
push str.ALLUSERSPROFILE
call fcn.0041afcd
mov edi, eax
mov dword [esp], 0x1388
call fcn.00418420
pop ecx
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.00418650
push str.Application_Data
call fcn.0040967f
add esp, 0xc
push esi
call fcn.00409660
pop ecx
jmp 0x409c85
push str.perm_user
push esi
call fcn.00419b50
test eax, eax
pop ecx
pop ecx
jne 0x409c73
push str.Permanent_install_for_current_user_n
jmp 0x409c78
push str.Temporary_install_n
call fcn.00409785
pop ecx
call fcn.0040949a
mov esi, eax
test esi, esi
jne 0x409c9b
push str.ERROR:_Unable_to_get_shared_dir_
call fcn.00409785
pop ecx
push 1
call fcn.0041928e
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00418334
leave
ret
Function at 0x40bb90
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40bbb0
push 0xd0
push str.._srchashes_sha2_sha256.c
push 0x4364a8
call fcn.0040dd10
add esp, 0xc
mov dword [esi + 0x2a0], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x27c], 0
mov dword [esi + 0x280], 0x6a09e667
mov dword [esi + 0x284], 0xbb67ae85
mov dword [esi + 0x288], 0x3c6ef372
mov dword [esi + 0x28c], 0xa54ff53a
mov dword [esi + 0x290], 0x510e527f
mov dword [esi + 0x294], 0x9b05688c
mov dword [esi + 0x298], 0x1f83d9ab
mov dword [esi + 0x29c], 0x5be0cd19
xor eax, eax
pop esi
ret

Function at 0x40c130
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x40c14d
push 0x2a
push str.c:users_simplehelpworkspace_runner_nativelibtomlibtomcrypt_srchashes_sha2_sha224.c
push 0x4364a8
call fcn.0040dd10
add esp, 0xc
mov dword [esi + 0x2a0], 0
mov dword [esi + 0x278], 0
mov dword [esi + 0x27c], 0
mov dword [esi + 0x280], 0xc1059ed8
mov dword [esi + 0x284], 0x367cd507
mov dword [esi + 0x288], 0x3070dd17
mov dword [esi + 0x28c], 0xf70e5939
mov dword [esi + 0x290], 0xffc00b31
mov dword [esi + 0x294], 0x68581511
mov dword [esi + 0x298], 0x64f98fa7
mov dword [esi + 0x29c], 0xbefa4fa4
xor eax, eax
pop esi
ret
Function at 0x418334
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x446504]
jne 0x41833e
repz ret
jmp fcn.0041d3b5

Function at 0x41c3ee
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x41c41b
call fcn.0041885c
mov dword [eax], esi
call fcn.00418849
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041f1c5
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x41c3f7
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41c44a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041886f
pop ecx
call fcn.00418849
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x41c471
test al, 1
je 0x41c471
test byte [esp + 0xc], 2
je 0x41c471
call fcn.0041885c
mov dword [eax], 5
call fcn.00418849
mov dword [eax], 0xd
jmp 0x41c441
xor eax, eax
pop esi
ret
Function at 0x42608c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041f24c
xor ebx, ebx
cmp dword [0x4499e8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x426161
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4260cc
xor eax, eax
jmp 0x426225
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4260c5
push eax
call fcn.0041f1e9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4499e8], eax
call esi
push eax
call fcn.0041f1e9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4499ec], eax
call esi
push eax
call fcn.0041f1e9
mov dword [0x4499f0], eax
lea eax, [ebp - 8]
push eax
call fcn.004190bb
test eax, eax
pop ecx
pop ecx
je 0x42612f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041f0c9
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x426161
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041f1e9
cmp eax, ebx
pop ecx
mov dword [0x4499f8], eax
je 0x426161
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041f1e9
pop ecx
mov dword [0x4499f4], eax
mov eax, dword [0x4499f4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4261da
cmp dword [0x4499f8], esi
je 0x4261da
push eax
call fcn.0041f255
pop ecx
call eax
cmp eax, ebx
je 0x4261a7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4499f8]
call fcn.0041f255
pop ecx
call eax
test eax, eax
je 0x4261a7
test byte [ebp - 0x18], 1
jne 0x4261da
lea eax, [ebp - 0xc]
push eax
call fcn.004190f2
test eax, eax
pop ecx
je 0x4261c2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041f0c9
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4261d1
or dword [ebp + 0x10], 0x200000
jmp 0x42620b
or dword [ebp + 0x10], 0x40000
jmp 0x42620b
mov eax, dword [0x4499ec]
cmp eax, esi
je 0x42620b
push eax
call fcn.0041f255
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42620b
mov eax, dword [0x4499f0]
cmp eax, esi
je 0x42620b
push dword [ebp - 4]
push eax
call fcn.0041f255
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4499e8]
call fcn.0041f255
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432b60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
not eax
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp esi, 8
jbe 0x432c2f
test bl, 7
je 0x432b99
nop
movzx ecx, byte [ebx]
dec esi
movzx edx, al
inc ebx
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x438038]
test bl, 7
jne 0x432b80
mov edi, esi
and esi, 7
and edi, 0xfffffff8
add edi, ebx
cmp ebx, edi
jae 0x432c2f
nop dword [eax + eax]
xor eax, dword [ebx]
add ebx, 4
mov dword [ebp + 0x10], ebx
add dword [ebp + 0x10], 4
mov ebx, dword [ebx]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x438438]
xor edx, dword [ecx*4 + 0x438838]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x439438]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x439838]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x438038]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x439038]
movzx ecx, bl
mov ebx, dword [ebp + 0x10]
xor edx, dword [ecx*4 + 0x438c38]
xor edx, dword [eax*4 + 0x439c38]
mov eax, edx
cmp ebx, edi
jb 0x432bb0
test esi, esi
je 0x432c4d
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x438038]
sub esi, 1
jne 0x432c33
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x432c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
not eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
not esi
cmp edi, 4
jbe 0x432d5a
mov dword [ebp + 0x14], ebx
test bl, 3
je 0x432cb7
nop word [eax + eax]
movzx ecx, byte [ebx]
dec edi
movzx edx, al
inc ebx
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x43a038]
xor esi, dword [edx*8 + 0x43a03c]
test bl, 3
jne 0x432c90
mov dword [ebp + 0x14], ebx
mov edx, edi
mov dword [ebp - 8], 0
and edx, 0xfffffffc
mov dword [ebp - 4], 0
and edi, 3
mov dword [ebp + 0xc], edi
lea ecx, [edx + ebx]
add edx, 3
shr edx, 2
cmp ebx, ecx
cmova edx, dword [ebp - 8]
mov dword [ebp - 8], edx
test edx, edx
je 0x432d5a
mov edi, edx
mov ebx, dword [ebx]
xor ebx, eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [edx*8 + 0x43a838]
mov edx, dword [edx*8 + 0x43a83c]
xor eax, dword [ecx*8 + 0x43b038]
xor edx, dword [ecx*8 + 0x43b03c]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*8 + 0x43a038]
xor edx, dword [ecx*8 + 0x43a03c]
movzx ecx, bl
mov ebx, dword [ebp + 0x14]
add ebx, 4
mov dword [ebp + 0x14], ebx
xor eax, dword [ecx*8 + 0x43b838]
xor edx, dword [ecx*8 + 0x43b83c]
xor eax, esi
mov ecx, dword [ebp - 4]
xor edx, 0
inc ecx
mov esi, edx
mov dword [ebp - 4], ecx
cmp ecx, edi
jb 0x432ce8
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x432d85
nop
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x43a038]
xor esi, dword [edx*8 + 0x43a03c]
sub edi, 1
jne 0x432d60
not esi
not eax
pop edi
mov edx, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40689a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068be
xor eax, eax
test eax, eax
je 0x4068d1
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068d1
xor ecx, ecx
jmp 0x4068d4
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x4069f7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x406a2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a08
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x406a03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x406a41
pop edi
not eax
pop esi
ret 0xc

Function at 0x43b63e
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
add esi, 0xc277a11c
add edx, 0x375fb338
and esi, esi
call fcn.0043b671
mov esi, edx
inc edx
xor dword [ebx], edi
add esi, edx
push edx
pop edx
inc ebx
inc esi
cmp ebx, ecx
jne fcn.0043b63e
sub edx, edx
push esi
pop edx
mov esi, 0x64f15495
ret
Function at 0x408460
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x41dad8
push 1
push 0
push 0x41dae8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x40848e
xor eax, eax
add esp, 0x210
ret 8
mov eax, dword [esp]
mov edx, dword [esp + 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp]
lea edx, [esp + 4]
push edx
push 0x41dac8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x4084c2
xor eax, eax
add esp, 0x210
ret 8
mov ecx, dword [esp + 0x218]
lea eax, [esp + 8]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push 2
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 1
add esp, 0x210
ret 8

Function at 0x41a664
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41a692
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x41a6b0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041a5ca
jmp 0x41a6b0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41a6b0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041a5ca
test edi, edi
mov eax, edi
jne 0x41a69a
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3e536a91
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x749c4ad8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4018fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x401955
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 0xc

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

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
push edi
mov ebx, ecx
call esi
mov edi, eax
mov ecx, ebx
call fcn.00401ac0
test eax, eax
je 0x401aba
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
call esi
sub eax, edi
cmp eax, dword [esp + 0x10]
jbe 0x401a9d
pop edi
pop esi
pop ebx
ret 4

Function at 0x4057c0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4df520
call fcn.004b8e80
sub esp, 0x110
push esi
mov esi, ecx
and dword [ebp - 4], 0
push 0x52be48
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.004d4f11
mov ecx, esi
call fcn.00405b39
cmp eax, 1
jne 0x4058b7
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x52bf4c
call fcn.004d4f11
mov ecx, esi
call fcn.00405d07
lea eax, [ebp - 0x11c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0x14]
push eax
call fcn.004d520a
push str.MacromedFlashFlash.ocx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004d520a
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.004d55b4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
cmp esi, 0x20
jae 0x405873
xor esi, esi
jmp 0x40588f
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x405885
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push 1
pop esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004d519c
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004d519c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004d519c
mov eax, esi
jmp 0x4058c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004d519c
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x405d07
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4df56c
call fcn.004b8e80
sub esp, 0x58
push ebx
push esi
push 0x44
xor ebx, ebx
pop esi
lea eax, [ebp - 0x64]
push esi
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004b8ea0
push 0x10
lea eax, [ebp - 0x20]
push ebx
push eax
mov dword [ebp - 0x64], esi
call fcn.004b8ea0
add esp, 0x18
lea ecx, [ebp - 0x10]
push str.RUNDLL32.EXE_SETUPAPI.DLL_InstallHinfSection_DefaultInstall_132
call fcn.004d520a
push 0x52bf4c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004d55b4
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004d55cc
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x405d97
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.004d519c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004d519c
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x408f6e
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7f68
push 0x4ba8e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
or dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
push dword [ebp - 0x28]
call fcn.004badb0
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
jmp 0x408fed
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4090cc
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4df8bc
call fcn.004b8e80
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x20
xor eax, eax
pop edx
mov dword [ebp - 4], eax
push 1
mov dword [esi], 0x4e7f90
pop ecx
mov dword [esi + 0x20], edx
push eax
push edx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], ecx
push 8
push 8
mov ecx, esi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 4], eax
mov dword [esi + 0x30], eax
call fcn.00409173
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40cc29
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
je 0x40cdb1
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
mov ebp, 0x8000
and ax, bp
cmp ax, bp
je 0x40cc6a
push 0xa1
call edi
and ax, bp
cmp ax, bp
je 0x40cc6a
xor cl, cl
jmp 0x40cc6c
mov cl, 1
mov eax, dword [esp + 0x18]
pop edi
sub eax, 8
mov dword [esi + 0x1c], ebx
pop ebp
je 0x40cd43
sub eax, 0x1b
je 0x40cd29
dec eax
je 0x40cd15
dec eax
je 0x40ccee
dec eax
dec eax
je 0x40ccc3
sub eax, 7
jne 0x40cd99
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
cmp ecx, eax
jne 0x40cd4d
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
cmp eax, dword [edx - 8]
jge 0x40cd8d
push 1
push eax
jmp 0x40cd7b
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x10]
cmp eax, dword [edx - 8]
jge 0x40ccd9
inc eax
cmp cl, bl
mov dword [esi + 0x10], eax
jne 0x40ccd9
mov dword [esi + 0x14], eax
cmp dword [esi + 0x64], ebx
je 0x40cd99
mov dword [esi + 0x1c], 3
jmp 0x40cd99
mov eax, dword [esi + 0x10]
cmp eax, ebx
jle 0x40cd00
dec eax
cmp cl, bl
mov dword [esi + 0x10], eax
jne 0x40cd00
mov dword [esi + 0x14], eax
cmp dword [esi + 0x64], ebx
je 0x40cd99
mov dword [esi + 0x1c], 2
jmp 0x40cd99
cmp dword [esi + 0x64], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
je 0x40cd99
mov dword [esi + 0x1c], 4
jmp 0x40cd99
mov eax, dword [esi + 8]
cmp dword [esi + 0x64], ebx
mov eax, dword [eax - 8]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
je 0x40cd99
mov dword [esi + 0x1c], 5
jmp 0x40cd99
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
cmp ecx, eax
je 0x40cd6a
push ecx
push eax
mov ecx, esi
call fcn.0040cdb8
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jle 0x40cd65
mov dword [esi + 0x14], ecx
jmp 0x40cd8d
mov dword [esi + 0x10], eax
jmp 0x40cd8d
cmp eax, ebx
jle 0x40cd8d
dec eax
push 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
push eax
lea ecx, [esi + 8]
call fcn.004cedff
push 1
lea ecx, [esi + 0xc]
push dword [esi + 0x10]
call fcn.004cedff
cmp dword [esi + 0x64], ebx
je 0x40cd99
mov dword [esi + 0x1c], 6
mov eax, dword [esp + 0xc]
add esi, 0x38
push 1
push esi
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
pop eax
jmp 0x40cdb3
xor eax, eax
pop esi
pop ebx
ret 8