joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446d40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x41
je 0x446d70
cmp dword [ebp - 8], 0x43
je 0x446dae
cmp dword [ebp - 8], 0x58
je 0x446de4
jmp 0x446e18
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x446dac
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
call fcn.004472a0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.selectallkey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.00427040
jmp 0x446e18
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x446de2
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.copykey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.00427040
jmp 0x446e18
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x446e18
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.cutkey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.00427040
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44c3c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x594], 0
je 0x44c46d
cmp dword [ebp + 8], 0x100
jne 0x44c43d
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x44c43d
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x59a]
test eax, eax
je 0x44c416
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x44c43d
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x59b]
test eax, eax
jne 0x44c43d
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x44], 0
je 0x44c439
push 0
push 0
push 0
push str.return
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
call fcn.00427040
xor eax, eax
jmp 0x44c472
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x594]
call fcn.004404f0
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
call eax
jmp 0x44c472
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44d2f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
je 0x44d303
cmp dword [ebp + 0xc], 0
jne 0x44d307
xor eax, eax
jmp 0x44d376
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 6]
mov word [eax + 4], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 8]
mov word [eax + 6], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0xa]
mov word [eax + 8], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0xc]
mov word [eax + 0xa], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0xe]
mov word [eax + 0xc], dx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0xe], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x12], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x16], edx
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x44d5c0
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x44d5db
jmp 0x44d6aa
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44d5ee
jmp 0x44d6aa
push 0
push 0x80
push 3
push 0
push 1
push 1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x44d61b
jmp 0x44d6aa
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x14], 0x16
jae 0x44d63b
jmp 0x44d6aa
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x44d663
jmp 0x44d6aa
push 0
push 0
push 0
push 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
jne 0x44d689
jmp 0x44d6aa
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 4]
call fcn.0044d720
mov dword [ebp - 8], eax
xor ecx, ecx
jne 0x44d5d0
cmp dword [ebp - 8], 0
jne 0x44d6f0
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x44d6d0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x44d6f0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
je 0x44d710
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xffffffff
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x4584d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c804
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x546330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
and ecx, 0xffff
movzx edx, cx
and edx, 0xff
movzx eax, dl
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 6
jl 0x458572
push 0x5239b8
push 0x18
call fcn.004be184
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x458554
mov ecx, dword [ebp - 0x14]
call fcn.004585d0
mov dword [ebp - 0x18], eax
jmp 0x45855b
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
jmp 0x4585ba
push 0x5239b8
push 0x14
call fcn.004be184
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
je 0x45859e
mov ecx, dword [ebp - 0x1c]
call fcn.00458480
mov dword [ebp - 0x20], eax
jmp 0x4585a5
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x45b370
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50caf0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x546330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
lea ecx, [ebp - 0x40]
call fcn.004052b0
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x2e
mov ecx, dword [ebp + 8]
call fcn.0045e420
add eax, 1
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405750
mov byte [ebp - 4], 1
push str.jpeg
lea ecx, [ebp - 0x28]
call fcn.00405080
push eax
call fcn.004ecc29
add esp, 8
test eax, eax
je 0x45b400
push 0x517ccc
lea ecx, [ebp - 0x28]
call fcn.00405080
push eax
call fcn.004ecc29
add esp, 8
test eax, eax
jne 0x45b40f
push 0x517e08
lea ecx, [ebp - 0x40]
call fcn.00406d90
jmp 0x45b48b
push 0x517ce8
lea ecx, [ebp - 0x28]
call fcn.00405080
push eax
call fcn.004ecc29
add esp, 8
test eax, eax
jne 0x45b438
push str.image_png
lea ecx, [ebp - 0x40]
call fcn.00406d90
jmp 0x45b48b
push 0x517ce0
lea ecx, [ebp - 0x28]
call fcn.00405080
push eax
call fcn.004ecc29
add esp, 8
test eax, eax
jne 0x45b461
push str.image_bmp
lea ecx, [ebp - 0x40]
call fcn.00406d90
jmp 0x45b48b
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004050b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004050b0
mov eax, dword [ebp - 0x58]
jmp 0x45b51a
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00405080
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0045b540
cmp eax, 0xffffffff
jne 0x45b4cc
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004050b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004050b0
mov eax, dword [ebp - 0x5c]
jmp 0x45b51a
mov ecx, dword [ebp + 8]
call fcn.00405080
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405080
push eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x10]
call fcn.0045cf00
mov dword [ebp - 0x60], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004050b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004050b0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd6ac
mov esp, ebp
pop ebp
ret 4
Function at 0x46def0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ce0b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x546330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], 0
lea ecx, [ebp - 0x438]
call fcn.004052b0
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004e2580
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x46df7a
cmp dword [ebp - 0x440], 0x104
jbe 0x46dfaf
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405110
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.004050b0
mov eax, dword [ebp + 8]
jmp 0x46e029
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004e2580
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0
push 0x5184b0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x46dff6
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00406d90
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405110
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.004050b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd6ac
mov esp, ebp
pop ebp
ret
Function at 0x477f30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ce0b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x546330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x43c], 0
lea ecx, [ebp - 0x438]
call fcn.004052b0
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004e2580
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x477fba
cmp dword [ebp - 0x440], 0x104
jbe 0x477fef
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405110
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.004050b0
mov eax, dword [ebp + 8]
jmp 0x478069
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004e2580
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0
push 0x51a084
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x478036
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00406d90
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405110
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.004050b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd6ac
mov esp, ebp
pop ebp
ret
Function at 0x479090
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x47909f
cmp dword [ebp + 0xc], 0
ja 0x4790a7
mov eax, dword [ebp + 0x10]
jmp 0x479244
mov eax, dword [ebp + 0x10]
xor eax, 0xffffffff
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0xc], 8
jb 0x479205
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
xor edx, dword [ebp + 0x10]
and edx, 0xff
mov eax, dword [ebp + 0x10]
shr eax, 8
xor eax, dword [edx*4 + 0x51a0a0]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, dword [ebp + 0x10]
and eax, 0xff
mov ecx, dword [ebp + 0x10]
shr ecx, 8
xor ecx, dword [eax*4 + 0x51a0a0]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 0x10]
and ecx, 0xff
mov edx, dword [ebp + 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x51a0a0]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
xor edx, dword [ebp + 0x10]
and edx, 0xff
mov eax, dword [ebp + 0x10]
shr eax, 8
xor eax, dword [edx*4 + 0x51a0a0]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, dword [ebp + 0x10]
and eax, 0xff
mov ecx, dword [ebp + 0x10]
shr ecx, 8
xor ecx, dword [eax*4 + 0x51a0a0]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 0x10]
and ecx, 0xff
mov edx, dword [ebp + 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x51a0a0]
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
xor edx, dword [ebp + 0x10]
and edx, 0xff
mov eax, dword [ebp + 0x10]
shr eax, 8
xor eax, dword [edx*4 + 0x51a0a0]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, dword [ebp + 0x10]
and eax, 0xff
mov ecx, dword [ebp + 0x10]
shr ecx, 8
xor ecx, dword [eax*4 + 0x51a0a0]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
sub eax, 8
mov dword [ebp + 0xc], eax
jmp 0x4790b0
cmp dword [ebp + 0xc], 0
je 0x47923e
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
xor edx, dword [ebp + 0x10]
and edx, 0xff
mov eax, dword [ebp + 0x10]
shr eax, 8
xor eax, dword [edx*4 + 0x51a0a0]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, 1
mov dword [ebp + 0xc], edx
jne 0x47920b
mov eax, dword [ebp + 0x10]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x481fd0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x489c], 1
jne 0x48201d
lea ecx, [ebp - 8]
push ecx
push 4
mov edx, dword [ebp - 4]
push edx
push 0x482f50
push 0
push 0
call fcn.004e6399
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
ja 0x48200f
jmp 0x482032
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x482032
xor edx, edx
mov eax, dword [ebp - 4]
add eax, 0x489c
mov ecx, eax
mov eax, 2
lock cmpxchg dword [ecx], edx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x482548
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x489c], 1
jne 0x4824f0
jmp 0x482548
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x489c], 2
jne 0x482507
jmp 0x48251b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x489c], 0
jne 0x48251b
mov ecx, dword [ebp - 4]
call fcn.00482550
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x48a0]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jle 0x482546
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4824d9
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x49e2f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 1
jne 0x49e370
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1c]
call fcn.0042ec70
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x28]
jl 0x49e34b
mov dword [ebp - 0x10], 0
jmp 0x49e357
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
sub edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x49e30e
mov esp, ebp
pop ebp
ret
Function at 0x4a51b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50aadb
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x546330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xc0], 8
mov dword [ebp - 0xbc], 0x40
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
mov dword [ecx + 0x5a8], 0
mov edx, dword [ebp - 0xa8]
cmp dword [edx + 4], 0
jne 0x4a52e5
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.004a4c40
mov dword [ebp - 0xb0], 0x40000000
push 0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
push 0
mov ecx, dword [ebp - 0xb0]
push ecx
push 0
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.00421a30
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.0042aed0
push 1
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x14]
call fcn.00441440
push eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x20]
call eax
mov ecx, eax
call fcn.004216b0
mov ecx, dword [eax]
push ecx
push 0x30
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x14]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xb8]
call fcn.0042a1f0
mov byte [ebp - 0xa9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.004293e0
movzx edx, byte [ebp - 0xa9]
test edx, edx
je 0x4a5362
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x14]
add ecx, 0x598
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x14]
add eax, 0x598
push eax
push 0
push 0x1002
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xa8]
mov byte [ecx + 0x1c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd6ac
mov esp, ebp
pop ebp
ret 4
Function at 0x4aa8b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e35b
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x546330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x234], 0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
lea ecx, [ebp - 0x230]
call fcn.00405160
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x230]
call fcn.004148d0
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00405080
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4aa9af
push 0x208
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.004e2580
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4aa9af
push 4
lea edx, [ebp + 0xc]
push edx
push 4
push 0
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4aa9af
mov dword [ebp - 0x23c], 1
cmp dword [ebp - 0x234], 0
je 0x4aa9c5
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x240], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004050b0
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd6ac
mov esp, ebp
pop ebp
ret 8