joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423fac
Capabilities:
Enumerate files on windows

Disassembly:
push 4
mov eax, 0x447ee8
call fcn.0042bd97
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], ecx
mov word [ebx], ax
mov eax, dword [esi + 0x54]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], 1
cmp eax, 0xffffffff
jne 0x424056
push eax
push ecx
lea edi, [esi + 0x38]
push esi
mov ecx, edi
call fcn.00409cf0
push edi
call fcn.0040cc30
pop ecx
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x1c]
push eax
mov ecx, edi
call fcn.00405780
cmp dword [edi + 0x14], 8
jb 0x424010
mov eax, dword [edi]
jmp 0x424012
mov eax, edi
lea edi, [esi + 0x58]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esi + 0x54], eax
cmp eax, 0xffffffff
je 0x42408e
push 0x2e
pop ecx
cmp cx, word [esi + 0x84]
jne 0x424065
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push eax
call edi
test eax, eax
je 0x42408e
push 0x2e
pop eax
cmp ax, word [esi + 0x84]
jne 0x42408e
lea eax, [esi + 0x58]
push eax
push dword [esi + 0x54]
call edi
jmp 0x424061
lea ecx, [esi + 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x42408e
push 0xffffffffffffffff
push 0
push esi
mov ecx, ebx
call fcn.00409cf0
push ebx
call fcn.0040cc30
add esi, 0x84
push esi
call fcn.0042c211
pop ecx
pop ecx
push eax
push esi
mov ecx, ebx
call fcn.0040d350
mov eax, ebx
call fcn.0042be6f
ret 4
Function at 0x4252d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x45d320]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov word [ebp - 0x20c], ax
test esi, esi
je 0x425336
cmp word [esi], ax
je 0x425336
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00419623
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042c22c
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.00408d60
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0042bd88
leave
ret
Function at 0x42540b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x250
mov eax, 0x447dac
call fcn.0042be00
mov esi, ecx
push 7
xor eax, eax
pop ebx
xor ecx, ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], eax
mov dword [ebp - 0x25c], esi
mov word [esi], cx
lea edi, [esi + 0x1c]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], eax
mov dword [ebp - 4], eax
mov word [edi], cx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], eax
mov word [esi + 0x38], cx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], eax
mov word [esi + 0x54], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x70], 0xe
push dword [esi + 0x70]
lea eax, [ebp - 0x218]
push str.SOFTWAREMicrosoftOffice_ld.0ExcelInstallRoot
push eax
call fcn.0042d27b
add esp, 0xc
push 1
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x258]
call fcn.00408c70
cmp dword [ebp - 0x258], 0
je 0x42555f
and dword [ebp - 0x224], 0
xor eax, eax
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x234], ax
push edi
push str.Path
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 5
call fcn.00408b00
test eax, eax
je 0x425550
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x425550
cmp dword [edi + 0x14], 8
jb 0x4254e1
mov eax, dword [edi]
jmp 0x4254e3
mov eax, edi
cmp word [eax + ecx*2 - 2], 0x5c
je 0x425503
push 0x453ad8
call fcn.0042c211
pop ecx
push eax
push 0x453ad8
mov ecx, edi
call fcn.0040d350
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x234]
call fcn.00409cf0
push str.excel.exe
call fcn.0042c211
pop ecx
push eax
push str.excel.exe
lea ecx, [ebp - 0x234]
call fcn.0040d350
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x425544
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x425587
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.00409e50
cmp dword [ebp - 0x258], 0
mov byte [ebp - 4], 3
je 0x425578
push dword [ebp - 0x258]
call dword [ebp - 0x24c]
dec dword [esi + 0x70]
cmp dword [esi + 0x70], 8
jg 0x425460
jmp 0x4255f3
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [ebp - 0x234]
push eax
mov ecx, esi
call fcn.00409cf0
push dword [esi + 0x70]
lea eax, [ebp - 0x218]
push str.SOFTWAREMicrosoftOffice_ld.0_
push eax
call fcn.0042d27b
lea eax, [ebp - 0x218]
push eax
call fcn.0042c211
add esp, 0x10
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x54]
call fcn.00408e30
push edi
push 1
lea ecx, [ebp - 0x234]
call fcn.00409e50
mov byte [ebp - 4], 3
cmp dword [ebp - 0x258], edi
je 0x4255f3
push dword [ebp - 0x258]
call dword [ebp - 0x24c]
or dword [esi + 0x74], 0xffffffff
mov eax, esi
call fcn.0042be83
ret
Function at 0x4255ff
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x68
mov eax, 0x447dec
call fcn.0042be00
mov edi, ecx
cmp dword [edi + 0x74], 0xffffffff
jne 0x4256f7
mov esi, str.SoftwareMicrosoftOfficeExcelAddInsLockXLSRuntime.Connect
push esi
xor ebx, ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi + 0x74], ebx
call fcn.00425377
pop ecx
pop ecx
test eax, eax
jne 0x4256f7
push esi
push SysReAllocString
call fcn.00425377
pop ecx
pop ecx
cmp eax, ebx
je 0x425650
cmp eax, 2
jne 0x4256f7
push 1
mov esi, SysReAllocString
push esi
push str.LockXLSRuntime.Connect
lea ecx, [ebp - 0x74]
call fcn.00408c70
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x74], ebx
je 0x4256e8
push 1
push esi
push str.CLSID36CFCB02_788B_41D9_A9A6_FCBCEC7FF987InprocServer32
lea ecx, [ebp - 0x50]
call fcn.00408c70
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], ebx
je 0x4256cf
lea eax, [ebp - 0x2c]
push eax
push 0x453af0
lea ecx, [ebp - 0x50]
call fcn.00408b00
test eax, eax
je 0x4256cf
cmp dword [ebp - 0x1c], ebx
je 0x4256cf
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4256bc
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4256cf
mov dword [edi + 0x74], 1
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409e50
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], ebx
je 0x4256e8
push dword [ebp - 0x50]
call dword [ebp - 0x44]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x74], ebx
je 0x4256f7
push dword [ebp - 0x74]
call dword [ebp - 0x68]
xor eax, eax
cmp dword [edi + 0x74], 1
sete al
call fcn.0042be83
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x426977
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x426a32
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f1d8]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f1d8]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f1d8]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f1d8]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f1d8]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f1d8]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f1d8]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f1d8]
add edx, 8
sub edi, 8
dec esi
jne 0x426995
pop ebx
test edi, edi
je 0x426a4b
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x44f1d8]
inc edx
dec edi
jne 0x426a36
pop edi
not eax
pop esi
pop ebp
ret
Function at 0x426a51
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x44f1d8]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x44f1d8]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x426ef9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x426f2d
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x426f28
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x426f55
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x426f3e
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0042b3b0
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x427d82
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x45d320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x427db6
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x427db6
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx ecx, word [esi]
test cx, cx
je 0x427e60
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x427dd2
cmp cx, 0x5c
jne 0x427dd4
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x427dc6
cmp eax, esi
je 0x427e14
sub eax, esi
push edi
sar eax, 1
lea edi, [eax + eax]
push edi
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0042b3b0
xor eax, eax
mov word [ebp + edi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push ebx
call fcn.00427d82
add esp, 0x14
pop edi
xor eax, eax
mov word [ebp - 0x20c], ax
test ebx, ebx
je 0x427e30
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0042c25d
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042c22c
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x427e60
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bd88
leave
ret
Function at 0x4293dd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x429488
cmp dword [esi + 4], 0xffffffff
jne 0x429488
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.0042c211
movzx eax, word [esi + eax*2 + 0x242]
pop ecx
cmp eax, 0x5c
je 0x42942f
cmp eax, 0x2f
je 0x42942f
push 0x453ad8
push edi
call fcn.0042c22c
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x429451
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x429451
mov eax, 0x2000000
jmp 0x42948d
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00426d1e
add esp, 0x10
test eax, eax
jne 0x42946f
mov eax, dword [ebp + 0x10]
jmp 0x42948d
push eax
call fcn.00428eb2
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x42948d
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x429a3e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push dword [ebp + 8]
mov ebx, ecx
call fcn.004299d4
test eax, eax
je 0x429ae6
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x429ade
push esi
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [ebx + 0x1c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x429add
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x429add
mov eax, dword [ebp + 0x18]
cmp esi, eax
jbe 0x429add
mov edi, dword [ebp + 0x1c]
test edi, edi
jne 0x429aa8
mov edi, esi
lea ecx, [eax + edi]
cmp ecx, esi
jbe 0x429ab3
sub esi, eax
mov edi, esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, esi
call fcn.0040d950
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x429ad6
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0x18]
push edi
push ecx
push eax
call fcn.0042b3b0
add esp, 0xc
mov dword [ebp - 4], 1
pop esi
mov ecx, ebx
call fcn.00429992
pop edi
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0x18
Function at 0x42a165
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x44fa10]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x44fa10]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x42a231
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x42a2a6
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x42a25d
cmp dword [esi + 0x40], edi
jae 0x42a25d
push eax
call fcn.0042c58d
pop ecx
mov dword [esi + 0x3c], ebx
cmp dword [esi + 0x3c], ebx
jne 0x42a272
lea eax, [edi + edi]
push eax
call fcn.0042b2f1
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x3c]
call fcn.0042b3b0
add esp, 0xc
test edi, edi
je 0x42a2a3
mov eax, dword [esi + 0x3c]
movzx eax, byte [ebx + eax]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.0042a1d2
pop ecx
pop ecx
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jb 0x42a285
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x42a2d5
mov eax, dword [esi + 0x24]
lea ebx, [eax + edi]
cmp ebx, dword [esi + 0x28]
jb 0x42a2c1
mov dword [esi + 0x14], 0x30000
jmp 0x42a2f7
push edi
push edx
add eax, ecx
push eax
call fcn.0042b3b0
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
jmp 0x42a2f9
mov eax, dword [esi + 4]
test eax, eax
je 0x42a2f0
push 0
lea ecx, [ebp + 8]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
jmp 0x42a2f9
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42a494
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x45d320]
xor eax, ebp
mov dword [ebp - 4], eax
inc dword [0x45fad0]
push esi
push dword [0x45fad0]
mov esi, dword [ebp + 8]
push ecx
lea eax, [ebp - 0x204]
push str._ld_ld
push eax
call fcn.0042d27b
add esp, 0x10
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x204]
push eax
push esi
call fcn.0042c22c
push 0x44fe14
push esi
call fcn.0042c22c
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.0042bd88
leave
ret 4
Function at 0x42a550
Capabilities:
Check if file exists
Delete file
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x45d320]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 0x214], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x21c], eax
test ebx, ebx
je 0x42a65a
cmp dword [ebp + 0xc], 0
je 0x42a65a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc eax
neg eax
sbb eax, eax
inc eax
jne 0x42a5b4
push esi
call edi
test eax, eax
je 0x42a659
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x20c]
push eax
call fcn.0042a494
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
neg eax
sbb eax, eax
inc eax
jne 0x42a5e8
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x42a63e
lea eax, [ebp - 0x20c]
push 0x454e20
push eax
call fcn.0042cd1d
pop ecx
pop ecx
mov dword [ebp - 0x210], eax
test eax, eax
je 0x42a63e
push eax
push dword [ebp + 0xc]
push 1
push ebx
call fcn.0042cbe5
push dword [ebp - 0x210]
call fcn.0042ca1a
mov ecx, dword [ebp - 0x218]
add esp, 0x14
push dword [ebp - 0x21c]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042a502
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a659
lea eax, [ebp - 0x20c]
push eax
call edi
pop edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bd88
leave
ret 0x10

Function at 0x42bd88
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45d320]
jne 0x42bd92
repz ret
jmp fcn.0043384c
Function at 0x441cdd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45d320]
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.004332f2
and dword [ebp - 0x14], 0
cmp dword [0x460a60], 0
mov dword [ebp - 0x18], eax
jne 0x441d90
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x441e38
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x452cdc
push ebx
call edi
test eax, eax
je 0x441e38
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x460a60], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x460a64], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x460a68], eax
call edi
push eax
call esi
mov dword [0x460a70], eax
test eax, eax
je 0x441d90
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x460a6c], eax
mov eax, dword [0x460a6c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x441de9
cmp dword [0x460a70], ecx
je 0x441de9
push eax
call esi
push dword [0x460a70]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x441de9
test ebx, ebx
je 0x441de9
call edi
test eax, eax
je 0x441de0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x441de0
test byte [ebp - 8], 1
jne 0x441de9
or dword [ebp + 0x10], 0x200000
jmp 0x441e1c
mov eax, dword [0x460a64]
cmp eax, dword [ebp - 0x18]
je 0x441e1c
push eax
call esi
test eax, eax
je 0x441e1c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x441e1c
mov eax, dword [0x460a68]
cmp eax, dword [ebp - 0x18]
je 0x441e1c
push eax
call esi
test eax, eax
je 0x441e1c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x460a60]
call esi
test eax, eax
je 0x441e38
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x441e3a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bd88
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6c103d6d
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x688f2df3
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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 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 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 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