joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471250
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 0x47126b
jmp 0x47133a
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47127e
jmp 0x47133a
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 0x4712ab
jmp 0x47133a
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 0x4712cb
jmp 0x47133a
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 0x4712f3
jmp 0x47133a
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 0x471319
jmp 0x47133a
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.004713b0
mov dword [ebp - 8], eax
xor ecx, ecx
jne 0x471260
cmp dword [ebp - 8], 0
jne 0x471380
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x471360
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 0x471380
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 0x4713a0
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 0x471a00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x68e4d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0x10], 0
je 0x471a2c
xor eax, eax
jmp 0x471bd2
cmp dword [ebp + 8], 0
jne 0x471a39
xor eax, eax
jmp 0x471bd2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x471a5e
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x471a5e
xor eax, eax
jmp 0x471bd2
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x210], 0
jmp 0x471a83
mov eax, dword [ebp - 0x210]
add eax, 1
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x1c
call fcn.00473260
cmp dword [ebp - 0x210], eax
jae 0x471bcc
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0058abd0
add esp, 0xc
mov edx, dword [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x1c
call fcn.004702d0
add eax, 4
push eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x20c]
push edx
call fcn.005afdb4
add esp, 4
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x214], 0
jmp 0x471b0d
mov eax, dword [ebp - 0x214]
add eax, 1
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp - 0x224]
jae 0x471b43
mov edx, dword [ebp - 0x214]
movzx eax, word [ebp + edx*2 - 0x20c]
cmp eax, 0x2f
jne 0x471b41
mov ecx, 0x5c
mov edx, dword [ebp - 0x214]
mov word [ebp + edx*2 - 0x20c], cx
jmp 0x471afe
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x1c
call fcn.004702d0
mov ecx, dword [eax]
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [edx + 0x26]
and eax, 0x10
je 0x471b7f
lea ecx, [ebp - 0x20c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
jmp 0x471bc7
cmp dword [ebp - 0x21c], 0
je 0x471bb1
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.00471c30
test eax, eax
je 0x471bb1
mov dword [ebp - 0x220], 1
jmp 0x471bbb
mov dword [ebp - 0x220], 0
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x21c], ecx
jmp 0x471a74
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005367cc
mov esp, ebp
pop ebp
ret 4
Function at 0x481160
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x613c84
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x68e4d8]
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 0x481202
push 0x697b18
push 0x18
call fcn.0053762b
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x4811e4
mov ecx, dword [ebp - 0x14]
call fcn.00481260
mov dword [ebp - 0x18], eax
jmp 0x4811eb
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 0x48124a
push 0x697b18
push 0x14
call fcn.0053762b
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1c], 0
je 0x48122e
mov ecx, dword [ebp - 0x1c]
call fcn.00481110
mov dword [ebp - 0x20], eax
jmp 0x481235
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 0x484850
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6140e0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x68e4d8]
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.0040eb50
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x2e
mov ecx, dword [ebp + 8]
call fcn.00487df0
add eax, 1
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00469190
mov byte [ebp - 4], 1
push str.jpeg
lea ecx, [ebp - 0x28]
call fcn.0040e830
push eax
call fcn.005b01f7
add esp, 8
test eax, eax
je 0x4848e0
push 0x633170
lea ecx, [ebp - 0x28]
call fcn.0040e830
push eax
call fcn.005b01f7
add esp, 8
test eax, eax
jne 0x4848ef
push 0x6332ac
lea ecx, [ebp - 0x40]
call fcn.0040e980
jmp 0x48496b
push 0x63318c
lea ecx, [ebp - 0x28]
call fcn.0040e830
push eax
call fcn.005b01f7
add esp, 8
test eax, eax
jne 0x484918
push str.image_png
lea ecx, [ebp - 0x40]
call fcn.0040e980
jmp 0x48496b
push 0x633184
lea ecx, [ebp - 0x28]
call fcn.0040e830
push eax
call fcn.005b01f7
add esp, 8
test eax, eax
jne 0x484941
push str.image_bmp
lea ecx, [ebp - 0x40]
call fcn.0040e980
jmp 0x48496b
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040ea10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040ea10
mov eax, dword [ebp - 0x58]
jmp 0x4849fa
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040e830
push eax
mov ecx, dword [ebp - 0x54]
call fcn.00484a20
cmp eax, 0xffffffff
jne 0x4849ac
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040ea10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040ea10
mov eax, dword [ebp - 0x5c]
jmp 0x4849fa
mov ecx, dword [ebp + 8]
call fcn.0040e830
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e830
push eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x10]
call fcn.00486820
mov dword [ebp - 0x60], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040ea10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040ea10
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.005367cc
mov esp, ebp
pop ebp
ret 4
Function at 0x49c030
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6148bb
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x68e4d8]
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.0040eb50
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0058abd0
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 0x49c0ba
cmp dword [ebp - 0x440], 0x104
jbe 0x49c0ef
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ea60
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.0040ea10
mov eax, dword [ebp + 8]
jmp 0x49c169
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.0058abd0
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0
push 0x6339e0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x49c136
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0040e980
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ea60
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.0040ea10
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.005367cc
mov esp, ebp
pop ebp
ret
Function at 0x4af9b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61500b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x68e4d8]
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.0040eb50
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0058abd0
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 0x4afa3a
cmp dword [ebp - 0x440], 0x104
jbe 0x4afa6f
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ea60
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.0040ea10
mov eax, dword [ebp + 8]
jmp 0x4afae9
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.0058abd0
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0
push 0x635974
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4afab6
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x438]
call fcn.0040e980
lea edx, [ebp - 0x438]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040ea60
mov eax, dword [ebp - 0x43c]
or eax, 1
mov dword [ebp - 0x43c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call fcn.0040ea10
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.005367cc
mov esp, ebp
pop ebp
ret
Function at 0x4b15e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x4b15ef
cmp dword [ebp + 0xc], 0
ja 0x4b15f7
mov eax, dword [ebp + 0x10]
jmp 0x4b1794
mov eax, dword [ebp + 0x10]
xor eax, 0xffffffff
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0xc], 8
jb 0x4b1755
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 + 0x635980]
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 + 0x635980]
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 + 0x635980]
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 + 0x635980]
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 + 0x635980]
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 + 0x635980]
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 + 0x635980]
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 + 0x635980]
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 0x4b1600
cmp dword [ebp + 0xc], 0
je 0x4b178e
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 + 0x635980]
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 0x4b175b
mov eax, dword [ebp + 0x10]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4b17a0
Capabilities:
Check os version
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and eax, 0xffff
movzx ecx, ax
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 6
jl 0x4b17dc
mov dword [ebp - 4], str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
jmp 0x4b17e3
mov dword [ebp - 4], str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
mov dword [ebp - 8], 0
push 0
push 0x18
mov eax, dword [ebp - 4]
push eax
push str.SMTContainer
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4b1821
push 8
push 0x18
mov edx, dword [ebp - 4]
push edx
push str.SMTContainer
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4b1830
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x68e4d8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x4b184d
xor eax, eax
jmp 0x4b1990
cmp dword [ebp + 0xc], 0
jne 0x4b1861
mov dword [ebp + 0xc], str.vc8v7vghw7v278vn2v8239vh29vh890m
mov dword [ebp + 0x10], 0x20
cmp dword [ebp + 0x14], 0
jne 0x4b1875
mov dword [ebp + 0x14], str.aqkeezgxijvlm2op
mov dword [ebp + 0x18], 0x10
cmp dword [ebp + 0x10], 0x20
jbe 0x4b1882
mov dword [ebp + 0x10], 0x20
mov byte [ebp - 0x40], 8
mov byte [ebp - 0x3f], 2
xor eax, eax
mov word [ebp - 0x3e], ax
mov dword [ebp - 0x3c], 0x6610
mov dword [ebp - 0x38], 0x20
mov dword [ebp - 0x48], 0x2c
cmp dword [ebp + 0x10], 0x10
ja 0x4b18c2
mov ecx, dword [ebp - 0x48]
sub ecx, 0x10
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], 0x660e
mov dword [ebp - 0x38], 0x10
push 0x20
push 0
lea edx, [ebp - 0x34]
push edx
call fcn.0058abd0
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x20
lea edx, [ebp - 0x34]
push edx
call fcn.004b1ed0
add esp, 0x10
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x44]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x48]
push ecx
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4b198d
cmp dword [ebp - 0x44], 0
je 0x4b198d
mov dword [ebp - 0x50], 1
push 0
lea ecx, [ebp - 0x50]
push ecx
push 4
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
mov dword [ebp - 0x54], 1
push 0
lea eax, [ebp - 0x54]
push eax
push 3
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
cmp dword [ebp + 0x18], 0x10
jbe 0x4b1957
mov dword [ebp + 0x18], 0x10
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0x10
lea edx, [ebp - 0x14]
push edx
call fcn.004b1ed0
add esp, 0x10
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005367cc
mov esp, ebp
pop ebp
ret

Function at 0x4bca00
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 0x4bca4d
lea ecx, [ebp - 8]
push ecx
push 4
mov edx, dword [ebp - 4]
push edx
push 0x4bda60
push 0
push 0
call fcn.005b0bd7
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
ja 0x4bca3f
jmp 0x4bca62
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x4bca62
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 0x4bcfe0
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 0x4bd058
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x489c], 1
jne 0x4bd000
jmp 0x4bd058
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x489c], 2
jne 0x4bd017
jmp 0x4bd02b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x489c], 0
jne 0x4bd02b
mov ecx, dword [ebp - 4]
call fcn.004bd060
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 0x4bd056
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4bcfe9
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4df180
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
lea edx, [ebp - 8]
push edx
push 4
mov eax, dword [ebp - 4]
push eax
push 0x4df500
push 0
push 0
call fcn.005b0bd7
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x2c], 0
jne 0x4df1e9
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], 0
xor al, al
jmp 0x4df235
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 8]
call edx
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4df470
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 0x4df4f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1c]
call fcn.00451160
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 0x4df4cb
mov dword [ebp - 0x10], 0
jmp 0x4df4d7
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 0x4df48e
mov esp, ebp
pop ebp
ret