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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x42b054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x60
push 0
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x408], 0
call ebx
mov edi, eax
test edi, edi
jne 0x40a700
push 2
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x40a700
call fcn.004097f0
mov esi, eax
jmp 0x40a7b9
push dword [ebp - 0x40c]
push dword [ebp - 0x410]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40a723
call fcn.004097f0
jmp 0x40a7ac
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x40a738
call fcn.004097f0
jmp 0x40a7ac
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x40a750
mov esi, 0x8007000e
jmp 0x40a7ae
push eax
lea ecx, [ebp - 0x408]
call fcn.00409670
cmp dword [ebp - 0x408], 0
jne 0x40a76c
mov esi, 0x8007000e
jmp 0x40a7ae
push esi
push dword [ebp - 0x408]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40a78c
call fcn.004097f0
jmp 0x40a7ac
mov eax, dword [ebp - 0x408]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x418]
push dword [ebp - 0x408]
call fcn.0040a530
mov esi, eax
test edi, edi
je 0x40a7b9
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x40a7d2
lea ecx, [ebp - 0x408]
call fcn.00409c10
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c175
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40af80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x40af99
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40afa5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x40afa0
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40afe0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x40aff5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b000
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

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 0x1da3268
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1da33b8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1da328e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1da327a
add dl, dl
jne 0x1da3299
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1da32ec
xor eax, eax
add dl, dl
jne 0x1da32a6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1da338d
add dl, dl
jne 0x1da32b5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1da32c0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1da32cb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1da32d6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1da32e2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1da3285
mov eax, 1
add dl, dl
jne 0x1da32fa
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1da3305
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1da32f1
sub eax, ebx
mov ebx, 1
jne 0x1da3338
mov ecx, 1
add dl, dl
jne 0x1da331e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1da3329
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1da3315
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1da3285
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1da334f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1da335a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1da3346
cmp eax, 0x7d00
jae 0x1da337d
cmp eax, 0x500
jb 0x1da3378
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1da3285
cmp eax, 0x7f
ja 0x1da3380
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1da3285
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1da33ae
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1da3285
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x613f13
Capabilities:
Encode data using xor

Disassembly:
mov edi, eax
mov esi, edx
mov eax, 0x41363233
xor al, byte [esi]
call fcn.00613f4a
mov ebx, eax
xor ah, byte [esi]
call fcn.00613f4a
shr ecx, 2
mov edx, ecx
xor dword [edi], eax
mov cl, al
add edi, 4
rol ebx, cl
xor eax, ebx
mov cl, bh
ror eax, cl
add ebx, eax
dec edx
jne 0x613f31
ret

Function at 0x613f4a
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
push edx
xor edx, edx
dec esi
inc esi
xor ah, byte [esi]
xor al, dl
add eax, 0x6e203cc5
add eax, 0x21424a6
mov cl, al
ror eax, cl
xor eax, 0x8372a5a7
dec dx
jne 0x613f53
cmp byte [esi], 0
jne 0x613f50
pop edx
pop esi
pop ecx
ret

Function at 0x613f9b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
add edx, 0x89421025
bswap edx
mov eax, dword [esi]
sub eax, edx
xor eax, ebx
mov ebx, dword [esi]
mov dword [edi], eax
add esi, 4
add edi, 4
dec ecx
jne 0x613faf
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x6160c3
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
pushal
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
imul eax, dword [ebp + 0x10], 0x9e3779b9
cmp dword [ebp + 0x10], 0
jbe 0x616123
mov edx, ebx
shl edx, 4
sub ecx, edx
mov edx, dword [esi + 8]
xor edx, ebx
sub ecx, edx
mov edx, ebx
shr edx, 5
xor edx, eax
sub ecx, edx
sub ecx, dword [esi + 0xc]
mov edx, ecx
shl edx, 4
sub ebx, edx
mov edx, dword [esi]
xor edx, ecx
sub ebx, edx
mov edx, ecx
shr edx, 5
xor edx, eax
sub ebx, edx
sub ebx, dword [esi + 4]
sub eax, 0x9e3779b9
dec dword [ebp + 0x10]
jmp 0x6160d9
mov dword [edi], ebx
mov dword [edi + 4], ecx
popal
leave
ret 0xc

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x10009cf3
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov ebx, ecx
push esi
mov esi, dword [esp + 0x18]
add ecx, 0xffffbff8
xor esi, 0x2ed
mov dword [esp + 0x1c], ecx
push edi
mov edi, dword [esp + 0x24]
mov eax, esi
mov edx, edi
mov dword [esp + 0x1c], esi
xor edx, 0x7ef6
add ebp, 0xffffff1b
xor eax, 0x2c7
mov dword [esp + 0x24], edx
xor ebx, 0x7fb6
mov dword [esp + 0x2c], ebp
xor edi, 0x4008
cmp ecx, eax
jg 0x10009f3f
lea eax, [ebp + 0xc5]
cmp esi, eax
jl 0x10009f0a
mov ebp, dword [esp + 0x28]
mov eax, edi
xor eax, 0x3efe
xor ecx, 0x3e18
push ebp
push eax
lea eax, [ebx - 0xbc]
push eax
lea eax, [esi - 0x27c]
push eax
lea eax, [edx - 0x23c]
push eax
mov eax, esi
xor eax, 0x230
push eax
push ecx
call sym.goa913xa1.dll_LKvSFpjm
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
lea eax, [ecx - 0x38c]
xor ecx, 0x13b
push eax
lea eax, [esi + 0x10a]
push eax
push ecx
mov eax, edi
xor eax, 0x3e7e
push eax
mov eax, dword [esp + 0x50]
add eax, 0x123
push eax
mov eax, dword [esp + 0x50]
xor eax, 0x3aad
push eax
push dword [0x10055f54]
call fcn.10009a8b
mov eax, dword [ebp + 0xf4]
add esp, 0x38
cmp eax, dword [ebp]
mov ecx, 0x10055f58
cmovb ecx, dword [0x10074ac8]
xor esi, esi
mov dword [0x10074ac8], ecx
mov ecx, dword [0x10055f54]
mov eax, dword [0x10074b20]
xor eax, 0x12
imul eax, dword [ecx + 0x9c]
mov dword [ecx + 0x9c], eax
mov eax, dword [ebp + 0x7c]
sub eax, 0xd79d24
mov ecx, dword [ebp + 0x58]
xor dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x84]
add eax, 0xffe04eeb
or dword [ebp + 0xb0], eax
mov eax, dword [0x10055f54]
mov eax, dword [eax + 0x88]
mov ebx, dword [eax + esi]
add esi, 4
imul ebx, dword [ebp + 0x3c]
mov eax, dword [0x10074acc]
mov edx, ebx
shr edx, 0x10
mov byte [eax + ecx], dl
mov ecx, ebx
inc dword [ebp + 0x58]
mov edx, dword [ebp + 0x58]
mov eax, dword [ebp + 0x8c]
shr ecx, 8
mov byte [edx + eax], cl
inc dword [ebp + 0x58]
mov eax, dword [ebp + 0xc0]
sub eax, dword [0x10074a90]
sub eax, 0x3d4c6f2e
add dword [ebp + 0x84], eax
mov eax, dword [0x10055f54]
mov ecx, dword [eax + 0x58]
mov eax, dword [ebp + 0x8c]
mov byte [ecx + eax], bl
mov eax, dword [0x10055f54]
inc dword [eax + 0x58]
mov eax, 0x285315
sub eax, dword [ebp + 0xcc]
sub eax, dword [ebp + 0x48]
add dword [ebp + 0xd0], eax
mov eax, dword [ebp + 0xc0]
xor eax, 0x3d61eb30
add dword [ebp + 0x50], eax
cmp esi, 0x15bc0
jl 0x10009df7
mov esi, dword [esp + 0x1c]
mov eax, esi
xor eax, 0x1e0
push ebp
push eax
lea eax, [edi + 0x3e04]
push eax
lea eax, [edi + 0x4021]
push eax
lea eax, [edi + 0x3f4f]
push eax
lea eax, [esi - 0x451]
push eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffa8c
push eax
call fcn.1000a6ca
add esp, 0x1c
mov ebx, eax
jmp 0x10009f3f
mov esi, dword [0x10055f54]
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x84]
mov eax, dword [edx + 0xec]
add ecx, 0xffffc33e
add eax, ecx
imul eax, dword [esi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edx + 0xd0]
imul eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
lea eax, [ebx + 0xa]
pop ebx
pop ecx
ret
Function at 0x10009f48
Capabilities:
Create thread
Suspend thread

Disassembly:
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
lea ecx, [eax + 0x80]
push edi
mov edi, dword [esp + 0x20]
lea ebx, [eax - 0x1fc]
xor edi, 0x3c77
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
xor edx, 0x3f02
xor ecx, 0x4a9
mov dword [esp + 0x14], edx
add ebp, 0xaf
mov dword [esp + 0x10], ecx
lea eax, [edi + 0x3fbe]
cmp ebx, eax
jg 0x1000a17d
lea eax, [edi + 0x4021]
push esi
cmp ecx, eax
jg 0x1000a085
mov edi, dword [esp + 0x1c]
lea esi, [ebx + 0x39f]
push edi
mov ecx, dword [edi + 0xcc]
mov eax, dword [edi + 0xc0]
add ecx, 0x157c00
add eax, ecx
add dword [edi + 0x50], eax
mov eax, ebp
xor eax, 0xc
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x51
push eax
lea eax, [edx + 0x3e7e]
push eax
push esi
call fcn.1000ba24
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
add ecx, 0x3a2
push esi
lea eax, [ebx + 0x386]
mov dword [esp + 0x30], ecx
push eax
push ecx
lea eax, [ebx - 0x6f]
push eax
mov eax, ebp
xor eax, 0x28d
push eax
mov eax, ebp
xor eax, 0x7cca
push edi
push eax
call fcn.1000d4eb
add esp, 0x30
mov ebx, eax
cmp dword [0x10074af0], 0x79dd
je 0x1000a03e
mov ecx, dword [edi + 0x7c]
xor ecx, 0x1069
sub dword [edi + 0xc4], ecx
mov ecx, dword [esp + 0x24]
push dword [esp + 0x18]
lea eax, [ecx + 0xdc]
push eax
lea eax, [ecx - 0x277]
push eax
lea eax, [ebp + 0xc]
push edi
push eax
call fcn.1000b5b1
mov dword [edi + 0x30], 0x10f07
xor ebx, 0x57
imul eax, dword [0x10074abc], 0xbfa82
add esp, 0x14
sub ebx, 0x181
mov dword [0x10074abc], eax
jmp 0x1000a17c
mov esi, dword [esp + 0x1c]
mov ecx, dword [0x10055f54]
mov eax, dword [esi + 0xcc]
imul eax, dword [0x10074af8]
sub eax, edi
cmp dword [ecx + 0xd0], eax
jb 0x1000a0e2
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x84]
imul eax, edi
cmp edx, eax
jbe 0x1000a0de
mov eax, dword [esi + 0xd8]
add edx, 4
xor eax, 0x208
or eax, 0x3c77
sub dword [ecx + 0x40], eax
mov eax, dword [esi + 0x78]
imul eax, edi
cmp edx, eax
jbe 0x1000a0de
mov ecx, dword [0x10055f54]
jmp 0x1000a0b6
mov edx, dword [esp + 0x18]
mov eax, dword [0x10074ae8]
xor eax, edi
cmp dword [esi + 0xbc], eax
je 0x1000a17c
mov eax, dword [esi + 0xd0]
sub eax, ebp
add eax, edi
cmp dword [esi + 0xdc], eax
jb 0x1000a17c
mov eax, dword [esi + 0xf4]
xor eax, ebp
or eax, dword [esi + 0x78]
cmp edi, eax
jae 0x1000a17c
mov eax, ebx
and edx, 0x3f4f
imul eax, ebp
mov dword [esi + 0x34], edx
or eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [esi + 0xc]
xor eax, dword [0x10074af0]
sub eax, dword [0x10074a74]
mov ebp, dword [esp + 0x24]
mov edx, dword [esi + 0x84]
sub edi, dword [esp + 0x14]
push eax
mov eax, dword [0x10055f54]
sub edi, 0x3aad
sub ebp, dword [eax + 0xa8]
mov eax, dword [esi + 0x6c]
push ebp
or eax, 0x3c39
push eax
mov eax, edx
imul edx, dword [0x10074af0]
xor eax, dword [esp + 0x24]
push eax
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
pop edi
xor ebx, 0x26d
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x1000d23f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x1c]
mov ecx, eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
lea ebp, [eax - 0x19]
mov esi, eax
mov dword [esp + 0x20], ebp
mov ebx, edi
xor ecx, 0x7a8c
xor ebx, 0x7f6e
mov dword [esp + 0x14], ecx
lea edx, [edi - 0xdc]
mov dword [esp + 0x10], edx
lea edx, [eax - 0x376]
add eax, 0xffffff24
mov dword [esp + 0x34], edx
mov edx, 0x4021
mov dword [esp + 0x2c], eax
xor edi, edx
xor esi, edx
mov eax, edi
xor eax, 0x3e18
cmp ebx, eax
je 0x1000d340
mov edx, dword [esp + 0x28]
mov eax, dword [0x10074aac]
cmp eax, dword [edx + 0xa8]
jbe 0x1000d2bd
add dword [edx + 0xc0], 0xfffe43d4
jmp 0x1000d2d4
mov ecx, dword [edx + 0x28]
mov eax, 0x1907e5
xor ecx, dword [0x10074a74]
sub eax, ecx
mov ecx, dword [esp + 0x14]
add dword [edx + 0x3c], eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffd89
push 0x10074a40
push eax
mov eax, dword [esp + 0x3c]
add eax, 0x2a4
push eax
lea eax, [edi + 0x3e39]
push eax
lea eax, [ebx - 0x281]
push eax
lea eax, [esi + 0x3cab]
push eax
lea eax, [ecx + 0x3d1]
push eax
call fcn.1000d7b7
mov eax, dword [esp + 0x48]
add esp, 0x1c
mov edi, dword [esp + 0x10]
xor ebp, 0x7f16
cmp eax, ebp
je 0x1000d332
mov eax, dword [0x10055f54]
mov dword [eax + 0x88], 0x10054138
lea eax, [edi - 0x2ce]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [0x10055f54]
mov edx, dword [eax + 0xd8]
mov eax, dword [esp + 0x2c]
sub esi, eax
mov dword [esp + 0x14], edx
cmp edx, esi
jl 0x1000d315
mov edx, dword [esp + 0x34]
or ebx, ecx
mov ebp, dword [esp + 0x2c]
lea eax, [edx - 0x3e7e]
add eax, edi
mov dword [esp + 0x18], eax
lea eax, [edi + ecx]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [0x10074ac4]
mov ecx, dword [esp + 0x28]
add eax, ebx
push eax
mov eax, dword [0x10074adc]
and eax, edx
push eax
mov eax, dword [ecx + 0xc]
and eax, 0x3f45
push eax
mov eax, dword [ecx + 0x98]
xor eax, ebp
and eax, dword [ecx + 0x28]
mov ecx, edx
push eax
mov eax, dword [0x10055f54]
push dword [esp + 0x28]
sub ecx, dword [eax + 0x54]
mov eax, dword [esp + 0x3c]
sub ecx, 0x3cab
push ecx
mov eax, dword [eax + 0xd8]
sub eax, dword [0x10074a74]
add eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [0x10055f54]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx + 0x34]
xor eax, dword [esp + 0x1c]
xor eax, edi
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x14]
add eax, 3
mov dword [esp + 0x14], eax
cmp eax, esi
jge 0x1000d37a
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
jmp 0x1000d319
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
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
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x9a3660c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
nop
mov ebx, 0x42f3f8
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
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x58974eeb
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x7732d900
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x7732d93e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x7732d936
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x7732d940
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x7732d926
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7732da10
Capabilities:
Parse pe header

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

Function at 0x7733947e
Capabilities:
Encode data using xor

Disassembly:
call 0x773393f7
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x77339427
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x77339443
xor edx, 0
jmp 0x7733944e
xor edx, edx
jmp 0x77339465
jmp 0x77339471
xor eax, eax
push 0x8427d7c0
call 0x7733947e
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x773394ba
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x77339493
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x773394d1
add eax, 0
jno 0x773394d6
add esi, 0
ret 0x10
Function at 0x7733a23f
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x7733a261
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x7733a403
cmp edi, dword [ebp + 0x10]
jb 0x7733a403
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.77339d2b
inc edi
jmp 0x7733a2ea
jmp 0x7733a2f7
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77339d2b
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77339d2b
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x7733a34b
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x7733a32f
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.7733a379
add dword [eax], 0x39
jle 0x7733a355
sub al, 0xf5
mov ch, al
call fcn.7733a38e
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x7733c066
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x7733c07c
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x7733c08d
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.7733c0ce
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx