joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d908
Capabilities:
Get file attributes

Disassembly:
call fcn.0040502c
push eax
call sub.kernel32.dll_GetFileAttributesA
inc eax
je 0x40d91c
dec eax
and al, 0x10
sete al
ret

Function at 0x40d998
Capabilities:
Get common file path

Disassembly:
push ebx
xchg ebx, eax
sub esp, 0x104
mov eax, esp
push 0x104
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
call fcn.00403870
mov edx, ebx
mov eax, dword [edx]
call fcn.00405c64
add esp, 0x104
pop ebx
ret

Function at 0x40d9c8
Capabilities:
Get common file path

Disassembly:
push ebx
xchg ebx, eax
sub esp, 0x104
mov eax, esp
push 0x104
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
call fcn.00403870
mov edx, ebx
mov eax, dword [edx]
call fcn.00405c64
add esp, 0x104
pop ebx
ret

Function at 0x40d9f8
Capabilities:
Get common file path

Disassembly:
push eax
sub esp, 0x108
push esp
push 0x105
call sub.kernel32.dll_GetTempPathA
mov edx, esp
mov eax, dword [esp + 0x108]
call fcn.00403870
add esp, 0x108
pop edx
mov eax, dword [edx]
call fcn.00405c64
ret

Function at 0x40e488
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov word [ebp - 2], cx
mov edi, edx
mov esi, eax
push 0
push 0x8000080
push 3
push 0
push 1
push 0xc0000000
push esi
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40e4bc
xor eax, eax
jmp 0x40e50d
lea eax, [ebp - 0xc]
push eax
mov ax, word [ebp - 2]
push eax
push edi
call sub.kernel32.dll_DosDateTimeToFileTime
test eax, eax
je 0x40e4f0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
test eax, eax
je 0x40e4f0
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle
mov ax, word [ebp + 8]
and ax, 0x27
movzx eax, ax
push eax
push esi
call sub.kernel32.dll_SetFileAttributesA
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4128a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
clc
das
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
invalid
movsd dword es:[edi], dword [esi]
xchg ebp, eax

Function at 0x415858
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4299d0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x41587a
shr eax, 1
xor eax, 0xedb88320
jmp 0x41587c
shr eax, 1
dec edx
jne 0x415868
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x415861
mov byte [0x429dd0], 1
pop esi
pop ebx
ret

Function at 0x415898
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x429dd0], 0
jne 0x4158af
call fcn.00415858
mov eax, edi
dec eax
test eax, eax
jl 0x4158d8
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4299d0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4158b9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x437152
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x493a08]
jne 0x43715c
repz ret
jmp fcn.004380ee

Function at 0x437d13
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004371d3
and dword [ebp - 4], 0
cmp dword [0x495854], 0
mov ebx, eax
jne 0x437dc4
push 0x43d94c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x437e75
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43d940
push edi
call esi
test eax, eax
je 0x437e75
push eax
call fcn.00437161
mov dword [esp], 0x43d930
push edi
mov dword [0x495854], eax
call esi
push eax
call fcn.00437161
mov dword [esp], 0x43d91c
push edi
mov dword [0x495858], eax
call esi
push eax
call fcn.00437161
mov dword [esp], 0x43d900
push edi
mov dword [0x49585c], eax
call esi
push eax
call fcn.00437161
pop ecx
mov dword [0x495864], eax
test eax, eax
je 0x437dc4
push 0x43d8e8
push edi
call esi
push eax
call fcn.00437161
pop ecx
mov dword [0x495860], eax
mov eax, dword [0x495860]
cmp eax, ebx
je 0x437e1c
cmp dword [0x495864], ebx
je 0x437e1c
push eax
call fcn.004371dc
push dword [0x495864]
mov esi, eax
call fcn.004371dc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x437e1c
test edi, edi
je 0x437e1c
call esi
test eax, eax
je 0x437e13
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x437e13
test byte [ebp - 0xc], 1
jne 0x437e1c
or dword [ebp + 0x10], 0x200000
jmp 0x437e55
mov eax, dword [0x495858]
cmp eax, ebx
je 0x437e55
push eax
call fcn.004371dc
pop ecx
test eax, eax
je 0x437e55
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x437e55
mov eax, dword [0x49585c]
cmp eax, ebx
je 0x437e55
push eax
call fcn.004371dc
pop ecx
test eax, eax
je 0x437e55
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x495854]
call fcn.004371dc
pop ecx
test eax, eax
je 0x437e75
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x437e77
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43b657
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x38
mov dword [ebp - 8], 0
mov eax, dword [0x493914]
add eax, 0xfffff1ba
mov dword [0x493918], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x493918], 0x1303
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x493914]
add esi, 0xffffefdf
mov dword [0x493914], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x43b6ed
mov dword [0x493918], 0x1baf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x1a], dx
mov ax, word [ebp - 0x1a]
cmp ax, 0x64
je 0x43b793
jmp 0x43b7fa
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [0x493914], ecx
add esp, 0x38
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
je 0x43b721
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, 0x104
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], ecx
jl 0x43b6ed
mov eax, dword [ebp - 0x2c]
mov dword [0x493914], 0xffffffa8
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x43b7fa
mov dword [0x493914], 0x514
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x31], dl
mov al, byte [ebp - 0x31]
test al, 1
jne 0x43b76a
jmp 0x43b7fa
mov dword [0x493914], 0x4ef
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0x16]
mov word [ebp - 0x34], dx
mov ax, word [ebp - 0x34]
cmp ax, 0x61
je 0x43b6af
jmp 0x43b7fa
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff7
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp word [eax], 0x64
jne 0x43b7fa
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff8
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp word [eax], 0x6c
jne 0x43b7fa
mov eax, 0x2704
mov ecx, 1
mov dword [0x493914], 0x240
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
je 0x43b6db
mov eax, 0x1c93
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x43b6db
Function at 0x43ba8f
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x493920], 0
mov byte [0x493924], 0
mov dword [0x493918], 0x2603
mov dword [0x493914], 0x1304
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov ecx, 0x2603
mov dword [0x49391c], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x43bbbb
mov eax, dword [0x493918]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
jmp 0x43bbbb
mov eax, dword [ebp - 0x28]
mov ecx, 0x100
mov dword [0x493928], 0
mov dword [0x493914], 0x109f
mov edx, dword [0x493920]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x2c], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x493928], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x493920], edx
mov dword [0x493918], 0x369e
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
mov cl, byte [ecx + edi]
mov byte [0x493924], cl
mov dword [0x493918], 0x18fb
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x493924]
mov edx, dword [0x493920]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x493914], 0x75a
mov edx, dword [0x49391c]
add edx, 1
mov dword [0x49391c], edx
cmp edx, 0x100
mov dword [ebp - 0x28], edx
jl 0x43bafe
jmp 0x43bc14
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add eax, 0xffffee10
mov edx, ecx
mov bl, dl
mov dword [0x493914], eax
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], bl
mov ecx, dword [0x49391c]
add ecx, 1
mov dword [0x49391c], ecx
cmp ecx, 0x100
mov dword [ebp - 0x24], ecx
jl 0x43baeb
mov dword [0x493914], 0x2b3
xor eax, eax
mov dword [0x49391c], 0
mov dword [ebp - 0x28], eax
jmp 0x43bafe
mov dword [0x493918], 0x1727
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43bd7b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x493918], 0x240d
mov dword [0x49391c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x493920], 0
mov dword [0x49392c], 0
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x43bed2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, edx
add edi, 1
mov dword [0x493914], 0x237b
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x49391c], edx
mov dword [0x493918], 0x23ab
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x493920], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x493924], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x493924]
mov edx, dword [0x493920]
mov byte [ebx + edx], cl
mov dword [0x493914], 0xefa
mov edx, dword [0x49391c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x493920]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x49392c], ecx
mov dword [0x493914], 0xb41
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dword [0x493914], 0x1784
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [0x493914]
mov esi, edx
add esi, 0xffffdba4
mov dword [0x493918], esi
mov esi, dword [ebp - 0x10]
cmp edi, esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edx
je 0x43bef8
jmp 0x43bedc
mov eax, dword [0x493914]
mov dword [ebp - 0x38], eax
jmp 0x43bef8
mov eax, dword [0x49391c]
mov ecx, dword [0x493920]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jmp 0x43bde2
mov eax, dword [ebp - 0x38]
add eax, 0xffffff11
mov dword [0x493918], eax
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43c584
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x28]
mov dword [0x493914], 0x19b8
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.0043b034
mov ecx, dword [0x493914]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x40], edx
add ecx, 0x6d6
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
lea eax, [0x43c402]
mov ecx, dword [esp + 0x1c]
mov dword [0x493914], ecx
mov dword [esp + 0x3c], 0x13a200
mov edx, dword [0x493900]
mov dword [esp + 0x74], edx
mov edx, dword [0x493904]
mov dword [esp + 0x70], edx
mov edx, dword [0x493908]
mov dword [esp + 0x2c], edx
mov edx, dword [0x49390c]
mov dword [esp + 0x6c], edx
mov edx, dword [0x493910]
mov dword [esp + 0x50], edx
mov dword [0x493918], 0x1f27
mov dword [esp + 0x18], eax
jmp 0x43c63c
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x43c62a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
jne 0x43c62a
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov dword [0x493918], 0xbd3
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x58], edx
mov dword [0x493914], 0x14c3
call fcn.0043b657
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x43c6e2
lea eax, [esp + 0x28]
mov dword [0x493914], 0x4a1
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0043c82d
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x493914]
add ecx, 0xfffff538
mov dword [0x493914], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x43c82d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x43d1da]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov ebx, dword [0x493914]
mov dword [ebp - 0x30], eax
mov eax, ebx
add eax, 0xcf8
mov dword [0x493918], eax
add ebx, 0x2485
mov dword [0x493914], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], esi
call fcn.0043c6ea
mov dword [0x493918], 0x4e3
call fcn.0043c975
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.0043bfc5
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
jne 0x43c8c0
mov eax, dword [ebp - 0x44]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x40]
mov dword [0x493914], 0xce
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x493914], 0x1057
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.0043b35f
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x38]
mov dword [edx + 0x38], ecx
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x40], ecx
mov dword [0x493918], 0x1683
mov dword [0x493914], 0xa34
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x43c8b5
mov eax, dword [ebp - 0x48]
add eax, 0x14db
mov dword [0x493914], 0x1553
mov dword [ebp - 0x44], eax
jmp 0x43c8b5

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x1d716c4a
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x1684a77
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
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x28231f4b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5cea6ac0
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40686f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x4068ad
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406883
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x40687e
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4068da
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4068bb
not eax
pop ebp
ret 0xc

Function at 0x429703
Capabilities:
Resolve function by parsing pe exports

Disassembly:
not edx
not edx
mov eax, 0
cld
clc
nop
cld
not ebp
not ebp
cld
dec esp
inc esp
cld
push eax
nop
sahf
wait
mov ch, ch
not dh
not dh
imul eax, eax, 0x10
stc
xchg dword [esp], eax
jmp 0x4295b6
add al, dl
lea edx, [edx + ebx]
sub cl, 0x31
push dword [edx + 0x20]
pop esi
lea esi, [ebx + esi]
jmp 0x42972c
cmp dh, 0x94
add esi, ebx
clc
ret 4
sahf
cmc
sub dword [esp], eax
cld
movzx eax, byte [edi]
sub edi, 0xffffffff
jmp 0x4297b3
mov edi, dword [edx + 0x1c]
cmp eax, 0xffffffa2
not eax
adc eax, 0xe68ae329
mov eax, 0x334a8761
cmp ah, 2
mov esi, dword [edx + 0x24]
dec dh
cld
add esi, ebx
xchg edx, edx
movzx eax, word [esi + ecx*2]
jmp 0x429671
mov dl, dh
add edi, ebx
mov esi, dword [edi + eax*4]
jmp 0x4295ad
lea ecx, [ecx]
not esi
not esi
not bl
not bl
jne 0x4250d3
xchg edx, edx
xchg edx, edx
lea ecx, [ecx]
xor eax, 0x69521502
jmp 0x4298e8
ret
push dword [ebx + 0x3c]
mov edx, ecx
cmp cl, 0xb8
xchg ecx, edi
xchg ecx, esi
nop
lahf
cld
sbb al, bl
pop eax
mov edi, ecx
mov edx, dword [eax + ebx + 0x78]
jmp 0x4294cc
add ecx, 1
cmp edi, 0xffffffa9
lodsd eax, dword [esi]
jmp 0x42979e
push 0xffffffffffffffff
xchg ah, al
cmp ah, dl
xchg edi, edi
not al
mov edi, esi
and al, dh
pop ecx
jmp 0x429720
lea edi, [eax + ebx]
xchg edx, ebp
xchg edx, ebp
cmp ecx, dword [edx + 0x18]
je 0x429700
jmp 0x4250be
sub dword [esp], eax
pop eax
test byte [edi], 0xff
jmp 0x429697
nop
sub eax, dword [esp + 4]
jne 0x429720
jmp 0x429617
Function at 0x10001690
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001aab5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10026008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub dword [ebp + 0xc], 1
jne 0x1000172a
push 1
call fcn.10019920
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x100018f0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000171b
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x10001705
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x1000172a
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
push 6
mov dword [ebp - 0x18], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10019709
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100110c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001111b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1001111b
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10011108
cmp esi, edx
jae 0x1001111b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100110f6
cmp esi, edx
jae 0x1001111b
xor eax, eax
cmp word [esi], ax
pop edi
cmove esi, eax
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10011330
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001bfd7
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10026008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xa8], 0
push 0
push 0x1001d9f3
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.100017e0
push 0x88
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0xa8], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa0]
push 0
push eax
push 0x1001e3c8
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
mov dword [ebp - 0xa4], edi
test edi, edi
jg 0x10011475
lea ecx, [ebp - 0xcc]
call fcn.10011130
push eax
mov ecx, esi
call fcn.10005360
mov ecx, dword [ebp - 0xb8]
cmp ecx, 0x10
jb 0x10011437
mov edx, dword [ebp - 0xcc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001142d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001142d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10019c6a
add esp, 8
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push str.config.cab
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esi + 0x14], 0x10
mov edi, eax
mov eax, esi
jb 0x10011460
mov eax, dword [esi]
push 0
push 0
push dword [esi + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
jmp 0x100114f3
push 0x20
mov dword [ebp - 0x14], 0
call fcn.1001a003
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xb0], ebx
push 0
push eax
push 0x20
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor edi, edi
mov bl, byte [edi + ebx]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov byte [ebp - 0x18], bl
cmp ecx, edx
jae 0x100114c9
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x100114bf
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x100114e1
push dword [ebp - 0x18]
mov byte [ebp - 0xac], 0
push dword [ebp - 0xac]
push ecx
mov ecx, esi
call fcn.100061e0
mov ebx, dword [ebp - 0xb0]
inc edi
cmp edi, 0x20
jl 0x100114a0
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10019709
mov esp, ebp
pop ebp
ret