joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420030
Capabilities:
Connect to wmi namespace via wbemlocator
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4703e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x48c084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push 0x477f20
push 1
push 0
push 0x477f10
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4200bc
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [edi], 0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x42022c
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
jmp 0x42022c
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 5
xor ecx, ecx
mov esi, dword [ebp - 0x18]
mov eax, dword [esi]
mov dword [ebp - 0x34], 0xf600ea
mov dword [ebp - 0x30], 0xef00f5
mov dword [ebp - 0x2c], 0xfe00e0
mov ebx, dword [eax + 0xc]
mov eax, 0xa
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], 0xf200f7
mov dword [ebp - 0x24], 0xf30096
mov dword [ebp - 0x20], 0xc2
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x34], ax
inc ecx
mov eax, dword [ebp - 0x38]
cmp ecx, eax
jb 0x420103
xor ecx, ecx
mov word [ebp + eax*2 - 0x34], cx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041ff20
mov byte [ebp - 4], 6
mov eax, dword [eax]
test eax, eax
je 0x420137
mov eax, dword [eax]
jmp 0x420139
xor eax, eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push esi
call ebx
mov esi, dword [ebp - 0x1c]
mov ebx, eax
test esi, esi
je 0x4201a1
or ecx, 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x42019a
test esi, esi
je 0x42019a
mov eax, dword [esi]
test eax, eax
je 0x420178
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x42018f
push eax
call fcn.00447508
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00447b45
add esp, 8
mov dword [ebp - 0x1c], 0
test ebx, ebx
jns 0x4201cb
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [edi], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4201c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 9
jmp 0x42021f
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x42020c
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [edi], 0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x420203
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xc
jmp 0x42021f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], 0
mov dword [edi], eax
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42022c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004474f7
mov esp, ebp
pop ebp
ret 4
Function at 0x420d50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x420e38
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x420e27
jg 0x420d90
test edx, edx
je 0x420e27
nop dword [eax]
call fcn.0040c920
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x420de4
jg 0x420da7
test esi, esi
je 0x420de4
cmp ebx, eax
jg 0x420db7
jl 0x420db1
cmp edi, esi
jae 0x420db7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.00449030
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x420e0b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x420e21
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x420d90
jl 0x420e21
test edi, edi
jne 0x420d90
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x420e5a
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x420e5c
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x420eda
jg 0x420e6f
test esi, esi
je 0x420eda
test eax, eax
jl 0x420eb4
jg 0x420e79
test ebx, ebx
je 0x420eb4
cmp edi, eax
jg 0x420e89
jl 0x420e83
cmp esi, ebx
jae 0x420e89
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.00449030
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov eax, dword [ecx + 0x30]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
jmp 0x420eb7
mov edx, dword [ebp + 8]
test edi, edi
jl 0x420eda
jg 0x420ec1
test esi, esi
je 0x420eda
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x420eda
push eax
push esi
push 1
push edx
call fcn.0044dbda
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x420ef0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x420fdb
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x420fca
jg 0x420f30
test edx, edx
je 0x420fca
nop dword [eax]
call fcn.0040c940
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x420f87
jg 0x420f47
test esi, esi
je 0x420f87
cmp ebx, eax
jg 0x420f57
jl 0x420f51
cmp edi, esi
jae 0x420f57
mov esi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xc]
push esi
mov eax, dword [eax + 0x1c]
push dword [eax]
push dword [esp + 0x18]
call fcn.00449030
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x10]
jmp 0x420fac
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x420fc4
mov eax, dword [esp + 0x10]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
mov byte [eax], cl
mov ecx, dword [esp + 0xc]
add eax, esi
mov dword [esp + 0x10], eax
test ebx, ebx
jg 0x420f30
jl 0x420fc4
test edi, edi
jne 0x420f30
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x1c]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x420ffd
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax]
jmp 0x420fff
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x4210b5
jg 0x42101a
test esi, esi
je 0x4210b5
test eax, eax
jl 0x421063
jg 0x421024
test ebx, ebx
je 0x421063
cmp edi, eax
jg 0x421034
jl 0x42102e
cmp esi, ebx
jae 0x421034
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [esp + 0x14]
push dword [ebp + 8]
call fcn.00449030
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, ebx
sub esi, ebx
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 0x2c]
sbb edi, dword [esp + 0x14]
sub dword [eax], ebx
mov eax, dword [ecx + 0x1c]
add dword [eax], ebx
jmp 0x42106a
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test edi, edi
jl 0x4210b5
jg 0x421074
test esi, esi
je 0x4210b5
mov edx, dword [ecx + 0x4c]
test edx, edx
je 0x4210b5
mov ebx, dword [ecx + 0xc]
lea eax, [ecx + 0x3c]
cmp dword [ebx], eax
jne 0x4210a0
mov edx, dword [ecx + 0x54]
mov ecx, dword [ecx + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov edx, dword [ebx + 0x4c]
push edx
push esi
push 1
push dword [esp + 0x1c]
call fcn.0044d588
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x421430
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x48c084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x421460
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004474f7
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x42149c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x42149c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004474f7
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x421583
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4214c4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], 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
jne 0x4214f7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0044d2a0
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004474f7
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x28], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
test eax, eax
js 0x421583
cmp eax, 1
jle 0x421556
cmp eax, 3
jne 0x421583
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.00420a70
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004474f7
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x421573
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0044dbda
add esp, 0x10
cmp edi, eax
jne 0x421583
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x421487
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004474f7
mov esp, ebp
pop ebp
ret 4
Function at 0x421720
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x48c084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x4217c3
cmp byte [esi + 0x3d], 0
je 0x4217c3
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x421779
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
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 edx
sub eax, 0
je 0x42178b
sub eax, 1
je 0x42178f
sub eax, 2
je 0x4217c3
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004474f7
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4217ac
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0044dbda
add esp, 0x10
cmp edi, eax
jne 0x421779
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004474f7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004474f7
mov esp, ebp
pop ebp
ret
Function at 0x4247f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4707ef
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x48c084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x18], 0
call fcn.00423cd0
push eax
push ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00423c40
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xcc]
cmp edx, 8
jb 0x424897
mov ecx, dword [ebp - 0xe0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42488d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424b4f
push edx
push ecx
call fcn.00447b45
add esp, 8
xor eax, eax
mov dword [ebp - 0xd0], 0
cmp dword [esi + 0x14], 8
mov word [ebp - 0xe0], ax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xcc], 7
lea eax, [eax*2 + 2]
jb 0x4248c6
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x4248ce
mov edi, dword [edi]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x424b54
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x424933
cmp eax, 0x80000001
je 0x424933
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
je 0x424933
cmp eax, 0x80000000
je 0x424933
cmp eax, 0x80000005
je 0x424933
cmp eax, 0x80000007
je 0x424933
cmp eax, 0x80000004
je 0x424933
cmp eax, 0x80000060
je 0x424933
cmp eax, 0x80000050
je 0x424933
cmp eax, 0x80000003
je 0x424933
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004474f7
mov esp, ebp
pop ebp
ret 0xc
call fcn.0044ca29
push eax
push str.Cannot_write_string_value:_RegSetValueEx_failed.
lea ecx, [ebp - 0x124]
call fcn.00415370
push 0x48ad7c
lea eax, [ebp - 0x124]
push eax
call fcn.00448fb5
int3
Function at 0x426710
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470afb
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x48c084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4268ed
mov eax, dword [edi]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00447f68
xor ebx, ebx
mov dword [edi + 4], eax
add esp, 4
cmp dword [edi], ebx
jle 0x4268b8
nop
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov edx, dword [eax + ebx*4]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x48], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4267d2
sub eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push edx
call fcn.0040c290
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00416750
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
mov eax, dword [edi + 0xc]
push ecx
cmp dword [edi + 0x10], eax
je 0x42681d
mov ecx, eax
call fcn.0040b000
add dword [edi + 0xc], 0x18
jmp 0x426826
push eax
lea ecx, [edi + 8]
call fcn.0040fd00
mov ecx, dword [edi + 0xc]
add ecx, 0xffffffe8
cmp dword [ecx + 0x14], 0x10
jb 0x426834
mov ecx, dword [ecx]
mov eax, dword [edi + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
mov dword [eax + ebx*4], ecx
cmp edx, 0x10
jb 0x426872
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x426868
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4268e8
push edx
push ecx
call fcn.00447b45
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4268ac
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4268a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4268e8
push edx
push ecx
call fcn.00447b45
add esp, 8
inc ebx
cmp ebx, dword [edi]
jl 0x4267b0
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push dword [ebp - 0x44]
mov dword [eax + ecx*4], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004474f7
mov esp, ebp
pop ebp
ret
call fcn.0044ca29
push str.Failed_to_parse_command_line_arguments
lea ecx, [ebp - 0x1c]
call fcn.00401270
push 0x48abbc
lea eax, [ebp - 0x1c]
push eax
call fcn.00448fb5
int3
Function at 0x427500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
sub esp, 0x14
push esi
sub eax, 1
je 0x4275e2
sub eax, 1
je 0x427585
mov dword [ebp - 0x14], 7
xor ecx, ecx
mov dword [ebp - 0x10], 0xd700cd
mov dword [ebp - 0xc], 0xd500d1
mov dword [ebp - 8], 0xca00d3
mov dword [ebp - 4], 0xbf00d0
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x10], ax
inc ecx
mov eax, dword [ebp - 0x14]
cmp ecx, eax
jb 0x427540
mov esi, dword [ebp + 8]
xor ecx, ecx
mov word [ebp + eax*2 - 0x10], cx
xor eax, eax
mov dword [esi + 0x10], ecx
lea ecx, [ebp - 0x10]
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427572
lea eax, [ebp - 0x10]
jmp 0x427641
mov dword [ebp - 0x10], 5
xor ecx, ecx
mov dword [ebp - 0xc], 0xcd00d0
mov dword [ebp - 8], 0xcb00ce
mov dword [ebp - 4], 0xbd00cf
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xc], ax
inc ecx
mov eax, dword [ebp - 0x10]
cmp ecx, eax
jb 0x4275a3
mov esi, dword [ebp + 8]
xor ecx, ecx
mov word [ebp + eax*2 - 0xc], cx
xor eax, eax
mov dword [esi + 0x10], ecx
lea ecx, [ebp - 0xc]
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4275d5
jmp 0x42763e
mov eax, 4
mov dword [ebp - 0xc], 0xcd00d0
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [ebp - 8], 0xcb00ce
mov dword [ebp - 4], 0xbc
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0xc], ax
inc ecx
mov eax, dword [ebp - 0x10]
cmp ecx, eax
jb 0x427601
mov esi, dword [ebp + 8]
xor ecx, ecx
mov word [ebp + eax*2 - 0xc], cx
xor eax, eax
mov dword [esi + 0x10], ecx
lea ecx, [ebp - 0xc]
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427633
lea eax, [ebp - 0xc]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040c290
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x443f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x48c084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], 0xdc00ec
mov dword [ebp - 0x10], 0xda00d6
mov dword [ebp - 0xc], 0xd200d1
mov dword [ebp - 8], 0xbf00d0
nop dword [eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x14], cx
inc eax
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x443f90
xor eax, eax
mov word [ebp + ecx*2 - 0x14], ax
lea ecx, [ebp - 0x14]
mov dword [esi + 0x10], eax
lea edx, [ecx + 2]
mov dword [esi + 0x14], 7
mov word [esi], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443fc0
sub ecx, edx
lea eax, [ebp - 0x14]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040c290
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004474f7
mov esp, ebp
pop ebp
ret

Function at 0x443ff0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x48c084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x71]
mov dword [ebp - 0x78], edi
call fcn.00441c00
mov esi, eax
xor eax, eax
mov ecx, dword [esi]
lea edx, [esi + 4]
test ecx, ecx
je 0x444032
lea ecx, [eax + 0xb8]
xor word [edx + eax*2], cx
inc eax
mov ecx, dword [esi]
cmp eax, ecx
jb 0x444021
xor eax, eax
mov word [edx + ecx*2], ax
mov ecx, edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444050
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.0040c290
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004474f7
mov esp, ebp
pop ebp
ret
Function at 0x45ef2d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045eda3

Function at 0x46585b
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004657dd

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x265b659a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data_1
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x28ae62f9
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219