joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42be10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x120]
push esi
push edi
push 0x11c
xor edi, edi
push edi
push eax
call fcn.0046a330
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
push eax
call esi
test eax, eax
jne 0x42be85
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
jne 0x42be85
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
test esi, 0x80000
je 0x42bea9
mov eax, dword [ebp - 0x11c]
cmp eax, 5
jb 0x42bea4
cmp dword [ebp - 0x118], 1
jae 0x42bea9
cmp eax, 6
jbe 0x42bed1
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42bed1
push str.AnimateWindow
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42bed1
push esi
push dword [ebp + 0xc]
push ebx
call eax
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046a330
add esp, 0xc
test ebx, ebx
jle 0x42c487
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046befa
add esp, 0xc
cmp word [ebp + ebx*2 - 0x20e], 0x5c
jne 0x42c3f9
lea eax, [ebx*2 - 2]
cmp eax, 0x208
jae 0x42c49a
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
cmp word [ebp - 0x20c], 0
jne 0x42c416
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42c487
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0046ccb3
mov edi, eax
add esp, 8
test edi, edi
je 0x42c461
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c370
mov esi, eax
add esp, 4
mov eax, 0x5c
mov word [edi], ax
test esi, esi
je 0x42c487
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
lea eax, [ebp - 0x20c]
push esi
push eax
push str.CreateAllDirectory__s____d
call fcn.0045f4c0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret
call fcn.0046be1e
int3
Function at 0x42c4a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ebx
push edi
mov edi, 1
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x42c4c3
push 0x103
mov byte [ebp - 0x108], al
sub esi, ecx
lea eax, [ebp - 0x107]
push 0
push eax
call fcn.0046a330
add esp, 0xc
test esi, esi
je 0x42c595
push ebx
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0046a482
add esp, 0xc
cmp byte [ebp + esi - 0x109], 0x5c
jne 0x42c524
dec esi
cmp esi, 0x104
jae 0x42c5a8
mov byte [ebp + esi - 0x108], 0
cmp byte [ebp - 0x108], 0
jne 0x42c540
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42c595
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.0046ca10
mov esi, eax
add esp, 8
test esi, esi
je 0x42c584
lea eax, [ebp - 0x108]
mov byte [esi], 0
push eax
call fcn.0042c4a0
mov edi, eax
mov byte [esi], 0x5c
add esp, 4
test edi, edi
je 0x42c595
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret
call fcn.0046be1e
int3

Function at 0x42c5b0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp + 8]
push 0
push 0
or eax, 0x8000
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x42c60c
lea eax, [ebp - 0x20c]
push eax
push str.CreateFreeDirectory____SHGetFolderPath__s__failed_
call fcn.0045f4c0
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
cmp word [esi], 0x5c
je 0x42c624
push 0x488db8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x5c
push esi
call fcn.0046cb47
add esp, 8
test eax, eax
je 0x42c66d
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0046ccb3
mov esi, eax
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c870
mov eax, 0x5c
add esp, 0xc
mov word [esi], ax
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42c68d
push str.CreateFreeDirectory____CreateDirectory_failed_
call fcn.0045f820
add esp, 4
push 3
lea eax, [ebp - 0x20c]
push 0x10000000
push eax
call fcn.0042bc10
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
call fcn.0046984a
mov esp, ebp
pop ebp
ret
Function at 0x42c770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
movdqu xmm0, xmmword [str.XY1F68TI]
mov ax, word [0x48961c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x18]
mov dword [ebp - 0x1c], edi
lea ecx, [esi + 2]
movdqu xmmword [ebp - 0x18], xmm0
mov word [ebp - 8], ax
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x42c7b0
sub esi, ecx
mov ecx, edi
sar esi, 1
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c7c4
sub ecx, edx
sar ecx, 1
push ecx
push edi
push dword [ebp + 0x10]
push ebx
call fcn.0046cbf5
mov ecx, ebx
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c7e6
sub ecx, edx
xor edi, edi
sar ecx, 1
xor edx, edx
cmp dword [ebp + 0x14], edi
je 0x42c822
test ecx, ecx
je 0x42c844
mov eax, 0x536
add ax, word [ebx + edi*2]
xor ax, word [ebp + edx*2 - 0x18]
inc edx
cmp edx, esi
mov word [ebx + edi*2], ax
sbb eax, eax
inc edi
and edx, eax
cmp edi, ecx
jb 0x42c802
jmp 0x42c844
test ecx, ecx
je 0x42c844
mov ax, word [ebp + edx*2 - 0x18]
inc edx
xor word [ebx + edi*2], ax
cmp edx, esi
sbb eax, eax
and edx, eax
mov eax, 0xfaca
add word [ebx + edi*2], ax
inc edi
cmp edi, ecx
jb 0x42c826
push 1
push ebx
push dword [ebp - 0x1c]
push str.CryptPassword__s___s____d
call fcn.0045f4c0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
jle 0x42c92c
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, eax
cmp word [esi + ebx*2 - 2], 0x5c
jne 0x42c8be
xor eax, eax
mov word [esi + ebx*2 - 2], ax
cmp word [esi], 0
jne 0x42c8d7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42c92e
push 0x5c
push esi
call fcn.0046ccb3
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x42c910
xor eax, eax
push esi
mov word [ebx], ax
call fcn.0042c870
mov edi, eax
add esp, 4
mov eax, 0x5c
mov word [ebx], ax
test edi, edi
je 0x42c92e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
xor edi, edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret
Function at 0x42caf0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x464], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046a330
add esp, 0xc
lea eax, [ebp - 0x20c]
xor edi, edi
push 0x489a70
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x460], eax
test eax, eax
je 0x42cc89
cmp eax, 0xffffffff
je 0x42cc89
jmp 0x42cb80
mov cx, word [ebp - 0x42e]
mov ax, word [ebp - 0x430]
test cx, cx
jne 0x42cb99
cmp ax, 0x2e
je 0x42cc11
cmp word [ebp - 0x42c], 0
jne 0x42cbae
cmp ax, 0x2e
jne 0x42cbae
cmp cx, ax
je 0x42cc11
lea eax, [ebp - 0x430]
push eax
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [ebp - 0x45c], 0x10
je 0x42cbe6
push dword [ebp - 0x464]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042caf0
add esp, 0xc
mov edi, eax
jmp 0x42cbfa
lea eax, [ebp - 0x430]
push esi
push eax
call fcn.0046cd59
add esp, 8
test eax, eax
je 0x42cc4b
push edi
lea eax, [ebp - 0x20c]
push eax
push esi
push ebx
push str.FindMyFile__s___s___File_s_d
call fcn.0045f4c0
add esp, 0x14
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42cb80
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
mov edi, 1
push eax
push 0x104
push dword [ebp - 0x464]
call fcn.0046befa
add esp, 0xc
push dword [ebp - 0x460]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret
Function at 0x42cd40
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
xor esi, esi
xor edi, edi
mov dword [ebp - 4], ebx
test eax, eax
je 0x42ce45
push 1
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x42cd83
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x42cd7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42cd6b
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42ce03
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
test eax, eax
je 0x42ce03
mov edi, eax
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x42cdb8
sub edi, ecx
je 0x42cdf6
lea eax, [edi + 1]
push eax
call fcn.0046a57b
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x42cdf1
push dword [ebp - 8]
lea ecx, [edi + 1]
push ecx
push eax
call fcn.0046a482
add esp, 0xc
mov dword [ebp - 4], 1
jmp 0x42cdf6
mov esi, 8
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x42ce07
call ebx
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x42ce15
call ebx
mov esi, eax
mov ebx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42ce21
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x42ce2a
mov dword [eax], esi
test esi, esi
je 0x42ce3c
push esi
push str.GetClipboardText___returns_with_the_error_code__d
call fcn.0045f4c0
add esp, 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x57
jmp 0x42ce18
Function at 0x42e050
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.0046a330
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp + 8], 0
je 0x42e0b8
cmp dword [ebp - 0x11c], 6
jne 0x42e0a8
cmp dword [ebp - 0x118], 1
je 0x42e0ce
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x11c]
cmp eax, 6
ja 0x42e0ce
jne 0x42e0a8
cmp dword [ebp - 0x118], 0
jbe 0x42e0a8
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret

Function at 0x42e0f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
call fcn.0046a330
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp + 8], 0
je 0x42e16b
cmp dword [ebp - 0x11c], 6
jne 0x42e15b
cmp dword [ebp - 0x118], 0
jne 0x42e15b
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0046984a
mov esp, ebp
pop ebp
ret

Function at 0x42e190
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
mov word [ebp - 8], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x42e1e9
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x42e1f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42e206
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 0x10], 0
test esi, esi
jne 0x42e22c
push dword [ebp - 0x14]
push str.IsRunAsAdmin_____d
call fcn.0045f820
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop esi
call fcn.0046984a
mov esp, ebp
pop ebp
ret
push 0x4a2acc
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
call fcn.00469859
int3
Function at 0x42e2b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push edi
mov dword [ebp - 0xc], 0x74725c7b
mov word [ebp - 8], 0x3166
mov byte [ebp - 6], 0x5c
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42e316
push edi
push str.IsaRTFFile__s___INVALID_HANDLE_VALUE
call fcn.0045f4c0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x42e37c
push 0
lea eax, [ebp - 0x18]
push eax
push 7
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42e37c
cmp dword [ebp - 0x18], 7
jne 0x42e37c
xor ecx, ecx
jmp 0x42e350
mov al, byte [ebp + ecx - 0xc]
cmp al, byte [ebp + ecx - 0x14]
jne 0x42e37c
inc ecx
cmp ecx, 7
jb 0x42e350
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0046984a
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
mov ebx, dword [ebp + 0xc]
sub eax, edi
cmp eax, ebx
ja 0x42e8bb
mov edi, edi
push 1
push 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x42e8b3
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jbe 0x42e880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ef10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, 1
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x10]
push pe_nt_image_headers32
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0046a330
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
cmp eax, 5
ja 0x42efc3
jne 0x42ef86
cmp dword [ebp - 0x118], 2
jae 0x42efc3
push dword [ebp + 0x18]
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x128], eax
cmp eax, 0xffffffff
jne 0x42efe8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42efe2
or eax, 0xffffffff
mov dword [ebp - 0x124], 0
xor esi, esi
jmp 0x42efe8
push dword [ebp + 0x18]
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x124]
push dword [ebp - 0x128]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov esi, eax
mov eax, dword [ebp - 0x128]
test edi, edi
je 0x42eff7
mov ecx, dword [ebp - 0x124]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046984a
mov esp, ebp
pop ebp
ret

Function at 0x42f180
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f1f6
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp byte [ebp + 0xc], 0
je 0x42f1ca
test eax, eax
jne 0x42f1f6
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call fcn.0042cca0
add esp, 4
pop esi
pop ebp
ret
test eax, eax
je 0x42f1f6
mov eax, dword [ebp + 0x10]
mov ecx, 0x1f4
test eax, eax
push 0x50004
cmovne ecx, eax
push ecx
push esi
call fcn.0042be10
add esp, 0xc
test eax, eax
jne 0x42f1f6
push eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret
Function at 0x430d30
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push edi
mov dword [ebp - 0x64], 0x20434150
mov dword [ebp - 0x60], 0x20a9202d
mov dword [ebp - 0x5c], 0x50525642
mov dword [ebp - 0x58], 0x666f5320
mov dword [ebp - 0x54], 0x72617774
mov dword [ebp - 0x50], 0x39312065
mov dword [ebp - 0x4c], 0x322d3039
mov dword [ebp - 0x48], 0x20303030
mov dword [ebp - 0x44], 0x20200a0d
mov dword [ebp - 0x40], 0x20202020
mov dword [ebp - 0x3c], 0x20202020
mov dword [ebp - 0x38], 0x20202020
mov dword [ebp - 0x34], 0x20202020
mov dword [ebp - 0x30], 0x20202020
mov dword [ebp - 0x2c], 0x20202020
mov dword [ebp - 0x28], 0x20202020
mov dword [ebp - 0x24], 0x20202020
mov dword [ebp - 0x20], 0x20202020
mov dword [ebp - 0x1c], 0x20202020
mov dword [ebp - 0x18], 0x1a0a0d00
mov dword [ebp - 0x14], 0x106a9d6
mov dword [ebp - 0x10], 0x12c
mov dword [ebp - 0xc], 0x80
mov word [ebp - 8], 0x1e0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x430e31
push edi
push str.IsaPacFile__s___INVALID_HANDLE_VALUE
call fcn.0045f4c0
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x430ea1
push 0
lea eax, [ebp - 0xc8]
push eax
push 0x5e
lea eax, [ebp - 0xc4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430ea1
cmp dword [ebp - 0xc8], 0x5e
jne 0x430ea1
xor ecx, ecx
jmp 0x430e70
mov al, byte [ebp + ecx - 0x64]
cmp al, byte [ebp + ecx - 0xc4]
jne 0x430ea1
inc ecx
cmp ecx, 0x5e
jb 0x430e70
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046984a
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0046984a
mov esp, ebp
pop ebp
ret 4