joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449d80
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, 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 0x4cf398
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [esp + 0xc]
mov esi, eax
push ecx
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x449de5
mov edx, dword [0x4ce9b8]
push 0x4ce6bc
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalIsoBuster_1102_1
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 [0x4ce9b4], eax
pop esi
add esp, 0x14
ret

Function at 0x49c4bc
Capabilities:
Encode data using xor

Disassembly:
les ebp, [ebp - 8]
in eax, 0xfd
sbb dh, byte [edx + 0xc]
invalid
std
xor edx, 0xffffffd2
xor dh, cl
inc eax
int 0x74
pop ecx
loopne 0x49c50b
in eax, dx
sub al, 0x58
cmp al, 0x58
retf 0x381c
arpl word [edx - 0x4d], dx
aas
sbb al, 0x90
xor al, 0x1d
push ss
cmp cl, ch
pushfd
jecxz 0x49c45a
inc esi
sbb esp, esi
js 0x49c482
sar byte [esi - 0x53], 1
stc
sahf
add byte [eax + edi - 0x3c], dl
mov dword [0xddccd841], eax
push ebp
movsb byte es:[edi], byte [esi]
jge 0x49c534
salc
and dl, byte [ecx - 0x5f22e7e1]
stc
and al, 0xde
sbb eax, 0x6bcf2726
mov al, 0xae
out dx, eax
adc eax, 0xa3b4cf2
invalid
mov ah, 0xb3
jg 0x49c53a
sub esi, dword [eax]
mov esp, 0xd54f8460
cmp byte [ecx - 0x4bfa5f5d], ch
popfd
add al, 0xc
int3
xor ch, byte [eax - 0x7e07be7d]
sbb byte [edx - 0x3a54a921], al
aad 0xb0
xor cl, byte [eax + 0x4f29098]
cli
jecxz 0x49c540
ror ah, cl
push es
aad 0x7e
sbb dword [edi + 0x5c], esp
and bh, byte [ebp - 0x6abc255e]
int3
Function at 0x4c45de
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cb560
cmp edx, dword [eax]
je 0x4c4600
add eax, 8
inc ecx
cmp eax, 0x4cb5f0
jl 0x4c45f1
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cb560]
jne 0x4c472e
mov eax, dword [0x4cfc50]
cmp eax, 1
je 0x4c4708
test eax, eax
jne 0x4c4631
cmp dword [0x4cb4a0], 1
je 0x4c4708
cmp edx, 0xfc
je 0x4c472e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c4668
lea eax, [ebp - 0x1a4]
push 0x4c89bc
push eax
call fcn.004c4cf0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c4f20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c46ab
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c4f20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c89b8
push edi
call fcn.004c66f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c899c
push eax
call fcn.004c4cf0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c4d00
lea eax, [ebp - 0xa0]
push 0x4c8998
push eax
call fcn.004c4d00
push dword [esi + 0x4cb564]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c4d00
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c8970
push eax
call fcn.004c6664
add esp, 0x2c
pop edi
jmp 0x4c472e
lea eax, [ebp + 8]
lea esi, [esi + 0x4cb564]
push 0
push eax
push dword [esi]
call fcn.004c4f20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x406300
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42a4bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4045c4
call fcn.00406f61
push 4
mov dword [esp + 0x18], 0
call fcn.00407c5f
mov edi, eax
add esp, 4
test edi, edi
je 0x406374
push ebx
call fcn.00406e39
mov dword [edi], eax
call fcn.00406bf8
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406f22
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406368
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406f4a
pop ebx
jmp 0x406376
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x4086d1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d3d8]
jne 0x4086db
repz ret
jmp fcn.0040c8bc
Function at 0x411aeb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42d3d8]
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.0040b42f
and dword [ebp - 0x14], 0
cmp dword [0x4303ac], 0
mov dword [ebp - 0x18], eax
jne 0x411b9e
push 0x404070
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411c46
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404064
push ebx
call edi
test eax, eax
je 0x411c46
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x404054
push ebx
mov dword [0x4303ac], eax
call edi
push eax
call esi
push 0x404040
push ebx
mov dword [0x4303b0], eax
call edi
push eax
call esi
push 0x404024
push ebx
mov dword [0x4303b4], eax
call edi
push eax
call esi
mov dword [0x4303bc], eax
test eax, eax
je 0x411b9e
push 0x40400c
push ebx
call edi
push eax
call esi
mov dword [0x4303b8], eax
mov eax, dword [0x4303b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411bf7
cmp dword [0x4303bc], ecx
je 0x411bf7
push eax
call esi
push dword [0x4303bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411bf7
test ebx, ebx
je 0x411bf7
call edi
test eax, eax
je 0x411bee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411bee
test byte [ebp - 8], 1
jne 0x411bf7
or dword [ebp + 0x10], 0x200000
jmp 0x411c2a
mov eax, dword [0x4303b0]
cmp eax, dword [ebp - 0x18]
je 0x411c2a
push eax
call esi
test eax, eax
je 0x411c2a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411c2a
mov eax, dword [0x4303b4]
cmp eax, dword [ebp - 0x18]
je 0x411c2a
push eax
call esi
test eax, eax
je 0x411c2a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4303ac]
call esi
test eax, eax
je 0x411c46
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411c48
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004086d1
leave
ret
Function at 0x428eb0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x7b50f8], 0x37
jne 0x428f56
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0
lea eax, [esp + 0x410]
push eax
push 0
push 0x404118
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0x404158
push 0x404134
push 0x4041b0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7b50fc]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x43515c]
mov byte [ecx + esi], al
add esp, 0xc0c
ret
Function at 0x429160
Capabilities:
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b50f8]
sub esp, 0x47c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x43515c]
cmp eax, ebx
jbe 0x429356
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x429196
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7b50f8], 0x1c
jne 0x4291ad
lea eax, [esp + 0x3c]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x42e700]
mov eax, dword [0x42e704]
mov esi, dword [edi]
mov ebp, dword [0x42e708]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x42e70c]
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 0x20
jmp 0x4291ea
xor ebx, ebx
mov eax, esi
mov edx, esi
shl eax, 4
shr edx, 5
add edx, dword [esp + 0x28]
add eax, ebp
lea ecx, [edi + esi]
xor eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov dword [0x7b407c], ebx
mov eax, dword [esp + 0x18]
add dword [0x7b407c], eax
mov edx, dword [0x7b407c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0x7b50f8], 0x1be
mov eax, dword [esp + 0x14]
lea ebx, [edi + eax]
jne 0x429284
lea edx, [esp + 0x34]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x30]
cmp dword [0x7b50f8], 0x979
mov dword [0x7b4080], 0xff6b3619
mov dword [0x7b4084], 0xffffffff
mov dword [esp + 0x18], eax
jne 0x4292d8
mov eax, dword [esp + 0x34]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor dword [esp + 0x10], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec dword [esp + 0x20]
jne 0x4291e8
cmp dword [0x7b50f8], 0x8d4
jne 0x42930f
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], eax
cmp dword [0x7b50f8], 0x17
jne 0x429345
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add edi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], edi
jne 0x429190
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret
Function at 0x401a90
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x401a92
ret

Function at 0x40ac40
Capabilities:
Encode data using xor

Disassembly:
inc ebp
adc cl, ch
or eax, dword [ecx]
add byte [eax], al
mov esp, es
and eax, 0xfc00
cmp eax, 0xdc00
push 0xffffffffffffff84
mov ah, 1
add byte [edx], bl
cmp eax, 0x3e00d800
jne 0x40aca6
in al, dx
inc dword [edx]
jb 0xecad13
mov ax, word [esi]
mov edx, eax
and edx, 0x8d00fc34
push ebp
mov dword [0x68d558], eax
jne 0x40ad3a
int1
loope 0x40ac82
inc dword [ebx]
add byte [eax], al
mov eax, dword [0x9200c2c4]
add eax, dword [eax]
add byte [ecx - 0x6dff3d3c], ah
shl edx, 0x9e
or ebp, dword [ebx - 0x7d]
mov byte [edx], 0xdf
mov esi, dword [eax]
mov edi, edx
or dword [ecx], 0x1c400
or al, byte [edx]
or byte [ebx + 0x7eb00d7], al
mov eax, ecx
int 0x1c
fmul dword [ebx - 0x74067406]
xlatb
mov ecx, 0x56000b
call 0x41aa10
mov ecx, eax
mov esi, 0x420001
or ecx, edx
ljmp 0
mov edx, eax
xor eax, 0x49c20bfa
mov dword [ebp - 4], eax
mov dh, byte [ebp + 0x24]
aas
mov dword [ebx], edi
sbb eax, esi
or byte [ebx - 0x74fe7729], 0xc3
mov ecx, 0xc906
call fcn.0040b749
add byte [eax], al
mov ecx, dword [ebp - 8]
mov ebx, eax
xor eax, 0x8b4efce1
cli
jne 0x40ad19
mov eax, dword [edi]
or al, 0xa
fmul dword [eax + 0x28bff49]
test eax, eax
mov dword [ebp - 4], eax
divps xmm6, xmmword [edx + 0x5fffdffe]
pop esi
sub cl, byte [ebx + 0x10c137e5]
add byte [edi + 0x5e], bl
mov eax, 0xa71178
pop ebx
mov esp, ebp
mov eax, edx
adc byte [eax], al
cwde
pop esi
mov eax, 0x16
pop ebx
mov esi, dword [ebp + ebx*2 + 0x20]
adc dl, bh
xchg ebx, eax
nop
nop
nop
nop
pop eax
nop
nop
stosd dword es:[edi], eax
nop
nop
nop
nop
push ebp
test dword [esi + 0x4a], 0xc48308ab
add dh, byte [eax + edx + 0x5d]
adc eax, 0xe140c103
mov dword [eax], 0xb200270c
xor eax, eax
ffreep st(3)
daa
add byte [edx - 0x3c203fcd], dh
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xa]
push ebp
or al, 0x50
push ecx
push edx
call 0xff40add0
add esp, 0xc
pop ebp
not dword [eax - 0x6f6f6f70]
inc dword [ebx - 0x8a2f33c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
jno 0x40ae21
pop edx
cmp byte [esi], ah
nop
push ebp
mov eax, dword [0x1045b7ec]
mov ecx, dword [ebp + 0xc]
cmp eax, 0x10
jae 0x40ada4
cld
adc eax, 0xb340c12c
mov dword [eax], 0x1c
xor eax, eax
wait
ret
mov eax, dword [ebp + 0x10]
mov ebx, 0x4b
and eax, 0xff
cdq
idiv ebx
jl 0x40adbb
mov byte [ecx], al
inc ecx
mov al, dl
add al, 0x30
scasd eax, dword es:[edi]
xchg edi, eax
inc ecx
invalid
Function at 0x40ae50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
popal
push es
xor eax, 0x4588e63c
adc byte [esi + 0x1a], dh
les esp, [ebp + 0x10]
cmpsd dword [esi], dword es:[edi]
add byte fs:[ecx], dh
dec esi
inc dword [eax]
add byte [eax], al
or eax, 0xc404fbf7
mov byte [esi], dl
adc byte [eax + 0x4eb4101], cl
cmp al, 9
jbe 0x40ae38
cmp ch, byte [esi]
pop ebp
dec edi
jne 0x40adf9
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov byte [ecx - 1], 0
pop ebx
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
movsd dword es:[edi], dword [esi]
jne 0x40ae3e
push edi
adc dword [eax + eax], 0x77
adc edi, eax
push es
add byte [eax], al
add byte [esi - 0x3fcc2b4d], bh
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40b2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jge 0x40b32b
mov esi, dword [ebp + 8]
pop edx
aaa
sub al, 0x74
ror byte [edi], 0x84
mov esi, 0x8bff0000
fmul dword [eax + 0x33]
movsd dword es:[edi], dword [esi]
push ebx
cmp ecx, 1
push edi
mov dword [esi - 0x18], esp
mov dword [esi], ecx
xor eax, 0x9c856c
add byte [eax], al
mov edi, dword [esi + 0x3c]
cmp edi, eax
je 0x40b395
cmp dword [esi + 0x38], ebx
mov ebx, 0x5d3ffff
adc dword [edi + edi*8 + 4], 2
mov eax, edi
mov edx, dword [esi + 4]
lea ecx, [ebp - 4]
push 0
push ecx
mov byte [ebx + 0x52], dl
push dword [esp + edx - 0x40]
inc eax
add byte [ebp - 0x74d08b40], al
inc ebp
cld
mov edx, dword [esi]
test dword [esi + 0x54], ecx
add ecx, dword [ecx]
adc ecx, 0
sub edi, eax
add ebx, eax
mov dword [esi + 0x3e], edx
aaa
dec dword [ecx - 0x3d88abb2]
mov ecx, dword [ebx]
pushal
pop edi
inc ecx
inc esi
cmp al, 0
add byte [edi], bh
lodsb al, byte [esi]
pop esi
mov esp, ebp
pop ebp
in eax, 0x5d
add al, 4
add byte [ebx + 0x40c09814], cl
add bh, bh
xlatb
xor eax, 0x560575c0
inc ebp
jl 0x40b353
or bh, bh
xlatb
add eax, 0xa2287
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x4a]
mov ecx, dword [eax]
push eax
mov ecx, dword [esi + 0x54]
add edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x50], esi
sbb dword [eax], 0xffffff85
rcr byte [edi + 0x4e], 0x54
jne 0x40b3be
cmp eax, dword [esi + 0x3c]
mov edi, 0x8b000000
inc ebp
or byte [edx + 0x5b], ch
mov eax, dword [ebp + 8]
push 0x5b
pop esi
pop eax
xchg byte [ebp - 0x3e], bl
add al, 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x7004

Function at 0x438c9a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
dec esi
call fcn.00438ccb
add esi, esi
sub edx, 0x9e200a47
xor dword [ebx], eax
add edx, esi
inc ebx
dec esi
add edx, 1
cmp ebx, edi
jne fcn.00438c9a
sub esi, 1
ret
Function at 0x517210
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc1000]
push edi
jmp 0x51722a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x517231
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x517220
mov eax, 1
add ebx, ebx
jne 0x517243
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x517254
jne 0x517273
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x517273
dec eax
add ebx, ebx
jne 0x517260
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x517238
add ebx, ebx
jne 0x51726f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5172c5
xor ecx, ecx
sub eax, 3
jb 0x51728b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5172fa
sar eax, 1
mov ebp, eax
jmp 0x517296
add ebx, ebx
jne 0x517296
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x517264
inc ecx
add ebx, ebx
jne 0x5172a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x517264
add ebx, ebx
jne 0x5172b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5172a6
jne 0x5172c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5172a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5172e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5172d6
jmp 0x517226
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5172e4
add edi, ecx
jmp 0x517226
pop esi
mov edi, esi
mov ecx, 0x3ed3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x517302
cmp byte [edi], 0x11
jne 0x517302
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 0x517307
lea edi, [esi + 0x110000]
mov eax, dword [edi]
or eax, eax
je 0x51737f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x158d78]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x158ef4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x517334
mov ecx, edi
jns 0x517363
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x158ef8]
or eax, eax
je 0x517379
mov dword [ebx], eax
add ebx, 4
jmp 0x517351
call dword [esi + 0x158f08]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5173b0
cmp al, 0xef
ja 0x5173a3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x517385
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x517392
mov ebp, dword [esi + 0x158efc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x5173e4
sub esp, 0xffffff80
jmp 0x427dcd
Function at 0x10022f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov ebx, ecx
dec eax
push edi
mov edi, edx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0xc]
mov esi, edi
sar eax, 1
mov ecx, edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp edi, eax
jge 0x10022f7e
nop dword [eax]
lea esi, [ecx + ecx]
push dword [ebx + esi*4 + 4]
push dword [ebx + esi*4 + 8]
call fcn.1001d100
movzx ecx, al
xor ecx, 1
inc ecx
add ecx, esi
mov eax, dword [ebx + ecx*4]
mov dword [ebx + edi*4], eax
mov edi, ecx
mov eax, dword [ebp - 0xc]
cmp ecx, eax
jl 0x10022f50
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, ecx
cmp ecx, eax
jne 0x10022f95
mov eax, dword [ebp - 0x10]
test al, 1
jne 0x10022f95
mov eax, dword [ebx + eax*4 - 4]
mov edi, dword [ebp - 0x14]
mov dword [ebx + ecx*4], eax
cmp esi, edi
jge 0x10022fe0
nop dword [eax]
push dword [edx]
lea esi, [edi - 1]
sar esi, 1
push dword [ebx + esi*4]
call fcn.1001d100
test al, al
je 0x10022fd1
mov eax, dword [ebx + esi*4]
mov edx, dword [ebp - 4]
mov dword [ebx + edi*4], eax
mov edi, esi
cmp dword [ebp - 8], esi
jl 0x10022fa0
mov eax, edx
mov eax, dword [eax]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
mov dword [ebx + edi*4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100bc00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1002a81c
cmp byte [esi + 0x3d], 0
je 0x1002a81c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1002a80a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1002a7d1
sub eax, 1
je 0x1002a7d5
sub eax, 2
jne 0x1002a80a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009c816
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1002a7f3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1002a80a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009c816
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009c816
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1009c816
mov esp, ebp
pop ebp
ret