joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4337a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x438], 0
je 0x433824
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
cmp edi, 0x100
jne 0x433803
cmp bx, 0xd
jne 0x433803
cmp byte [esi + 0x43e], 0
je 0x4337e4
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x433803
cmp byte [esi + 0x43f], 0
jne 0x433803
mov edi, dword [esi + 0x40]
test edi, edi
je 0x4337fa
push 0
push 0
push esi
mov ecx, str.return
call fcn.00417810
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x438]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ebx
push edi
call edx
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x435730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x47201c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
push ebx
mov dword [eax + 0x438], 0
cmp dword [edi + 4], 0
push esi
jne 0x4357d7
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov dword [ebp - 0x9c], edx
mov edx, dword [eax + 0x1c]
call edx
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [eax]
sub ebx, edx
push ebx
sub esi, ecx
push esi
push edx
push ecx
push 0
push 0x40000000
push 0
push eax
mov eax, edi
call fcn.0041e5a0
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov ebx, dword [ecx + 0x40c]
call eax
mov esi, eax
mov eax, ebx
call fcn.00417eb0
mov ecx, dword [eax]
mov edx, dword [edi + 4]
push 1
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [ebp - 0x90]
push edx
call eax
mov ecx, dword [eax]
cmp word [ecx], 0
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
sete bl
cmp eax, edx
je 0x43580a
push eax
call fcn.00450199
add esp, 4
test bl, bl
je 0x43581d
mov eax, dword [edi + 0x10]
add eax, 0x428
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 4]
add ecx, 0x428
push ecx
push 0
push 0x1002
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 4]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov byte [edi + 0x18], 1
pop ebx
call fcn.0044eeef
mov esp, ebp
pop ebp
ret 4
Function at 0x43c7b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x43c7b7
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x43c88d
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f28]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f28]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f28]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f28]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f28]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f28]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f28]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x469f28]
add ecx, 8
sub edx, 8
dec esi
jne 0x43c7d0
pop edi
test edx, edx
je 0x43c8aa
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x469f28]
inc ecx
dec edx
jne 0x43c891
not eax
pop esi
ret

Function at 0x43d040
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ebx
imul esi, dword [ebp + 0xc]
cmp byte [edi], 0
je 0x43d076
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 4]
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43d06c
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
div ebx
pop esi
pop ebp
ret
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
lea edx, [ecx + esi]
cmp edx, eax
jbe 0x43d087
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x10]
add eax, ecx
mov ecx, dword [ebp + 8]
push esi
push eax
push ecx
call fcn.004575e0
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop esi
pop ebp
ret

Function at 0x43d0b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [esi], 0
push edi
mov edi, 1
je 0x43d0e3
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 8]
push eax
push edi
lea ecx, [ebp - 1]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43d0de
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x43d10e
mov eax, dword [esi + 0x14]
push ebx
mov ebx, dword [esi + 0x18]
lea ecx, [ebx + 1]
cmp ecx, eax
jbe 0x43d0f5
sub eax, ebx
mov edi, eax
mov edx, dword [esi + 0x10]
push edi
add edx, ebx
push edx
lea eax, [ebp - 1]
push eax
call fcn.004575e0
add esp, 0xc
add ebx, edi
mov dword [esi + 0x18], ebx
pop ebx
cmp edi, 1
pop edi
jne 0x43d123
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x43d11d
cmp byte [esi + 8], 0
je 0x43d11d
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x43d1c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [esi], 0
je 0x43d207
cmp byte [esi + 1], 0
je 0x43d20f
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [esi], 0
push ebx
je 0x43d221
cmp byte [esi + 1], 0
je 0x43d215
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebx, eax
sub ebx, dword [esi + 0xc]
mov dword [ebp - 4], ebx
jmp 0x43d229
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], ecx
jmp 0x43d1e1
xor eax, eax
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
jmp 0x43d229
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], eax
mov ebx, eax
push edi
mov edi, 0xffff
mov dword [ebp - 8], edi
cmp ebx, edi
jae 0x43d23b
mov dword [ebp - 8], ebx
mov edi, ebx
push 0x404
call fcn.0044fc13
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x43d255
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 4
mov dword [ebp - 0x14], 0
cmp edi, eax
jbe 0x43d369
jmp 0x43d279
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
add eax, 0x400
mov dword [ebp - 0xc], edi
cmp eax, edi
ja 0x43d288
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, dword [ebp - 0xc]
sub ebx, eax
mov dword [ebp - 0x1c], eax
cmp ebx, 0x404
jbe 0x43d29f
mov ebx, 0x404
cmp byte [esi], 0
je 0x43d2c4
cmp byte [esi + 1], 0
je 0x43d369
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x43d2c7
mov dword [esi + 0x18], eax
cmp byte [esi], 0
mov edi, ebx
je 0x43d2f0
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43d2eb
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x18]
jmp 0x43d319
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea edx, [eax + ebx]
cmp edx, ecx
jbe 0x43d301
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp - 0x10]
push edi
add ecx, eax
push ecx
push edx
call fcn.004575e0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div ebx
cmp eax, 1
jne 0x43d369
lea eax, [ebx - 3]
test eax, eax
jle 0x43d35d
lea esp, [esp]
mov ecx, dword [ebp - 0x10]
dec eax
cmp byte [eax + ecx], 0x50
jne 0x43d34f
cmp byte [eax + ecx + 1], 0x4b
jne 0x43d34f
cmp byte [eax + ecx + 2], 5
jne 0x43d34f
cmp byte [eax + ecx + 3], 6
je 0x43d355
test eax, eax
jg 0x43d330
jmp 0x43d35d
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jne 0x43d369
mov edx, dword [ebp - 8]
cmp dword [ebp - 0xc], edx
jb 0x43d270
mov eax, dword [ebp - 0x10]
push eax
call fcn.00450199
mov eax, dword [ebp - 0x14]
add esp, 4
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi], 0
push edi
jne 0x43e316
cmp dword [esi + 4], 0xffffffff
jne 0x43e316
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x43e2b0
mov eax, dword [0x46b984]
mov dword [edi], eax
cmp ebx, 1
jne 0x43e2e1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, ebx
je 0x43e2e1
mov eax, 0x2000000
pop edi
pop ecx
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ebp + 8]
push edx
push eax
push ecx
mov edi, ebx
call fcn.0043cf10
add esp, 0xc
test eax, eax
jne 0x43e304
mov eax, dword [ebp + 8]
pop edi
pop ecx
pop ebp
ret 8
call fcn.0043d380
mov dword [esi], eax
mov eax, dword [0x47a504]
pop edi
pop ecx
pop ebp
ret 8
mov eax, 0x1000000
pop edi
pop ecx
pop ebp
ret 8
Function at 0x4490d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x4490f4
cmp eax, edi
jge 0x4490ec
call fcn.004487b0
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edi, dword [esi + 8]
xor eax, eax
test edi, edi
jle 0x44911f
mov ecx, dword [esi + 0xc]
mov dl, byte [esi + 0xc]
sub edi, 8
mov byte [ebp + eax - 4], dl
shr ecx, 8
mov ebx, edi
inc eax
mov dword [esi + 0xc], ecx
test ebx, ebx
jg 0x449100
mov dword [esi + 8], ebx
cmp eax, 4
jge 0x44913e
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jb 0x44912c
xor ecx, ecx
jmp 0x449134
mov dl, byte [ecx]
inc ecx
mov dword [esi], ecx
movzx ecx, dl
mov byte [ebp + eax - 4], cl
inc eax
cmp eax, 4
jl 0x449122
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edx, byte [ebp - 2]
movzx ebx, ah
movzx eax, al
shl ebx, 8
add ebx, eax
shl ecx, 8
mov eax, ebx
add ecx, edx
xor eax, 0xffff
cmp ecx, eax
je 0x449177
mov dword [0x479574], str.zlib_corrupt
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
add ecx, ebx
cmp ecx, dword [esi + 4]
jbe 0x449193
pop edi
pop esi
mov dword [0x479574], 0x46bc1c
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x10]
add edx, ebx
cmp edx, dword [esi + 0x18]
jbe 0x4491aa
mov ecx, ebx
mov edi, esi
call fcn.004487f0
test eax, eax
je 0x44916e
mov edi, dword [esi]
mov eax, dword [esi + 0x10]
push ebx
push edi
push eax
call fcn.004575e0
mov eax, dword [esi + 0x10]
add edi, ebx
add esp, 0xc
add eax, ebx
mov dword [esi], edi
pop edi
mov dword [esi + 0x10], eax
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44eeef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47201c]
jne 0x44eef9
repz ret
jmp fcn.004501d3

Function at 0x44ef1f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x44ef46
call fcn.0045032e
mov dword [eax], esi
call fcn.0045031b
push 0x16
pop esi
mov dword [eax], esi
call fcn.004504ee
mov eax, esi
jmp 0x44ef9b
test dword [ebp + 0xc], 0xfffffff9
jne 0x44ef2c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44ef73
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00450341
pop ecx
call fcn.0045031b
mov eax, dword [eax]
jmp 0x44ef9b
test al, 0x10
jne 0x44ef99
test al, 1
je 0x44ef99
test byte [ebp + 0xc], 2
je 0x44ef99
call fcn.0045032e
mov dword [eax], 5
call fcn.0045031b
mov dword [eax], 0xd
jmp 0x44ef6a
xor eax, eax
pop esi
pop ebp
ret
Function at 0x457b95
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47201c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004531e3
and dword [ebp - 0x14], 0
cmp dword [0x475910], 0
mov dword [ebp - 0x18], eax
jne 0x457c48
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x457cf0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x463598
push ebx
call edi
test eax, eax
je 0x457cf0
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x475910], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x475914], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x475918], eax
call edi
push eax
call esi
mov dword [0x475920], eax
test eax, eax
je 0x457c48
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x47591c], eax
mov eax, dword [0x47591c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x457ca1
cmp dword [0x475920], ecx
je 0x457ca1
push eax
call esi
push dword [0x475920]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x457ca1
test ebx, ebx
je 0x457ca1
call edi
test eax, eax
je 0x457c98
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x457c98
test byte [ebp - 8], 1
jne 0x457ca1
or dword [ebp + 0x10], 0x200000
jmp 0x457cd4
mov eax, dword [0x475914]
cmp eax, dword [ebp - 0x18]
je 0x457cd4
push eax
call esi
test eax, eax
je 0x457cd4
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x457cd4
mov eax, dword [0x475918]
cmp eax, dword [ebp - 0x18]
je 0x457cd4
push eax
call esi
test eax, eax
je 0x457cd4
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x475910]
call esi
test eax, eax
je 0x457cf0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x457cf2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044eeef
leave
ret
Function at 0x1000102b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x104]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov edi, dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
lea eax, [ebp - 0x104]
push eax
push ebx
push 7
call edi
mov eax, dword [0x1000cce4]
xor ecx, ecx
test eax, eax
jle 0x100010a5
mov dl, byte [ebx]
mov esi, 0x1000c42d
cmp byte [esi], dl
je 0x10001080
inc ecx
add esi, 0x118
cmp ecx, eax
jl 0x10001071
cmp ecx, eax
jge 0x100010a5
imul ecx, ecx, 0x118
lea eax, [ebp - 0x104]
push dword [ecx + 0x1000c428]
push str.DeviceIsoCdRom_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x104]
push eax
push ebx
push 1
call edi
test eax, eax
jne 0x100010c8
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 3
jl 0x100010a7
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100010cd
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x1000cce4]
xor ecx, ecx
test eax, eax
jle 0x10001135
mov dl, byte [edi]
push esi
mov esi, 0x1000c42d
cmp byte [esi], dl
je 0x1000110f
inc ecx
add esi, 0x118
cmp ecx, eax
jl 0x10001100
cmp ecx, eax
pop esi
jge 0x10001135
imul ecx, ecx, 0x118
lea eax, [ebp - 0x104]
push dword [ecx + 0x1000c428]
push str.DeviceIsoCdRom_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push edi
push 1
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
pop edi
leave
ret
Function at 0x10001312
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
push ebx
push esi
push edi
mov esi, str.._:
lea edi, [ebp - 8]
mov al, byte [ebp + 8]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ebx, ebx
push ebx
push ebx
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 3
mov byte [ebp - 4], al
push ebx
mov edi, SysReAllocString
push 3
lea eax, [ebp - 8]
push edi
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x1000138a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1000137e
lea eax, [ebp - 4]
push eax
call fcn.100010cd
pop ecx
lea eax, [ebp - 8]
push ebx
push ebx
push 3
push ebx
push 3
push edi
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x1000138a
lea eax, [ebp - 4]
push eax
call fcn.10001000
pop ecx
jmp 0x100013d4
mov esi, 0x226
lea eax, [ebp - 0x234]
push esi
push ebx
push eax
call fcn.10005590
add esp, 0xc
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x234]
push esi
push eax
push ebx
push ebx
push 0x23310
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100013d9
lea eax, [ebp - 4]
push eax
call fcn.10001000
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x10001451
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0xff
lea eax, [ebp - 0x334]
push esi
push ebx
push eax
call fcn.10005590
add esp, 0xc
lea eax, [ebp - 0x334]
push ebx
push ebx
push esi
push eax
movzx eax, word [ebp - 0x36]
shr eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movzx ecx, word [ebp - 0x32]
mov eax, dword [ebp + 0xc]
cmp word [ebp - 0x36], bx
mov dword [eax + 8], ecx
jne 0x1000142d
mov byte [eax + 0xc], bl
jmp 0x1000143d
cmp word [ebp - 0x34], bx
je 0x10001439
mov byte [eax + 0xc], 1
jmp 0x1000143d
mov byte [eax + 0xc], 2
lea ecx, [ebp - 0x334]
add eax, 0xe
push ecx
push eax
call fcn.100054a0
pop ecx
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001d6c
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10001da7
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x10001d8e
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x10001d9f
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10001da9
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10001d84
xor eax, eax
pop edi
pop esi
ret

Function at 0x10001f2f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc edi
adc al, 0x8d
je 0x10001f6c
sbb byte [ecx - 0x1017438b], cl
std
invalid
dec esi
or al, 0xf
mov bh, 0xd0
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x10001f80
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x10001f71
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10001d2c
add dword [edx - 0x4c], edx
pop esi
lea eax, [ebp - 0x58]
push eax
call fcn.10001d3c
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10001cf1
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1000201a
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10001d2c
inc eax
ret

Function at 0x1000391d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.10001d3c
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.10001c9d
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x10003ca4
Function at 0x100042da
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
lea eax, [ebp - 8]
push esi
push eax
xor esi, esi
push str.SOFTWAREEasyBoot_SystemsUltraISO5.0
push SysReAllocString
mov dword [0x1000cda8], 0x409
mov dword [0x1000cdb8], esi
mov dword [0x1000cdac], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10004399
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x1000cd8c
push dword [ebp - 8]
call esi
test eax, eax
jne 0x10004358
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100054a0
pop ecx
pop ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x100
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.Language
push dword [ebp - 8]
call esi
test eax, eax
jne 0x10004390
lea eax, [ebp - 0x10c]
push eax
call fcn.10005ac2
pop ecx
mov dword [0x1000cda8], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x1000cda8]
pop esi
cmp eax, 0x409
jne 0x100043ab
push 1
pop eax
jmp 0x100043da
xor edx, edx
mov ecx, 0x10009838
cmp dword [ecx], eax
je 0x100043c4
add ecx, 0xc
inc edx
cmp ecx, str.Vietnamese
jl 0x100043b2
jmp 0x100043d3
lea eax, [edx + edx*2]
mov eax, dword [eax*4 + 0x1000983c]
mov dword [0x1000cdb8], eax
cmp edx, 0x29
jne 0x100043e6
xor eax, eax
mov dword [0x1000cdb8], 0x100084a0
leave
ret
push 1
pop eax
leave
ret
Function at 0x10004fa8
Capabilities:
Create process on windows
Read file on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
lea edi, [ecx + 0x10]
lea eax, [ebp - 0x144]
push edi
push str._sautorun.inf
push eax
mov dword [ebp - 8], ecx
call esi
add esp, 0xc
xor ebx, ebx
lea eax, [ebp - 0x144]
push ebx
push ebx
push 3
push ebx
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
movsx eax, byte [edi]
push eax
lea eax, [ebp - 0x144]
push str.explorer.exe__e__root__c:_
push eax
call esi
add esp, 0xc
cmp dword [ebp - 4], 0xffffffff
je 0x1000507c
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x10005073
cmp dword [ebp - 0x20], ebx
jne 0x10005073
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10000
jae 0x10005073
add eax, 0xa
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebx
je 0x10005073
lea eax, [ebp - 0xc]
push ebx
push eax
push dword [ebp - 0x1c]
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000506c
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
jne 0x1000506c
lea ecx, [ebp - 0x144]
push ecx
mov ecx, dword [ebp - 8]
push eax
push esi
call fcn.10004ea2
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x144]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret