joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402fe0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x2d8
push ebx
push esi
push edi
mov esi, str.ABCD
lea edi, [ebp - 0x26c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1f6
lea eax, [ebp - 0x262]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0040348e
mov eax, dword [ebp + 0x74]
add esp, 0xc
test eax, eax
jne 0x40301f
mov eax, 0x4083bc
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.004037a0
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
and dword [ebp + 0x60], 0
push eax
mov dword [ebp + 0x68], eax
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp + 0x64], eax
jmp 0x4030f2
lea eax, [ebp + 0x74]
push eax
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_GetNumberOfConsoleInputEvents]
test eax, eax
je 0x4030ea
push 0xa
pop eax
cmp dword [ebp + 0x74], eax
jb 0x40307b
mov dword [ebp + 0x74], eax
lea eax, [ebp + 0x5c]
push eax
push dword [ebp + 0x74]
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
test eax, eax
je 0x4030ea
xor ebx, ebx
cmp dword [ebp + 0x74], ebx
jbe 0x4030ea
lea edi, [ebp - 0x62]
xor ecx, ecx
cmp dword [ebp + 0x5c], ecx
jbe 0x4030e1
cmp word [edi - 0xa], 1
jne 0x4030e1
movzx eax, word [edi]
cmp dword [edi - 6], ecx
je 0x4030b8
mov dword [ebp + 0x60], eax
jmp 0x4030e1
cmp ax, word [ebp + 0x60]
jne 0x4030e1
push 0x1b
pop edx
cmp dx, ax
je 0x403100
cmp word [ebp - 0x26c], cx
je 0x40310d
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
jne 0x40310d
inc ebx
add edi, 0x14
cmp ebx, dword [ebp + 0x74]
jb 0x40309d
push 0x1e
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, dword [ebp + 0x64]
cmp eax, dword [ebp + 0x7c]
jb 0x40305f
mov al, byte [ebp + 0x78]
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
imul ebx, ebx, 0x14
mov al, byte [ebp + ebx - 0x62]
jmp 0x403103
Function at 0x40335e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe08
test byte [0x40ba50], 1
jne 0x403384
or dword [0x40ba50], 1
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [0x40ba4c], eax
test byte [0x40ba50], 2
jne 0x4033ae
push dword [0x40ba4c]
or dword [0x40ba50], 2
call dword [sym.imp.KERNEL32.dll_GetFileType]
xor ecx, ecx
cmp eax, 2
setne cl
mov dword [0x40ba48], ecx
xor eax, eax
push esi
mov word [ebp - 0xa], ax
mov word [ebp - 8], ax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
xor esi, esi
xor ecx, ecx
mov word [ebp + eax*2 - 0x808], cx
push esi
cmp dword [0x40ba48], esi
je 0x40342b
push esi
push 0x600
lea ecx, [ebp - 0xe08]
push ecx
push eax
lea eax, [ebp - 0x808]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, esi
je 0x403445
push esi
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0xe08]
push eax
push dword [0x40ba4c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403445
mov eax, dword [ebp - 4]
jmp 0x403448
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0x808]
push eax
push dword [0x40ba4c]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x403422
or eax, 0xffffffff
pop esi
leave
ret
Function at 0x403545
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
and dword [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov edi, 0x40ba58
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [ebp + 8], 0
mov dword [ebp - 4], eax
test eax, eax
jle 0x40365f
inc dword [esi]
mov ecx, dword [esi]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + ecx*4 - 4], edi
xor edi, edi
inc edi
cmp word [0x40ba58], 0x22
jne 0x403596
mov dword [ebp + 8], edi
cmp eax, edi
mov ecx, edi
jle 0x4035f7
cmp dword [ebp + 8], 0
je 0x4035b3
cmp word [ecx*2 + 0x40ba58], 0x22
jne 0x4035f1
and dword [ebp + 8], 0
jmp 0x4035f1
lea edx, [ecx*2 + 0x40ba58]
cmp word [edx], 0x20
jne 0x4035e3
xor eax, eax
mov word [edx], ax
inc dword [esi]
mov edx, dword [esi]
jmp 0x4035cc
inc ecx
cmp word [ecx*2 + 0x40ba5a], 0x20
je 0x4035cb
lea eax, [ecx*2 + 0x40ba5a]
mov dword [ebx + edx*4 - 4], eax
inc ecx
cmp word [ecx*2 + 0x40ba58], 0x22
jne 0x4035f1
mov dword [ebp + 8], edi
inc ecx
cmp ecx, dword [ebp - 4]
jl 0x40359c
and dword [ebp + 0xc], 0
cmp dword [esi], 0
jle 0x40365e
mov edi, ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ebx, ebx
mov dword [ebp + 8], eax
test eax, eax
jbe 0x403651
mov eax, dword [edi]
lea eax, [eax + ebx*2]
cmp word [eax], 0x22
jne 0x40364b
cmp word [eax - 2], 0x5c
je 0x40364b
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
sub ecx, ebx
add ecx, ecx
lea eax, [eax + ebx*2]
push ecx
lea ecx, [eax + 2]
push ecx
push eax
call fcn.008a0000
mov eax, dword [edi]
mov edx, dword [ebp + 8]
add esp, 0xc
xor ecx, ecx
mov word [eax + edx*2 - 4], cx
inc ebx
cmp ebx, dword [ebp + 8]
jb 0x403613
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
add edi, 4
cmp eax, dword [esi]
jl 0x403602
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x4040f3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push 0x207
lea eax, [ebp - 0x20f]
push 0
push eax
mov byte [ebp - 0x210], 0
call fcn.0040348e
and dword [ebp - 8], 0
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x208
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40416e
cmp dword [ebp - 8], 3
jne 0x40416e
cmp dword [ebp - 4], 8
jb 0x40416e
push dword [ebp - 4]
mov ecx, dword [0x40ba00]
lea eax, [ebp - 0x210]
push eax
call fcn.00403a22
neg eax
sbb eax, eax
neg eax
jmp 0x404170
xor eax, eax
leave
ret 0xc
Function at 0x4049db
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x48c
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
xor esi, esi
mov eax, 0x4091f0
push edi
mov dword [ebp + 0x6c], esi
mov dword [ebp + 0x70], esi
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], 0x409200
mov dword [ebp + 0x4c], 0x409230
mov dword [ebp + 0x50], 0x409210
mov dword [ebp + 0x54], 0x409220
mov dword [ebp + 0x58], esi
mov dword [ebp + 0x68], esi
mov edi, eax
xor eax, eax
push 0x52
mov word [ebp - 0x10], ax
lea eax, [ebp - 0xe]
push esi
push eax
call fcn.0040348e
add esp, 0xc
push 0x2a
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.00405b6d
cmp word [ebp - 0x10], si
je 0x404ba0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x418]
push str.SYSTEMCurrentControlSetControlDeviceClasses_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp + 0x70]
push eax
mov eax, dword [ebp + 0x7c]
neg eax
sbb eax, eax
and eax, 0xfff2ffda
add eax, 0xf003f
push eax
push esi
lea eax, [ebp - 0x418]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404b8e
cmp dword [ebp + 0x70], esi
je 0x404b8e
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x5c]
push eax
push esi
push esi
push esi
push dword [ebp + 0x70]
mov dword [ebp + 0x5c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x404b85
mov eax, dword [ebp + 0x5c]
push esi
push esi
push esi
push esi
lea ecx, [ebp + 0x64]
push ecx
lea ecx, [ebp - 0x210]
push ecx
mov dword [ebp + 0x60], eax
mov edi, 0x200
push eax
jmp 0x404b75
lea eax, [ebp - 0x210]
push eax
call fcn.004040a2
test eax, eax
jne 0x404b60
mov eax, 0x407f88
cmp dword [ebp + 0x7c], esi
jne 0x404b02
mov eax, 0x407f84
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x418]
push ecx
push eax
push str.Regkey__sdelete_HKLM_s_s_n
call fcn.0040335e
add esp, 0x10
cmp dword [ebp + 0x7c], esi
je 0x404b28
inc dword [ebp + 0x6c]
jmp 0x404b60
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
push 0x80000002
call fcn.00404e14
cmp eax, esi
jne 0x404b53
push str._OK_n
call fcn.0040335e
inc dword [ebp + 0x6c]
jmp 0x404b5f
push eax
push str._failed__err_u__n
call fcn.0040335e
pop ecx
pop ecx
dec dword [ebp + 0x60]
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x70]
mov dword [ebp + 0x64], edi
call ebx
test eax, eax
je 0x404ae3
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp + 0x68]
mov eax, dword [ebp + 0x68]
mov edi, dword [ebp + eax*4 + 0x44]
cmp edi, esi
jne 0x404a23
mov eax, dword [ebp + 0x6c]
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
Function at 0x404e14
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
push esi
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x408]
push dword [ebp + 0xc]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x10
lea eax, [ebp - 8]
push eax
mov ebx, 0xf003f
push ebx
xor edi, edi
push edi
lea eax, [ebp - 0x408]
push eax
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x404ed3
jmp 0x404e79
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x408]
push eax
push dword [ebp + 8]
call fcn.00404e14
push edi
push edi
push edi
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x808]
push eax
push edi
push dword [ebp - 8]
mov dword [ebp - 4], 0x200
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x404e63
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x404eca
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x404edd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
mov dword [ebp - 8], edi
call esi
mov ebx, eax
cmp ebx, 5
jne 0x404f2f
push dword [ebp + 0xc]
push 0x80000002
call fcn.00404d01
mov dword [ebp - 8], eax
cmp eax, edi
je 0x404f8e
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, edi
jne 0x404f79
cmp dword [ebp - 4], edi
je 0x404f79
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 0x10]
mov dword [ebp + 8], edi
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp ebx, edi
jne 0x404f70
cmp dword [ebp + 8], 1
jne 0x404f70
push esi
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov dword [esi], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], edi
je 0x404f8e
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0x80000002
call fcn.00404bf1
xor eax, eax
cmp ebx, edi
pop edi
pop esi
sete al
pop ebx
leave
ret 0x10
Function at 0x4050d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.0040348e
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, dword [ebp + 8]
push 0x30
push 0
push esi
call fcn.0040348e
mov edx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x114]
mov dword [esi + 0xc], edx
movzx edx, word [ebp - 8]
mov dword [esi + 0x10], edx
mov edx, eax
shl edx, 8
add edx, ecx
mov dword [esi + 8], ecx
xor ecx, ecx
add esp, 0xc
cmp dword [ebp - 0x10c], 2
mov dword [esi + 4], eax
sete cl
cmp eax, 5
mov dword [esi + 0x14], edx
mov dword [esi], ecx
jl 0x4051a9
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x40518d
push ebx
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x40518c
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
mov eax, dword [ebp + 8]
mov dword [esi + 0x1c], eax
pop ebx
cmp dword [esi + 0x1c], 0
je 0x40519a
push str.WoW64
jmp 0x40519f
push 0x408aec
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop esi
leave
ret 4

Function at 0x405241
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x38
xor ebx, ebx
push ebx
push esi
call fcn.0040348e
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x405312
push edi
mov dword [ebp + 0xc], ebx
call fcn.00403323
pop ecx
push eax
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x405312
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0xc]
push eax
push 0x408464
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x405312
cmp dword [ebp - 8], ebx
je 0x405312
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 0xa]
mov byte [esi], cl
mov cl, byte [eax + 8]
mov byte [esi + 1], cl
mov cl, byte [eax + 0xe]
movzx edx, byte [esi + 1]
mov byte [esi + 2], cl
movzx ecx, byte [esi]
mov al, byte [eax + 0xc]
movzx edi, byte [esi + 2]
mov ebx, ecx
shl ebx, 8
add ebx, edx
mov byte [esi + 3], al
shl ebx, 8
movzx eax, al
add ebx, edi
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 3]
push eax
push edi
push edx
push ecx
mov dword [esi + 4], ebx
push str._i._i._i._i
add esi, 8
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
push dword [ebp - 4]
call fcn.0040334b
xor eax, eax
add esp, 0x1c
inc eax
jmp 0x405314
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4054de
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
xor esi, esi
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], bl
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], 5
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp dword [ebp - 4], ebx
je 0x405543
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x40553a
mov esi, dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x405549
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
push ebx
push dword [ebp + 8]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
call ebx
push 0
push 2
mov dword [ebp - 8], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x405579
xor eax, eax
pop ebx
leave
ret 4
push esi
push edi
lea ecx, [ebp - 0x238]
push ecx
push eax
mov dword [ebp - 0x238], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x405630
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, 0x104
push dword [ebp - 8]
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
jne 0x405619
push 0x208
push eax
mov word [ebp - 0x444], ax
lea eax, [ebp - 0x442]
push eax
call fcn.0040348e
add esp, 0xc
push dword [ebp - 0x230]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x40560e
push edi
lea ecx, [ebp - 0x444]
push ecx
push 0
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jbe 0x405603
cmp eax, edi
jb 0x405634
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405619
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x405678
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4055a5
xor esi, esi
jmp 0x405666
push 0x5c
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
lea eax, [ebp - 0x444]
push eax
je 0x40564f
push dword [ebp + 8]
jmp 0x405655
call ebx
push dword [ebp - 8]
push eax
call esi
push dword [ebp - 0xc]
mov esi, dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
jmp 0x405574
mov esi, dword [ebp - 0x230]
jmp 0x405666
Function at 0x431005
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x334a5bce
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x368949ce
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x32011ee0
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x73d05a18
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10010d00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x10067bf0]
xor eax, ebp
mov dword [ebp - 0x24], eax
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10010db9
mov byte [ebp - 0x228], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x227]
push ecx
call fcn.1003e4a0
add esp, 0xc
lea edx, [ebp - 0x228]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1003b430
add esp, 8
push 0x2e
lea ecx, [ebp - 0x228]
push ecx
call fcn.10003a50
add esp, 8
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x10010db2
mov edx, dword [ebp - 0x22c]
mov byte [edx], 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.1003e400
add esp, 4
cmp dword [ebp + 0x14], eax
jae 0x10010da8
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.10008420
add esp, 8
mov eax, 1
jmp 0x10010ee2
xor eax, eax
jmp 0x10010ee2
mov eax, dword [ebp - 0xc]
push eax
call fcn.100400ac
add esp, 4
mov dword [ebp - 0x434], eax
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.100083a0
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10010e21
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x438], ecx
mov edx, dword [ebp - 0x438]
push edx
call fcn.10040242
add esp, 4
xor eax, eax
jmp 0x10010ee2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0x100595f0
mov edx, dword [ebp - 0x1c]
push edx
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 4], eax
cmp dword [ebp - 0x18], 0
je 0x10010e9e
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + 2]
push edx
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax]
push ecx
push str.StringFileInfo_04x_04x_s
lea edx, [ebp - 0x430]
push edx
call fcn.1003e8fe
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], 0
je 0x10010ec5
mov ecx, dword [ebp + 0x14]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.10008480
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp + 0x14]
mov byte [ecx - 1], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x43c], edx
mov eax, dword [ebp - 0x43c]
push eax
call fcn.10040242
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.1003e48b
mov esp, ebp
pop ebp
ret
Function at 0x10014f00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.1003e980
mov eax, dword [0x10067bf0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x10014f24
xor eax, eax
jmp 0x1001507d
cmp dword [ebp + 0x10], 0xffffffff
jne 0x10014f31
xor eax, eax
jmp 0x1001507d
cmp dword [ebp + 8], 0
jne 0x10014f3e
xor eax, eax
jmp 0x1001507d
cmp dword [ebp + 0xc], 0
jne 0x10014f4b
xor eax, eax
jmp 0x1001507d
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x10014f5c
xor eax, eax
jmp 0x1001507d
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
test eax, eax
jne 0x10014f6d
xor eax, eax
jmp 0x1001507d
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003e400
add esp, 4
cmp eax, 0x1f6
jbe 0x10014f87
xor eax, eax
jmp 0x1001507d
cmp dword [0x10121390], 0
je 0x10014fc4
mov edx, dword [ebp + 0x14]
and edx, 0x40000000
je 0x10014fc4
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
push ecx
call sym.TC_AD.DLL_isUSB
add esp, 4
movzx edx, al
test edx, edx
jne 0x10014fbc
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x10014fc4
or eax, 0xffffffff
jmp 0x1001507d
mov dword [ebp - 4], 0
mov byte [ebp - 0x1010], 0
push 0xfff
push 0
lea edx, [ebp - 0x100f]
push edx
call fcn.1003e4a0
add esp, 0xc
push 0
lea eax, [ebp - 4]
push eax
push 0x1000
lea ecx, [ebp - 0x1010]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [0x1017fb64]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10015011
xor eax, eax
jmp 0x1001507d
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
call dword [0x1017fb60]
cmp dword [ebp - 4], 0
jg 0x1001502b
xor eax, eax
jmp 0x1001507d
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0x1000
jle 0x1001504f
mov dword [ebp - 0x1014], 0x1000
jmp 0x10015058
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1014], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x1014]
push ecx
lea edx, [ebp - 0x1010]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, 0x101496e8
call fcn.1002d340
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003e48b
mov esp, ebp
pop ebp
ret