joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e74d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4e74d8
push ebx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4e7718
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x2c]
xor edx, edx
mov cl, 1
call fcn.00421218
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x6b8]
lea eax, [ebp - 0x30]
mov ecx, 0x4e7734
call fcn.00406d58
mov eax, dword [ebp - 0x30]
mov ecx, 0x4e7758
mov edx, 0x4e7770
call fcn.004da964
lea eax, [ebp - 0x1c]
call fcn.0041ccb0
dec eax
je 0x4e7542
dec eax
je 0x4e7559
jmp 0x4e76c0
push 1
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.004e19cc
mov ebx, eax
jmp 0x4e76c2
push 2
lea eax, [ebp - 0x50]
mov edx, 0x4e7790
call fcn.004214dc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x6b8]
lea eax, [ebp - 0x54]
mov ecx, 0x4e7734
call fcn.00406d58
mov eax, dword [ebp - 0x54]
mov ecx, 0x4e77a0
mov edx, 0x4e7770
call fcn.004da964
lea edx, [ebp - 0x40]
lea eax, [ebp - 4]
call fcn.00420a20
push 0x4e77c0
push dword [ebp - 4]
push 0x4e7800
lea ecx, [ebp - 0x60]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.004e9c78
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0xc]
call fcn.004ea644
mov eax, dword [ebp - 0x5c]
mov edx, 1
call fcn.00411af8
dec eax
lea edx, [ebp - 0x58]
call fcn.00411860
push dword [ebp - 0x58]
push 0x4e7858
lea eax, [ebp - 8]
mov edx, 5
call fcn.00406e3c
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x6b8]
lea eax, [ebp - 0x64]
mov ecx, 0x4e7868
call fcn.00406d58
mov eax, dword [ebp - 0x64]
call fcn.00411eb8
test al, al
jne 0x4e763b
push 0x4e7884
mov eax, dword [ebp - 0xc]
push dword [eax + 0x6b8]
push 0x4e7868
push dword [ebp - 8]
lea eax, [ebp - 8]
mov edx, 4
call fcn.00406e3c
push 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x47c]
mov edx, 0x4e789c
mov eax, 0x4e78bc
call fcn.004d912c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x47c]
call fcn.00411eb8
test al, al
je 0x4e76bc
xor eax, eax
push ebp
push 0x4e76b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x47c]
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 8]
call fcn.00406d58
mov eax, dword [ebp - 0x68]
xor edx, edx
call fcn.004d72d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e76bc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x47c]
call fcn.00406900
push eax
call sub.kernel32.dll_DeleteFileW
ret
mov bl, 1
jmp 0x4e76c2
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e771f
lea eax, [ebp - 0x68]
mov edx, 6
call fcn.0040686c
lea eax, [ebp - 0x50]
mov edx, dword [0x401278]
mov ecx, 2
call fcn.0040763c
lea eax, [ebp - 0x30]
call fcn.00406864
lea eax, [ebp - 0x2c]
mov edx, dword [0x401278]
mov ecx, 2
call fcn.0040763c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040686c
ret
Function at 0x4e89cc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e8ab3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, 0x4e8ad0
call fcn.004de890
test al, al
je 0x4e8a9d
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4a0]
mov edx, 0x4e8af0
mov eax, 0x4e8b0c
call fcn.004d912c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
call fcn.00411eb8
test al, al
je 0x4e8a9d
xor eax, eax
push ebp
push 0x4e8a96
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x4e8b28
call fcn.00412e3c
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.004d72d8
mov eax, 0x4e8ad0
call fcn.004de890
xor al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e8a9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
call fcn.00406900
push eax
call sub.kernel32.dll_DeleteFileW
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e8aba
lea eax, [ebp - 0xc]
call fcn.00406864
ret

Function at 0x4e8b34
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e8c34
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x498], 0
je 0x4e8c1e
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4a0]
mov edx, 0x4e8c50
mov eax, 0x4e8c6c
call fcn.004d912c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
call fcn.00411eb8
test al, al
je 0x4e8c1e
xor eax, eax
push ebp
push 0x4e8c17
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea edx, [ebp - 0x1c]
mov ecx, 1
mov eax, 0x4e8c88
call fcn.00412e3c
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.004d72d8
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x4e8bf5
mov eax, dword [ebp - 4]
mov byte [eax + 0x498], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e8c1e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
call fcn.00406900
push eax
call sub.kernel32.dll_DeleteFileW
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e8c3b
lea eax, [ebp - 0xc]
call fcn.00406864
ret
Function at 0x4ea3fc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4ea405
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4ea598
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x500510]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
cmp ebx, 0
jl 0x4ea541
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [0x500510]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00406b00
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov edx, 2
call fcn.0040d0c8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.00406aec
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00410f90
test al, al
jne 0x4ea537
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004e5c08
test al, al
jne 0x4ea537
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00417e28
mov eax, dword [ebp - 0x1c]
call fcn.00406900
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 3
jne 0x4ea537
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004e9edc
cmp al, 1
jbe 0x4ea4eb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, esi
call fcn.004eb6bc
test al, al
je 0x4ea537
cmp byte [ebp - 9], 0
je 0x4ea52a
cmp dword [ebp + 0x10], 0
jne 0x4ea514
cmp dword [ebp + 0xc], 0
jne 0x4ea514
push 0
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004e5f88
test al, al
je 0x4ea537
jmp 0x4ea52a
mov eax, dword [ebp - 8]
call fcn.004d791c
cmp edx, dword [ebp + 0x10]
jne 0x4ea528
cmp eax, dword [ebp + 0xc]
jae 0x4ea52a
jmp 0x4ea537
jl 0x4ea537
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00406874
jmp 0x4ea541
dec ebx
cmp ebx, 0xffffffff
jne 0x4ea446
mov eax, dword [ebp + 8]
cmp dword [eax], 0
sete al
and al, byte [ebp - 9]
je 0x4ea563
push 0
push 0
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004ea3fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea59f
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040686c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406524
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040686c
ret
Function at 0x4eb3e0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4eb4b6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [0x4fa1a4]
mov eax, dword [eax]
call fcn.00406900
push eax
lea eax, [ebp - 4]
mov ecx, 0x4eb4d4
mov edx, dword [ebx + 0x6b8]
call fcn.00406d58
mov eax, dword [ebp - 4]
call fcn.00406900
push eax
call sub.kernel32.dll_CopyFileW
mov eax, dword [0x4fa1a4]
mov eax, dword [eax]
mov ecx, 0x4eb4f8
mov edx, 0x4eb518
call fcn.004dad60
test al, al
je 0x4eb47b
mov eax, dword [0x4fa1a4]
mov eax, dword [eax]
mov ecx, 0x4eb538
mov edx, 0x4eb518
call fcn.004dad60
test al, al
je 0x4eb47b
mov eax, dword [0x4fa1a4]
mov eax, dword [eax]
mov ecx, 0x4eb558
mov edx, 0x4eb518
call fcn.004dad60
test al, al
jne 0x4eb47f
xor ebx, ebx
jmp 0x4eb481
mov bl, 1
mov esi, dword [0x4fa1a4]
mov esi, dword [esi]
mov dword [ebp - 8], esi
mov eax, dword [ebp - 8]
call fcn.00406900
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eb4bd
lea eax, [ebp - 4]
call fcn.00406864
ret

Function at 0x4ec34c
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4ec458
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x474]
call fcn.00411eb8
test al, al
je 0x4ec43d
test bl, bl
je 0x4ec3c8
push dword [esi + 0x474]
push 0x4ec474
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00406e3c
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004d72d8
push 7
mov eax, dword [ebp - 4]
call fcn.00406900
push eax
call sub.kernel32.dll_SetFileAttributesW
jmp 0x4ec3f5
push dword [esi + 0x474]
push 0x4ec494
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406e3c
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.004d72d8
mov eax, dword [ebp - 4]
call fcn.004d70bc
lea eax, [ebp - 0x10]
mov ecx, 0x4ec4b4
mov edx, dword [ebp - 4]
call fcn.00406d58
mov eax, dword [ebp - 0x10]
call fcn.004d70bc
lea eax, [ebp - 0x14]
mov ecx, 0x4ec4cc
mov edx, dword [ebp - 4]
call fcn.00406d58
mov eax, dword [ebp - 0x14]
call fcn.004d70bc
lea eax, [ebp - 0x18]
mov ecx, 0x4ec4e4
mov edx, dword [ebp - 4]
call fcn.00406d58
mov eax, dword [ebp - 0x18]
call fcn.004d70bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec45f
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.0040686c
ret
Function at 0x4ecb24
Capabilities:
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040685c
mov eax, dword [ebp - 8]
call fcn.0040685c
xor eax, eax
push ebp
push 0x4ecb98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004d70bc
mov eax, dword [ebp - 8]
call fcn.00406900
push eax
mov eax, dword [ebp - 4]
call fcn.00406900
push eax
call sub.kernel32.dll_MoveFileW
push 7
mov eax, dword [ebp - 8]
call fcn.00406900
push eax
call sub.kernel32.dll_SetFileAttributesW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ecb9f
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040686c
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x405bae
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d9b0]
jne 0x405bb8
repz ret
jmp fcn.0040836c

Function at 0x407ddc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40d9b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403328
and dword [ebp - 0x14], 0
cmp dword [0x40e990], 0
mov dword [ebp - 0x18], eax
jne 0x407e8f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407f37
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40baec
push ebx
call edi
test eax, eax
je 0x407f37
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40e990], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40e994], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40e998], eax
call edi
push eax
call esi
mov dword [0x40e9a0], eax
test eax, eax
je 0x407e8f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40e99c], eax
mov eax, dword [0x40e99c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407ee8
cmp dword [0x40e9a0], ecx
je 0x407ee8
push eax
call esi
push dword [0x40e9a0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407ee8
test ebx, ebx
je 0x407ee8
call edi
test eax, eax
je 0x407edf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407edf
test byte [ebp - 8], 1
jne 0x407ee8
or dword [ebp + 0x10], 0x200000
jmp 0x407f1b
mov eax, dword [0x40e994]
cmp eax, dword [ebp - 0x18]
je 0x407f1b
push eax
call esi
test eax, eax
je 0x407f1b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407f1b
mov eax, dword [0x40e998]
cmp eax, dword [ebp - 0x18]
je 0x407f1b
push eax
call esi
test eax, eax
je 0x407f1b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40e990]
call esi
test eax, eax
je 0x407f37
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407f39
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405bae
leave
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4011b3
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov cl, byte [0x403050]
mov edx, eax
mov edi, dword [0x403050]
sar edx, cl
mov ebx, eax
sub edi, edx
mov eax, 0x403054
mov edx, edi
call fcn.004010f0
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402ac1
push edx
sub edi, fcn.0040226b
push edi
xor eax, eax
push fcn.0040226b
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401229
mov eax, fcn.0040226b
mov ebx, esi
mov edx, edi
call fcn.004010f0
mov edx, 0x1c000
mov eax, 0x403054
mov ebx, esi
call fcn.00401a6f
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x402038
Capabilities:
Check if file exists
Get graphical window text
Initialize winsock library

Disassembly:
push ebx
push ecx
push edx
enter 0x6cc, 0
sub ebp, 0x82
lea ebx, [ebp - 0x1c2]
push ebx
xor eax, eax
push 2
mov word [ebp + 0x4e], ax
call dword [sym.imp.WS2_32.DLL_WSAStartup]
push 0x104
lea ebx, [ebp - 0x3ca]
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0
lea ebx, [ebp + 0x5e]
call dword [sym.imp.OLE32.DLL_CoInitialize]
push ebx
mov dword [ebp + 0x7e], 1
call dword [sym.imp.KERNEL32.DLL_GetSystemTime]
lea eax, [ebp + 0x7e]
push eax
lea eax, [ebp - 0x64a]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ebx, eax
xor eax, eax
mov word [ebp + 0x6e], ax
lea eax, [ebp + 0x6e]
push eax
lea eax, [ebp + 0x4e]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
call dword [sym.imp.WS2_32.DLL_WSACleanup]
call dword [sym.imp.OLE32.DLL_CoUninitialize]
push 0x80
lea eax, [ebp - 0x32]
push eax
push 0
call dword [sym.imp.USER32.DLL_GetWindowTextA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
push 0
sub ebx, 0x6f
call dword [sym.imp.SHLWAPI.DLL_PathFileExistsW]
mov eax, ebx
lea esp, [ebp + 0x82]
pop ebp
pop edx
pop ecx
pop ebx
ret
Function at 0x415590
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x804
mov eax, dword [0x426004]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
xor esi, esi
test edi, edi
jle 0x4155fb
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
cmp edi, 0x2d
jne 0x4155d7
push 0
push 0
call ebp
push str.mipipoyoto_vatelicahujuhasazagupu_zagepidexejexofu_pigilapisitacumayonetaperi_vazaw
push str.wudarureheb_sed_kukexuriyekigobu_jatutuzovaninuguxorepapivi_zaxipatoxo
push str.zabazevafij
push str.vufizu
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
call fcn.00415510
xor byte [ebx + esi], al
cmp edi, 0xf
jne 0x4155f5
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
inc esi
cmp esi, edi
jl 0x4155b2
pop ebp
pop esi
cmp edi, 0x2d
jne 0x415615
mov dword [0x4297e0], 0xa62e7790
mov dword [0x4297e4], 0xffffffff
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004010e4
add esp, 0x804
ret
Function at 0x4010f0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x426004]
jne 0x4010fa
repz ret
jmp fcn.004013f9

Function at 0x403c9b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040253c
and dword [ebp - 0x14], 0
cmp dword [0x428ad0], 0
mov dword [ebp - 0x18], eax
jne 0x403d4e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x403df6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x403df6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x428ad0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x428ad4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x428ad8], eax
call edi
push eax
call esi
mov dword [0x428ae0], eax
test eax, eax
je 0x403d4e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x428adc], eax
mov eax, dword [0x428adc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x403da7
cmp dword [0x428ae0], ecx
je 0x403da7
push eax
call esi
push dword [0x428ae0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x403da7
test ebx, ebx
je 0x403da7
call edi
test eax, eax
je 0x403d9e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x403d9e
test byte [ebp - 8], 1
jne 0x403da7
or dword [ebp + 0x10], 0x200000
jmp 0x403dda
mov eax, dword [0x428ad4]
cmp eax, dword [ebp - 0x18]
je 0x403dda
push eax
call esi
test eax, eax
je 0x403dda
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x403dda
mov eax, dword [0x428ad8]
cmp eax, dword [ebp - 0x18]
je 0x403dda
push eax
call esi
test eax, eax
je 0x403dda
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x428ad0]
call esi
test eax, eax
je 0x403df6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x403df8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010f0
leave
ret