joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401bb0
Capabilities:
Write file on windows

Disassembly:
lea eax, [ebp - 0x1f8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405526
leave
ret
push esp
mov eax, dword [esp + 8]
mov esi, 0x4081f6
pop dword [0x408353]
call fcn.00403c06
je 0x401b8a
inc eax
add dword [ebp + 0x40590408], 0x50
add al, 0x40
push dword [esp + ecx*8 + 1]

Function at 0x4051bb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4087b0]
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.004042aa
and dword [ebp - 0x14], 0
cmp dword [0x40c750], 0
mov dword [ebp - 0x18], eax
jne 0x40526e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405316
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405316
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40c750], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40c754], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40c758], eax
call edi
push eax
call esi
mov dword [0x40c760], eax
test eax, eax
je 0x40526e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40c75c], eax
mov eax, dword [0x40c75c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4052c7
cmp dword [0x40c760], ecx
je 0x4052c7
push eax
call esi
push dword [0x40c760]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4052c7
test ebx, ebx
je 0x4052c7
call edi
test eax, eax
je 0x4052be
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4052be
test byte [ebp - 8], 1
jne 0x4052c7
or dword [ebp + 0x10], 0x200000
jmp 0x4052fa
mov eax, dword [0x40c754]
cmp eax, dword [ebp - 0x18]
je 0x4052fa
push eax
call esi
test eax, eax
je 0x4052fa
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4052fa
mov eax, dword [0x40c758]
cmp eax, dword [ebp - 0x18]
je 0x4052fa
push eax
call esi
test eax, eax
je 0x4052fa
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40c750]
call esi
test eax, eax
je 0x405316
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405318
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405526
leave
ret

Function at 0x405526
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4087b0]
jne 0x405530
repz ret
jmp fcn.00406693
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4023c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x402868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov eax, dword [esp + 0x18]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x402439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 4]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov al, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 8]
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x402890
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
and ecx, 0xffff
push eax
push ecx
push 0
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x402509
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402509
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x402509
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, ebx
mov esi, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString
call fcn.004023c0
add esp, 0xc
test al, al
push ebp
jne 0x40253d
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00402600
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00402600
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret

Function at 0x408931
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop ecx
add eax, 0x6828f9a5
sub esi, 0xef020b5d
call fcn.00408975
and esi, eax
xor dword [edi], ecx
sub eax, eax
add esi, 0xe7a4229d
add edi, 1
dec eax
or esi, eax
cmp edi, edx
jne fcn.00408931
or esi, esi
ret
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

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

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 0x10003463
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10060474
call fcn.1005ff3f
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x100034e0
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x100034e0
call fcn.10002c98
mov esi, eax
jmp 0x100035e6
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x10003503
call fcn.10002c98
jmp 0x100035d9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x100034f9
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x10003536
mov esi, 0x8007000e
jmp 0x100035db
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x10003614
jb 0x10003551
cmp eax, 0xffffffff
ja 0x10003614
cmp eax, 0x400
jbe 0x10003566
push eax
lea ecx, [ebp - 0x418]
call fcn.10054252
jmp 0x10003588
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10003588
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x1000352c
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x100034f9
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.100040dc
mov esi, eax
test edi, edi
je 0x100035e6
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100035ff
lea ecx, [ebp - 0x418]
call fcn.10052b81
lea ecx, [ebp - 0x428]
call fcn.1004f948
mov eax, esi
call fcn.1005fe8c
ret 0x10
push 0x80070216
call fcn.10002c1a
int3
Function at 0x100051c5
Capabilities:
Read file on windows

Disassembly:
push 8
mov eax, 0x1006054d
call fcn.1005fe9d
mov edi, edx
xor eax, eax
xor ebx, ebx
push eax
push 0x80
push 3
push eax
inc ebx
mov dword [ebp - 4], eax
push ebx
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x10], esi
cmp esi, 0xffffffff
je 0x10005232
test esi, esi
je 0x10005232
lea ecx, [ebp - 0x10]
call fcn.10005190
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x14], eax
call fcn.1004fff3
cmp dword [edi + 0x14], 0x10
jb 0x1000521b
mov edi, dword [edi]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push 0
push eax
push dword [ebp - 0x14]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x10005234
xor ebx, ebx
cmp esi, 0xffffffff
je 0x10005244
test esi, esi
je 0x10005244
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
call fcn.1005fe66
ret

Function at 0x1000547c
Capabilities:
Write file on windows

Disassembly:
push 0x3c
mov eax, 0x100605d2
call fcn.1005fed1
mov edi, edx
xor esi, esi
mov dword [ebp - 4], esi
cmp ecx, 4
jne 0x100054a5
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x44]
push esi
push eax
push 2
push 0x10066d90
jmp 0x100054e0
cmp ecx, 5
jne 0x1000550c
mov ebx, dword [ebp + 0x18]
test ebx, ebx
jne 0x100054b5
mov eax, esi
jmp 0x100054c0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
push eax
cmovae ecx, dword [ebp + 8]
mov edx, ebx
call fcn.10002aef
pop ecx
push esi
lea eax, [ebp - 0x44]
push eax
push 2
push 0x10066d94
push dword [edi]
mov dword [ebp - 0x44], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp + 0x18], esi
je 0x100054fb
cmp dword [ebp + 0x1c], 8
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
lea eax, [ebx + ebx]
mov ecx, edi
push eax
push esi
call fcn.1000516d
jmp 0x100055aa
cmp ecx, 2
jne 0x10005554
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.1004f962
push esi
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], esi
push eax
push 3
push str._d
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x18], esi
je 0x10005544
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push dword [ebp - 0x18]
mov ecx, edi
push esi
call fcn.1000516d
lea ecx, [ebp - 0x28]
jmp 0x100055a5
cmp ecx, 3
jne 0x10005567
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.1004f962
jmp 0x10005534
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.10058405
cmp dword [ebp - 0x30], esi
je 0x10005597
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
push dword [ebp - 0x30]
mov ecx, edi
push esi
call fcn.1000516d
lea ecx, [ebp - 0x40]
call fcn.1005001d
lea ecx, [ebp + 8]
call fcn.10052bca
xor eax, eax
inc eax
call fcn.1005fe7b
ret
Function at 0x10005e1d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x10083010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x200
push eax
call sym.WCLDll.dll_at_wstr_ncpy
add esp, 0x10
push 2
pop esi
movzx edi, word [ebp + esi - 0x404]
test di, di
je 0x10005e93
cmp edi, 0x5c
je 0x10005e65
cmp edi, 0x2f
jne 0x10005e8d
cmp esi, 0x400
jae 0x10005ea1
xor eax, eax
push eax
mov word [ebp + esi - 0x404], ax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [ebp + esi - 0x404], di
inc esi
add esi, 1
jne 0x10005e4e
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1005eacb
leave
ret
call fcn.1005eecb
int3

Function at 0x1000613a
Capabilities:
Set current directory

Disassembly:
push 0x278
mov eax, 0x1006066b
call fcn.1005fed1
mov ebx, edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x280], eax
call fcn.10005d1c
and dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x1000620f
lea eax, [ebp - 0x27c]
push 0x10066ed8
push eax
call sym.WCLDll.dll_at_fs_find_first
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp word [ebp - 0x24c], 0
je 0x10006203
mov esi, dword [ebp - 0x284]
push dword [ebp - 0x280]
lea eax, [ebp - 0x27c]
push edi
push ebx
push eax
call esi
add esp, 0x10
cmp dword [edi], 0
jne 0x10006203
test byte [ebp - 0x278], 0x10
je 0x100061ee
lea ecx, [ebp - 0x27c]
call fcn.10005c7c
test eax, eax
jne 0x100061ee
push dword [ebp - 0x280]
lea edx, [ebx + 1]
push esi
push edi
lea ecx, [ebp - 0x24c]
call fcn.1000613a
add esp, 0xc
lea ecx, [ebp - 0x27c]
call fcn.10005c5c
cmp word [ebp - 0x24c], 0
jne 0x100061a4
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x28]
call fcn.10052bca
call fcn.1005fe7b
ret
Function at 0x1005533a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10058f8c
mov edi, eax
mov eax, dword [ecx + 4]
cdq
mov esi, eax
mov eax, dword [ecx + 8]
xor esi, edx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
imul esi, eax
lea eax, [esi + edi]
cmp edi, eax
jae 0x100553b1
add edi, 2
mov dword [ebp - 4], 0xff
dec esi
shr esi, 2
inc esi
push ebx
movzx ecx, byte [edi + 1]
xor edx, edx
movzx eax, byte [edi - 2]
imul eax, ecx
mov bl, byte [edi]
div dword [ebp - 4]
xor edx, edx
mov byte [edi], al
lea edi, [edi + 4]
movzx eax, byte [edi - 5]
imul eax, ecx
div dword [ebp - 4]
xor edx, edx
mov byte [edi - 5], al
movzx eax, bl
imul eax, ecx
mov ecx, 0xff
div ecx
mov byte [edi - 6], al
sub esi, 1
jne 0x10055373
pop ebx
pop edi
pop esi
leave
ret

Function at 0x10055efc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 8]
cdq
mov edi, eax
mov eax, dword [esi + 4]
xor edi, edx
sub edi, edx
cdq
xor eax, edx
shr edi, 2
sub eax, edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], eax
test edi, edi
je 0x10055f96
mov dword [ebp - 4], 0xff
xor ecx, ecx
mov dword [ebp - 8], ecx
test eax, eax
jle 0x10055f91
mov edi, dword [ebp - 0xc]
push ecx
mov ecx, esi
call fcn.10058f5b
xor edx, edx
lea esi, [eax + ebx*4]
movzx eax, byte [ebp + 9]
movzx ecx, byte [esi + 3]
imul eax, ecx
div dword [ebp - 4]
xor edx, edx
mov byte [esi + 1], al
movzx eax, byte [ebp + 8]
imul eax, ecx
div dword [ebp - 4]
xor edx, edx
mov byte [esi], al
movzx eax, byte [ebp + 0xa]
imul eax, ecx
mov ecx, 0xff
div ecx
mov ecx, dword [ebp - 8]
inc ecx
mov byte [esi + 2], al
mov esi, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
cmp ecx, edi
jl 0x10055f3e
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
inc ebx
cmp ebx, edi
jl 0x10055f32
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
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
nop
pop eax
nop
nop
nop
mov esi, 0x29e9451a
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3b04c24
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0xdc0918
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdc0922
pushal
call 0xdc0928
pop ebp
sub ebp, 0x10
sub ebp, 0x9c0918
jmp 0xdc093e
mov eax, 0x9c0918
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c2
mov edx, 0x607eb279
xor byte [eax], dl
inc eax
dec ecx
jne 0xdc0955
jmp 0xdc0968
mov ah, 0xf2
invalid
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x42fd31f2
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x15e32305
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x53ad4e20
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x362811ba
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0xd22f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xd379fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xd23002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00d26dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xd23002
lea edx, [esp + 0x14]
push edx
push 0xd3d140
call fcn.00d1e6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00d2720b
push 0x10
call fcn.00d271d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xd22fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00d131c0
jmp 0xd22fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00d22b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xd22ff0
mov ecx, edi
call fcn.00d132c0
push edi
call fcn.00d271c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xd23021
inc ebx
cmp ebx, 0x20
jb 0xd22f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret