joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
pushal
cmp dword [ebp + 0xc], 1
jne 0x4011dd
push 0x4e4941
push 0x4d5f3031
push 0x46434d4d
push 0
lea edx, [esp + 4]
push edx
call dword [sym.imp.USER32.DLL_FindWindowA]
add esp, 0xc
cmp eax, 0
je 0x4011dd
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.DLL_GetWindowLongA]
cmp eax, 0
je 0x4011dd
mov ebx, eax
cmp dword [ebx + 4], 0x2710
jne 0x4011dd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0x4011e7
mov dword [ebp - 0x124], fcn.004014d0
mov dword [ebp - 0x120], 0x4016c4
push 0x20
push 0x29313030
push 0x28393920
push 0x24454c55
push 0x444f4d24
push esp
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
add esp, 0x14
push 0x118
lea edx, [ebp - 0x130]
push edx
lea edx, [ebx + 0x8c]
push edx
call fcn.00404c58
push 0
push 0x68746f72
push 0x776e654b
push esp
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
lea edx, [ebx + 0xa4]
push edx
call fcn.00401ee9
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0xa
push 0x3e8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x401145
mov dword [ebp - 0x18], eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x40113c
mov dword [ebp - 0x14], eax
push 0x1248
lea edx, [eax + 0x1a]
push edx
push 0x40756a
call dword [sym.imp.NTDLL.DLL_memcpy]
add esp, 0xc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
push 0x74
push 0x7365745f
push 0x33746365
push 0x5f696870
push 0x6c65645f
push 0x68746f72
push 0x776e656b
mov dword [ebp - 8], esp
push 0x3030
push 0x302e3031
mov dword [ebp - 4], esp
push 0x4e41
push 0x43205d6b
push 0x33373033
push 0x5b335443
push 0x45206968
push 0x706c6544
push 0x29545345
push 0x54282468
push 0x746f7277
push 0x6e656b24
push esp
push dword [ebp - 4]
push dword [ebp - 8]
push 0x1248
push 0x40756a
push 0x300400
push 3
push dword [ebp + 8]
push dword [ebp - 0x10]
lea edx, [ebx + 0xa4]
push edx
call fcn.00401ee9
add esp, 0x28
add esp, 8
add esp, 0x1c
mov dword [ebp - 0xc], eax
popal
mov eax, 1
leave
ret 0xc
Function at 0x4372a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4372cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4372cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40d59f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00407300
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40d63a
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x418bd4]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x40d63a
cmp eax, 1
je 0x40d65b
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40d63a
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x40d607
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x40d636
xor eax, eax
inc eax
jmp 0x40d67a
cmp edi, eax
jae 0x40d63e
xor eax, eax
jmp 0x40d67a
cmp eax, esi
jae 0x40d645
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x418bd4]
jmp 0x40d65e
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x19ac60b8
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7cb11571
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
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 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x212877ad
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x4ae56a54
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10001230
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
je 0x1000124f
mov eax, 1
jmp 0x10001251
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001260
Capabilities:
Terminate process

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret
Function at 0x10016dd0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
test ebp, ebp
je 0x10016ea3
mov esi, dword [ebp + 0x3c]
push 0xf8
add esi, ebp
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp eax, 1
je 0x10016ea3
cmp dword [esi], 0x4550
jne 0x10016ea3
mov esi, dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [0x1011f618]
lea ecx, [esp + 0x10]
push ecx
push 0x40
push esi
push edx
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x10016ea3
mov eax, dword [ebp + 0x3c]
mov ebx, dword [eax + ebp + 0x78]
test ebx, ebx
je 0x10016ea3
mov eax, dword [ebx + ebp + 0x1c]
add ebx, ebp
push edi
add eax, ebp
mov esi, 0x1011ee24
xor edi, edi
sub eax, esi
mov dword [esp + 0x1c], eax
jmp 0x10016e56
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + esi]
mov ecx, dword [esi]
add eax, ebp
push 0
sub ecx, eax
push 5
sub ecx, 5
push 0x1011f610
mov dword [0x1011f61c], ecx
mov dword [0x1011f611], ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov byte [0x1011f610], 0xe9
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, dword [ebx + 0x14]
inc edi
add esi, 4
dec edx
cmp edi, edx
jbe 0x10016e52
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x10016f40
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x21c
push ebx
mov al, 0x34
push ebp
push esi
mov byte [esp + 0xd], al
mov byte [esp + 0x12], al
push edi
lea eax, [esp + 0x24]
push 0x208
push eax
push 0
mov byte [esp + 0x1c], 0x12
mov byte [esp + 0x1e], 0x56
mov byte [esp + 0x1f], 0x78
mov byte [esp + 0x20], 0x87
mov byte [esp + 0x21], 0x65
mov byte [esp + 0x23], 0x21
mov dword [0x1011f634], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 3
push 0
push 3
lea ecx, [esp + 0x38]
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10017082
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 2
push 0
push 0xfffffffffffffff8
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [esp + 0x18]
push 0
push edx
lea eax, [esp + 0x24]
push 8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001707b
mov ecx, 2
lea edi, [esp + 0x1c]
lea esi, [esp + 0x10]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x10017082
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push edx
push 0xfffffffffffffff4
push ebx
call edi
mov esi, dword [esp + 0x230]
lea eax, [esp + 0x18]
push 0
push eax
push 4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001707b
mov ecx, dword [esi]
push 4
push 0x1000
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x1011f638], eax
mov ecx, dword [esi]
sub ebp, ecx
push 0
sub ebp, 0xc
push 0
push ebp
push ebx
call edi
mov eax, dword [esi]
mov ecx, dword [0x1011f638]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001707b
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x21c
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x21c
ret
Function at 0x10018540
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
mov dword [0x1011f60c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x78]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10018594
push 0
push str.Error
push str.Error_in_Get_ExportDir
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x100186cd
mov ecx, dword [ebp - 4]
add ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
add edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x1c], fcn.10023a80
mov esi, dword [ebp - 0x1c]
mov al, byte [esi]
cmp al, 0xcc
je 0x100186c8
mov dword [ebp - 0x30], fcn.10023a20
mov esi, dword [ebp - 0x30]
mov al, byte [esi]
cmp al, 0xcc
je 0x100186c8
mov dword [ebp - 0x28], fcn.10019a30
mov esi, dword [ebp - 0x28]
mov al, byte [esi]
cmp al, 0xcc
je 0x100186c8
mov dword [ebp - 0x2c], fcn.10018540
mov esi, dword [ebp - 0x2c]
mov al, byte [esi]
cmp al, 0xcc
je 0x100186c8
mov edx, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x20], edx
mov esi, dword [ebp - 0x20]
mov al, byte [esi]
cmp al, 0xcc
je 0x100186c8
mov eax, dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
mov al, byte [esi]
cmp al, 0xcc
je 0x100186c8
cmp dword [ebp - 4], 0
jne 0x1001864c
mov eax, 1
jmp 0x100186cd
mov dword [ebp - 8], 0
jmp 0x1001865e
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
sub eax, 1
cmp dword [ebp - 8], eax
ja 0x100186c8
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
cmp ecx, 1
jne 0x10018698
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 0x1e8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1011ec24], eax
jmp 0x100186aa
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + edx*4]
add ecx, dword [ebp + 8]
mov dword [0x1011ec24], ecx
mov edx, dword [0x1011ec24]
mov dword [0x1011f61c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [0x1011f61c]
mov dword [eax*4 + 0x1011ee24], ecx
jmp 0x10018655
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10018bb0
Capabilities:
Delete directory
Delete file
Move file

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
xor edi, edi
push 0x64
call esi
mov eax, dword [0x1011ec28]
push eax
call ebx
test eax, eax
jne 0x10018bd7
inc edi
cmp edi, 3
jl 0x10018bc1
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ebx, ebx
push 0x64
call esi
push 0x1011ea0c
call edi
test eax, eax
jne 0x10018bf4
inc ebx
cmp ebx, 3
jl 0x10018bdf
call fcn.10001510
test eax, eax
je 0x10018c0c
push 4
push 0
push 0x1011ea0c
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0x5c
push 0x1011ea0c
call fcn.10019fb0
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add esp, 8
mov byte [eax], 0
xor edi, edi
push 0x64
call esi
push 0x1011ea0c
call ebx
test eax, eax
jne 0x10018c3b
inc edi
cmp edi, 3
jl 0x10018c26
pop edi
pop esi
pop ebx
ret

Function at 0x10018c80
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x458
lea eax, [esp + 0x58]
push ebx
push esi
push edi
push eax
push 0x1ff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x64]
push str.YShow3D.exe
push ecx
call ebx
push 4
push 0x1000
push 0xf000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
jne 0x10018ccf
pop edi
pop esi
pop ebx
add esp, 0x458
ret
push edi
push 0x1010d204
call fcn.100251c0
add esp, 8
lea edx, [esp + 0x64]
push 0
push 0
push 2
push 0
push 3
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10018d19
lea eax, [esp + 0x1c]
push 0
push eax
push 0xf000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x64]
push ecx
push edx
call ebx
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x20]
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
push edx
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x34], eax
push eax
lea eax, [esp + 0x84]
mov esi, 1
push eax
push 0
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x74], esi
mov word [esp + 0x78], si
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10018d89
pop edi
pop esi
pop ebx
add esp, 0x458
ret
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x458
ret
Function at 0x10019880
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esi]
xor edx, edx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], edi
mov edi, dword [esi + 4]
mov dword [esp + 0x24], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov edi, 0x20
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
mov esi, ecx
sub edx, 0x61c88647
shr esi, 5
add esi, ebx
mov ebx, ecx
shl ebx, 4
add ebx, ebp
mov ebp, dword [esp + 0x18]
xor esi, ebx
lea ebx, [edx + ecx]
xor esi, ebx
mov ebx, dword [esp + 0x14]
add eax, esi
mov esi, eax
shr esi, 5
add esi, ebx
mov ebx, eax
shl ebx, 4
add ebx, ebp
xor esi, ebx
lea ebx, [edx + eax]
xor esi, ebx
add ecx, esi
dec edi
jne 0x100198b6
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
add esp, 0xc
ret

Function at 0x10019af0
Capabilities:
Check for software breakpoints
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x2c], 0x10019810
mov esi, dword [ebp - 0x2c]
mov al, byte [esi]
cmp al, 0xcc
je 0x10019b72
mov dword [ebp - 0x10], fcn.10017090
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, 0xcc
je 0x10019b72
mov dword [ebp - 0x18], fcn.10019d50
mov esi, dword [ebp - 0x18]
mov al, byte [esi]
cmp al, 0xcc
je 0x10019b72
mov dword [ebp - 0x24], 0x9e3779b9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
test eax, eax
jle 0x10019bd8
mov edx, dword [ebp - 8]
sub edx, 0x61c88647
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
shl eax, 4
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 8]
xor eax, ecx
mov edx, dword [ebp - 0x28]
shr edx, 5
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
shl edx, 4
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x1c]
xor edx, ecx
mov eax, dword [ebp - 0x28]
add eax, edx
mov dword [ebp - 0x28], eax
jmp 0x10019b72
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret