joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415310
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b84bd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4d6fd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x415350
xor edx, edx
mov dword [ebp - 0x2c], 0
sub esi, ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], dl
mov cl, byte [edi]
inc edi
mov dword [ebp - 4], 1
test cl, cl
je 0x41549e
mov eax, esi
dec esi
test eax, eax
jle 0x41549e
cmp cl, 0x3d
jne 0x415402
mov cl, byte [edi]
cmp cl, 0x3d
je 0x415495
mov eax, edx
and eax, 0x80000003
jns 0x4153b0
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 1
jne 0x415495
mov esi, dword [ebp - 0x38]
mov dword [esi], 0
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov byte [ebp - 4], al
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4153e0
sub ecx, edx
push ecx
push 0
mov ecx, esi
call fcn.0040d270
lea ecx, [ebp - 0x28]
call fcn.00405960
mov eax, esi
jmp 0x4154c6
movsx eax, cl
mov cl, byte [eax + 0x4bbbb0]
movsx eax, cl
mov dword [ebp - 0x34], eax
mov eax, edx
and eax, 0x80000003
jns 0x41541f
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 3
ja case.default.0x415424
jmp dword [eax*4 + 0x4154e4]
mov ecx, dword [ebp - 0x34]
lea eax, [ecx*4]
mov dword [ebp - 0x2c], eax
jmp case.default.0x415424
sar cl, 4
or cl, byte [ebp - 0x2c]
movzx eax, cl
lea ecx, [ebp - 0x28]
push eax
call fcn.00415150
mov eax, dword [ebp - 0x34]
and eax, 0xf
shl eax, 4
mov dword [ebp - 0x2c], eax
jmp 0x41548c
sar cl, 2
or cl, byte [ebp - 0x2c]
movzx eax, cl
lea ecx, [ebp - 0x28]
push eax
call fcn.00415150
mov eax, dword [ebp - 0x34]
and eax, 3
shl eax, 6
mov dword [ebp - 0x2c], eax
jmp 0x41548c
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
or eax, dword [ebp - 0x34]
push eax
mov dword [ebp - 0x2c], eax
call fcn.00415150
mov edx, dword [ebp - 0x30]
mov cl, byte [edi]
inc edx
mov dword [ebp - 0x30], edx
inc edi
test cl, cl
jne 0x415387
mov eax, dword [ebp - 0x38]
movups xmm0, xmmword [ebp - 0x28]
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496cac
mov esp, ebp
pop ebp
ret
Function at 0x416ef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b873c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4d6fd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], 0
je 0x416f70
mov dword [ebx], 0x4bbcec
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x68], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
push 0
lea esi, [ebx + 4]
mov ecx, ebx
push 0
push esi
mov dword [ebp - 0x10], esi
call fcn.00417090
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00496a18
mov edi, eax
add esp, 4
test edi, edi
je 0x416fd4
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov byte [ebp - 4], 2
call fcn.004957a3
add esp, 4
mov dword [edi + 4], eax
jmp 0x416fd6
xor edi, edi
mov eax, dword [ebp - 0x10]
lea ebx, [esi + 4]
mov dword [ebp - 0x14], ebx
lea edx, [esi + 8]
mov ebx, dword [ebp - 0x10]
lea ecx, [esi + 0x18]
mov dword [esi + 0x34], edi
lea edi, [esi + 0x14]
mov dword [ebp - 0x18], edx
add esi, 0x24
mov edx, dword [ebp - 0x10]
add eax, 0x28
mov dword [ebx], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x3d], 0
mov ebx, dword [ebp - 0x14]
mov dword [edx + 0xc], ebx
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x2c], esi
mov ebx, dword [ebp - 0x14]
mov dword [edx], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [esi], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [0x4d8454]
mov edx, dword [0x4d8458]
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x446630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4d6fd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
mov edx, dword [esi + 0x3c]
cmp dword [edx], ebx
jne 0x44667c
mov eax, dword [esi + 0x78]
mov ecx, dword [esi]
or eax, 0x1e
push ebx
and eax, 0x87f7f
push eax
mov eax, dword [ecx + 0x18]
push edx
push ebx
push ecx
call eax
mov ebx, eax
add esp, 0x14
mov dword [ebp - 0x10], ebx
test ebx, ebx
jne 0x44675b
mov ecx, dword [esi + 0x18]
cmp ecx, dword [esi + 0x24]
jbe 0x4466b5
mov eax, dword [esi + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.00497080
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 8], edx
lea edx, [ebp - 0xc]
push edx
push 5
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [esi + 0x24], eax
test edi, edi
je 0x446759
mov ebx, dword [edi + 0x14]
cmp ebx, dword [esi + 0x18]
ja 0x44674b
test byte [edi + 0x18], 0x20
jne 0x44674b
mov eax, dword [esi + 0x80]
lea ecx, [ebx - 1]
cdq
push edx
push eax
push 0
push ecx
call fcn.00497080
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], edx
cmp ebx, 1
jne 0x4466f7
push edi
call fcn.004465b0
add esp, 4
push dword [ebp - 0x10]
mov eax, dword [edi + 4]
push dword [ebp - 8]
mov edx, dword [esi + 0x80]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x3c]
push edx
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0xc]
call eax
add esp, 0x14
mov dword [ebp - 0x10], eax
cmp ebx, 1
jne 0x44672e
mov eax, dword [ebp - 0x14]
movups xmm0, xmmword [eax + 0x18]
movups xmmword [esi + 0x64], xmm0
cmp ebx, dword [esi + 0x20]
jbe 0x446736
mov dword [esi + 0x20], ebx
inc dword [esi + 0xa8]
push dword [edi + 4]
push ebx
push dword [esi + 0x58]
call fcn.0044f980
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov edi, dword [edi + 0xc]
test ebx, ebx
je 0x4466b5
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00496cac
mov esp, ebp
pop ebp
ret
Function at 0x453d40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4d6fd0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
add ecx, ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx]
push esi
push edi
mov dword [ebp - 0x2c], ebx
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*8]
mov eax, 1
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], eax
nop dword [eax]
push eax
push str.sqlite_stat_d
lea eax, [ebp - 0x1c]
push eax
push 0x18
call fcn.00421e70
mov ebx, dword [ebx]
lea edx, [ebp - 0x1c]
add esp, 0x10
mov dword [ebp - 0x34], ebx
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
je 0x453db6
nop dword [eax]
inc edx
cmp byte [edx], 0
jne 0x453db0
mov ecx, dword [ebx + 0x14]
lea eax, [ebp - 0x1c]
sub edx, eax
mov dword [ebp - 0x3c], ecx
and edx, 0x3fffffff
xor eax, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x30], eax
test ecx, ecx
jle 0x453ef3
mov esi, eax
xor esi, 1
cmp eax, 2
cmovge esi, eax
test edi, edi
je 0x453e3f
mov eax, dword [ebx + 0x10]
mov ecx, esi
mov bl, byte [edi]
add ecx, ecx
mov edx, dword [eax + ecx*8]
test bl, bl
je 0x453e21
mov al, bl
sub edi, edx
nop word [eax + eax]
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x4bd0d8]
cmp al, byte [ecx + 0x4bd0d8]
jne 0x453e21
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x453e00
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x4bd0d8]
movzx eax, bl
movzx eax, byte [eax + 0x4bd0d8]
sub eax, ecx
jne 0x453eb2
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x10]
add esi, esi
mov ecx, dword [eax + esi*8 + 0xc]
add ecx, 8
mov dword [ebp - 0x20], ecx
cmp dword [ecx + 0xc], 0
je 0x453e88
xor esi, esi
lea ebx, [ebp - 0x1c]
mov edi, edx
test edx, edx
je 0x453e80
nop
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x4bd0d8]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x453e60
mov ecx, dword [ebp - 0x20]
mov eax, esi
xor edx, edx
div dword [ecx]
jmp 0x453e8a
xor edx, edx
push edx
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push eax
push ecx
call fcn.00439580
add esp, 0x10
test eax, eax
je 0x453eab
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x453ed2
jmp 0x453eb5
xor ecx, ecx
mov dword [ebp - 0x20], ecx
jmp 0x453eb5
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
inc eax
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
cmp eax, dword [ebp - 0x3c]
jl 0x453dd7
test ecx, ecx
je 0x453ef3
push dword [ebp - 0x40]
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x44]
mov ebx, dword [ebp - 0x2c]
push eax
push edi
push str.DELETE_FROM__Q._s_WHERE__s_Q
push ebx
call fcn.00465a20
add esp, 0x18
jmp 0x453ef6
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 3
jle 0x453d80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00496cac
mov esp, ebp
pop ebp
ret
Function at 0x45cca0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x10
push ebx
push edi
xor edi, edi
mov ebx, edx
test edx, edx
jne 0x45ccb8
mov dword [ebp - 4], edi
jmp 0x45ccd1
cmp byte [edx], 0
je 0x45ccc6
nop dword [eax]
inc ebx
cmp byte [ebx], 0
jne 0x45ccc0
sub ebx, edx
and ebx, 0x3fffffff
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, dword [eax + 0x14]
mov dword [ebp - 0xc], ebx
test ebx, ebx
jle 0x45cddd
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x10], ebx
push esi
nop
mov eax, ecx
xor eax, 1
cmp ecx, 2
cmovge eax, ecx
mov ecx, dword [ebp + 0x10]
add eax, eax
mov esi, dword [ebx + eax*8 + 0xc]
mov dword [ebp + 8], esi
test ecx, ecx
je 0x45cd5f
mov edx, dword [ebx + eax*8]
mov bl, byte [ecx]
test bl, bl
je 0x45cd44
mov esi, ecx
mov al, bl
sub esi, edx
nop word [eax + eax]
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x4bd0d8]
cmp al, byte [ecx + 0x4bd0d8]
jne 0x45cd41
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x45cd20
mov esi, dword [ebp + 8]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x4bd0d8]
movzx eax, bl
movzx eax, byte [eax + 0x4bd0d8]
sub eax, ecx
jne 0x45cdc6
mov edx, dword [ebp + 0xc]
cmp dword [esi + 0x24], 0
lea ecx, [esi + 0x18]
mov ebx, dword [ebp - 4]
mov dword [ebp + 8], ecx
je 0x45cda0
mov edi, edx
mov esi, ebx
xor edx, edx
test ebx, ebx
je 0x45cd98
movzx eax, byte [edi]
lea edi, [edi + 1]
dec esi
movzx ecx, byte [eax + 0x4bd0d8]
lea eax, [edx*8]
xor ecx, eax
xor edx, ecx
test esi, esi
jg 0x45cd78
mov ecx, dword [ebp + 8]
mov eax, edx
xor edx, edx
div dword [ecx]
jmp 0x45cda2
xor edx, edx
push edx
push ebx
push dword [ebp + 0xc]
push ecx
call fcn.00439580
add esp, 0x10
test eax, eax
je 0x45cdc4
mov edi, dword [eax + 8]
test edi, edi
je 0x45cdc6
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [ebp - 0xc]
jge 0x45cdbb
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x10]
jmp 0x45ccf0
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45cdf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 8], eax
push ebx
mov ebx, edx
push esi
test edx, edx
jne 0x45ce0b
mov dword [ebp - 4], eax
jmp 0x45ce20
cmp byte [edx], al
je 0x45ce15
nop
inc ebx
cmp byte [ebx], al
jne 0x45ce10
sub ebx, edx
and ebx, 0x3fffffff
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x10], esi
test esi, esi
jle 0x45cf0c
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
xor esi, 1
cmp ecx, 2
cmovge esi, ecx
test edi, edi
je 0x45cea3
mov eax, dword [ebx + 0x10]
mov ecx, esi
mov bl, byte [edi]
add ecx, ecx
mov edx, dword [eax + ecx*8]
test bl, bl
je 0x45ce81
mov al, bl
sub edi, edx
nop dword [eax]
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x4bd0d8]
cmp al, byte [ecx + 0x4bd0d8]
jne 0x45ce81
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x45ce60
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x4bd0d8]
movzx eax, bl
movzx eax, byte [eax + 0x4bd0d8]
sub eax, ecx
jne 0x45cf19
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x10]
add esi, esi
mov ebx, dword [ebp - 4]
mov ecx, dword [eax + esi*8 + 0xc]
add ecx, 8
mov dword [ebp - 8], ecx
cmp dword [ecx + 0xc], 0
je 0x45ceed
mov edi, edx
mov esi, ebx
xor edx, edx
test ebx, ebx
je 0x45cee5
movzx eax, byte [edi]
lea edi, [edi + 1]
dec esi
movzx ecx, byte [eax + 0x4bd0d8]
lea eax, [edx*8]
xor ecx, eax
xor edx, ecx
test esi, esi
jg 0x45cec5
mov ecx, dword [ebp - 8]
mov eax, edx
xor edx, edx
div dword [ecx]
jmp 0x45ceef
xor edx, edx
push edx
push ebx
push dword [ebp + 0xc]
push ecx
call fcn.00439580
add esp, 0x10
test eax, eax
je 0x45cf12
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
je 0x45cf1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x45cf1c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, dword [ebp - 0x10]
jge 0x45cf0b
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
jmp 0x45ce37
Function at 0x45e3d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
mov eax, dword [eax]
push esi
xor esi, esi
test dword [eax + 0x18], 0x4000000
je 0x45e50d
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov ebx, dword [eax + 0x24]
test ebx, ebx
je 0x45e428
mov edi, dword [ebx + 0x14]
test edi, edi
jle 0x45e41e
lea edx, [ebx + 0x24]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x45e40d
or eax, 0xffffffff
jmp 0x45e414
mov eax, 1
shl eax, cl
or esi, eax
add edx, 8
sub edi, 1
jne 0x45e401
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x45e3f7
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edi, ecx
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x45e446
cmp byte [ecx], 0
je 0x45e43e
inc edi
cmp byte [edi], 0
jne 0x45e438
sub edi, ecx
and edi, 0x3fffffff
mov eax, dword [eax + 0x44]
xor edx, edx
add eax, 0x38
mov dword [ebp - 4], edi
mov dword [ebp - 8], eax
cmp dword [eax + 0xc], edx
je 0x45e492
mov dword [ebp - 0xc], ecx
mov ebx, edi
test edi, edi
je 0x45e487
mov edi, ecx
movzx eax, byte [edi]
lea edi, [edi + 1]
dec ebx
movzx ecx, byte [eax + 0x4bd0d8]
lea eax, [edx*8]
xor ecx, eax
xor edx, ecx
test ebx, ebx
jg 0x45e464
mov edi, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
mov eax, edx
xor edx, edx
div dword [ebx]
mov eax, ebx
push edx
push edi
push ecx
push eax
call fcn.00439580
add esp, 0x10
test eax, eax
je 0x45e504
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x45e504
nop dword [eax]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043f8d0
mov edx, dword [ebp - 8]
add esp, 0x14
test edx, edx
je 0x45e4fd
mov edi, dword [edx + 0x24]
test edi, edi
jle 0x45e4fd
mov edx, dword [edx + 4]
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, 0x1f
jle 0x45e4ec
or eax, 0xffffffff
jmp 0x45e4f3
mov eax, 1
shl eax, cl
or esi, eax
add edx, 4
sub edi, 1
jne 0x45e4e0
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x45e4b0
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x488610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
jle 0x488640
push ebx
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x4bd0d8]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x488622
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4938f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4d6fd0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
test ebx, ebx
jne 0x493921
push str.filename_null_
push ebx
push 4
push esi
call fcn.00494990
add esp, 0x10
jmp 0x493a29
push edi
call fcn.00492f70
push 0x4c443c
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push ebx
push eax
call fcn.0049ff66
add esp, 0xc
test eax, eax
jne 0x493a15
mov edi, dword [ebp - 8]
test edi, edi
je 0x493a15
mov ecx, esi
call fcn.00492f70
push 0
push 0
push edi
call fcn.0049d3fe
push edi
call fcn.0049cb35
add esp, 0x10
cmp eax, 0xffffffff
jne 0x49397f
push edi
call fcn.0049ffad
add esp, 4
test eax, eax
jne 0x4939fb
push 2
push 0
push edi
call fcn.0049d3fe
push edi
call fcn.004a065c
push 0
cdq
push 0
push edi
mov ebx, eax
mov dword [ebp - 0xc], edx
call fcn.0049d3fe
mov edx, dword [ebp - 0xc]
mov ecx, ebx
and ecx, edx
add esp, 0x1c
cmp ecx, 0xffffffff
je 0x4939fb
test edx, edx
ja 0x4939fb
jb 0x4939b9
cmp ebx, 0xffffffff
jae 0x4939fb
mov eax, ebx
or eax, edx
jne 0x4939c5
push eax
push eax
push 0xd
jmp 0x493a01
lea eax, [ebx + 1]
push eax
call fcn.00496cdd
push edi
push ebx
push 1
push eax
mov dword [esi + 0x50], eax
call fcn.0049cfb1
add esp, 0x14
cmp eax, ebx
jne 0x4939fb
mov eax, dword [esi + 0x50]
mov ecx, esi
mov byte [ebx + eax], 0
call fcn.00493d90
push edi
call fcn.0049c72d
add esp, 4
jmp 0x493a28
push 0
push 0
push 5
push esi
call fcn.00494990
add esp, 0x10
push edi
call fcn.0049c72d
add esp, 4
jmp 0x493a28
push ebx
push str.filename_s
push 0
push 3
push esi
call fcn.00494990
add esp, 0x14
pop edi
mov eax, dword [esi + 0x38]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00496cac
mov esp, ebp
pop ebp
ret 4

Function at 0x4a81b7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a802d

Function at 0x4af048
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004aeb9b
Function at 0x4926fe
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401db6
mov eax, dword [0x692440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00405eb1
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x492740
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x49289c
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00406014
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x6960b0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00403279
mov ecx, dword [esi*4 + 0x6960b0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x492895
cmp eax, dword [edi + ecx + 0x24]
jne 0x492895
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x492895
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00403279
add esp, 0x14
test edx, edx
jl 0x492895
jg 0x49280b
test eax, eax
jb 0x492895
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x492895
jl 0x492825
cmp dword [ebp - 0x1008], eax
ja 0x492895
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x492843
test ebx, ebx
je 0x49287c
cmp ecx, edi
jae 0x49287c
mov al, byte [ecx]
cmp al, 0xd
jne 0x49285d
lea eax, [edi - 1]
cmp ecx, eax
jae 0x492869
cmp byte [ecx + 1], 0xa
jne 0x492869
inc ecx
jmp 0x492869
movzx eax, al
movsx eax, byte [eax + 0x692fa8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x492843
cmp edx, ebx
jne 0x492843
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x49289a
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040306c
leave
ret
Function at 0x498fd1
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x692440]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49901c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00499493
test al, al
jne 0x499016
sub edx, 2
cmp edx, edi
jne 0x498ffc
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49903e
lea eax, [edi + 2]
cmp edx, eax
je 0x49903e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00498bca
add esp, 0x10
jmp 0x499138
push esi
lea ecx, [ebp - 0x255]
call fcn.00499493
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x499081
push dword [ebp - 0x25c]
jmp 0x49902e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4990be
cmp word [ebp - 0x226], 0
je 0x4990df
cmp word [ebp - 0x226], ax
jne 0x4990be
cmp word [ebp - 0x224], 0
je 0x4990df
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00498bca
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49912b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x499098
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x499113
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x499138
push 0x4985b2
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040556a
add esp, 0x10
jmp 0x499108
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040306c
leave
ret