joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407990
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x433aa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.0041cb30
mov eax, dword [esp + 0x3c]
mov ecx, 0x1000
xor esi, esi
cmp eax, ecx
mov dword [esp + 0x30], esi
jae 0x4079cc
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x1c], esi
jbe 0x4079e7
mov eax, dword [esp + 0x38]
cmp byte [esi + eax], 0x3a
je 0x407a0f
inc esi
cmp esi, ecx
jb 0x4079d4
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0041ceba
xor al, al
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8
cmp esi, ecx
mov dword [esp + 0x1c], esi
jae 0x4079e7
mov cl, byte [esi + eax + 1]
add esi, eax
mov al, byte [esi + 2]
push eax
push ecx
mov ecx, ebp
call fcn.00407bf0
mov dl, byte [esi + 4]
mov byte [esp + 0x24], al
mov al, byte [esi + 3]
push edx
push eax
mov ecx, ebp
call fcn.00407bf0
mov cl, byte [esi + 6]
mov dl, byte [esi + 5]
xor ebx, ebx
push ecx
push edx
mov ecx, ebp
mov bh, al
call fcn.00407bf0
mov cl, byte [esi + 7]
mov bl, al
mov al, byte [esi + 8]
mov dword [esp + 0x18], ebx
push eax
push ecx
mov ecx, ebp
call fcn.00407bf0
mov edx, dword [esp + 0x24]
mov edi, 9
and edx, 0xff
mov byte [esp + 0x20], al
mov byte [esp + 0x14], 0
mov byte [esp + 0x3c], 0
lea ebx, [edx + edx + 9]
cmp ebx, edi
jbe 0x407abc
mov al, byte [esi + edi + 1]
mov cl, byte [esi + edi]
push eax
push ecx
mov ecx, ebp
call fcn.00407bf0
mov cl, byte [esp + 0x3c]
mov byte [esp + 0x14], al
mov edx, dword [esp + 0x14]
add cl, al
mov byte [esp + 0x3c], cl
push edx
lea ecx, [esp + 0x14]
call fcn.0041d4d0
add edi, 2
cmp edi, ebx
jb 0x407a89
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.0041d4d0
mov bx, word [esp + 0x18]
lea ecx, [esp + 0x10]
shr bx, 8
push ebx
call fcn.0041d4d0
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041d4d0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push edx
call fcn.0041d4d0
mov cl, byte [esp + 0x18]
mov al, byte [esp + 0x3c]
mov dl, byte [esp + 0x20]
add bl, cl
mov cl, byte [esp + 0x24]
add bl, al
mov eax, dword [esp + 0x1c]
add bl, dl
add bl, cl
mov ecx, dword [esp + 0x38]
add eax, edi
add eax, ecx
mov ecx, ebp
neg bl
mov dl, byte [eax + 1]
mov al, byte [eax]
push edx
push eax
call fcn.00407bf0
cmp al, bl
jne 0x4079e7
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0041cb47
mov ecx, ebp
call fcn.00404d70
test al, al
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
jne 0x4079f3
call fcn.0041ceba
mov al, 1
jmp 0x4079fa
Function at 0x408690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x94
mov al, 0xaf
push esi
mov byte [esp + 0x14], al
mov byte [esp + 0x15], al
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
mov al, 0x41
mov esi, ecx
mov byte [esp + 0x21], al
mov byte [esp + 0x24], al
xor al, al
mov cl, 0x10
mov byte [esp + 0x25], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x30], al
xor eax, eax
mov dword [esp + 0x31], eax
mov dl, 0xab
mov dword [esp + 0x35], eax
mov byte [esp + 0x13], cl
mov dword [esp + 0x39], eax
mov byte [esp + 0x2f], cl
mov ecx, dword [esp + 0xa8]
mov word [esp + 0x3d], ax
mov byte [esp + 4], 1
mov byte [esp + 5], 0x23
mov byte [esp + 6], 0x45
mov byte [esp + 7], 0x67
mov byte [esp + 8], 0x89
mov byte [esp + 9], dl
mov byte [esp + 0xa], 0xcd
mov byte [esp + 0xb], 0xef
mov byte [esp + 0xc], 0xfe
mov byte [esp + 0xd], 0xdc
mov byte [esp + 0xe], 0xba
mov byte [esp + 0xf], 0x98
mov byte [esp + 0x10], 0x76
mov byte [esp + 0x11], 0x54
mov byte [esp + 0x12], 0x32
mov byte [esp + 0x1c], 0x50
mov byte [esp + 0x1d], 0x43
mov byte [esp + 0x1e], 0x4d
mov byte [esp + 0x1f], 0x46
mov byte [esp + 0x20], 0x4c
mov byte [esp + 0x22], 0x53
mov byte [esp + 0x23], 0x48
mov byte [esp + 0x26], 0xb
mov byte [esp + 0x27], 9
mov byte [esp + 0x28], 0x16
mov byte [esp + 0x29], 0xa0
mov byte [esp + 0x2a], dl
mov byte [esp + 0x2b], 0x8f
mov byte [esp + 0x2c], 0x74
mov byte [esp + 0x2d], 8
mov byte [esp + 0x3f], al
call fcn.0041d6b4
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x40]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
call fcn.0040ec10
lea edx, [esp + 8]
push 0x2c
lea eax, [esp + 0x48]
push edx
push eax
call fcn.0040ec40
lea ecx, [esp + 0x40]
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.0040ed00
add esp, 0x18
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
push eax
push ecx
lea eax, [esp + 0x38]
push edx
push eax
mov ecx, esi
call fcn.00404c40
xor eax, eax
pop esi
add esp, 0x94
ret 0x10
Function at 0x408810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x433b97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
mov ebx, 1
push 5
push 0x43d260
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], ebx
call fcn.0041ccf6
push 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call fcn.0041cb87
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 3
call fcn.0041cb87
push 0
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 4
call fcn.0041d118
cmp al, 0x81
je 0x4088db
push 0
lea ecx, [esp + 0xc]
call fcn.0041d4d0
lea ecx, [esp + 0x30]
call fcn.0041d635
push eax
lea ecx, [esp + 0xc]
call fcn.0041d4d0
lea eax, [esp + 0x30]
lea ecx, [esp + 8]
push eax
call fcn.0041d0c4
lea ecx, [esp + 0x30]
call fcn.0041d635
push eax
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0041cb47
mov ecx, esi
call fcn.00408f50
push eax
lea ecx, [esp + 0xc]
call fcn.0041d4d0
jmp 0x4088f6
push 0x2a
push 4
lea ecx, [esp + 0x10]
call fcn.0041d467
lea eax, [esp + 0x30]
lea ecx, [esp + 8]
push eax
call fcn.0041d0c4
push 0x55
lea ecx, [esp + 0xc]
call fcn.0041d4d0
lea ecx, [esp + 8]
call fcn.0041d635
sub al, 5
lea ecx, [esp + 8]
mov byte [esp + 0x18], al
shr al, 8
push eax
push 2
call fcn.0041d467
mov ecx, dword [esp + 0x18]
push ecx
push 3
lea ecx, [esp + 0x10]
call fcn.0041d467
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0041cb47
mov ecx, esi
call fcn.00408fc0
test al, al
jne 0x408961
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0041cb47
mov dword [esp + 0x10], ebx
jmp 0x408992
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0xc8
push ecx
mov ecx, esi
call fcn.00409110
lea ecx, [esp + 0x10]
call fcn.0041d132
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0041cb47
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.0041ceba
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.0041ceba
lea ecx, [esp + 8]
mov byte [esp + 0x24], bl
call fcn.0041ceba
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.0041ceba
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0xc
Function at 0x4135f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], ecx
mov byte [0x43e1c4], 0
mov byte [ebp - 4], 0
mov byte [ebp - 4], 0
jmp 0x413612
mov al, byte [ebp - 4]
add al, 1
mov byte [ebp - 4], al
mov ecx, dword [ebp - 4]
and ecx, 0xff
cmp ecx, 5
jge 0x413668
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov dl, byte [ebp + 8]
push edx
mov ecx, 0x43e508
call fcn.0041fbbb
and eax, 0xff
test eax, eax
jne 0x413668
mov eax, dword [ebp - 4]
and eax, 0xff
push eax
push 0x43d8d4
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x41360a
mov eax, dword [ebp - 4]
and eax, 0xff
cmp eax, 5
jl 0x41367b
or ax, 0xffff
jmp 0x413687
mov cl, byte [ebp + 8]
mov byte [0x43d770], cl
xor ax, ax
mov esp, ebp
pop ebp
ret 4

Function at 0x41e45f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [0x43e1d0], 0
je 0x41e4cb
mov eax, dword [0x43e1d8]
mov byte [eax], 0xaa
mov ecx, dword [0x43e1d8]
mov byte [ecx + 1], 1
mov edx, dword [0x43e1d8]
mov byte [edx + 2], 2
mov eax, dword [ebp + 0xc]
shr eax, 8
mov ecx, dword [0x43e1d8]
mov byte [ecx + 3], al
mov edx, dword [0x43e1d8]
mov al, byte [ebp + 0xc]
mov byte [edx + 4], al
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x43e1d8]
add eax, 5
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, 0x43e1c8
call fcn.00424255
mov ecx, 1
test ecx, ecx
je 0x41e514
mov edx, dword [0x43e1d8]
movsx eax, byte [edx]
cmp eax, 1
jne 0x41e500
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [0x43e1d8]
add edx, 3
push edx
mov eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov al, 1
jmp 0x41e53f
mov ecx, dword [0x43e1d8]
movsx edx, byte [ecx]
cmp edx, 0x7f
jne 0x41e512
xor al, al
jmp 0x41e53f
jmp 0x41e4cb
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0xc]
sete al
mov esp, ebp
pop ebp
ret 8
Function at 0x41e545
Capabilities:
Check for time delay via gettickcount
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
cmp dword [0x43e1d0], 0
je 0x41e5b1
mov eax, dword [0x43e1d8]
mov byte [eax], 0xaa
mov ecx, dword [0x43e1d8]
mov byte [ecx + 1], 1
mov edx, dword [0x43e1d8]
mov byte [edx + 2], 2
mov eax, dword [ebp + 0xc]
shr eax, 8
mov ecx, dword [0x43e1d8]
mov byte [ecx + 3], al
mov edx, dword [0x43e1d8]
mov al, byte [ebp + 0xc]
mov byte [edx + 4], al
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x43e1d8]
add eax, 5
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, 0x43e1c8
call fcn.00424255
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov ecx, 1
test ecx, ecx
je 0x41e61e
mov edx, dword [0x43e1d8]
movsx eax, byte [edx]
cmp eax, 1
jne 0x41e5f2
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [0x43e1d8]
add edx, 3
push edx
mov eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov al, 1
jmp 0x41e712
mov ecx, dword [0x43e1d8]
movsx edx, byte [ecx]
cmp edx, 0x7f
jne 0x41e607
xor al, al
jmp 0x41e712
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jb 0x41e61c
xor al, al
jmp 0x41e712
jmp 0x41e5ba
mov dword [ebp - 0x20], 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov eax, 1
test eax, eax
je 0x41e6a1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jbe 0x41e64e
jmp 0x41e6a1
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
cmp dword [ebp - 0x18], 0
jne 0x41e66b
jmp 0x41e635
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp + 0xc]
jne 0x41e69f
jmp 0x41e6a1
jmp 0x41e635
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0xc]
jne 0x41e710
cmp dword [0x43e1d0], 0
je 0x41e70c
mov ecx, dword [0x43e1d8]
mov byte [ecx], 0xaa
mov edx, dword [0x43e1d8]
mov byte [edx + 1], 1
mov eax, dword [0x43e1d8]
mov byte [eax + 2], 2
mov ecx, dword [ebp + 0xc]
shr ecx, 8
mov edx, dword [0x43e1d8]
mov byte [edx + 3], cl
mov eax, dword [0x43e1d8]
mov cl, byte [ebp + 0xc]
mov byte [eax + 4], cl
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x43e1d8]
add ecx, 5
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, 0x43e1c8
call fcn.00424255
mov al, 1
jmp 0x41e712
xor al, al
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41f0b8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push esi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
and eax, 0xffff
test eax, eax
je 0x41f0fd
mov ecx, dword [ebp + 0xc]
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x7c]
call fcn.0041e3eb
and eax, 0xff
test eax, eax
jne 0x41f0fb
xor al, al
jmp 0x41f290
jmp 0x41f108
push 0x43dafc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.0041eab9
and eax, 0xff
test eax, eax
jne 0x41f128
xor al, al
jmp 0x41f290
mov edx, dword [ebp - 0x6c]
and edx, 0xffff
push edx
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp + 0x14]
mov ax, word [ebp - 0x6c]
mov word [edx], ax
mov ecx, dword [ebp - 0x6c]
and ecx, 0xffff
cmp ecx, 5
jle 0x41f28e
mov edx, dword [ebp - 0x7c]
xor eax, eax
mov al, byte [edx + 8]
test eax, eax
jne 0x41f171
mov al, 1
jmp 0x41f290
mov ecx, dword [ebp - 0x68]
and ecx, 0xff
and ecx, 0x10
test ecx, ecx
je 0x41f28e
mov edx, dword [ebp + 0x14]
xor eax, eax
mov ax, word [edx]
sub eax, 1
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 1
push ecx
mov edx, dword [ebp + 0x10]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov cx, word [eax]
sub cx, 1
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov eax, dword [ebp - 0x68]
and eax, 0xff
and eax, 0xf
shl eax, 8
mov ecx, dword [ebp - 0x67]
and ecx, 0xff
add eax, ecx
mov word [ebp - 0x78], ax
mov dx, word [ebp - 0x78]
sub dx, 6
mov word [ebp - 0x78], dx
mov eax, dword [ebp - 0x78]
and eax, 0xffff
cdq
mov ecx, 7
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x78]
and eax, 0xffff
cdq
mov esi, 7
idiv esi
neg edx
sbb edx, edx
neg edx
add ecx, edx
mov byte [ebp - 0x70], cl
mov byte [ebp - 0x74], 0
jmp 0x41f219
mov dl, byte [ebp - 0x74]
add dl, 1
mov byte [ebp - 0x74], dl
mov eax, dword [ebp - 0x74]
and eax, 0xff
mov ecx, dword [ebp - 0x70]
and ecx, 0xff
cmp eax, ecx
jge 0x41f28e
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.0041eab9
and eax, 0xff
test eax, eax
jne 0x41f24b
xor al, al
jmp 0x41f290
mov ecx, dword [ebp - 0x6c]
and ecx, 0xffff
sub ecx, 1
push ecx
lea edx, [ebp - 0x67]
push edx
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov cx, word [eax]
mov edx, dword [ebp + 0x10]
add edx, ecx
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x6c]
and eax, 0xffff
sub eax, 1
mov ecx, dword [ebp + 0x14]
mov dx, word [ecx]
add dx, ax
mov eax, dword [ebp + 0x14]
mov word [eax], dx
jmp 0x41f210
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41f913
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov dword [ebp - 4], 0
jmp 0x41f92e
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x41f95f
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx]
push eax
push 0x43db1c
mov ecx, dword [ebp - 4]
imul ecx, ecx, 3
lea edx, [ebp + ecx - 0x804]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x41f925
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x43db24
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret
Function at 0x41fe50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push edi
mov dword [ebp - 0x408], ecx
mov al, byte [0x43e53c]
mov byte [ebp - 0x400], al
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x404], 0
jmp 0x41fe95
mov cl, byte [ebp - 0x404]
add cl, 1
mov byte [ebp - 0x404], cl
mov edx, dword [ebp - 0x404]
and edx, 0xff
mov eax, dword [ebp + 0xc]
and eax, 0xff
cmp edx, eax
jge 0x41fee9
mov ecx, dword [ebp - 0x404]
and ecx, 0xff
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + ecx]
push eax
push 0x43db2c
mov ecx, dword [ebp - 0x404]
and ecx, 0xff
imul ecx, ecx, 3
lea edx, [ebp + ecx - 0x400]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x41fe86
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x422dc7
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
push edi
mov dword [ebp - 0xf8], ecx
mov byte [ebp - 0xf4], 0xfc
mov byte [ebp - 0xf3], 0xcf
mov byte [ebp - 0xf2], 0x55
mov byte [ebp - 0xf1], 7
mov byte [ebp - 0xf0], 0
mov byte [ebp - 0xef], 2
mov byte [ebp - 0xee], 0xc1
mov byte [ebp - 0xed], 0xc2
mov byte [ebp - 0xec], 0xcf
mov byte [ebp - 0xeb], 0xfc
mov ecx, 0x2f
xor eax, eax
lea edi, [ebp - 0xea]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov byte [ebp - 0x2c], 0xa
mov byte [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov byte [ebp - 0x20], 0
mov ecx, dword [ebp + 8]
and ecx, 0xffff
sar ecx, 8
mov byte [ebp - 0xee], cl
mov dl, byte [ebp + 8]
mov byte [ebp - 0xed], dl
mov eax, dword [ebp - 0x2c]
and eax, 0xff
push eax
lea ecx, [ebp - 0xf4]
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.0041e3eb
and eax, 0xff
test eax, eax
jne 0x422e95
xor al, al
jmp 0x423018
mov byte [ebp - 0x28], 0
mov word [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
mov edx, 1
test edx, edx
je 0x422f21
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jb 0x422ed6
xor al, al
jmp 0x423018
push 1
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.0041e45f
and eax, 0xff
test eax, eax
jne 0x422ef2
jmp 0x422ea8
mov edx, dword [ebp - 4]
and edx, 0xffff
shl edx, 8
mov eax, dword [ebp - 0x20]
and eax, 0xff
or edx, eax
mov word [ebp - 4], dx
mov ecx, dword [ebp - 4]
and ecx, 0xffff
cmp ecx, 0xfccf
jne 0x422f1f
jmp 0x422f21
jmp 0x422ea8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
mov edx, 1
test edx, edx
je 0x422fd5
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jbe 0x422f5c
xor al, al
jmp 0x423018
push 1
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.0041e45f
and eax, 0xff
test eax, eax
jne 0x422f78
jmp 0x422f2a
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov al, byte [ebp - 0x20]
mov byte [ebp + edx - 0x18], al
mov cl, byte [ebp - 0x28]
add cl, 1
mov byte [ebp - 0x28], cl
mov edx, dword [ebp - 0x28]
and edx, 0xff
cmp edx, 0x14
jl 0x422fa3
xor al, al
jmp 0x423018
mov eax, dword [ebp - 4]
and eax, 0xffff
shl eax, 8
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
or eax, ecx
mov word [ebp - 4], ax
mov edx, dword [ebp - 4]
and edx, 0xffff
cmp edx, 0xcffc
jne 0x422fd0
jmp 0x422fd5
jmp 0x422f2a
mov eax, dword [ebp - 0x18]
and eax, 0xff
cmp eax, 0x80
jne 0x422ff2
mov ecx, dword [ebp - 0x17]
and ecx, 0xff
cmp ecx, 1
je 0x422ff6
xor al, al
jmp 0x423018
mov edx, dword [ebp - 0x16]
and edx, 0xff
test edx, edx
je 0x423016
mov al, byte [ebp - 0x16]
push eax
mov ecx, dword [ebp - 0xf8]
call fcn.0041fb94
xor al, al
jmp 0x423018
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x4232c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x40], 0xfc
mov byte [ebp - 0x3f], 0xcf
mov byte [ebp - 0x3e], 0x55
mov byte [ebp - 0x3d], 0xf
mov byte [ebp - 0x3c], 0xc1
mov byte [ebp - 0x3b], 0xc2
mov byte [ebp - 0x3a], 0xcc
mov byte [ebp - 0x39], 0xcf
mov byte [ebp - 0x38], 0xfc
xor eax, eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov word [ebp - 0x2f], ax
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x2c], 9
mov byte [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x17], ecx
mov dword [ebp - 0x13], ecx
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], ecx
mov word [ebp - 7], cx
mov byte [ebp - 5], cl
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x3b], 1
mov dl, byte [ebp + 8]
mov byte [ebp - 0x3a], dl
mov eax, dword [ebp - 0x2c]
and eax, 0xff
push eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.0041e3eb
and eax, 0xff
test eax, eax
jne 0x423354
xor al, al
jmp 0x4234ce
mov byte [ebp - 0x28], 0
mov word [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
mov edx, 1
test edx, edx
je 0x4233dd
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jb 0x423395
xor al, al
jmp 0x4234ce
push 1
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.0041e45f
and eax, 0xff
test eax, eax
jne 0x4233ae
jmp 0x423367
mov edx, dword [ebp - 4]
and edx, 0xffff
shl edx, 8
mov eax, dword [ebp - 0x20]
and eax, 0xff
or edx, eax
mov word [ebp - 4], dx
mov ecx, dword [ebp - 4]
and ecx, 0xffff
cmp ecx, 0xfccf
jne 0x4233db
jmp 0x4233dd
jmp 0x423367
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
mov edx, 1
test edx, edx
je 0x42348e
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x3e8
jbe 0x423418
xor al, al
jmp 0x4234ce
push 1
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.0041e45f
and eax, 0xff
test eax, eax
jne 0x423431
jmp 0x4233e6
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov al, byte [ebp - 0x20]
mov byte [ebp + edx - 0x18], al
mov cl, byte [ebp - 0x28]
add cl, 1
mov byte [ebp - 0x28], cl
mov edx, dword [ebp - 0x28]
and edx, 0xff
cmp edx, 0x14
jl 0x42345c
xor al, al
jmp 0x4234ce
mov eax, dword [ebp - 4]
and eax, 0xffff
shl eax, 8
mov ecx, dword [ebp - 0x20]
and ecx, 0xff
or eax, ecx
mov word [ebp - 4], ax
mov edx, dword [ebp - 4]
and edx, 0xffff
cmp edx, 0xcffc
jne 0x423489
jmp 0x42348e
jmp 0x4233e6
mov eax, dword [ebp - 0x18]
and eax, 0xff
cmp eax, 0x80
jne 0x4234ab
mov ecx, dword [ebp - 0x17]
and ecx, 0xff
cmp ecx, 1
je 0x4234af
xor al, al
jmp 0x4234ce
mov edx, dword [ebp - 0x16]
and edx, 0xff
test edx, edx
je 0x4234cc
mov al, byte [ebp - 0x16]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.0041fb94
xor al, al
jmp 0x4234ce
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x4237db
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov byte [ebp - 8], 0
xor ecx, ecx
mov word [ebp - 7], cx
mov byte [ebp - 5], cl
mov byte [ebp - 0x10], 0
xor edx, edx
mov word [ebp - 0xf], dx
mov byte [ebp - 0xd], dl
mov eax, dword [ebp + 8]
shr eax, 0x18
mov byte [ebp - 8], al
mov ecx, dword [ebp + 8]
shr ecx, 0x10
mov byte [ebp - 7], cl
mov edx, dword [ebp + 8]
shr edx, 8
mov byte [ebp - 6], dl
mov al, byte [ebp + 8]
mov byte [ebp - 5], al
mov ecx, dword [ebp - 7]
and ecx, 0xff
test ecx, ecx
jne 0x423843
mov edx, dword [ebp - 6]
and edx, 0xff
test edx, edx
je 0x423892
mov byte [ebp - 0xc], 0
jmp 0x423851
mov al, byte [ebp - 0xc]
add al, 1
mov byte [ebp - 0xc], al
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
mov edx, dword [ebp + 0xc]
and edx, 0xff
imul edx, edx, 0x23
cmp ecx, edx
jge 0x423890
mov eax, dword [ebp - 4]
and eax, 0x80000000
test eax, eax
je 0x423886
mov ecx, dword [ebp - 4]
shl ecx, 1
xor ecx, 0xe4c5c784
mov dword [ebp - 4], ecx
jmp 0x42388e
mov edx, dword [ebp - 4]
shl edx, 1
mov dword [ebp - 4], edx
jmp 0x423849
jmp 0x423898
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8