joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4892b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov al, byte [0x4d6536]
sub esp, 0x400
mov cl, al
inc al
test cl, cl
mov byte [0x4d6536], al
jne 0x489416
push ebx
push esi
push edi
xor ecx, ecx
xor eax, eax
mov al, byte [ecx + 0x4d54a9]
add ecx, 4
lea edx, [eax + eax*2]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea eax, [eax + edx*2]
cdq
and edx, 0xff
add eax, edx
xor edx, edx
mov dl, byte [ecx + 0x4d54a6]
mov ebx, eax
sar ebx, 8
lea eax, [edx*8]
sub eax, edx
shl eax, 2
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add bl, al
xor eax, eax
mov al, byte [ecx + 0x4d54a4]
lea edx, [eax + eax*8]
lea edx, [eax + edx*2]
lea eax, [eax + edx*4]
cdq
and edx, 0xff
add eax, edx
sar eax, 8
add bl, al
cmp ecx, 0x400
mov byte [esp + ecx + 0xa], bl
mov byte [esp + ecx + 9], bl
mov byte [esp + ecx + 8], bl
jl 0x4892d1
mov ecx, 0x100
mov esi, 0x4d54a8
mov edi, 0x4d58a8
push 1
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x100
lea esi, [esp + 0x10]
mov edi, 0x4d60ac
rep movsd dword es:[edi], dword [esi]
call fcn.00409d50
add esp, 4
xor esi, esi
call sub.KERNEL32.dll_GetTickCount
mov edi, eax
xor ecx, ecx
mov bl, byte [ecx + 0x4d58a8]
xor edx, edx
mov dl, byte [ecx + 0x4d60ac]
mov eax, ebx
and eax, 0xff
sub edx, eax
movsx eax, si
imul dl
add al, bl
mov byte [ecx + 0x4d54a8], al
inc ecx
cmp ecx, 0x400
jb 0x489381
push 0x100
push 0
push 0x4d54a8
call fcn.0048a720
add esp, 0xc
call sub.KERNEL32.dll_GetTickCount
mov ecx, eax
sub ecx, edi
cmp ecx, 0x10
jae 0x4893e5
mov edx, edi
sub edx, eax
add edx, 0x10
push edx
call fcn.004604f0
add esp, 4
call sub.KERNEL32.dll_GetTickCount
sub eax, edi
cmp esi, 1
jae 0x4893fe
lea ecx, [eax + esi]
cmp ecx, 1
jbe 0x4893fe
mov esi, 1
jmp 0x489378
add esi, eax
cmp esi, 1
jbe 0x489378
push 1
call fcn.00409d50
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x400
ret

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

Disassembly:
mov al, byte [0x4d6536]
dec al
mov byte [0x4d6536], al
jne 0x489501
push ebx
push esi
push edi
mov ecx, 0x100
mov esi, 0x4d54a8
mov edi, 0x4d58a8
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x100
mov esi, 0x4ae844
mov edi, 0x4d60ac
push 1
rep movsd dword es:[edi], dword [esi]
call fcn.00409d50
add esp, 4
xor esi, esi
call sub.KERNEL32.dll_GetTickCount
mov edi, eax
xor ecx, ecx
mov bl, byte [ecx + 0x4d58a8]
xor edx, edx
mov dl, byte [ecx + 0x4d60ac]
mov eax, ebx
and eax, 0xff
sub edx, eax
movsx eax, si
imul dl
add al, bl
mov byte [ecx + 0x4d54a8], al
inc ecx
cmp ecx, 0x400
jb 0x48946c
push 0x100
push 0
push 0x4d54a8
call fcn.0048a720
add esp, 0xc
call sub.KERNEL32.dll_GetTickCount
mov ecx, eax
sub ecx, edi
cmp ecx, 0x10
jae 0x4894d0
mov edx, edi
sub edx, eax
add edx, 0x10
push edx
call fcn.004604f0
add esp, 4
call sub.KERNEL32.dll_GetTickCount
sub eax, edi
cmp esi, 1
jae 0x4894e9
lea ecx, [eax + esi]
cmp ecx, 1
jbe 0x4894e9
mov esi, 1
jmp 0x489463
add esi, eax
cmp esi, 1
jbe 0x489463
push 1
call fcn.00409d50
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x489b00
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
test eax, eax
je 0x489b27
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x489b27
test al, 1
je 0x489b27
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
Function at 0x489d80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [esp + 0x118]
test edi, edi
jne 0x489dbf
mov edi, dword [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x489e8a
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ebx, dword [esp + 0x114]
push ebp
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dl, 0x5c
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x489e24
cmp byte [ecx + ebx - 1], dl
je 0x489e24
mov edi, 0x494fdc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x120]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x489e8f
cmp byte [ecx + ebx - 1], dl
je 0x489e8f
mov edi, 0x494fdc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x120]
test eax, eax
je 0x489ea3
push ebx
call fcn.0048c0a0
add esp, 4
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
pop edi
pop esi
mov eax, ecx
pop ebx
add esp, 0x104
ret
Function at 0x48a1d0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
sub esp, 0x8a4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp + 0x10], esi
push esi
lea eax, [esp + 0xb0]
push str.screen_03d.PCX
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
call ebx
cmp eax, 0xffffffff
jne 0x48a235
call ebp
cmp eax, 2
jne 0x48a235
lea edx, [esp + 0xac]
push 0xe
push edx
call fcn.00489b40
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x48a253
inc esi
cmp esi, 0x3e8
jl 0x48a1f2
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x48a253
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x8a4
ret
push 0x100
lea eax, [esp + 0x4b8]
push 0
push eax
call fcn.0048a830
add esp, 0xc
call fcn.00489510
xor ebp, ebp
lea ecx, [esp + 0x24]
push ebp
lea edx, [esp + 0x18]
push ecx
push edx
push ebp
push ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], ebp
call sub.Storm.dll_Ordinal_350
test eax, eax
je 0x48a411
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x2c]
jmp 0x4eea80
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48a425
push 0
push 0
push eax
push 0
call sub.Storm.dll_Ordinal_356
mov edx, dword [esp + 0x10]
push edx
call fcn.00489b30
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
jne 0x48a448
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00489510
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x8a4
ret

Function at 0x48b4e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push eax
call fcn.0047ff4c
nop
nop
nop
nop
nop
nop
Function at 0x48bb50
Capabilities:
Get file version info

Disassembly:
sub esp, 0x110
mov ecx, 0xd
xor eax, eax
push ebp
mov ebp, dword [esp + 0x118]
push esi
push edi
mov edi, ebp
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x48bc09
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x48bc09
push ebx
push 4
push 0x1000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
lea eax, [esp + 0x1c]
push ebx
push esi
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x48bbfa
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x494fdc
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x48bbfa
mov ecx, dword [esp + 0x14]
cmp ecx, 0x34
jb 0x48bbe6
mov ecx, 0x34
mov esi, dword [esp + 0x10]
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x110
ret
Function at 0x48bef0
Capabilities:
Get file version info
Get hostname
Get session user name

Disassembly:
sub esp, 0x1e0
push esi
lea eax, [esp + 0x14]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x64]
mov esi, 0x40
push ecx
push edx
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x48bf24
mov byte [esp + 0x64], al
lea eax, [esp + 0xc]
lea ecx, [esp + 0xa4]
push eax
push ecx
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x48bf46
mov byte [esp + 0xa4], al
lea edx, [esp + 0xe4]
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x30]
push 0x104
push edx
rep stosd dword es:[edi], eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x48bffb
lea eax, [esp + 0x2c]
lea ecx, [esp + 0xe4]
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x48bffb
push ebp
push 4
push 0x1000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebp, eax
lea edx, [esp + 0xe8]
push ebp
push esi
push 0
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x48bfec
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x494fdc
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x48bfec
mov ecx, dword [esp + 0xc]
cmp ecx, 0x34
jb 0x48bfd6
mov ecx, 0x34
mov esi, dword [esp + 0x18]
mov edx, ecx
lea edi, [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x8000
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop ebp
mov eax, dword [esp + 0x26]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x22]
and eax, 0xffff
push 0x4d6b80
push eax
mov eax, dword [esp + 0x28]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
mov eax, dword [esp + 0x2c]
and eax, 0xffff
mov ecx, 0x64
cdq
idiv ecx
mov eax, dword [esp + 0x2e]
lea ecx, [esp + 0x78]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x36]
and edx, 0xffff
push edx
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, eax
lea edx, [esp + 0xc8]
and ecx, 0xffff
push edx
shr eax, 0x10
push ecx
push eax
mov eax, dword [esp + 0x70]
mov edx, eax
and edx, 0xffff
shr eax, 0x10
push edx
push eax
push str._r_n_______________________________________________________r_nPROGRAM_VERSION:__d._d._d._d_r_nCOMPUTER_NAME:__s_r_nUSER_NAME:_t__s_r_nTIME:__02u__02u__02u__02u:_02u:_02u._3d_r_nINFO:__s_r_n_r_n
call fcn.0048bc20
add esp, 0x3c
pop edi
pop esi
add esp, 0x1e0
ret
Function at 0x48c0a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x11c]
test edi, edi
jne 0x48c0c2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x108
ret
mov al, byte [edi]
mov esi, edi
test al, al
je 0x48c160
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov al, byte [esi]
test al, al
je 0x48c0ec
cmp al, 0x5c
je 0x48c0ec
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x48c0e0
mov eax, esi
sub eax, edi
add eax, 2
cmp eax, 0x105
jb 0x48c0ff
mov eax, 0x105
push eax
lea eax, [esp + 0x14]
push edi
push eax
call sub.Storm.dll_Ordinal_501
cmp eax, 0x104
jae 0x48c0b5
lea ecx, [esp + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x48c12a
cmp byte [esi], 0
je 0x48c160
jmp 0x48c154
call ebx
cmp eax, 0xb7
je 0x48c13c
cmp eax, 5
jne 0x48c0b5
lea edx, [esp + 0x10]
push edx
call ebp
cmp eax, 0xffffffff
je 0x48c0b5
test al, 0x10
je 0x48c0b5
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x48c0da
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x108
ret

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

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
mov esi, dword [ecx]
mov edx, esi
dec esi
test edx, edx
je 0x48cc9a
mov edx, dword [esp + 8]
xor ecx, ecx
mov cl, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ab0f0]
xor ecx, eax
mov eax, ecx
mov ecx, esi
dec esi
test ecx, ecx
jne 0x48cc78
pop esi
ret

Function at 0x4d974e
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
mov esi, eax
mov ebx, ecx
lea eax, [ecx + 2]
cmp eax, edx
jae 0x4d9776
movzx eax, byte [esi + ecx + 1]
shl eax, 4
movzx edx, byte [esi + ecx + 2]
shl edx, 8
xor eax, edx
movzx edx, byte [esi + ecx]
xor eax, edx
pop ebx
pop esi
ret
cmp ecx, edx
jae 0x4d97b7
add ebx, esi
add esi, edx
xor ecx, ecx
xor eax, eax
jmp 0x4d97a0
movzx edx, byte [ebx]
shl edx, cl
xor eax, edx
add ebx, 1
add ecx, 8
cmp esi, ebx
jne 0x4d97a0
movzx eax, ax
pop ebx
pop esi
ret
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4e2c8e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 4
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp edi, 7
jbe 0x4e2d84
lea ebp, [edi - 8]
mov eax, ebp
shr eax, 3
add eax, 1
add eax, eax
add eax, eax
add eax, eax
lea esi, [ebx + eax]
mov ecx, ebx
mov eax, 0xffffffff
mov dword [esp], ebp
mov ebp, esi
movzx ebx, byte [ecx + 3]
mov edx, eax
shr edx, 0x18
xor ebx, edx
movzx edx, byte [ecx + 4]
movzx esi, byte [ecx + 5]
mov edx, dword [edx*4 + 0x4f9800]
xor edx, dword [esi*4 + 0x4f9c00]
movzx esi, byte [ecx + 6]
xor edx, dword [esi*4 + 0x4fa000]
movzx esi, byte [ecx + 7]
mov edi, dword [esi*4 + 0x4fa400]
xor edi, edx
movzx esi, byte [ecx]
xor esi, eax
mov edx, esi
movzx esi, dl
xor edi, dword [esi*4 + 0x4f8800]
mov edx, edi
movzx esi, ah
movzx edi, byte [ecx + 1]
xor esi, edi
xor edx, dword [esi*4 + 0x4f8c00]
shr eax, 0x10
xor al, byte [ecx + 2]
movzx eax, al
xor edx, dword [eax*4 + 0x4f9000]
mov eax, dword [ebx*4 + 0x4f9400]
xor eax, edx
add ecx, 8
cmp ecx, ebp
jne 0x4e2cc6
mov ebp, dword [esp]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
and ebp, 0xfffffff8
add ebx, 8
add ebx, ebp
and edi, 7
test edi, edi
je 0x4e2d7a
add edi, ebx
nop
add ebx, 1
movzx edx, byte [ebx - 1]
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x4fa400]
cmp ebx, edi
jne 0x4e2d60
not eax
add esp, 4
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xffffffff
jmp 0x4e2d58
Function at 0x4eb780
Capabilities:
Check if process is running under wine

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xa8c
mov dword [esp], 0x4faac0
call dword [0x552368]
sub esp, 4
mov dword [esp + 4], 0x4faaca
mov dword [esp], eax
call dword [0x552378]
sub esp, 8
test eax, eax
je 0x4eb7e5
lea edi, [esp + 0x68]
xor ebx, ebx
mov ecx, 0x82
mov eax, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 8], 0x103
lea ebp, [esp + 0x68]
mov dword [esp + 4], ebp
mov dword [esp], 0
call dword [0x552364]
sub esp, 0xc
test eax, eax
jne 0x4eb7f4
xor ebx, ebx
mov eax, ebx
add esp, 0xa8c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [esp + 0x270]
mov ecx, 0x82
mov eax, ebx
rep stosd dword es:[edi], eax
lea edi, [esp + 0x478]
mov ecx, 0x82
rep stosd dword es:[edi], eax
lea edx, [esp + 0x478]
mov dword [esp + 0x10], edx
lea esi, [esp + 0x270]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebp
call dword [0x552458]
lea edi, [esp + 0x680]
mov ecx, 0x100
mov eax, ebx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x478]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x4faadc
mov dword [esp + 4], 0x1ff
lea ebx, [esp + 0x680]
mov dword [esp], ebx
call dword [0x552430]
mov dword [esp + 0x20], 0
lea eax, [esp + 0x44]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x2001f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], closesocket
call dword [0x5522f4]
sub esp, 0x24
mov ebp, eax
test eax, eax
jne 0x4eb7e5
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0xaa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [0x5522f8]
mov dword [esp + 0x3c], eax
call eax
sub esp, 0x18
mov ebx, eax
test eax, eax
jne 0x4eb939
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [0x5522f0]
sub esp, 4
mov eax, ebx
add esp, 0xa8c
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [esp + 0x48]
mov esi, 0x4fab34
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], 0x20
lea eax, [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov eax, dword [esp + 0xaa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call dword [0x5522fc]
sub esp, 0x18
test eax, eax
je 0x4eb98c
mov ebx, ebp
jmp 0x4eb91c
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0xaa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
call eax
sub esp, 0x18
test eax, eax
sete al
movzx eax, al
mov ebp, eax
mov ebx, ebp
jmp 0x4eb91c
Function at 0x4ec377
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 4], 0x30000
mov dword [esp], 0x10000
call dword [0x5523ec]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp loc.004600f0
Function at 0x4ef885
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
movzx edx, word [0x4be1b0]
mov ecx, dword [0x550504]
cmp ecx, edx
jb 0x4ef8fa
mov eax, edx
movzx edx, word [0x4be1b2]
mov ebp, dword [0x550500]
mov dword [esp + 0xc], ebp
movzx ebp, dx
cmp dword [esp + 0xc], ebp
jb 0x4ef8fa
cmp dx, 0x1e0
ja 0x4ef8d2
cmp ax, 0x280
jbe 0x4ef8fa
shr ax, 1
movzx eax, ax
shr ecx, 1
sub eax, ecx
add eax, dword [0x5504ec]
add ebx, eax
shr dx, 1
movzx edx, dx
mov eax, dword [esp + 0xc]
shr eax, 1
sub edx, eax
add edx, dword [0x5504e8]
add esi, edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00486e60

Function at 0x4eff2e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x50
mov dword [esp + 0x11], 0x65646957
mov dword [esp + 0x15], 0x65726373
mov dword [esp + 0x19], 0x50206e65
mov dword [esp + 0x1d], 0x68637461
mov dword [esp + 0x21], 0x2e327620
mov dword [esp + 0x25], 0x20202030
mov dword [esp + 0x29], 0x70747468
mov dword [esp + 0x2d], 0x772f2f3a
mov dword [esp + 0x31], 0x72637261
mov dword [esp + 0x35], 0x32746661
mov dword [esp + 0x39], 0x6c6e6f2e
mov dword [esp + 0x3d], 0x20656e69
mov byte [esp + 0x41], 0
movzx eax, byte [ebp + 0x14]
mov byte [esp + 0x42], al
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 0x11]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004f0b54
mov esp, ebp
pop ebp
ret

Function at 0x4f14a0
Capabilities:
Parse pe header

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

Function at 0x4f14c9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add edx, dword [edx + 0x3c]
movzx eax, word [edx + 0x14]
lea eax, [edx + eax + 0x18]
movzx esi, word [edx + 6]
xor ebx, ebx
cmp ebx, esi
jae 0x4f14fd
mov edx, dword [eax + 0xc]
cmp ecx, edx
jb 0x4f14f7
add edx, dword [eax + 8]
cmp ecx, edx
jb 0x4f14ff
inc ebx
add eax, 0x28
jmp 0x4f14e5
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x4026b1
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push str.HeapSetInformation
push 0x404280
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4026e6
push 0
push 0
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov ebx, 0x40427c
push ebx
call edi
test esi, esi
mov dword [0x40427c], esi
jne 0x40274a
mov dword [0x40427c], 0xbb40e64e
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push ebx
call edi
pop edi
pop esi
mov dword [section..data], 0x44bf19b1
pop ebx
leave
ret

Function at 0x402765
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40427c]
jne 0x40276e
ret
jmp fcn.00402aa0