joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa07200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x79b015
lea edi, [esi - 0x39a015]
push edi
or ebp, 0xffffffff
jmp 0xa07222
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa07229
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa07218
mov eax, 1
add ebx, ebx
jne 0xa0723b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa0724c
jne 0xa0726b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa0726b
dec eax
add ebx, ebx
jne 0xa07258
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xa07230
add ebx, ebx
jne 0xa07267
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xa072bd
xor ecx, ecx
sub eax, 3
jb 0xa07283
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa072f2
sar eax, 1
mov ebp, eax
jmp 0xa0728e
add ebx, ebx
jne 0xa0728e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa0725c
inc ecx
add ebx, ebx
jne 0xa0729c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa0725c
add ebx, ebx
jne 0xa072a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa0729e
jne 0xa072ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa0729e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa072dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa072ce
jmp 0xa0721e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa072dc
add edi, ecx
jmp 0xa0721e
pop esi
mov edi, esi
mov ecx, 0x50da
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xa072fa
cmp byte [edi], 0x17
jne 0xa072fa
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 al, bl
loop 0xa072ff
lea edi, [esi + 0x5fe000]
mov eax, dword [edi]
or eax, eax
je 0xa0736e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x607000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x607028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa0732c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x607030]
or eax, eax
je 0xa07368
mov dword [ebx], eax
add ebx, 4
jmp 0xa07349
call dword [esi + 0x60702c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xa073a8
cmp al, 0xef
ja 0xa07392
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xa07374
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0xa07381
mov eax, dword [edi]
add edi, 4
jmp 0xa07381
mov ebp, dword [esi + 0x607034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xa073dc
sub esp, 0xffffff80
jmp 0x458ef0
Function at 0x449f9b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
scasd eax, dword es:[edi]
mov dword [edi - 0x3a680ab2], ebx
cmpsb byte [esi], byte es:[edi]
adc edx, eax
rol dword [ebx], 1
dec edx
pop edx
and edx, dword [ebx + 0x46b0a380]
arpl si, cx
xor esp, esi
add esp, eax
in eax, dx
stosd dword es:[edi], eax
mov dword [0xe42b5f67], eax
push 0x8030e0f0
adc eax, 0x4879fd82
invalid

Function at 0x44a210
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 0x859c40
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 0x14
push 0x40
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test edi, edi
je 0x44a280
mov edx, dword [0x659a70]
push 0x659788
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalDDiskDoctor
push 0
lea eax, [esp + 0x18]
push 1
push eax
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
pop edi
mov dword [0x659a6c], eax
pop esi
add esp, 0x14
ret

Function at 0x52d55b
Capabilities:
Encode data using xor

Disassembly:
inc ecx
dec ebp
add al, cl
lea esp, [eax]
cwde
retf
arpl sp, ax
in eax, 0x8b
jl 0x52d554
int3
jge 0x52d4df
adc al, 0xd8
add eax, dword [ecx + 0xd6e5007]
std
and edx, ebx
pop edx
test ch, al
add dword [eax + 0x1a1dcbcd], ebx
test al, 0xa0
inc edx
ficomp dword [edx - 0x7c]
lds eax, [ecx]
cwde
int 0xcb
sbb eax, 0x42a0a81a
outsb dx, byte [esi]
std
sub dword [eax], edx
or eax, esp
fisubr dword [esi + 0x586a82f6]
xor byte [eax + 0x24efdf08], ah
sbb ah, dh
mov edx, 0x7f2f8bf9
sal cl, 1
cmp al, 0xb5
mov edx, 0xad3590f8
mov esp, 0xa7db1555
loopne 0x52d510
jmp 0x52d596
fstp qword [ebp - 0x71]
test al, 0x10
inc edi
mov byte [ebp - 0x1e], ah
loop 0x52d4e8
pop edi
cmpsd dword [esi], dword es:[edi]
loop 0x52d4e8
pop edi
cmpsd dword [esi], dword es:[edi]
shr esp, 1
jo 0x52d504
dec eax
invalid
in eax, 0xe9
mov dh, 0xe2
xchg esi, eax
cmp eax, 0xce7c9b7
adc byte [ebp - 1], dh
dec eax
in al, dx
jns 0x52d5e3
mov al, byte [0xddd9b523]
enter 0xffffffffffffabf9, 0xffffffffffffff9d
ljmp 0x617d
adc dword [eax + 0x617d890e], ecx
sbb dword [edx], 0xffffffe6
invalid
push ebp
pop esp
adc al, byte [ebx - 0x1142f778]
or byte [0xed9a029d], dh
cld
insd dword es:[edi], dx
sub al, 0xba
popfd
dec ebp
lea esp, [ebp + 0x78]
das
pushal
std
dec eax
jg 0x52d56b
aam 0x97
outsb dx, byte [esi]
lea edi, cs:[ebx + 0x5b]
js 0x52d588
push 0xfffffffffffffffe
rcl ch, cl
imul ebp, dword [eax + ebx*8], 0x6d
mov eax, dword [0x701d38bd]
inc ebp
ror byte [esi], 0xba
stosb byte es:[edi], al
pop eax
or al, 0x15
invalid
ret 0x7e7d
Function at 0x5e6d6b
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x43ff9b6a
sub cl, ch
out dx, eax
rol eax, 0xe1
invalid
or eax, 0xd0d857fc
ret
salc
jae 0x5e6d3e
and al, byte [ebp - 0x2a]
jo 0x5e6dae
inc edx
inc edx
lodsd eax, dword [esi]
add al, 0x80
xchg edi, eax
jo 0x5e6d13
inc esi
movsd dword es:[edi], dword [esi]
jno 0x5e6d64
jg 0x5e6d88
div byte [edx + 0x11]
inc edi
and dl, al
mov edi, 0x18385043
fdivr dword [eax]
ret 0x23fc
mov bl, 0xe2
mov al, byte [0xd76320ca]
inc ecx
and al, 0x40
pop ss
jecxz 0x5e6d98
ret 0x9fc3
paddsb mm4, qword [esi]
lcall 0xbbc6, 0xb6ffc481
xchg esi, eax
mov eax, gs
dec ebp
push eax
sbb al, 0x4f
mov eax, 0xf0962e90
mov esp, 0x64e8a450
mov ch, 0xa0
invalid

Function at 0x60ee59
Capabilities:
Encode data using xor

Disassembly:
popfd
lds edi, [ecx]
sub eax, 0x5f059a43
or ebp, dword [esi + 0x4b4f261c]
sbb al, 0x26
dec edi
dec ebx
sbb al, 0x26
dec edi
dec ebx
sahf
push ecx
adc al, 0x70
salc
inc ebp
lds esi, [ebp - 0x1c]
cmc
sbb dword [eax], 0x383115c4
jne 0x60ee4f
sbb esi, dword [edi]
or esp, edx
and byte [ebp - 0x63], dh
loope 0x60eecc
das
imul dword [ebx - 0xb984581]
jns 0x60ee5f
sbb eax, 0x11ffb6cc
test al, 0xbd
aam 0x9b
jne 0x60ee6f
int3
cmp al, 0xf1
sub dword [ecx], ecx
pop ecx
ret
inc eax
in al, dx
mov ebp, 0xf5bfc565
push ebp
mov ah, 0x65
sal ebx, 2
stosb byte es:[edi], al
and eax, 0x900daf45
add ch, byte [edx + 0xdaf4525]
nop
nop
mov dl, 0x51
adc dword [eax - 0x7a6a6b64], esi
and dword [ebp - 0x51], eax
loope 0x60ef2b
loope 0x60eea5
cmp dword [edi + eax*8 + 0x11], ebp
int1
adc ecx, esi
jae 0x60eeb1
adc byte [edi - 0x2b00d55b], dl
mov dl, 0x8a
xor dword [ecx + 0x50a5200b], esp
xor al, 0x92
movsb byte es:[edi], byte [esi]
call 0x12907040
arpl dx, bx
cmp al, 0x94
xor cl, byte [edi]
and eax, 0xbf8022ee
inc eax
push ebx
xchg dword [ebp - 0x6e3885ae], ebp
jl 0x60eee0
std
jmp 0x60ee82
out 0x80, eax
outsd dx, dword [esi]
cdq
in al, dx
jno 0x60ef98
sub edx, dword [esp + ebx*2 - 0x434e9078]
push ebp
lds edx, [ebp + 0x54b01145]
pushfd
mov ch, 0xc
inc ebx
jno 0x60ef16
sub ebp, dword [edx - 0x4baa5e72]
inc ebx
push edi
mov eax, dword [0x5743b455]
invalid
fcmovnbe st(0), st(5)
xor cl, dh
mov byte ds:[0x456c292d], al
and eax, dword [0x4f958335]
inc esi
xor eax, 0x464f9583
jl 0x60ef34
jno 0x60ef8c
adc ebp, 0x1f
hlt
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x58551a3a
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x79467471
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4026b0
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [0x409444]
mov ebx, dword [esp + 0x44]
xor eax, esp
cmp ebx, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x40278a
mov eax, dword [ecx + 0x20]
mov esi, ecx
cmp dword [eax], 0
je 0x4026f6
mov eax, dword [esi + 0x30]
mov ecx, dword [eax]
test ecx, ecx
jle 0x4026f6
dec ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
mov byte [ecx], bl
jmp 0x4027dd
cmp dword [esi + 0x4c], 0
je 0x40278e
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x3c]
cmp dword [eax], ecx
jne 0x40271e
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov dword [eax], ecx
sub edx, ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x402795
mov byte [esp + 0xb], bl
lea edi, [esi + 0x40]
mov edx, esp
lea eax, [esp + 0xc]
mov ebp, dword [ecx]
push edx
lea edx, [esp + 0x30]
push edx
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1f]
push eax
push edi
call dword [ebp + 0x1c]
mov edi, 0xffffffff
cmp eax, 2
jae 0x4027bc
mov ebp, dword [esp]
lea eax, [esp + 0xc]
sub ebp, eax
je 0x402777
push dword [esi + 0x4c]
push ebp
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebp, eax
jne 0x4027db
mov byte [esi + 0x3d], 1
lea eax, [esp + 0xb]
cmp dword [esp + 4], eax
mov eax, 0xffffffff
jmp 0x4027d6
xor ebx, ebx
jmp 0x4027dd
mov ebx, 0xffffffff
jmp 0x4027dd
movsx eax, bl
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
mov ecx, dword [esp + 0x2c]
mov esi, eax
cmp eax, 0xffffffff
cmovne esi, ebx
xor ecx, esp
call fcn.00404871
mov eax, esi
jmp 0x4027ea
cmp eax, 3
jne 0x4027db
movsx eax, byte [esp + 0xb]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
cmp eax, 0xffffffff
cmove ebx, eax
mov edi, ebx
mov ebx, edi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00404871
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x402ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, 1
mov eax, ecx
sbb eax, 0
jl 0x402bd0
cmp dword [ebx + 0x38], 0
je 0x402bd9
mov ecx, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
xor eax, eax
xor edx, edx
jmp 0x402c8b
mov eax, dword [ebx + 0x1c]
mov dword [esp], ecx
mov ebp, dword [esp + 0x1c]
mov dword [esp + 4], esi
mov eax, dword [eax]
test eax, eax
je 0x402c14
mov ecx, dword [ebx + 0x2c]
mov edi, dword [ecx]
test edi, edi
je 0x402c14
cmp edi, esi
cmovae edi, esi
push edi
push eax
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0x2c]
add ebp, edi
sub esi, edi
sub dword [eax], edi
mov eax, dword [ebx + 0x1c]
add dword [eax], edi
cmp dword [ebx + 0x4c], 0
je 0x402c7f
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0x3c]
cmp dword [eax], ecx
jne 0x402c38
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x54]
mov dword [eax], ecx
sub edx, ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
nop
cmp esi, 0x1000
jb 0x402c65
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call edi
add esp, 0x10
add ebp, eax
sub esi, eax
cmp eax, 0xfff
je 0x402c40
jmp 0x402c7f
test esi, esi
je 0x402c7d
push dword [ebx + 0x4c]
push esi
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
sub esi, eax
jmp 0x402c7f
xor esi, esi
mov eax, dword [esp + 4]
mov edx, dword [esp]
sub eax, esi
sbb edx, 0
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x402ca0
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
cmp dword [ecx + 0x38], 0
mov ebx, ecx
je 0x402cbe
mov ecx, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
mov eax, dword [ebx + 0x20]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov esi, dword [eax]
test esi, esi
je 0x402d39
cmp ebp, 1
mov ecx, edx
sbb ecx, 0
jl 0x402d39
mov ecx, dword [ebx + 0x30]
mov eax, ebp
mov ebp, dword [ecx]
test ebp, ebp
jle 0x402d40
mov ecx, ebp
sar ecx, 0x1f
cmp eax, ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov ecx, edx
mov eax, dword [esp + 4]
sbb ecx, eax
cmovl eax, edx
mov dword [esp + 4], eax
cmovl ebp, dword [esp + 8]
push ebp
push edi
push esi
mov esi, edx
call sub.VCRUNTIME140.dll_memcpy
mov edx, esi
add esp, 0xc
add edi, ebp
mov eax, dword [ebx + 0x30]
mov dword [esp], edi
mov ecx, dword [esp + 8]
mov edi, ecx
sub edi, ebp
sbb esi, dword [esp + 4]
sub dword [eax], ebp
mov eax, dword [ebx + 0x20]
add dword [eax], ebp
mov ebp, ecx
jmp 0x402d49
mov dword [esp], edi
mov edi, ebp
jmp 0x402d47
mov dword [esp], edi
mov ebp, eax
mov edi, eax
mov esi, edx
cmp edi, 1
mov eax, esi
sbb eax, 0
jl 0x402d74
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x402d74
push eax
push edi
push 1
push dword [esp + 0xc]
mov ebx, edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov edx, ebx
add esp, 0x10
sub edi, eax
sbb esi, 0
sub ebp, edi
sbb edx, esi
mov eax, ebp
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x403190
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x409444]
mov bl, 1
xor eax, esp
mov dword [esp + 0x24], eax
cmp dword [ecx + 0x38], 0
je 0x403211
cmp byte [ecx + 0x3d], 0
mov esi, ecx
je 0x403211
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40320f
mov ecx, dword [esi + 0x38]
lea eax, [esp + 0x24]
mov ebp, esp
lea edi, [esp + 4]
lea edx, [esi + 0x40]
mov ebx, dword [ecx]
push ebp
push eax
push edi
push edx
call dword [ebx + 0x20]
cmp eax, 3
je 0x403226
cmp eax, 1
je 0x4031eb
test eax, eax
jne 0x40320f
mov byte [esi + 0x3d], 0
mov ebx, dword [esp]
sub ebx, edi
je 0x403206
push dword [esi + 0x4c]
push ebx
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebx, eax
jne 0x40320f
cmp byte [esi + 0x3d], 0
sete bl
jmp 0x403211
xor ebx, ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00404871
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 1
mov byte [esi + 0x3d], 0
jmp 0x403211
Function at 0x407fc3
Capabilities:
Encode data using xor

Disassembly:
mov byte [edi], dl
inc edi
inc esi
cmp ebp, dword [ebx - 0x28]
and ebp, ebx
push eax
fld qword [ebp - 0x75]
fcomp qword [0x40cb33]
sbb al, ah
and eax, 0x4131
jne 0x40801d
fld qword [ebp + 8]
fmul qword [0x40c28c]
mov byte [ebp - 0xc], dl
fld st(0)
fsubr qword [ecx + 0x40c200]
fnstsw ax
not byte [eax + 0x1eddcf7a]
or ah, bl
xchg edx, eax
clc
ret 0x40
mov edi, dword [eax + 0x10]
lea esi, [eax + ebx]
dec esp
inc ebp
test eax, eax
jne 0x40802d
add esi, dword [eax]
cld
mov ecx, dword [ebp + 0x14]
cmp eax, dword [ebx + esi*2 + 0x13]
mov eax, dword [ebp + 0x10]
pop edi
neg eax
mov ebp, esp
mov byte [ebx], 0
xor al, 0x98
pop esi
pop ebx
mov esp, ebp
rcl byte [eax + 0x6b], 0x55
cld
cmp ebx, dword [edx]
dec ecx
adc dword [edi + 0x3c], esi
fucomp st(4)
or byte [ebp - 0x7a7afbd], cl
lea eax, [ebx + 0x50]
pop eax
clc
mov cl, 0x30
fmul qword [0x2240c2f8]
lea eax, [ebp - 0xc]
push eax
cmp dword [ebx + 0x24bcdd08], 0x6b
adc eax, 0x3d40c118
fld qword [ebp - 0xc]
mov esi, 0x5e80cc4
xor eax, 0x138b0000
adc al, 0x8b
pop ebp
and byte [eax + esi], al
movsd dword es:[edi], dword [esi]
pop es
inc edi
cmp edi, esi
jbe 0x408053
fstp st(0)
lea eax, [ebp + 0x72a24b13]
or eax, 0x4f43c655
add byte [ebx + 0x135b5e98], cl
in eax, 0xa1
ret

Function at 0x40b440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sar byte [edi], cl
mov bh, 0x8b
pop eax
and byte [eax - 0x5157f615], dl
xor al, 0x93
Function at 0x413dfa
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x413e20
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x413e20
xor al, al
jmp 0x413e35
mov edx, dword [ebp - 4]
xor eax, eax
xor ecx, ecx
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x418cb5
Capabilities:
Inspect section memory permissions

Disassembly:
push es
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x418cd4
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x418cf2
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x418d50
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x418d37
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x418d40
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x418d4a
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x418d2c
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x418cb6
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x418d9d
dec eax
je 0x418d94
sub eax, 3
je 0x418d8b
mov dword [ebp - 4], 0x40
jmp 0x418dba
mov dword [ebp - 4], 4
jmp 0x418da0
mov dword [ebp - 4], 0x20
jmp 0x418da0
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x418dec
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x418d6c
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004185fd
xor ebp, dword [ecx]
mov dh, 0x2c
push dword [ebp + 0x14]
push 1
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x418df8
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10007073
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007073
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10007073
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10007073
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10007073
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10007073
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10007073
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10007073
push 0xd008
push edi
call fcn.10007073
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10007073
int3

Function at 0x10007073
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10007082
pop dword [ebp - 0x14]
mov eax, 0x1b74d7cb
sub eax, 0xb746749
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3e04d
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x61132bc1
sub ecx, 0x6112cfcc
mov edx, eax
mov ebx, 0x1973ff1a
sub ebx, 0x972791a
add ebx, dword [ebp - 0x14]
mov edi, 0x676c78f6
sub edi, 0x2006e615
sub dword [ebp - 0x10], ecx
mov esi, dword [ebx]
xor dword [ebp - 8], edi
add esi, edi
xor dword [ebp - 4], esi
mov dword [edx], esi
xor dword [ebp - 0x10], esi
add edx, 4
add ebx, 0xc8f32f0d
sub ebx, 0xc8f32f09
loop 0x100070dc
add eax, 0xa5c45a75
sub eax, 0xa5c2f7ce
mov ebx, eax
add eax, 0xceb77865
sub eax, 0xceb77860
mov ecx, 0xf6172cef
add ecx, 0x19e8d311
add ecx, dword [ebp - 0x14]
call ebx
leave
ret