joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4022c0
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
sub esp, 0x110
lea eax, [esp + 0xc]
push ebx
push esi
push edi
push str.SYSTEMCurrentControlSetServices_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
push str.ghdhk
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push 0xf003f
push 0
push eax
push getpeername
call dword [0x408de8]
test eax, eax
je 0x402315
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
lea ecx, [esp + 0x18]
push 0x104
push ecx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.KERNEL32.dll_RtlZeroMemory]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0
push str.ImagePath
push ecx
call dword [0x408de4]
test eax, eax
je 0x402366
mov edx, dword [esp + 0x10]
push edx
call dword [0x408de0]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x10]
push eax
call dword [0x408de0]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40238d
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push 0
push 0
push 3
push 0
push 1
lea edx, [esp + 0x2c]
push closesocket
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4023ba
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x4023de
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x402400
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push 0
push eax
push ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x402432
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x120]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov esi, eax
test esi, esi
jne 0x402462
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
push eax
push ebx
push 0
push 0x66
push 0xa
push esi
call ebp
mov edi, eax
test edi, edi
je 0x40249b
push str.ghdhk
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push str.ghdhk
push 0
push 0x65
push 0xa
push esi
call ebp
mov edi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
pop ebp
test eax, eax
push ebx
jne 0x4024bc
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x110
ret
Function at 0x4281b7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x4281b3
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x4281a4
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00427f5f
test eax, 0x8d555801
inc ebp
test al, 0x50
call fcn.00427f6f
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00427f24
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x42824d
invalid
invalid
invalid

Function at 0x4282cd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00427f6f
push eax
push esi
push dword [ebp + 8]
call fcn.00427f24
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00427f6f
push eax
push esi
push dword [ebp + 8]
call fcn.00427f24
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00427f6f
push eax
push esi
push dword [ebp + 8]
call fcn.00427f24
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00427f5f
pushal
xchg edi, eax
inc ecx
test byte [eax - 0x8363], cl
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
Function at 0x428406
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
jae 0x4283e5
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
jb 0x4283f5
inc ebp
lea edi, [edx - 0x3a]
inc ebp
invalid
jae 0x4283fd
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.00427f5f
cmp byte [ebp + edx + 0x7c858dd8], dh
invalid

Function at 0x4287b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edi
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
invalid
invalid
invalid
cld
invalid
invalid

Function at 0x428ede
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov al, byte [0x38fffffc]
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00427f6f
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00427f24
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.00427f5f
stc
fst dword [edi]
push edi
push 0x104
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid
dec dword [ecx - 0x151727bb]
out dx, eax
invalid
invalid
mov edx, 0x80648dc1
loopne 0x428f7d
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.00427f6f
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00427f24
add esp, 0xc
Function at 0x414020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x418
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 8]
mov ebx, 0xfffffffe
nop
nop
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x414040
mov eax, ebx
sar eax, 1
mov dword [esp + 0xd8], eax
cmp eax, 0xfffffff2
jge 0x414062
mov eax, 0xffffffff
jmp 0x414065
lea eax, [ebx + 0x1c]
push eax
call fcn.00408310
add esp, 4
mov esi, eax
mov dword [esp + 0x290], 0xe3aee1bc
mov dword [esp + 0x294], 0xe795e585
mov dword [esp + 0x298], 0xebcae99c
mov dword [esp + 0x29c], 0xef8bedba
mov dword [esp + 0x2a0], 0xf381f182
mov dword [esp + 0x2a4], 0xf799f59d
mov dword [esp + 0x2a8], 0xfbfaf996
xor eax, eax
nop
movzx ecx, byte [esp + eax + 0x290]
xor cl, al
xor cl, 0xe0
mov byte [esp + eax + 0x290], cl
inc eax
cmp eax, 0x1c
jne 0x4140c0
movzx ecx, word [edi]
mov eax, esi
test cx, cx
je 0x414101
add edi, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x4140f0
mov word [eax], 0
movzx ecx, word [esp + 0x290]
test cx, cx
je 0x414131
lea edx, [esp + 0x292]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x414120
mov word [eax], 0
lea eax, [esp + 0x110]
push 0x60
push 3
push 0x120089
push eax
push esi
call fcn.004390d0
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x43e6e0]
Function at 0x424570
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6c98
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.00408390
lea ecx, [ebp - 0x1c]
call fcn.00409f60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00452950
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.0040b920
test eax, eax
jne 0x4245dc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040b8a0
jmp 0x424618
cmp dword [0x6436f4], 1
jne 0x4245ea
call fcn.00423d70
cmp dword [0x652000], 0
je 0x424602
mov ecx, dword [0x652000]
push ecx
call fcn.00422730
add esp, 4
push 0
call fcn.00589fc2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040b8a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00588933
mov esp, ebp
pop ebp
ret
Function at 0x43d260
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
jne 0x43d27a
xor eax, eax
jmp 0x43d369
mov eax, dword [ebp + 8]
push eax
call fcn.0058a988
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [ebp - 1], cl
add dword [ebp - 0x14], 1
cmp byte [ebp - 1], 0
jne 0x43d298
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
jmp 0x43d2cb
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x20]
jge 0x43d334
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x43d2ef
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
movsx eax, byte [edx]
cmp eax, 0x2f
jne 0x43d332
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
mov byte [ecx], 0
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0058a9d8
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43d329
mov eax, dword [ebp - 8]
push eax
call fcn.0058aa38
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43d329
or eax, 0xffffffff
jmp 0x43d369
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
mov byte [ecx], 0x2f
jmp 0x43d2c2
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0058a9d8
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43d35a
mov eax, dword [ebp - 8]
push eax
call fcn.0058aa38
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00589184
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x440b20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8d98
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x40], 0
je 0x440b60
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x440b6c
mov al, 1
jmp 0x440d0f
mov dword [ebp - 0x54], 8
call fcn.00405010
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x40], eax
call fcn.00405010
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.00404fe0
add esp, 8
movzx eax, al
test eax, eax
je 0x440baf
xor al, al
jmp 0x440d0f
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00407110
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040f740
mov ecx, eax
call fcn.0040ba70
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00406bd0
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f740
mov ecx, eax
call fcn.0040ba70
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x40]
call fcn.004410b0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x440c2a
cmp dword [ebp - 0x3c], 1
je 0x440c31
cmp dword [ebp - 0x3c], 3
je 0x440ccb
jmp 0x440ce3
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040f740
mov ecx, eax
call fcn.0040ba70
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x440c94
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f740
mov ecx, eax
call fcn.0040ba70
push eax
call fcn.0058b6fd
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x440c94
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406730
mov al, byte [ebp - 0x34]
jmp 0x440d0f
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x440cb7
mov byte [ebp - 0x31], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406730
mov al, byte [ebp - 0x31]
jmp 0x440d0f
cmp dword [ebp - 0x38], 0
jne 0x440cc9
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00434a50
jmp 0x440cfb
mov byte [ebp - 0x33], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406730
mov al, byte [ebp - 0x33]
jmp 0x440d0f
mov byte [ebp - 0x32], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406730
mov al, byte [ebp - 0x32]
jmp 0x440d0f
jmp 0x440bc2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00588933
mov esp, ebp
pop ebp
ret
Function at 0x4460a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9273
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x642490]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00406670
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x2a], 0
mov edx, dword [ebp - 0x10]
mov dword [edx], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xc], 0xffffffff
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00407150
mov ecx, dword [ebp - 0x10]
mov dx, word [ebp + 0x20]
mov word [ecx + 0x28], dx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x2a], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0x1f40
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0x1f40
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0xf
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0xf
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 0x1388
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 0x12c
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406730
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x44bec0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x44], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x44], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x4c], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 0x4c], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x4c], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x4c], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x450e00
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [0x5dc4dc]
push eax
call dword [0x5dc02c]
test eax, eax
je 0x450ebd
mov dword [ebp - 0x14], 1
mov ecx, 0xc
imul edx, ecx, 0
lea eax, [ebp + edx - 0x10]
push eax
push str.SeDebugPrivilege
push 0
call dword [0x5dc008]
cmp dword [ebp + 8], 0
je 0x450e65
mov dword [ebp - 0x24], 2
jmp 0x450e6c
mov dword [ebp - 0x24], 0
mov ecx, 0xc
imul edx, ecx, 0
mov eax, dword [ebp - 0x24]
mov dword [ebp + edx - 8], eax
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [0x5dc00c]
call dword [0x5dc4e0]
test eax, eax
jne 0x450ea4
mov dword [ebp - 0x20], 1
jmp 0x450eab
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x5dc4d8]
jmp 0x450ec1
xor eax, eax
jmp 0x450ec4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00588933
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x5ee76d54
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x15121d3a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401460
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x43eae0]
sub esp, 0x2c
test eax, eax
jne 0x401376
mov eax, dword [0x4401d8]
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0
push eax
mov dword [0x43eae0], 1
call esi
mov ecx, dword [0x43f504]
push 0
push ecx
call esi
mov edx, dword [0x43f500]
push edx
call dword [sym.imp.USER32.dll_GetMenu]
mov dword [0x43eb10], eax
mov eax, dword [0x43f500]
push 0
push eax
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, dword [0x43f500]
mov esi, dword [sym.imp.USER32.dll_GetWindowPlacement]
push 0x43eae4
push ecx
call esi
mov edx, dword [0x43f500]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff3fffff
push eax
mov eax, dword [0x43f500]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [0x43f500]
lea ecx, [esp + 8]
push ecx
push edx
call esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
push eax
push 0
call esi
push eax
push 0
lea eax, [esp + 0x30]
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [0x43f500]
mov esi, dword [sym.imp.USER32.dll_LockWindowUpdate]
push ecx
call esi
mov eax, dword [0x43f500]
mov edi, dword [sym.imp.USER32.dll_SetWindowPlacement]
lea edx, [esp + 8]
mov dword [esp + 0x10], 9
push edx
push eax
call edi
mov edx, dword [0x43f500]
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x18], 3
call edi
push 0
call esi
mov eax, dword [0x43f500]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [0x43f500]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop edi
pop esi
add esp, 0x2c
ret
mov eax, dword [0x43e5fc]
test eax, eax
je 0x40147c
mov eax, dword [0x43eae0]
test eax, eax
jne 0x401477
jmp 0x401250
jmp fcn.00401380
ret
Function at 0x4016a0
Capabilities:
Create directory
Get common file path
Print debug messages
Read .ini file

Disassembly:
sub esp, 0x504
push esi
push 1
push 0x23
push 0x43eb20
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x401766
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
mov edi, dword [esp + 0x514]
lea eax, [esp + 0x110]
push 0x400
push eax
push edi
call ebx
lea ecx, [esp + 0x110]
push 0x5c
push ecx
call fcn.0041cfa0
lea edx, [esp + 0x118]
push 0x5c
push edx
mov byte [eax], 0
call fcn.0041cfa0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x10
push eax
push 0x43eb20
call esi
push 0
push 0x43eb20
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [esp + 0xc]
push 0x104
push eax
push edi
call ebx
lea ecx, [esp + 0xc]
push 0x2e
push ecx
call fcn.0041cfa0
lea edx, [esp + 0x14]
push 0x5c
push edx
mov byte [eax], 0
call fcn.0041cfa0
add esp, 0x10
push eax
push 0x43eb20
call esi
push str..ini
push 0x43eb20
call esi
pop edi
pop ebx
jmp 0x40179e
mov eax, dword [0x43f4bc]
push 0x104
push 0x43eb20
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x2e
push 0x43eb20
call fcn.0041cfa0
add esp, 8
mov byte [eax], 0
push str..ini
push 0x43eb20
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str._nIni_Path_
call esi
push 0x43eb20
call esi
push 0x4384b8
call esi
push 0x43eb20
push 0
push str.Language
push str.annie
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
mov dword [0x43f320], eax
pop esi
jne 0x4017e4
call fcn.00401520
mov dword [0x43f320], eax
add esp, 0x504
ret