joyce8/EMBER2024-capa huggingface dataset:
Function at 0x75c819de
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
push ebp
push 0x1000
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov esi, eax
test esi, esi
jne 0x75c81a05
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x75c81b27
push dword [esp + 0x24]
push 0x1000
push esi
push str.DefaultValue
push dword [esp + 0x28]
push str.text
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x75c85188
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x75c81a53
push 0x3f2
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x75c81a4c
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
xor eax, eax
jmp 0x75c81b27
mov ebx, dword [esp + 0x14]
push esi
lea edi, [ebx + 0xc]
mov ebp, dword [edi]
test ebp, ebp
jne 0x75c81aa0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 0x12]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x75c81a9b
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x75c81a94
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
xor eax, eax
jmp 0x75c81b27
mov dword [ebx + 8], eax
jmp 0x75c81ade
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 0x12]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebp], eax
mov eax, dword [edi]
mov eax, dword [eax]
test eax, eax
jne 0x75c81adc
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x75c81ad8
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
xor eax, eax
jmp 0x75c81b27
mov dword [edi], eax
mov eax, dword [edi]
mov edx, dword [esp + 0x1c]
mov dword [eax], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [edi]
push esi
mov dword [ecx + 4], eax
mov ecx, dword [edi]
mov dword [ecx + 8], edx
mov eax, dword [edi]
lea ecx, [eax + 0x10]
mov dword [eax + 0xc], ecx
mov eax, dword [edi]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test esi, esi
je 0x75c81b1a
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
ret 0x14
Function at 0x75c81b2e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x1000
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov esi, eax
test esi, esi
jne 0x75c81b5a
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x75c81c6a
push 0x104
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov edi, eax
test edi, edi
jne 0x75c81b8b
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x75c81b84
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
xor eax, eax
jmp 0x75c81c6a
push dword [ebp + 8]
push 0x1000
push esi
mov ebx, str.DefaultKeyValue
push ebx
push 0
push str.text
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x75c81be1
push 0x527
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x75c81bcc
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
test edi, edi
je 0x75c81bda
push edi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
xor eax, eax
jmp 0x75c81c6a
cmp word [esi], 0
mov ebx, esi
je 0x75c81c49
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 4]
lea ecx, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
push ecx
push edx
push dword [ebp + 0x14]
push edi
call fcn.75c818a9
test eax, eax
je 0x75c81c38
push dword [ebp - 0xc]
push dword [ebp + 0x18]
call fcn.75c819b4
test eax, eax
je 0x75c81c38
cmp dword [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
je 0x75c81c25
mov ecx, dword [ebp + 0x10]
push dword [ebp + 8]
mov edx, dword [ebp - 8]
add edx, ecx
push edx
push dword [ebp - 4]
push ebx
push eax
call fcn.75c819de
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [ebx + eax*2 + 2]
cmp word [ebx], 0
jne 0x75c81be9
test esi, esi
je 0x75c81c57
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
test edi, edi
je 0x75c81c65
push edi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x75c82758
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x75c828d4
cmp dword [ebp + 0x10], ebx
je 0x75c828d4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov esi, 0x208
mov dword [eax], ebx
push esi
mov dword [ecx], ebx
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov edi, eax
mov eax, dword [ebp + 0x14]
push 0x104
push edi
push 0xffffffffffffffff
push dword [eax]
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp word [edi], bx
je 0x75c828bc
push esi
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov esi, eax
test esi, esi
jne 0x75c827de
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x75c828df
push edi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
jmp 0x75c828df
mov eax, dword [str.SYSTEMCurrentControlSetServices]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [0x75c8508c]
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
call ebx
push edi
push esi
call ebx
mov eax, dword [0x75c8508c]
push eax
push esi
call ebx
push dword [0x75c8509c]
push esi
call ebx
push dword [ebp + 0x10]
push 0x2001f
xor ebx, ebx
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x75c8289b
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
lea edx, [ebp - 4]
push eax
mov dword [ebp - 4], ebx
push ecx
mov eax, dword [str.First_Counter]
push edx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], 4
push ebx
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x75c82880
mov eax, dword [ebp + 0xc]
push ebx
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x75c82879
push edi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov eax, 1
jmp 0x75c828e1
push 0x3f2
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x75c828df
push edi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
jmp 0x75c828df
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
test edi, edi
je 0x75c828df
push edi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
jmp 0x75c828df
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x75c828df
push edi
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
jmp 0x75c828df
push 0xa0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x75c828ea
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll__msize]
add esp, 4
push eax
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll__msize]
add esp, 4
push eax
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x75c82a5d
test eax, eax
je 0x75c82a5d
mov ecx, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], ecx
jb 0x75c82952
xor eax, eax
cmp ecx, dword [ebp + 0x14]
ja 0x75c82952
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, dword [ebp + 0x1c]
jbe 0x75c82941
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
xor edi, edi
mov edx, dword [ebp + 0xc]
lea eax, [edx + edi*4]
mov dword [ebp - 0xc], eax
cmp dword [eax], 0
je 0x75c829e0
test edi, 1
push edi
push 0x75c851ec
je 0x75c829ac
push ebx
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
lea ebx, [ebx + eax*2 + 2]
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x75c85210
push ebx
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
lea ebx, [ebx + eax*2 + 2]
cmp edi, dword [0x75c86c30]
jbe 0x75c829e0
mov dword [0x75c86c30], edi
jmp 0x75c829e0
push esi
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
lea esi, [esi + eax*2 + 2]
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x75c85210
push esi
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0xc
lea esi, [esi + eax*2 + 2]
cmp edi, dword [0x75c86c38]
jbe 0x75c829e0
mov dword [0x75c86c38], edi
inc edi
cmp edi, dword [ebp + 0x14]
jbe 0x75c8295a
xor edi, edi
mov word [esi], di
add esi, 2
mov word [ebx], di
sub esi, dword [ebp - 8]
add ebx, 2
push esi
push dword [ebp - 8]
push 7
push edi
push dword [0x75c8506c]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
jne 0x75c82a32
sub ebx, dword [ebp - 4]
push ebx
push dword [ebp - 4]
push 7
push edi
push dword [0x75c85070]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push dword [ebp - 8]
mov edi, dword [sym.imp.msvcrt.dll_free]
call edi
add esp, 4
push dword [ebp - 4]
call edi
add esp, 4
push dword [ebp + 0xc]
call edi
add esp, 4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x75c82a62
mov eax, 0xe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x75c8305c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov eax, dword [esp + 0xc]
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov esi, dword [eax]
mov edi, dword [eax + 4]
push 0
push pe_nt_image_headers32
push 4
push 0
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov ebx, eax
jne 0x75c830ac
push esi
push str._Cannot_Open_File:___s_
mov esi, 0x75c86458
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
xor eax, eax
jmp 0x75c830f4
push 2
xor esi, esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push str.__d_
mov esi, 0x75c86458
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x75c830fd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, eax
mov ebx, eax
xor eax, eax
and esi, 0xff
mov dword [ebp - 0x14], 4
mov al, bh
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x75c8316a
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
push ecx
push edx
push 0
push str.CSDVersion
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x75c8316a
cmp dword [ebp - 0x10], 4
jne 0x75c8316a
push dword [ebp - 0xc]
jmp 0x75c8316c
push 0
shr ebx, 0x10
push ebx
push dword [ebp - 8]
push esi
push str.__d____d____d____d_
push 0x75c86458
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
cmp dword [ebp - 4], 0
je 0x75c83196
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x10]
pop esi
pop ebx
mov dword [eax], 0x75c86458
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401123
Capabilities:
Encode data using xor

Disassembly:
push 0xb782fa2d
xchg dword [esp], ebx
pushal
call 0x401131
pop edi
mov esi, edi
add edi, 0x1ecf
add esi, 0x1fb6
mov ecx, dword [esi]
mov dl, cl
add esi, 4
shr ecx, 8
je 0x401157
mov al, byte [edi]
xor al, bl
sub bh, al
stosb byte es:[edi], al
rcl ebx, cl
loop 0x40114c
cmp dl, 4
je 0x401163
add dword [edi], ebx
add edi, 4
jmp 0x401140
popal
pop ebx
push dword [0x4030db]
xchg dword [esp], ebx
pushal
call 0x401174
pop edi
mov esi, edi
add edi, 0x34
add esi, 0x1f6f
mov ecx, dword [esi]
mov dl, cl
add esi, 4
shr ecx, 8
je 0x40119a
mov al, byte [edi]
xor al, bl
sub bh, al
stosb byte es:[edi], al
rcl ebx, cl
loop 0x40118f
cmp dl, 4
je 0x4011a6
add dword [edi], ebx
add edi, 4
jmp 0x401183
popal
pop ebx
mov bh, 0x87
inc eax
fist word [eax - 0x4f]
arpl word [ebp + 0x47], dx
sbb dword [edx + 0xc], edi
or eax, 0x4edd0f3e
mov eax, dword [ecx + 0x3a]
xlatb
sbb byte [ecx - 0x1a], dh
out 0xd1, al
aas
mov ah, byte [edx + ebx + 0x611c76af]
int3
Function at 0x402750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402765
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4027a4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4027a0
lea ebx, [ebx]
cmp esi, edx
jae 0x4027a4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x402790
cmp esi, edx
jb 0x4027a9
xor eax, eax
pop esi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret

Function at 0x406640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0043ddcc

Function at 0x408000
Capabilities:
Enumerate pe sections

Disassembly:
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x408033
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40801a
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x40802b
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x408035
inc edi
add eax, 0x28
invalid

Function at 0x4081b0
Capabilities:
Enumerate pe sections

Disassembly:
std
add eax, 0x788b0000
cmp al, 3
clc
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.00407fb8
salc
xchg byte [esi + 0x647b70f], bl
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
invalid
dec dword [ecx - 0x311707bb]
std
invalid
inc dword [eax + 0x42]
test eax, 0x478b6687
push es
Function at 0x4083e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
call 0x5128e0ae
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00407fc8
push eax
push esi
push dword [ebp + 8]
call fcn.00407f7d
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00407fc8
push eax
push esi
push dword [ebp + 8]
call fcn.00407f7d
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
salc
aam 0x88
pop ebp
xlatb
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00407fc8
push eax
push esi
push dword [ebp + 8]
call fcn.00407f7d
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00407fb8
or ebx, dword [edi - 0x62771d83]
jl 0x40843d
invalid
invalid

Function at 0x4086d0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40868f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4086ad
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x40870b
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4086f2
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4086fb
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x408705
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4086e7
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x408671
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x4093e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x40940e
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x4093b8
call fcn.00407fb8
in eax, 0xb8
push ss
inc ecx
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.00407fb8
loope 0x40943b
test ecx, ebx
clc
invalid
cmc
xor al, 0x8d
test esp, edx
clc
invalid

Function at 0x40a000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x40a007
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x40a04e
lea eax, [ebp - 0x714]
push eax
call fcn.00407fc8
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.00407f7d
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x40a059
jmp 0x40a05e
jmp 0x40995a

Function at 0x40ea86
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x40eacb
call fcn.0041a0c0
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40eacb
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40eae7
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043edb0
mov ebx, eax
test edi, edi
je 0x40eae5
test esi, esi
je 0x40eae5
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43de28
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041a0c0
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43de5f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0043de80
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x47de1f
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x5951f6
call fcn.00538c84
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004039f0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x5a6744
call fcn.0042f49c
cmp eax, 0xffffffff
jne 0x47ded3
push 0
push 0x5b3154
lea ecx, [ebp - 0x4d0]
call fcn.0042f49c
cmp eax, 0xffffffff
jne 0x47ded3
push 0
push 0x5b0bd4
lea ecx, [ebp - 0x4d0]
call fcn.0042f49c
cmp eax, 0xffffffff
jne 0x47ded3
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004039f0
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x47deaf
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00401ec0
jmp 0x47df02
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.004038f0
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401ec0
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x47def9
mov ebx, dword [ebp - 0x4cc]
jmp 0x47df02
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00401ec0
mov eax, ebx
call fcn.00538c33
ret

Function at 0x4c7743
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0040ca08
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4c777f
call fcn.004c7962
mov dword [esi + 0xc], 1
jmp 0x4c7784
call fcn.004c7962
cmp dword [esi], 0
je 0x4c77cd
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4c77a7
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00402100
jmp 0x4c77b8
push 0xff
mov ecx, esi
call fcn.004020c0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00402e70
jmp 0x4c77f1
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4c77f1
push dword [esi]
push dword [ebp - 4]
call fcn.0046e500
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c78b7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004c7962
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4c78ff
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00402100
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00402e70
jmp 0x4c790a
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0046e500
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x54494f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret