joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1a7cc
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
push esi
test edx, edx
je 0x1a8bb
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1a8bb
mov eax, dword [ebp + 8]
push edi
not eax
mov ecx, 0xff
cmp esi, 8
jb 0x1a89d
mov edi, esi
shr edi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 - 0xc1f4470]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 - 0xc1f4470]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 - 0xc1f4470]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 - 0xc1f4470]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 - 0xc1f4470]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 - 0xc1f4470]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 - 0xc1f4470]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 - 0xc1f4470]
inc edx
sub esi, 8
dec edi
jne 0x1a802
pop ebx
test esi, esi
je 0x1a8b6
movzx edi, byte [edx]
xor edi, eax
and edi, ecx
shr eax, 8
xor eax, dword [edi*4 - 0xc1f4470]
inc edx
dec esi
jne 0x1a8a1
not eax
pop edi
jmp 0x1a8bd
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x1b99c
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0xf3e087b8
call fcn.000242a0
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1ba04
push ebx
mov edi, dword [0xf3e05c9c]
call edi
test al, al
je 0x1ba04
lea esi, [ebx + 0x3c]
push esi
call edi
test al, al
je 0x1ba04
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x1ba04
mov esi, dword [esi]
add esi, ebx
je 0x1ba04
push esi
call edi
test al, al
je 0x1ba04
cmp dword [esi], 0x4550
jne 0x1ba04
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 0x1c], 1
jmp 0x1ba0b
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.000242e5
ret 4

Function at 0x1c14c
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0xf3e0c3e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.0002424a
add esp, 0xc
mov eax, 0xf3e0fc20
push 0
push 0xf3e0fc28
mov dword [0xf3e0fc24], eax
mov dword [0xf3e0fc20], eax
call dword [0xf3e05e00]
xor esi, esi
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.0002424a
push 0x3f
push dword [esi - 0xc1f4070]
lea eax, [ebp - 0x84]
push eax
call dword [0xf3e05d98]
lea eax, [ebp - 0x84]
add esp, 0x18
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x1c1cf
sub eax, ecx
sar eax, 1
push 0
pop ecx
je 0x1c1f0
xor word [ebp + ecx*2 - 0x84], 0x7b
inc ecx
cmp ecx, eax
jb 0x1c1e2
lea eax, [ebp - 0x84]
push eax
call fcn.0001bc1c
add esi, 4
cmp esi, 0x24
jb 0x1c19b
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.000241d9
leave
ret
Function at 0x238c4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x400
xor eax, eax
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x238e5
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x238e7
shr ecx, 1
dec edx
jne 0x238d6
mov dword [ebp + eax*4 - 0x400], ecx
inc eax
cmp eax, 0x100
jb 0x238d1
xor ecx, ecx
or eax, 0xffffffff
cmp dword [ebp + 0xc], ecx
jbe 0x23926
push esi
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
mov esi, eax
and esi, 0xff
xor edx, esi
shr eax, 8
xor eax, dword [ebp + edx*4 - 0x400]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x23904
pop esi
not eax
leave
ret 8
Function at 0x405030
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc78f
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x4dd704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x140], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x13c]
call fcn.004a7200
mov dword [ebp - 4], 0
push 0x4ca308
lea ecx, [ebp - 0x20]
call fcn.00401cb0
push 0x4ca308
lea ecx, [ebp - 0x30]
call fcn.00401cb0
lea ecx, [ebp - 0x10]
call fcn.004058d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c8]
push ecx
call fcn.004a2290
add esp, 4
mov dword [ebp - 0x2d0], eax
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], edx
mov byte [ebp - 4], 2
push str.CamCap
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [eax]
push ecx
push str._s_s.usr
lea edx, [ebp - 0x10]
push edx
call fcn.00405550
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c8]
call fcn.0040a880
lea ecx, [ebp - 0x10]
call fcn.00404330
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4051fa
push 0
lea ecx, [ebp - 0x10]
call fcn.00404330
push eax
lea ecx, [ebp - 0x19c]
call fcn.0046e2b1
mov byte [ebp - 4], 3
push 0
push 0x1000
push 1
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x18c]
call fcn.0046eb84
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18c]
push ecx
lea ecx, [ebp - 0x13c]
call fcn.004a7650
lea ecx, [ebp - 0x18c]
call fcn.0046e9df
lea ecx, [ebp - 0x19c]
call fcn.0046dc5a
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x2c4]
call fcn.004a7200
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00404330
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00405710
test eax, eax
je 0x4051a1
mov dword [ebp - 0x140], 0
jmp 0x4051cb
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.004a6d00
cmp eax, 1
jne 0x4051c1
mov dword [ebp - 0x140], 1
jmp 0x4051cb
mov dword [ebp - 0x140], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c4]
call fcn.004a6d60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18c]
call fcn.0046eb46
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
call fcn.0046ddc9
jmp 0x405204
mov dword [ebp - 0x140], 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x2cc], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040a880
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.004a6d60
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x40ae50
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov esp, ebp
pop ebp
ret
Function at 0x411e20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ebx, dword [esi]
xor ebp, ebp
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebp
test ebx, ebx
je 0x411eba
cmp byte [ebx], 0
mov eax, ebx
je 0x411e4a
add eax, 1
cmp byte [eax], 0
jne 0x411e42
mov ecx, dword [esp + 0x20]
sub eax, ebx
and eax, 0x3fffffff
add ecx, 0x188
cmp dword [ecx + 0xc], 0
mov edi, eax
je 0x411ea1
xor eax, eax
test edi, edi
mov esi, edi
mov edx, ebx
jle 0x411e97
lea ecx, [ecx]
movzx ebx, byte [edx]
movzx ebx, byte [ebx + 0x4c7848]
lea ebp, [eax*8]
xor ebx, ebp
sub esi, 1
xor eax, ebx
add edx, 1
test esi, esi
jg 0x411e70
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
xor edx, edx
div dword [ecx]
jmp 0x411ea3
xor edx, edx
push edi
push ebx
call fcn.00412ae0
add esp, 8
test eax, eax
je 0x411eb6
mov eax, dword [eax + 8]
jmp 0x411ec1
xor eax, eax
jmp 0x411ec1
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x411ed3
movzx ecx, byte [ebp + 0x4c77bc]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x411ef6
add ebp, 1
cmp ebp, 3
mov dword [esp + 0x14], ebp
jl 0x411e37
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov edx, dword [eax]
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov ecx, dword [eax + 0xc]
pop edi
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret

Function at 0x4128e0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x412911
push esi
push edi
jmp 0x4128f0
movzx esi, byte [edx]
movzx esi, byte [esi + 0x4c7848]
lea edi, [eax*8]
xor esi, edi
sub ecx, 1
xor eax, esi
add edx, 1
test ecx, ecx
jg 0x4128f0
pop edi
pop esi
ret
Function at 0x412980
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x41299d
mov esi, 0x80
cmp esi, dword [edi]
jne 0x4129aa
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x4e3dd0]
test eax, eax
je 0x4129b5
call eax
lea ecx, [esi*8]
push ecx
call fcn.0040f120
mov ebp, eax
mov eax, dword [0x4e3dd4]
add esp, 4
test eax, eax
mov dword [esp + 0x10], ebp
je 0x4129d6
call eax
test ebp, ebp
je 0x4129a1
mov edx, dword [edi + 0xc]
push edx
call fcn.0040f3f0
add esp, 4
push ebp
mov dword [edi + 0xc], ebp
call dword [0x4df74c]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push ebp
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call fcn.004858f0
mov ecx, dword [edi + 8]
add esp, 0xc
test ecx, ecx
mov dword [edi + 8], 0
je 0x412ac5
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x412a57
nop
movzx ebx, byte [esi]
movzx ebx, byte [ebx + 0x4c7848]
lea ebp, [eax*8]
xor ebx, ebp
sub edx, 1
xor eax, ebx
add esi, 1
test edx, edx
jg 0x412a30
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
xor edx, edx
div ebx
lea eax, [ebp + edx*8]
test eax, eax
je 0x412aa0
mov esi, dword [eax]
test esi, esi
je 0x412a74
mov edx, dword [eax + 4]
jmp 0x412a76
xor edx, edx
add esi, 1
test edx, edx
mov dword [eax], esi
mov dword [eax + 4], ecx
je 0x412aa0
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x412a98
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x412ab9
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x412ab9
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x412aaf
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x412a23
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x424d60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
test ebp, ebp
mov eax, ebp
jne 0x424d77
xor ebx, ebx
jmp 0x424d91
cmp byte [ebp], 0
je 0x424d88
lea ecx, [ecx]
add eax, 1
cmp byte [eax], 0
jne 0x424d80
sub eax, ebp
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
xor esi, esi
test eax, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jle 0x424e55
jmp 0x424db4
mov esi, dword [esp + 0x10]
cmp esi, 2
jge 0x424dbc
xor esi, 1
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x424ddc
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov edx, esi
shl edx, 4
mov edx, dword [edx + eax]
call fcn.0040fb60
test eax, eax
jne 0x424e40
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
shl esi, 4
mov ecx, dword [esi + edx + 0xc]
add ecx, 4
cmp dword [ecx + 0xc], 0
je 0x424e29
xor eax, eax
test ebx, ebx
mov edi, ebx
mov edx, ebp
jle 0x424e23
lea ecx, [ecx]
movzx esi, byte [edx]
movzx esi, byte [esi + 0x4c7848]
lea ebp, [eax*8]
xor esi, ebp
sub edi, 1
xor eax, esi
add edx, 1
test edi, edi
jg 0x424e00
mov ebp, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0x424e2b
xor edx, edx
push ebx
push ebp
call fcn.00412ae0
add esp, 8
test eax, eax
je 0x424e5f
mov edi, dword [eax + 8]
test edi, edi
jne 0x424e55
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jl 0x424db0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
xor edi, edi
jmp 0x424e40

Function at 0x424f10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push ebp
xor ebp, ebp
test ebx, ebx
push edi
mov eax, ebx
jne 0x424f26
xor edi, edi
jmp 0x424f41
cmp byte [ebx], 0
je 0x424f38
jmp 0x424f30
add eax, 1
cmp byte [eax], 0
jne 0x424f30
sub eax, ebx
and eax, 0x3fffffff
mov edi, eax
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
jle 0x425003
mov ecx, dword [ecx + 8]
push esi
mov dword [esp + 0x14], ecx
jmp 0x424f64
mov eax, dword [esp + 0x10]
cmp eax, 2
jge 0x424f6c
xor eax, 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
shl eax, 4
mov esi, dword [eax + edx + 0xc]
add eax, edx
test ecx, ecx
je 0x424f8c
mov edx, dword [eax]
call fcn.0040fb60
test eax, eax
jne 0x424fe0
cmp dword [esi + 0x20], 0
lea ecx, [esi + 0x14]
je 0x424fc9
xor eax, eax
test edi, edi
mov esi, edi
mov edx, ebx
jle 0x424fc3
nop
movzx ebx, byte [edx]
movzx ebx, byte [ebx + 0x4c7848]
lea ebp, [eax*8]
xor ebx, ebp
sub esi, 1
xor eax, ebx
add edx, 1
test esi, esi
jg 0x424fa0
mov ebx, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0x424fcb
xor edx, edx
push edi
push ebx
call fcn.00412ae0
add esp, 8
test eax, eax
je 0x424fff
mov ebp, dword [eax + 8]
test ebp, ebp
jne 0x424ff5
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jl 0x424f60
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
xor ebp, ebp
jmp 0x424fe0
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x430ef0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x320
mov eax, dword [0x4dd704]
xor eax, esp
mov dword [esp + 0x31c], eax
mov eax, dword [0x4e3d14]
test eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x32c]
push esi
push edi
je 0x430f35
push eax
push 0x4cb838
lea eax, [esp + 0x20]
push eax
push 0xe6
call fcn.00411b10
add esp, 0x10
jmp 0x430fea
call fcn.004305f0
test eax, eax
je 0x430f83
lea ecx, [esp + 0x120]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea edx, [esp + 0x120]
push edx
call fcn.004306b0
mov esi, eax
add esp, 4
test esi, esi
je 0x4310e7
push esi
push 0x4cb838
lea eax, [esp + 0x20]
push eax
push 0xe6
call fcn.00411b10
push esi
jmp 0x430fe2
lea ecx, [esp + 0x120]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea edx, [esp + 0x120]
push edx
call fcn.00430710
mov esi, eax
add esp, 4
test esi, esi
je 0x4310e7
push esi
call fcn.004306b0
add esp, 4
push esi
mov edi, eax
call fcn.004872ce
add esp, 4
test edi, edi
je 0x4310e7
push edi
push 0x4cb838
lea eax, [esp + 0x20]
push eax
push 0xe6
call fcn.00411b10
push edi
call fcn.004872ce
add esp, 0x14
cmp byte [esp + 0x18], 0
lea eax, [esp + 0x18]
je 0x430ffd
add eax, 1
cmp byte [eax], 0
jne 0x430ff5
lea ecx, [esp + 0x18]
sub eax, ecx
and eax, 0x3fffffff
jbe 0x43101b
sub ecx, 1
lea ecx, [ecx]
cmp byte [ecx + eax], 0x5c
jne 0x43101b
sub eax, 1
jne 0x431010
lea edx, [esp + 0x18]
push edx
push str._setilqs_
push ebp
push 0xe7
mov byte [esp + eax + 0x28], 0
call fcn.00411b10
add esp, 0x10
test ebp, ebp
mov eax, ebp
je 0x431053
cmp byte [ebp], 0
je 0x43104c
add eax, 1
cmp byte [eax], 0
jne 0x431044
sub eax, ebp
and eax, 0x3fffffff
cmp dword [0x4df72c], 0
mov esi, eax
mov edi, 0x14
lea ebx, [eax + ebp]
jne 0x431070
mov dword [esp + 0x14], 0
jmp 0x431090
push 5
call dword [0x4df768]
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
je 0x431090
push eax
call dword [0x4df770]
add esp, 4
lea ecx, [ecx]
sub edi, 1
call fcn.0041e3c0
mov byte [ebx], al
add ebx, 1
test edi, edi
jne 0x431090
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4310b3
push eax
call dword [0x4df778]
add esp, 4
mov ecx, 0x14
jmp 0x4310c0
movzx eax, byte [esi + ebp]
xor edx, edx
mov edi, 0x3e
div edi
add esi, 1
sub ecx, 1
mov dl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [esi + ebp - 1], dl
jne 0x4310c0
mov byte [esi + ebp], 0
xor eax, eax
jmp 0x4310ec
mov eax, 7
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00485605
add esp, 0x320
ret
Function at 0x431740
Capabilities:
Get disk size

Disassembly:
sub esp, 0x118
mov eax, dword [0x4dd704]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x11c]
push esi
push edi
lea ecx, [esp + 0x10]
push ecx
push 0x104
push eax
push edx
mov dword [esp + 0x1c], 0x200
call fcn.00431600
add esp, 0x10
test eax, eax
jne 0x431862
call fcn.004305f0
test eax, eax
je 0x431798
lea eax, [esp + 0x10]
push eax
call fcn.00430650
mov esi, eax
jmp 0x4317c0
lea ecx, [esp + 0x10]
push ecx
call fcn.00430650
mov edi, eax
add esp, 4
test edi, edi
je 0x431846
push edi
call fcn.00430780
add esp, 4
push edi
mov esi, eax
call fcn.004872ce
add esp, 4
test esi, esi
je 0x431846
call fcn.004305f0
test eax, eax
mov eax, esi
je 0x431805
cmp word [esi], 0
je 0x4317ee
cmp word [eax], 0x5c
je 0x4317e9
add eax, 2
cmp word [eax], 0
jne 0x4317d8
jmp 0x4317ee
mov word [eax], 0
lea edx, [esp + 8]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0x14]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceW]
jmp 0x431837
cmp byte [esi], 0
je 0x431822
lea ebx, [ebx]
cmp byte [eax], 0x5c
je 0x43181f
add eax, 1
cmp byte [eax], 0
jne 0x431810
jmp 0x431822
mov byte [eax], 0
lea eax, [esp + 8]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.004872ce
add esp, 4
test edi, edi
jne 0x431862
mov eax, 0x200
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00485605
add esp, 0x118
ret
mov ecx, dword [esp + 0x11c]
mov eax, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.00485605
add esp, 0x118
ret
Function at 0x447850
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
push esi
push edi
jne 0x44786a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, 0x44
call fcn.0040f650
mov edi, eax
test edi, edi
je 0x447861
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
push esi
call fcn.00447450
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.00447540
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ecx
push eax
push esi
call fcn.004471c0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push edx
push eax
push esi
call fcn.00447450
mov ecx, dword [ebp + 0x10]
add esp, 0x1c
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ecx
push eax
push esi
call fcn.004471c0
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push esi
call fcn.00447450
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
add esp, 0x1c
mov byte [edi + 4], cl
mov eax, dword [ebx + 0x1c]
push edx
push eax
push esi
call fcn.00447850
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ecx
push eax
push esi
call fcn.004471c0
mov edx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push edx
push eax
push esi
call fcn.004471c0
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
add esp, 0x20
and cx, 0xfff7
mov word [edi + 6], cx
mov dword [edi + 0x24], eax
or eax, 0xffffffff
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452f20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebx
push ebp
xor ebx, ebx
test dword [ecx + 0xc], 0x400000
push esi
push edi
mov dword [esp + 0x14], ebx
je 0x453074
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x24]
test edi, edi
je 0x452f8c
jmp 0x452f50
mov eax, dword [edi + 0x14]
test eax, eax
jle 0x452f7d
lea edx, [edi + 0x24]
mov esi, eax
lea esp, [esp]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x452f6c
or eax, 0xffffffff
jmp 0x452f73
mov eax, 1
shl eax, cl
or ebx, eax
add edx, 8
sub esi, 1
jne 0x452f60
mov edi, dword [edi + 4]
test edi, edi
jne 0x452f50
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], ebx
mov edi, dword [ecx + 4]
test edi, edi
mov eax, edi
jne 0x452f99
xor ebp, ebp
jmp 0x452fb1
cmp byte [edi], 0
je 0x452fa8
mov edi, edi
add eax, 1
cmp byte [eax], 0
jne 0x452fa0
sub eax, edi
and eax, 0x3fffffff
mov ebp, eax
mov ecx, dword [ecx + 0x44]
add ecx, 0x34
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x18], ecx
je 0x452ffd
xor eax, eax
test ebp, ebp
mov esi, ebp
mov edx, edi
jle 0x452ff7
jmp 0x452fd0
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x4c7848]
lea ebx, [eax*8]
xor ecx, ebx
sub esi, 1
xor eax, ecx
add edx, 1
test esi, esi
jg 0x452fd0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
xor edx, edx
div dword [ecx]
jmp 0x452fff
xor edx, edx
push ebp
push edi
call fcn.00412ae0
add esp, 8
test eax, eax
je 0x453074
mov edi, dword [eax + 8]
test edi, edi
je 0x453074
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
push edi
push eax
push ecx
xor eax, eax
mov dword [esp + 0x24], 0
call fcn.004516c0
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
je 0x45306d
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x45306d
mov edx, dword [eax + 8]
mov esi, ecx
lea ebx, [ebx]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x45305c
or eax, 0xffffffff
jmp 0x453063
mov eax, 1
shl eax, cl
or ebx, eax
add edx, 4
sub esi, 1
jne 0x453050
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x453014
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc
ret