joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1072ffc
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
mov eax, 0x1091f1c
call fcn.01026ef8
sub esp, 0x30
push esi
push edi
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x3c]
call fcn.01071aa4
lea eax, [ebp + 0xf]
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.0101a57c
push 0x100a804
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0101a325
lea eax, [ebp + 0xf]
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.0101a57c
push 0x100a7f8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0101a325
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 8]
call fcn.010722a8
mov esi, eax
cmp esi, edi
jl 0x107315e
mov eax, dword [ebp - 0x28]
cmp eax, edi
mov esi, 0x1001ea8
jne 0x107307e
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
mov ebx, 0x80
push ebx
push eax
call edi
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1073097
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x28], 0
je 0x10730a7
mov esi, dword [ebp - 0x28]
push esi
lea ecx, [ebp - 0x3c]
call fcn.01071b01
mov esi, eax
test esi, esi
jl 0x107315d
push ebx
push dword [ebp + 0xc]
call edi
mov eax, dword [ebp - 0x18]
test eax, eax
mov esi, 0x1001ea8
jne 0x10730ce
mov eax, esi
push ebx
push eax
call edi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10730db
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10730eb
mov eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileW]
push eax
push dword [ebp + 0xc]
call ebx
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x107311c
call edi
cmp eax, 2
je 0x107311c
test eax, eax
jg 0x1073110
mov esi, eax
jmp 0x107315d
and eax, 0xffff
or eax, 0x80070000
jmp 0x107310c
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1073125
mov eax, esi
push dword [ebp + 0xc]
push eax
call ebx
test eax, eax
jne 0x107314b
call edi
test eax, eax
jg 0x1073139
call edi
jmp 0x107310c
call edi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x107315d
cmp dword [ebp - 0x18], 0
je 0x1073154
mov esi, dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
pop ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.0101930d
push 1
lea ecx, [ebp - 0x2c]
call fcn.0101930d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.010701fa
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x1073293
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x1091f33
call fcn.01026ef8
sub esp, 0x34
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
push edi
jne 0x1073397
lea ecx, [ebp - 0x40]
call fcn.01023d3f
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.01024e6d
mov edi, eax
cmp edi, ebx
lea ecx, [ebp - 0x40]
jl 0x1073380
push ebx
push ebx
push 0x100000
push ebx
push ebx
push 0x1002dc0
call fcn.01024983
mov edi, eax
cmp edi, ebx
jl 0x107337d
cmp dword [esi + 0x10], ebx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
jne 0x1073311
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
jmp 0x1073353
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov edi, 0x1001ea8
jne 0x107331f
mov eax, edi
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
mov dword [esi + 0x18], eax
jne 0x1073356
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1073356
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x1073346
mov eax, edi
push eax
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi + 0x18], eax
cmp dword [esi + 0x18], ebx
jne 0x107338b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x107336d
call esi
mov edi, eax
jmp 0x107337d
call esi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
lea ecx, [ebp - 0x40]
or dword [ebp - 4], 0xffffffff
call fcn.01024764
jmp 0x1073399
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.01024764
xor edi, edi
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1074b39
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
jle 0x1074b73
mov ecx, dword [ebp + 8]
push edi
mov eax, dword [ecx]
mov edx, dword [ebp + 0xc]
movzx edx, byte [esi + edx]
mov edi, eax
shr edi, 0x18
xor edx, edi
and edx, 0xff
shl eax, 8
xor eax, dword [edx*4 + 0x10a55e8]
inc esi
cmp esi, dword [ebp + 0x10]
mov dword [ecx], eax
jl 0x1074b4a
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1074bea
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10a1e18]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0x80000000
push eax
mov dword [ebx], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x20c], eax
jne 0x1074c55
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1074c40
call esi
mov esi, eax
jmp 0x1074ce0
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1074ce0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea ecx, [ebp - 0x208]
push ecx
mov esi, 0x200
push esi
lea ecx, [ebp - 0x204]
push ecx
push eax
jmp 0x1074ca7
cmp dword [ebp - 0x208], 0
je 0x1074cd1
push dword [ebp - 0x208]
lea eax, [ebp - 0x204]
push eax
push ebx
call fcn.01074b39
push 0
lea eax, [ebp - 0x208]
push eax
push esi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x20c]
call edi
test eax, eax
jne 0x1074c74
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1074cbf
call esi
mov esi, eax
jmp 0x1074cd3
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1074cd3
xor esi, esi
push dword [ebp - 0x20c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
call fcn.0101cf4f
leave
ret 8

Function at 0x107691a
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0105c5ca
push 0
push 1
mov ecx, ebx
call fcn.0105b125
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
push dword [ebp + 0x1c]
lea edi, [ebx + 0x20]
lea esi, [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x18], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0x30]
movsd dword es:[edi], dword [esi]
call fcn.0101dbb6
mov eax, dword [ebp + 8]
xor esi, esi
cmp eax, esi
je 0x107696a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push 1
push esi
push esi
mov byte [ebx + 0x44], 0
mov byte [ebx + 0x38], 0
call edi
cmp eax, esi
mov dword [ebx + 0x3c], eax
je 0x10769b0
push esi
push esi
push esi
push esi
call edi
cmp eax, esi
mov dword [ebx + 0x40], eax
je 0x10769b0
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 0x10765fd
push esi
push esi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
cmp eax, esi
mov dword [ebx + 0x34], eax
jne 0x10769d4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10769c2
call esi
mov esi, eax
jmp 0x10769d8
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x10769d8
mov byte [ebx + 0x38], 1
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x18
Function at 0x1078671
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0105c5ca
push 0
push 1
mov ecx, ebx
call fcn.0105b125
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
push dword [ebp + 0x1c]
lea edi, [ebx + 0x20]
lea esi, [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x18], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0x30]
movsd dword es:[edi], dword [esi]
call fcn.0101dbb6
mov eax, dword [ebp + 8]
xor esi, esi
cmp eax, esi
je 0x10786c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push 1
push esi
push esi
mov byte [ebx + 0x44], 0
mov byte [ebx + 0x38], 0
call edi
cmp eax, esi
mov dword [ebx + 0x3c], eax
je 0x1078707
push esi
push esi
push esi
push esi
call edi
cmp eax, esi
mov dword [ebx + 0x40], eax
je 0x1078707
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 0x1077f60
push esi
push esi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
cmp eax, esi
mov dword [ebx + 0x34], eax
jne 0x107872b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1078719
call esi
mov esi, eax
jmp 0x107872f
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x107872f
mov byte [ebx + 0x38], 1
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x18

Function at 0x1079252
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x10924ce
call fcn.01026ef8
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.010790fb
mov al, byte [edi + 0x2c]
and dword [ebp - 4], 0
mov byte [esi + 0x2c], al
lea eax, [edi + 0x30]
push eax
lea ecx, [esi + 0x30]
call fcn.0102176d
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov ax, word [edi + 0x50]
mov word [esi + 0x50], ax
mov al, byte [edi + 0x52]
mov byte [esi + 0x52], al
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov ax, word [edi + 0x58]
mov word [esi + 0x58], ax
lea eax, [edi + 0x5c]
push eax
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 1
call fcn.0107796f
lea eax, [edi + 0x60]
push eax
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 2
call fcn.0107796f
lea eax, [edi + 0x64]
push eax
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call fcn.0107796f
add edi, 0x68
push edi
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 4
call fcn.0107796f
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1079eb5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10a1e18]
push 0xa
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push 0x1004
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1079ef2
push 0xa
lea eax, [ebp - 0x10]
push 0
push eax
call dword [sym.imp.ntdll.dll_strtoul]
add esp, 0xc
test eax, eax
jne 0x1079ef8
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ecx, dword [ebp - 4]
call fcn.0101cf4f
leave
ret 4
Function at 0x107b7b6
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0105c5ca
push 0
push 1
mov ecx, ebx
call fcn.0105b125
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
push dword [ebp + 0x1c]
lea edi, [ebx + 0x20]
lea esi, [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x18], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0x30]
movsd dword es:[edi], dword [esi]
call fcn.0101dbb6
mov eax, dword [ebp + 8]
xor esi, esi
cmp eax, esi
je 0x107b806
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push 1
push esi
push esi
mov byte [ebx + 0x44], 0
mov byte [ebx + 0x38], 0
call edi
cmp eax, esi
mov dword [ebx + 0x3c], eax
je 0x107b84c
push esi
push esi
push esi
push esi
call edi
cmp eax, esi
mov dword [ebx + 0x40], eax
je 0x107b84c
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 0x107b6fb
push esi
push esi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
cmp eax, esi
mov dword [ebx + 0x34], eax
jne 0x107b870
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x107b85e
call esi
mov esi, eax
jmp 0x107b874
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x107b874
mov byte [ebx + 0x38], 1
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x18
Function at 0x107e65f
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0105c5ca
push 0
push 1
mov ecx, ebx
call fcn.0105b243
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
push dword [ebp + 0x1c]
lea edi, [ebx + 0x20]
lea esi, [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x18], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 0x30]
movsd dword es:[edi], dword [esi]
call fcn.0105af7a
mov eax, dword [ebp + 8]
xor esi, esi
cmp eax, esi
je 0x107e6af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push esi
push 1
push esi
push esi
mov byte [ebx + 0x44], 0
mov byte [ebx + 0x38], 0
call edi
cmp eax, esi
mov dword [ebx + 0x3c], eax
je 0x107e6f5
push esi
push esi
push esi
push esi
call edi
cmp eax, esi
mov dword [ebx + 0x40], eax
je 0x107e6f5
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 0x107dead
push esi
push esi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
cmp eax, esi
mov dword [ebx + 0x34], eax
jne 0x107e719
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x107e707
call esi
mov esi, eax
jmp 0x107e71d
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x107e71d
mov byte [ebx + 0x38], 1
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x18

Function at 0x108a92b
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x109380d
call fcn.01026ef8
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x64]
mov dword [ebp - 4], 0xa
call fcn.0108a8c5
mov eax, dword [esi + 0x60]
test eax, eax
mov byte [ebp - 4], 9
je 0x108a95d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
lea ecx, [esi + 0x4c]
call fcn.0101930d
mov eax, dword [esi + 0x48]
test eax, eax
mov byte [ebp - 4], 7
je 0x108a978
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x40]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push dword [esi + 0x3c]
call edi
push dword [esi + 0x38]
call edi
push dword [esi + 0x34]
call edi
push dword [esi + 0x30]
call edi
push dword [esi + 0x2c]
call edi
push dword [esi + 0x28]
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.0101d547
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x108abb0
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x10938b4
call fcn.01026ef8
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 8]
mov dword [ebp - 0x10], esi
call fcn.0101d8ba
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
push ebx
push ebx
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 8
call fcn.0104265b
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xa
mov byte [ecx + 8], bl
call fcn.01089e60
or word [esi + 0x24], 0xffff
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x44], 0x64
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4192f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, 6
lodsd eax, dword [esi]
bswap eax
ror eax, 0xd
mov edx, eax
not edx
lodsd eax, dword [esi]
rol eax, 0xb
bswap eax
xor eax, edx
stosd dword es:[edi], eax
lodsd eax, dword [esi]
rol eax, 9
bswap eax
mov edx, eax
not edx
stosd dword es:[edi], eax
lodsd eax, dword [esi]
rol eax, 7
bswap eax
xor eax, edx
mov edx, eax
not edx
stosd dword es:[edi], eax
rol eax, 5
xor eax, edx
stosd dword es:[edi], eax
lea esi, [edi - 0x10]
dec ebx
test ebx, ebx
jne 0x419305
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x419348
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, 0xfffefdfc
mov ecx, 0x40
mov ebx, dword [ebp + 0x10]
mov dword [ebx + ecx*4 - 4], eax
sub eax, 0x4040404
dec ecx
jne 0x41935b
mov edi, dword [ebp + 0xc]
mov esi, 0x40
xor ebx, ebx
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0x419375
pop ebp
xor ecx, ecx
mov edi, dword [ebp + 8]
mov esi, 0x20
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0x4193ae
pop ebp
xor ecx, ecx
mov edi, dword [ebp + 0xc]
mov esi, 0x40
push ebp
mov ebp, dword [ebp + 0x10]
mov eax, ecx
xor edx, edx
div esi
mov al, cl
mov dl, byte [edi + edx]
add dl, byte [ebp + eax]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
xchg byte [ebp + eax], dl
mov byte [ebp + ebx], dl
inc ecx
cmp ecx, 0x300
jne 0x4193e7
pop ebp
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x41941c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor eax, eax
mov ebx, dword [ebp + 0x14]
xor ecx, ecx
xor edx, edx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test esi, esi
je 0x419468
push ebp
mov ebp, dword [ebp + 0x10]
mov dl, byte [ebp + ecx]
add dl, bl
mov bl, byte [ebp + edx]
mov dl, byte [ebp + ebx]
mov dl, byte [ebp + edx]
inc dl
mov al, byte [ebp + edx]
xor byte [edi], al
mov dl, byte [ebp + ebx]
xchg byte [ebp + ecx], dl
mov byte [ebp + ebx], dl
inc cl
inc edi
dec esi
test esi, esi
jne 0x419439
pop ebp
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x40a620
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push esi
push edi
push eax
push dword [ebp + 8]
mov esi, ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x40a6c6
push edi
call fcn.0044a0ce
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x40a6c6
push eax
push edi
push dword [ebp - 0xc]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
mov ecx, dword [esi]
test eax, eax
jne 0x40a665
push ecx
jmp 0x40a6b1
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push str.VarFileInfoTranslation
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40a6af
cmp dword [ebp - 4], 0
je 0x40a6af
mov eax, dword [ebp - 8]
pop edi
movzx ecx, word [eax]
movzx eax, word [eax + 2]
shl ecx, 0x10
or ecx, eax
mov eax, 1
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [esi]
call fcn.0044a0d7
mov dword [esi + 4], 0
add esp, 4
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x40ab00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40ab59
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40ab59
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 0x40ab4a
cmp esi, edx
jae 0x40ab59
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40ab38
cmp esi, edx
jae 0x40ab59
cmp word [esi], 0
je 0x40ab59
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret