joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58bae4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x27
push 0
push 0
dec ecx
jne 0x58baec
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x58bcf9
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0058b834
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x58bcc9
inc ebx
xor esi, esi
lea ecx, [ebp - 4]
mov edx, esi
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebp - 4], 0
je 0x58bcc1
mov eax, dword [ebp - 4]
cmp byte [eax], 0x3b
je 0x58bcc1
push 2
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
mov byte [ebp - 0x26], 0x2c
lea ecx, [ebp - 0x28]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
call fcn.004052cc
push 2
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
mov byte [ebp - 0x26], 0x2c
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.004052cc
push 2
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
mov byte [ebp - 0x26], 0x2c
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.004052cc
push 2
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
mov byte [ebp - 0x26], 0x2c
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 4]
call fcn.004052cc
push 2
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
mov byte [ebp - 0x26], 0x2c
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.004052cc
push 2
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 0x28], 0x20
mov byte [ebp - 0x27], 9
mov byte [ebp - 0x26], 0x2c
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 4]
call fcn.004052cc
cmp dword [ebp - 0x1c], 0
je 0x58bcc1
mov eax, 0x3c
call fcn.00402f80
mov edi, eax
lea eax, [ebp - 0x13c]
mov edx, dword [ebp - 0x14]
mov ecx, 0xff
call fcn.004054e0
lea edx, [ebp - 0x13c]
mov eax, edi
mov cl, 0x32
call fcn.00403968
or edx, 0xffffffff
mov eax, dword [ebp - 0xc]
call fcn.0040a364
mov word [edi + 0x34], ax
or edx, 0xffffffff
mov eax, dword [ebp - 0x10]
call fcn.0040a364
mov word [edi + 0x36], ax
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.0040a364
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x1c]
mov edx, 0x58bd10
call fcn.0040566c
sete cl
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.0058b9b8
inc esi
dec ebx
jne 0x58bb23
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58bd00
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00405258
lea eax, [ebp - 0x24]
call fcn.00405234
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00405258
ret
Function at 0x58bdd8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x58bfe9
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0058bff8
mov eax, dword [0x68f820]
mov eax, dword [eax]
mov cl, 2
mov edx, 4
mov si, 0xfffa
call fcn.00404524
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x58bfb9
mov dl, 1
mov eax, dword [0x418f7c]
call fcn.004042f8
mov esi, eax
mov edx, dword [ebp - 0x1c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x58bfaa
inc ebx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebp - 4], 0
je 0x58bfa0
mov eax, dword [ebp - 4]
cmp byte [eax], 0x3b
je 0x58bfa0
push 2
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x24], 0x20
mov byte [ebp - 0x23], 9
mov byte [ebp - 0x22], 0x2c
lea ecx, [ebp - 0x24]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.004052cc
push 2
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 0x24], 0x20
mov byte [ebp - 0x23], 9
mov byte [ebp - 0x22], 0x2c
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.004052cc
push 2
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 0x24], 0x20
mov byte [ebp - 0x23], 9
mov byte [ebp - 0x22], 0x2c
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.004052cc
push 2
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 0x24], 0x20
mov byte [ebp - 0x23], 9
mov byte [ebp - 0x22], 0x2c
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0047f2e8
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.004052cc
cmp dword [ebp - 4], 0
je 0x58bfa0
mov eax, 0x14
call fcn.00402f80
mov edi, eax
or edx, 0xffffffff
mov eax, dword [ebp - 0xc]
call fcn.0040a364
mov dword [edi], eax
or edx, 0xffffffff
mov eax, dword [ebp - 0x10]
call fcn.0040a364
mov dword [edi + 4], eax
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.0040a364
mov byte [edi + 8], al
lea eax, [ebp - 0x130]
mov edx, dword [ebp - 4]
mov ecx, 0xff
call fcn.004054e0
lea edx, [ebp - 0x130]
lea eax, [edi + 9]
mov cl, 0xa
call fcn.00403968
mov edx, edi
mov eax, dword [ebp - 8]
call fcn.0058bd14
inc dword [ebp - 0x18]
dec ebx
jne 0x58be6a
mov eax, esi
call fcn.00404328
mov eax, dword [ebp - 0x1c]
call fcn.00404328
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58bff0
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405258
lea eax, [ebp - 0x20]
call fcn.00405234
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00405258
ret
Function at 0x59b0e8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056c4
xor eax, eax
push ebp
push 0x59b18a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x68bbc4], 0
je 0x59b174
mov eax, dword [ebp - 4]
call fcn.004056d4
push eax
call sub.kernel32.dll_DeleteFileA
push 0xffff
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41917c]
call fcn.0041dc58
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x59b16d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x68f828]
mov ecx, 0x62b8
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59b174
mov eax, dword [ebp - 8]
call fcn.00404328
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59b191
lea eax, [ebp - 4]
call fcn.00405234
ret
Function at 0x59ba80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, 0x7d384c
mov eax, dword [0x59ae24]
push eax
mov ecx, 0xf
mov eax, ebx
pop edx
call fcn.004060d0
xor ecx, ecx
mov edx, 0xf0
call fcn.0047eb7c
movzx eax, byte [0x59bcec]
mov byte [ebx + 0x10], al
mov word [ebx + 0x12], 0x48
mov byte [ebx + 0x18], 1
lea eax, [ebx + 0x1c]
mov edx, 0x59bcf8
call fcn.00405288
movzx eax, byte [0x59bd08]
mov byte [ebx], al
mov word [ebx + 2], 9
mov byte [ebx + 8], 1
lea eax, [ebx + 0xc]
mov edx, 0x59bd14
call fcn.00405288
movzx eax, byte [0x59bd08]
mov byte [ebx + 0x30], al
mov word [ebx + 0x32], 0x13
mov byte [ebx + 0x38], 0
lea eax, [ebx + 0x3c]
mov edx, 0x59bd28
call fcn.00405288
movzx eax, byte [0x59bd08]
mov byte [ebx + 0xa0], al
mov word [ebx + 0xa2], 0x78
mov byte [ebx + 0xa8], 1
lea eax, [ebx + 0xac]
mov edx, 0x59bd3c
call fcn.00405288
movzx eax, byte [0x59bd08]
mov byte [ebx + 0xb0], al
mov word [ebx + 0xb2], 0x79
mov byte [ebx + 0xb8], 1
lea eax, [ebx + 0xbc]
mov edx, 0x59bd50
call fcn.00405288
movzx eax, byte [0x59bd08]
mov byte [ebx + 0xc0], al
mov word [ebx + 0xc2], 0x7a
mov byte [ebx + 0xc8], 1
lea eax, [ebx + 0xcc]
mov edx, 0x59bd64
call fcn.00405288
movzx eax, byte [0x59bcec]
mov byte [ebx + 0x20], al
mov word [ebx + 0x22], 0x41
mov byte [ebx + 0x28], 1
lea eax, [ebx + 0x2c]
mov edx, 0x59bd78
call fcn.00405288
movzx eax, byte [0x59bd88]
mov byte [ebx + 0x40], al
mov word [ebx + 0x42], 0x58
mov byte [ebx + 0x48], 1
lea eax, [ebx + 0x4c]
mov edx, 0x59bd94
call fcn.00405288
movzx eax, byte [0x59bd88]
mov byte [ebx + 0x50], al
mov word [ebx + 0x52], 0x51
mov byte [ebx + 0x58], 1
lea eax, [ebx + 0x5c]
mov edx, 0x59bda8
call fcn.00405288
movzx eax, byte [0x59bd88]
mov byte [ebx + 0x90], al
mov word [ebx + 0x92], 0x52
mov byte [ebx + 0x98], 1
lea eax, [ebx + 0x9c]
mov edx, 0x59bdbc
call fcn.00405288
movzx eax, byte [0x59bd08]
mov byte [ebx + 0xd0], al
mov word [ebx + 0xd2], 0x7b
mov byte [ebx + 0xd8], 1
lea eax, [ebx + 0xdc]
mov edx, 0x59bdd4
call fcn.00405288
movzx eax, byte [0x59bd88]
mov byte [ebx + 0x80], al
mov word [ebx + 0x82], 0x53
mov byte [ebx + 0x88], 1
lea eax, [ebx + 0x8c]
mov edx, 0x59bde8
call fcn.00405288
movzx eax, byte [0x59bd88]
mov byte [ebx + 0x60], al
mov word [ebx + 0x62], 0x57
mov byte [ebx + 0x68], 1
lea eax, [ebx + 0x6c]
mov edx, 0x59be00
call fcn.00405288
movzx eax, byte [0x59bd88]
mov byte [ebx + 0x70], al
mov word [ebx + 0x72], 0x45
mov byte [ebx + 0x78], 1
lea eax, [ebx + 0x7c]
mov edx, 0x59be18
call fcn.00405288
movzx eax, byte [0x59bd88]
mov byte [ebx + 0xe0], al
mov word [ebx + 0xe2], 0x4a
mov byte [ebx + 0xe8], 1
lea eax, [ebx + 0xec]
mov edx, 0x59be18
call fcn.00405288
pop ebx
ret
Function at 0x5a29ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor edi, edi
movzx eax, byte [ebx + 0x14]
sub al, 8
jae 0x5a2b17
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x258]
cmp eax, 0xea60
jbe 0x5a2a33
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x258], eax
mov eax, ebx
mov si, 0xfff0
call fcn.00404524
mov eax, ebx
call fcn.005a2990
mov edx, dword [ebx + 0x1c4]
test edx, edx
je 0x5a2a78
mov ecx, dword [ebp - 8]
add ecx, dword [ebx + 0xe0]
add ecx, dword [ebx + 0xd8]
push ecx
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebx + 0xf0]
add ecx, dword [ebx + 0xdc]
push ecx
movzx ecx, byte [ebp + 0xc]
push ecx
push eax
push 0
mov ecx, edx
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.005a28ec
cmp byte [ebx + 0x154], 0
je 0x5a2b17
cmp dword [ebx + 0x1a0], 0
jle 0x5a2b17
xor eax, eax
mov edx, dword [ebx + 0x184]
dec edx
lea ecx, [ebp - 0x38]
mov ah, 0x20
call fcn.00403d98
mov eax, dword [ebx + 0x17c]
cmp eax, 0xff
ja 0x5a2ab6
bt dword [ebp - 0x38], eax
jae 0x5a2b17
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebx + 0x1a0]
dec eax
xor edx, edx
call fcn.005b1b04
mov eax, dword [ebx + 0x17c]
add dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], 0
je 0x5a2af0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
call fcn.0048434c
mov edi, eax
test edi, edi
je 0x5a2b17
push edi
push 1
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x14]
add ecx, dword [ebx + 0xdc]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x10]
add edx, dword [ebx + 0xd8]
mov eax, dword [ebp - 4]
call fcn.005b6b24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [0x68fdf8]
cmp eax, dword [edx]
jne 0x5a4286
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x164]
cmp eax, 0xbb8
seta al
jmp 0x5a429f
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x164]
cmp eax, 0x7d0
seta al
test al, al
je 0x5a42b1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
xor ecx, ecx
mov dword [edx + 0x190], ecx
pop ebp
ret
Function at 0x5a59e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
cmp byte [ebx + 0x39a], 0
je 0x5a5a07
movzx eax, byte [ebx + 0x14]
mov ecx, 3
xor edx, edx
div ecx
mov byte [ebx + 0x14], dl
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x258]
cmp eax, 0xea60
jbe 0x5a5a2f
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x258], eax
mov eax, ebx
mov si, 0xfff0
call fcn.00404524
mov eax, ebx
call fcn.005a2990
mov edx, dword [ebx + 0x1c4]
test edx, edx
je 0x5a5ae3
movzx ecx, word [ebx + 0x3a]
cmp cx, 0x4c
jne 0x5a5a78
push edx
push 1
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebx + 0xf0]
add ecx, dword [ebx + 0xdc]
mov edx, dword [ebp - 4]
add edx, dword [ebx + 0xe0]
add edx, dword [ebx + 0xd8]
mov eax, edi
call fcn.005b6b24
jmp 0x5a5ae3
cmp cx, 0x33
jne 0x5a5ab0
mov ecx, dword [ebp - 4]
add ecx, dword [ebx + 0xe0]
add ecx, dword [ebx + 0xd8]
push ecx
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebx + 0xf0]
add ecx, dword [ebx + 0xdc]
push ecx
push 1
push eax
push 0
mov ecx, edx
mov eax, ebx
mov edx, edi
call fcn.005a28ec
jmp 0x5a5ae3
mov ecx, dword [ebp - 4]
add ecx, dword [ebx + 0xe0]
add ecx, dword [ebx + 0xd8]
push ecx
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebx + 0xf0]
add ecx, dword [ebx + 0xdc]
push ecx
movzx ecx, byte [ebp + 0xc]
push ecx
push eax
push 0
mov ecx, edx
mov eax, ebx
mov edx, edi
call fcn.005a28ec
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x5a5eb8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov edi, eax
mov eax, edi
call fcn.005a42b4
mov ebx, eax
mov esi, dword [edi + 0x1c]
cmp byte [edi + 0x156], 0
je 0x5a5f7c
cmp byte [edi + 0x154], 0
je 0x5a5f04
mov eax, dword [edi + 0x304]
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
fild qword [esp]
fdiv dword [0x5a6020]
call fcn.004034f8
mov ebp, eax
jmp 0x5a5f0a
mov ebp, dword [edi + 0x304]
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [edi + 0x300]
cmp ebp, eax
jae 0x5a5f7c
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x300], eax
mov eax, dword [edi + 0x1c]
cmp eax, dword [edi + 0x2fc]
jge 0x5a5f34
inc dword [edi + 0x1c]
jmp 0x5a5f7c
cmp byte [edi + 0x384], 0
je 0x5a5f6b
call sub.kernel32.dll_GetTickCount_1
cmp eax, dword [edi + 0x388]
jbe 0x5a5f63
mov byte [edi + 0x156], 0
mov byte [edi + 0x384], 0
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x388], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
jmp 0x5a5f71
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x300], eax
cmp esi, dword [edi + 0x1c]
je 0x5a5f99
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x258], eax
mov eax, edi
mov si, 0xfff0
call fcn.00404524
mov bl, 1
cmp byte [edi + 0x399], 0
je 0x5a5fdb
mov eax, 0xc8
call fcn.0040346c
test eax, eax
jne 0x5a5fdb
mov eax, dword [edi + 0x10]
push eax
mov eax, 8
call fcn.0040346c
push eax
mov eax, dword [edi + 0x40]
push eax
mov eax, dword [edi + 0x48]
push eax
push 0
push 0
mov ecx, dword [edi + 0xc]
mov dx, 0x138d
mov eax, edi
call fcn.005a09f8
jmp 0x5a6015
cmp byte [edi + 0x398], 0
je 0x5a6015
mov eax, 0x12c
call fcn.0040346c
test eax, eax
jne 0x5a6015
mov eax, dword [edi + 0x10]
push eax
movzx eax, byte [edi + 0x14]
push eax
mov eax, dword [edi + 0x40]
push eax
mov eax, dword [edi + 0x48]
push eax
push 0
push 0
mov ecx, dword [edi + 0xc]
mov dx, 0x1391
mov eax, edi
call fcn.005a09f8
mov eax, ebx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [0x68fdf8]
cmp eax, dword [edx]
jne 0x5a7f16
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x164]
cmp eax, 0x1388
seta al
jmp 0x5a7f2f
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x164]
cmp eax, 0xdac
seta al
test al, al
je 0x5a7f41
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
xor ecx, ecx
mov dword [edx + 0x190], ecx
pop ebp
ret
Function at 0x5b34dc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, 1
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0xac]
cmp eax, dword [esi + 0x7c]
jbe 0x5b353d
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0xac], eax
inc dword [esi + 0x90]
mov eax, dword [esi + 0x8c]
add eax, dword [esi + 0x94]
dec eax
cmp eax, dword [esi + 0x90]
jge 0x5b353d
mov dword [esi + 0x90], eax
cmp dword [esi + 0xd8], 0
jle 0x5b353b
dec dword [esi + 0xd8]
mov eax, dword [esi + 0x8c]
mov dword [esi + 0x90], eax
jmp 0x5b353d
xor ebx, ebx
mov eax, ebx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, 1
cmp byte [esi + 4], 0
je 0x5b4150
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [esi + 0xac]
cmp eax, dword [esi + 0x7c]
jbe 0x5b4150
call sub.kernel32.dll_GetTickCount_1
mov dword [esi + 0xac], eax
inc dword [esi + 0x90]
mov eax, dword [esi + 0x8c]
mov edx, eax
add edx, dword [esi + 0x94]
dec edx
cmp edx, dword [esi + 0x90]
jge 0x5b4150
mov dword [esi + 0x90], eax
xor ebx, ebx
mov eax, ebx
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..00cfg
mov ebx, 0x408ecc
nop
mov ecx, 0x1ba71b1d
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x17232b9f
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x401443
pop dword [ebp - 0x38]
mov eax, 0xa83db79f
add eax, 0x58025ca4
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xc006591b
sub dword [ebp - 0x48], 0x71b413d0
mov dword [ebp - 0x44], 0x7a3cd3e
add dword [ebp - 0x44], 0x2a8f7f07
mov dword [ebp - 0x40], 0xb44d52f8
sub dword [ebp - 0x40], 0x68010eca
mov dword [ebp - 0x3c], 0x7e943546
sub dword [ebp - 0x3c], 0x7e943546
lea eax, [ebp - 0x48]
push eax
mov eax, 0xb92a0cb6
sub eax, 0xb8e98c3e
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xb437793d
sub dword [ebp - 0x48], 0x3fc50fe7
mov dword [ebp - 0x44], 0xc3304bcb
sub dword [ebp - 0x44], 0x81c3ea56
mov dword [ebp - 0x40], 0x4b33f1a5
add dword [ebp - 0x40], 0x183b7ac7
mov dword [ebp - 0x3c], 0x814c8b3a
sub dword [ebp - 0x3c], 0x814c8b3a
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x70a90f4d
add eax, 0x8f97712f
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x357a1
push 0
call eax
mov ecx, 0xc2336357
add ecx, 0x3dccd910
mov edi, eax
mov esi, 0x451400
add esi, dword [ebp - 0x38]
mov ebx, 0x59be9bd8
add dword [ebp - 0x30], 0xf4211231
mov edx, dword [esi]
xor dword [ebp - 0x24], 0xbca0570e
sub edx, ebx
xor dword [ebp - 0x30], edx
mov dword [edi], edx
add edi, 4
add esi, 0xcb62622c
sub esi, 0xcb626228
loop 0x401559
add eax, 0x354a118b
add eax, 0xcab6d2e4
mov ebx, eax
add eax, 0x77658852
add eax, 0x889a77b3
mov ecx, 0xe356476b
sub ecx, 0xe316476b
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x2943700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0294378f
jae 0x294370e
xor ecx, ecx
call fcn.0294378f
jae 0x294373d
xor eax, eax
call fcn.0294378f
jae 0x294374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0294378f
adc al, al
jae 0x294372f
jne 0x2943779
stosb byte es:[edi], al
jmp 0x2943711
call fcn.0294379b
sub ecx, ebx
jne 0x2943756
call fcn.02943799
jmp 0x2943775
lodsb al, byte [esi]
shr eax, 1
je 0x2943783
adc ecx, ecx
jmp 0x2943772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02943799
cmp eax, 0x7d00
jae 0x2943772
cmp ah, 5
jae 0x2943773
cmp eax, 0x7f
ja 0x2943774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2943711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x402f08
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x42a008], 0x8088405
inc edx
mov dword [ebx + 0x42a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403568
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x42a024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403600
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4035e0
xor eax, eax
push ebp
push 0x4035d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40361c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4035e0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x42a024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x42a024], ax
mov esp, ebp
pop ebp
ret

Function at 0x40432c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x43c04c], 0
je 0x40438d
cmp word [0x43c220], 0xd7b2
jne 0x404355
cmp dword [0x43c228], 0
jbe 0x404355
mov eax, 0x43c21c
call dword [0x43c238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x42a75c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4043b4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x42a030], 0
jne 0x4043a9
push 0
push 0x42a754
push 0x42a75c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret