joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402010
Capabilities:
Get file size

Disassembly:
sub esp, 0x10
cmp dword [eax + 0x18], 8
push esi
jb 0x40201f
mov eax, dword [eax + 4]
jmp 0x402022
add eax, 4
push 0
push 0x80
push 3
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x402049
or eax, 0xffffffff
or edx, eax
pop esi
add esp, 0x10
ret
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x40203f
mov edx, dword [esp + 0xc]
pop esi
add esp, 0x10
ret

Function at 0x402230
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4120bb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x41a050]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
mov eax, dword [0x41a050]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
push 0
mov esi, ecx
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x36]
push ecx
mov word [esp + 0x38], ax
call fcn.0040d0d0
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4022ec
cmp eax, 0x103
jae 0x4022ec
cmp word [esp + 0x232], 0
jne 0x4022ec
lea eax, [esp + 0x2c]
mov ecx, esi
call fcn.004088f0
mov eax, esi
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0040a354
add esp, 0x23c
ret
xor eax, eax
mov word [esp + 0x14], ax
push 0x23
mov eax, str.Couldnt_get_default_temp_directory
lea esi, [esp + 0x14]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
call fcn.00409220
mov dword [esp + 0x240], 0
call fcn.00401ec0
int3
Function at 0x402330
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
cmp dword [eax + 0x18], 8
jb 0x40233c
mov eax, dword [eax + 4]
jmp 0x40233f
add eax, 4
push ebx
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402365
xor eax, eax
pop ebx
pop ecx
ret
movzx eax, word [esp + 0xc]
push esi
push 0xa
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x402389
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4023c0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
push 0
lea ecx, [esp + 0x10]
push ecx
push esi
push eax
push ebx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
je 0x4023ac
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4023b9
xor eax, eax
cmp esi, dword [esp + 0xc]
pop edi
pop esi
sete al
pop ebx
pop ecx
ret
Function at 0x402400
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
push esi
push edi
mov esi, eax
xor eax, eax
xor ebx, ebx
push 0x40
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], 0x44
call fcn.0040d0d0
mov eax, dword [esi + 0x14]
add esp, 0xc
push 0x415af0
xor edi, edi
mov ecx, esi
call fcn.00409ce0
test eax, eax
je 0x402467
cmp dword [esi + 0x18], 8
jb 0x402459
mov esi, dword [esi + 4]
jmp 0x40245c
add esi, 4
push esi
call fcn.0040a9dd
add esp, 4
mov ebx, eax
mov eax, dword [ebp + 0x14]
push 0x415af0
xor edi, edi
mov ecx, ebp
call fcn.00409ce0
test eax, eax
jne 0x402480
xor esi, esi
jmp 0x40248e
cmp dword [ebp + 0x18], 8
jb 0x40248b
mov esi, dword [ebp + 4]
jmp 0x40248e
lea esi, [ebp + 4]
mov ebp, dword [esp + 0x70]
mov eax, dword [ebp + 0x14]
push 0x415af0
xor edi, edi
mov ecx, ebp
call fcn.00409ce0
test eax, eax
je 0x4024b5
cmp dword [ebp + 0x18], 8
jb 0x4024b2
mov eax, dword [ebp + 4]
jmp 0x4024b5
lea eax, [ebp + 4]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push esi
push 0
push 0
push 0
push 0
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test ebx, ebx
je 0x4024e1
push ebx
call fcn.0040a4e2
add esp, 4
test esi, esi
jne 0x4024f0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x74]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov eax, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
Function at 0x409b90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x413128
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x41a050]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.00408d10
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x409be6
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [esp + 0x10]
call fcn.00409e10
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.00408d10
cmp dword [esp + 0x24], 8
jb 0x409c2f
mov edx, dword [esp + 0x10]
push edx
call fcn.0040a81b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x40a354
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a050]
jne 0x40a35e
repz ret
jmp fcn.0040b4c6

Function at 0x4106c9
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.0040ca0e
and dword [ebp - 4], 0
cmp dword [0x41b744], 0
mov ebx, eax
jne 0x41077a
push 0x41515c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41082b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x415150
push edi
call esi
test eax, eax
je 0x41082b
push eax
call fcn.0040c99c
mov dword [esp], 0x415140
push edi
mov dword [0x41b744], eax
call esi
push eax
call fcn.0040c99c
mov dword [esp], 0x41512c
push edi
mov dword [0x41b748], eax
call esi
push eax
call fcn.0040c99c
mov dword [esp], 0x415110
push edi
mov dword [0x41b74c], eax
call esi
push eax
call fcn.0040c99c
pop ecx
mov dword [0x41b754], eax
test eax, eax
je 0x41077a
push 0x4150f8
push edi
call esi
push eax
call fcn.0040c99c
pop ecx
mov dword [0x41b750], eax
mov eax, dword [0x41b750]
cmp eax, ebx
je 0x4107d2
cmp dword [0x41b754], ebx
je 0x4107d2
push eax
call fcn.0040ca17
push dword [0x41b754]
mov esi, eax
call fcn.0040ca17
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4107d2
test edi, edi
je 0x4107d2
call esi
test eax, eax
je 0x4107c9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4107c9
test byte [ebp - 0xc], 1
jne 0x4107d2
or dword [ebp + 0x10], 0x200000
jmp 0x41080b
mov eax, dword [0x41b748]
cmp eax, ebx
je 0x41080b
push eax
call fcn.0040ca17
pop ecx
test eax, eax
je 0x41080b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41080b
mov eax, dword [0x41b74c]
cmp eax, ebx
je 0x41080b
push eax
call fcn.0040ca17
pop ecx
test eax, eax
je 0x41080b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41b744]
call fcn.0040ca17
pop ecx
test eax, eax
je 0x41082b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41082d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x4b194793
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4f121fe6
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x7bb57be8
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
mov eax, section..rsrc
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x5fe82f36
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x6fa10cd5
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x54b10577
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401680
Capabilities:
Parse pe header

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
call edi
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
je 0x4016aa
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov esi, dword [eax + 0x3c]
add esi, eax
mov dword [esp + 0x14], esi
cmp dword [esi], 0x4550
je 0x4016c5
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0
call edi
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push eax
push ecx
call edi
mov ebp, eax
test ebp, ebp
jne 0x401702
mov edx, dword [esi + 0x50]
push 4
push 0x2000
push edx
push eax
call edi
mov ebp, eax
test ebp, ebp
jne 0x401702
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x14
push 0
call dword [0x40a5d8]
push eax
call dword [0x40a5d0]
mov ebx, eax
xor eax, eax
push eax
mov dword [ebx + 4], ebp
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0x10], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x50]
push 4
push 0x1000
push eax
push ebp
call edi
mov ecx, dword [esi + 0x54]
push 4
push 0x1000
push ecx
push ebp
call edi
mov edi, eax
push 0
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x54]
mov esi, eax
push ebx
mov ecx, dword [eax + 0x3c]
add ecx, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov ecx, eax
push esi
push ecx
mov eax, dword [ecx + 0x3c]
add eax, edx
mov dword [ebx], eax
mov dword [eax + 0x34], ebp
call fcn.00401800
mov ecx, dword [esi + 0x34]
mov eax, ebp
add esp, 0xc
sub eax, ecx
je 0x4017a2
push eax
push ebx
call fcn.004019e0
add esp, 8
push ebx
call fcn.00401a70
add esp, 4
test eax, eax
je 0x4017d2
push ebx
call fcn.004018e0
mov eax, dword [ebx]
add esp, 4
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4017ec
add eax, ebp
test eax, eax
je 0x4017d2
push 0
push 1
push ebp
call eax
test eax, eax
jne 0x4017e5
push ebx
call fcn.00401c60
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov dword [ebx + 0x10], 1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x401800
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0xc], 0
mov ebp, dword [eax + 4]
mov eax, dword [eax]
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x4018d9
push edi
add ebx, 0x10
jmp 0x401840
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx]
push 0
test eax, eax
jne 0x401882
call esi
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x4018b8
mov eax, dword [ebx - 4]
push 4
push 0x1000
add eax, ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4018b8
call esi
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 0x18]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x40183a
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4018e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
xor ecx, ecx
push ebx
mov dword [esp + 4], 0
mov eax, dword [eax]
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x4019d9
push ebp
push esi
push edi
add ebx, 0x24
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx]
push 0
mov esi, eax
mov edi, eax
shr esi, 0x1d
shr edi, 0x1e
shr eax, 0x1f
and esi, 1
and edi, 1
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test dword [ebx], 0x2000000
je 0x401951
mov edx, dword [ebx - 0x14]
mov eax, dword [ebx - 0x1c]
push 0x4000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4019b6
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx]
lea ecx, [edi + esi*2]
test eax, 0x4000000
lea edx, [ebp + ecx*2]
mov edi, dword [edx*4 + 0x409d9c]
je 0x401976
or edi, 0x200
mov esi, dword [ebx - 0x14]
test esi, esi
jne 0x401999
test al, 0x40
je 0x40198c
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x20]
jmp 0x401999
test al, 0x80
je 0x401999
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov esi, dword [eax + 0x24]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jbe 0x4019b6
mov edx, dword [ebx - 0x1c]
lea ecx, [esp + 0x14]
push ecx
push edi
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [esp + 0x10], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x40190d
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x409124
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x409162
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x409169
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
mov dword [esp + 4], str._s_S.dll
add edx, 0x40c720
add eax, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret 4

Function at 0x409308
Capabilities:
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x434a24], 0
mov ebp, esp
push esi
mov edx, dword [ebp + 0xc]
push ebx
jne 0x409345
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
shr esi, 1
and eax, 1
je 0x409330
mov eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x409322
mov dword [ecx*4 + 0x434a20], eax
inc ecx
cmp ecx, 0x100
jne 0x40931b
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x409367
mov cl, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x434a20]
jmp 0x40934f
pop ebx
not eax
pop esi
pop ebp
ret 0xc
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x17d27f97
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2399084a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001990
Capabilities:
Check for debugger via api
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1001f018]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
call fcn.100018f0
test eax, eax
jne 0x10001a8f
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [ebp - 8], 0
jne 0x10001a8f
movaps xmm0, xmmword [0x1001b190]
xor eax, eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x546a6b6d
mov dword [ebp - 0x24], 0x61676b76
mov word [ebp - 0x20], 0x7777
mov byte [ebp - 0x1e], 0
mov cl, byte [ebp - 0x38]
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0x19
jb 0x100019f7
push ebx
mov byte [ebp - 0x1c], 0x48
mov al, 0x26
xor al, byte [ebp - 0x1c]
mov bl, 0x24
mov ah, bl
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 0x1c]
mov dl, 0x2c
mov bh, ah
mov byte [ebp - 0xd], ah
xor bl, al
mov byte [ebp - 0x12], 0
xor ah, al
mov byte [ebp - 0x1e], 0
xor bh, al
mov byte [ebp - 0x17], ah
mov dh, dl
mov byte [ebp - 0x18], bl
xor dl, al
mov byte [ebp - 0x14], bh
xor dh, al
mov byte [ebp - 0x19], dl
mov cl, 0x3c
mov byte [ebp - 0x15], dh
xor cl, al
mov byte [ebp - 0x12], 0
mov ch, 0x66
mov byte [ebp - 0x1a], cl
xor ch, al
mov al, byte [ebp - 0xd]
xor al, byte [ebp - 0x1c]
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x37]
push eax
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x16], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ebx
test eax, eax
je 0x10001a97
push 0
push 4
lea ecx, [ebp - 0xc]
push ecx
push 7
push 0xffffffffffffffff
call eax
test eax, eax
je 0x10001a97
cmp dword [ebp - 0xc], 0
je 0x10001a97
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10012a50
mov esp, ebp
pop ebp
ret

Function at 0x10001ab0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x1001b170]
xor ecx, ecx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x7b614d6b
mov dword [ebp - 0x18], 0x7c6b7a60
mov byte [ebp - 0x14], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x17
jb 0x10001ad5
mov byte [ebp - 0x14], 0
mov cl, 0xc
mov dword [ebp - 0x10], 0x7e69670c
xor eax, eax
mov dword [ebp - 0xc], 0x3f606962
mov dword [ebp - 8], 0x6068223e
mov word [ebp - 4], 0x60
xor byte [ebp + eax - 0xf], cl
inc eax
cmp eax, 0xc
jae 0x10001b14
mov cl, byte [ebp - 0x10]
jmp 0x10001b05
lea eax, [ebp - 0x2b]
mov byte [ebp - 3], 0
push eax
lea eax, [ebp - 0xf]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.1000a530
cmp al, 0xe9
jne 0x10001b40
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret