joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e3e4
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4326a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x28]
push 1
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edi
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.0048e244
xor eax, eax
mov byte [esi + 0x32], 1
mov byte [esi + 0x30], al
mov byte [esi + 0x33], al
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi], 0x436718
mov edx, dword [0x447618]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x48], eax
dec edx
mov ah, cl
and ecx, 0xff
mov dword [esi + 0x4c], edx
and eax, 0xffff
mov edx, ecx
or edx, eax
shl edx, 0x10
or edx, ecx
mov ecx, dword [esp + 0x30]
or edx, eax
xor eax, eax
mov ah, cl
and ecx, 0xff
mov dword [esi + 0x70], edx
and eax, 0xffff
mov edx, ecx
or edx, eax
shl edx, 0x10
or edx, ecx
mov ecx, esi
or edx, eax
mov eax, dword [esp + 0x38]
push eax
mov dword [esi + 0x6c], edx
call fcn.0048e5c4
mov ecx, esi
call fcn.0048eb04
mov eax, dword [0x45e848]
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], eax
pop edi
mov dword [eax + 8], esi
mov dword [0x45e848], esi
mov dword [esi + 8], 0x45e844
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x24

Function at 0x48ef44
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
mov esi, ecx
push edi
push 0xa
lea ecx, [esp + 0x10]
call fcn.0049d6b5
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
push eax
mov ecx, ebp
sub esp, 0x10
xor edi, edi
mov eax, dword [ecx]
mov edx, esp
push 0x10
push 0x43dc24
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x4c], edi
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.0048ebe4
cmp dword [esp + 0x18], edi
je 0x48efe4
push ebx
mov ebx, dword [esp + 0x4c]
lea ecx, [esp + 0x10]
call fcn.0049d808
cmp byte [eax + 0x30], 0xff
je 0x48efdb
mov ecx, dword [esp + 0x48]
mov edx, dword [eax]
push ebx
push esi
push ecx
mov ecx, dword [esp + 0x4c]
push ebp
push ecx
mov ecx, eax
call dword [edx + 0x20]
or edi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x48efb6
pop ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0049d714
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x28
ret 0x14
Function at 0x48f014
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push 0xa
lea ecx, [esp + 0xc]
call fcn.0049d6b5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
mov dword [esp + 0x30], 0
mov eax, dword [ecx]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x58]
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x1c]
movsx edx, byte [esi + 0x56]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0048ebe4
mov eax, dword [esp + 0x14]
or ebx, 0xffffffff
test eax, eax
je 0x48f0c8
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 8]
call fcn.0049d808
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x48f0a5
cmp ecx, 1
je 0x48f0a5
cmp ecx, 7
jne 0x48f0c0
cmp byte [eax + 0x30], bl
je 0x48f0c0
movsx edx, word [eax + 0x1e]
movsx ecx, word [eax + 0x1a]
push esi
push edx
push ecx
mov ecx, eax
call fcn.0048e8e4
test eax, eax
je 0x48f0ea
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x48f08b
lea ecx, [esp + 8]
mov dword [esp + 0x2c], ebx
call fcn.0049d714
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop esi
pop ebx
add esp, 0x28
ret 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x2c], ebx
call fcn.0049d714
mov ecx, dword [esp + 0x24]
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 0xc
Function at 0x48f464
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43276c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.0049dec3
lea edi, [esi + 0x3c]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x38], ebx
call fcn.0049dec3
mov dword [edi], 0x4372bc
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], 0x43797c
lea ebp, [esi + 0x80]
mov dword [ebp + 4], ebx
mov dword [ebp], 0x435098
mov dword [esi], 0x436778
mov eax, dword [0x45f95c]
mov byte [esp + 0x38], 3
cmp dword [eax - 8], ebx
jne 0x48f4e4
push ebx
push ebx
push ebx
push ebx
call fcn.0049ee9d
push eax
mov ecx, 0x45f95c
call fcn.004a1f86
mov ecx, dword [esp + 0x4c]
mov edx, dword [0x45f95c]
push ebx
push ebx
push ecx
push 0x64
push 0x64
push ebx
push ebx
push 0x88800000
push 0x447854
push edx
push 8
mov ecx, esi
call fcn.0049e7b1
push 0x43f658
push 0x24
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push 0x10
call dword [0x4636a0]
push eax
mov ecx, ebp
call fcn.004a47f1
mov eax, dword [esi + 0x1c]
push eax
call dword [fcn.00463aa8]
push eax
call fcn.004a4170
mov ebx, eax
push ebp
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x30]
mov ecx, ebx
mov dword [esp + 0x14], eax
call eax
lea edx, [esp + 0x18]
mov dword [esp + 0x4c], eax
push edx
mov edx, dword [esp + 0x44]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebx + 4]
not ecx
dec ecx
push ecx
push edx
push eax
call dword [0x463664]
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, ebx
call dword [esp + 0x14]
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [fcn.00463aac]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ebx, [ecx + 6]
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, dword [esp + 0x44]
neg edx
add eax, edx
mov edx, 0xfffffffe
mov ecx, dword [esp + 0x48]
sub edx, edi
add ecx, edx
lea edx, [ebx + eax]
mov dword [esp + 0x28], edx
push 1
lea edi, [edi + ecx + 2]
sub edx, eax
mov dword [esp + 0x30], edi
sub edi, ecx
push edi
push edx
mov dword [esp + 0x30], ecx
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.004a15c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
neg eax
neg ecx
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call dword [0x463a8c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov eax, 2
sub edi, eax
sub edx, eax
push 0xffff
lea eax, [esp + 0x24]
push esi
push eax
push 0x50000001
push ecx
lea ecx, [esi + 0x3c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edx
call fcn.004a5f8b
test ebp, ebp
je 0x48f636
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 0x58]
push 1
push ebp
push 0x30
push edx
call dword [fcn.00463ac8]
push 0x80ffff
call dword [0x463660]
push eax
lea ecx, [esi + 0x78]
call fcn.004a47f1
push 8
mov ecx, esi
call fcn.004a1650
mov eax, dword [esi + 0x1c]
push eax
call dword [fcn.00463ac0]
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 0x10
Function at 0x48f47e
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x43276c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.0049dec3
lea edi, [esi + 0x3c]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x38], ebx
call fcn.0049dec3
mov dword [edi], 0x4372bc
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], 0x43797c
lea ebp, [esi + 0x80]
mov dword [ebp + 4], ebx
mov dword [ebp], 0x435098
mov dword [esi], 0x436778
mov eax, dword [0x45f95c]
mov byte [esp + 0x38], 3
cmp dword [eax - 8], ebx
jne 0x48f4e4
push ebx
push ebx
push ebx
push ebx
call fcn.0049ee9d
push eax
mov ecx, 0x45f95c
call fcn.004a1f86
mov ecx, dword [esp + 0x4c]
mov edx, dword [0x45f95c]
push ebx
push ebx
push ecx
push 0x64
push 0x64
push ebx
push ebx
push 0x88800000
push 0x447854
push edx
push 8
mov ecx, esi
call fcn.0049e7b1
push 0x43f658
push 0x24
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push 0x10
call dword [0x4636a0]
push eax
mov ecx, ebp
call fcn.004a47f1
mov eax, dword [esi + 0x1c]
push eax
call dword [fcn.00463aa8]
push eax
call fcn.004a4170
mov ebx, eax
push ebp
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x30]
mov ecx, ebx
mov dword [esp + 0x14], eax
call eax
lea edx, [esp + 0x18]
mov dword [esp + 0x4c], eax
push edx
mov edx, dword [esp + 0x44]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebx + 4]
not ecx
dec ecx
push ecx
push edx
push eax
call dword [0x463664]
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, ebx
call dword [esp + 0x14]
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [fcn.00463aac]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ebx, [ecx + 6]
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, dword [esp + 0x44]
neg edx
add eax, edx
mov edx, 0xfffffffe
mov ecx, dword [esp + 0x48]
sub edx, edi
add ecx, edx
lea edx, [ebx + eax]
mov dword [esp + 0x28], edx
push 1
lea edi, [edi + ecx + 2]
sub edx, eax
mov dword [esp + 0x30], edi
sub edi, ecx
push edi
push edx
mov dword [esp + 0x30], ecx
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.004a15c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
neg eax
neg ecx
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call dword [0x463a8c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov eax, 2
sub edi, eax
sub edx, eax
push 0xffff
lea eax, [esp + 0x24]
push esi
push eax
push 0x50000001
push ecx
lea ecx, [esi + 0x3c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edx
call fcn.004a5f8b
test ebp, ebp
je 0x48f636
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 0x58]
push 1
push ebp
push 0x30
push edx
call dword [fcn.00463ac8]
push 0x80ffff
call dword [0x463660]
push eax
lea ecx, [esi + 0x78]
call fcn.004a47f1
push 8
mov ecx, esi
call fcn.004a1650
mov eax, dword [esi + 0x1c]
push eax
call dword [fcn.00463ac0]
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 0x10
Function at 0x4a890d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x432cde
call fcn.00493a24
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x437cec
xor eax, eax
push 0xa
lea ecx, [esi + 0x30]
mov dword [ebp - 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.0049d862
push 0xa
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call fcn.0049d862
push 0xa
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call fcn.0049d6b5
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x437cfc
mov dword [esi + 0xc], 0x54
mov dword [esi + 0x28], 0x42593e
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x4cbf5e
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x5e4
mov eax, dword [0x407b7c]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x104
push eax
push ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
call dword [fcn.00406038]
mov ecx, dword [0x407b78]
mov edx, dword [0x407b7c]
push ecx
push ebp
push edx
call dword [fcn.00406014]
mov edi, eax
push ebp
push edi
call dword [fcn.0040605c]
mov esi, eax
sub esi, 0x9000
push esi
call fcn.004cc7da
add esp, 4
mov ebx, eax
push ebp
push ebp
mov ebp, dword [fcn.004060a0]
push 0x9000
push edi
call ebp
push 0
push 0x407b90
push esi
push ebx
push edi
call dword [fcn.004060a8]
push edi
call dword [fcn.004060ac]
push 0
push 2
push 2
push 0
push 2
push 0x40000000
push 0x4070bc
call dword [fcn.00406060]
mov edi, eax
lea eax, [esp + 0x14]
push 0
push eax
push esi
push ebx
mov ebx, dword [fcn.00406030]
push edi
call ebx
push edi
call dword [fcn.004060ac]
push 0x31
push 0x4070bc
call fcn.004cb77a
add esp, 8
cmp al, 1
jne 0x4cc031
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push 0x4070bc
call dword [fcn.00406060]
mov ecx, dword [0x407ba0]
push 0
mov esi, eax
push 0
push ecx
push esi
call ebp
mov edi, dword [fcn.004060a8]
push 0
push 0x407b90
lea edx, [esp + 0x214]
push 0x1f4
push edx
push esi
call edi
mov eax, dword [0x407ba0]
push 0
add eax, 0x1f4
push 0
push eax
push esi
call ebp
push 0
push 0x407b90
lea ecx, [esp + 0x20]
push 0x1f4
push ecx
push esi
call edi
mov eax, dword [esp + 0x10]
mov dl, byte [esp + eax + 0x18]
mov cl, byte [esp + eax + 0x20c]
xor dl, cl
mov byte [esp + eax + 0x400], dl
inc eax
cmp eax, 0x1f4
mov dword [esp + 0x10], eax
jl 0x4cbfe2
mov eax, dword [0x407ba0]
push 0
push 0
push eax
push esi
call ebp
push 0
push 0x407b90
lea ecx, [esp + 0x408]
push 0x1f4
push ecx
push esi
call ebx
push esi
call dword [fcn.004060ac]
push 1
push 0x4070bc
call dword [0x406054]
mov esi, dword [0x406050]
push 0x4070bc
call esi
test eax, eax
jne 0x4cc067
mov edi, dword [0x406040]
push 0x3e8
call edi
push 0x4070bc
call esi
test eax, eax
je 0x4cc055
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5e4
ret

Function at 0x4cc16a
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
xor eax, eax
push edi
mov ax, word [ebx + 0x14]
xor edi, edi
cmp word [ebx + 6], di
lea esi, [eax + ebx + 0x18]
jbe 0x4cc1a6
mov ebp, dword [esp + 0x14]
push 8
push ebp
push esi
call fcn.004cf2aa
add esp, 0xc
test eax, eax
je 0x4cc1ad
xor ecx, ecx
inc edi
mov cx, word [ebx + 6]
add esi, 0x28
cmp edi, ecx
jb 0x4cc188
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0xc]
mov ecx, dword [esp + 0x1c]
sub edx, edi
mov dword [0x407b80], edx
mov eax, dword [esi + 0x14]
pop edi
pop esi
pop ebp
add eax, ecx
pop ebx
ret
Function at 0x4d9521
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov dword [ebp - 0x408], 0
jmp 0x4d9545
mov eax, dword [ebp - 0x408]
add eax, 1
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0xff
jg 0x4d95b4
mov ecx, dword [ebp - 0x408]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x40c], 8
jmp 0x4d9575
mov edx, dword [ebp - 0x40c]
sub edx, 1
mov dword [ebp - 0x40c], edx
cmp dword [ebp - 0x40c], 0
jle 0x4d95a2
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x4d9598
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 4], ecx
jmp 0x4d95a0
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x4d9566
mov eax, dword [ebp - 0x408]
mov ecx, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x404], ecx
jmp 0x4d9536
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
test edx, edx
je 0x4d960f
mov ecx, dword [ebp + 0x10]
shr ecx, 8
and ecx, 0xffffff
mov dword [ebp - 0x410], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 0x10]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + ecx*4 - 0x404]
mov dword [ebp - 0x414], edx
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x410]
xor ecx, dword [ebp - 0x414]
mov dword [ebp + 0x10], ecx
jmp 0x4d95b4
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4d9e9a
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x400
call fcn.004e13ea
add esp, 4
mov dword [0x4193a8], eax
mov dword [ebp - 8], 0
jmp 0x4d9ec4
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xff
jg 0x4d9f20
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 8
jmp 0x4d9ee5
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jle 0x4d9f0f
mov eax, dword [ebp - 4]
and eax, 1
test eax, eax
je 0x4d9f05
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 4], ecx
jmp 0x4d9f0d
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
jmp 0x4d9edc
mov eax, dword [ebp - 8]
mov ecx, dword [0x4193a8]
mov edx, dword [ebp - 4]
mov dword [ecx + eax*4], edx
jmp 0x4d9ebb
mov esp, ebp
pop ebp
ret

Function at 0x4db986
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push edx
push esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, ecx
cmp edx, 4
jl 0x4db9cd
cmp edx, 0x10
jl 0x4db9b9
shr ecx, 4
nop
xor eax, dword [ebx]
mov esi, dword [ebx + 4]
xor eax, dword [ebx + 8]
xor esi, dword [ebx + 0xc]
add ebx, 0x10
xor eax, esi
dec ecx
jne 0x4db9a6
mov ecx, edx
shr ecx, 2
and ecx, 3
test ecx, ecx
je 0x4db9cd
xor eax, dword [ebx]
add ebx, 4
dec ecx
jne 0x4db9c5
and edx, 3
cmp edx, 3
jne 0x4db9e1
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 0x10
xor eax, ecx
jmp 0x4db9e6
cmp edx, 2
jne 0x4db9f2
xor ecx, ecx
mov cl, byte [ebx]
inc ebx
shl ecx, 8
xor eax, ecx
jmp 0x4db9f7
cmp edx, 1
jne 0x4db9fd
xor ecx, ecx
mov cl, byte [ebx]
xor eax, ecx
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x6d2971
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x48
push ebx
push esi
xor ebx, ebx
lea eax, [esp + 0x18]
push 0x38
push 0x4263b4
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.006da751
mov esi, eax
add esp, 0xc
test esi, esi
je 0x6d29c5
mov eax, dword [esp + 0x58]
push esi
add eax, 0x12
push eax
push 0x4263c0
call fcn.006d3cb1
add esp, 0xc
or eax, 0xffffffff
pop esi
pop ebx
add esp, 0x48
ret
push 0x2000
call fcn.006e330a
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x6d29f9
mov eax, dword [esp + 0x58]
add eax, 0x12
push eax
push 0x426408
push 0x42644c
call fcn.006d3b51
add esp, 0xc
jmp 0x6d2b21
push 0x2000
call fcn.006e330a
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x6d2a2b
mov ecx, dword [esp + 0x58]
add ecx, 0x12
push ecx
push 0x426458
push 0x42644c
call fcn.006d3b51
add esp, 0xc
jmp 0x6d2b21
mov eax, dword [esp + 0x58]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x60]
push edi
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jb 0x6d2a5a
ja 0x6d2a53
cmp eax, 0x2000
jbe 0x6d2a5a
mov esi, 0x2000
jmp 0x6d2a5c
mov esi, eax
mov eax, dword [esp + 0x5c]
push dword [eax]
push esi
push 1
push dword [esp + 0x24]
call fcn.006df203
add esp, 0x10
cmp eax, esi
jne 0x6d2b1c
mov eax, dword [esp + 0x5c]
push dword [eax]
call fcn.006deffe
add esp, 4
test eax, eax
jne 0x6d2b1c
sub dword [esp + 0x10], esi
mov dword [esp + 0x24], esi
sbb dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0x2000
push 0
push eax
mov dword [esp + 0x34], ebx
call fcn.006d8dc1
add esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [eax + 4]
cmp ecx, 6
ja 0x6d2ad8
movzx ecx, byte [ecx + 0x401274]
jmp dword [ecx*4 + 0x401268]
mov esi, 0x2000
sub esi, dword [esp + 0x30]
test ebp, ebp
je 0x6d2b45
push ebp
push esi
push 1
push ebx
call fcn.006df926
add esp, 0x10
cmp eax, esi
jne 0x6d2b03
push ebp
call fcn.006deffe
add esp, 4
test eax, eax
je 0x6d2b56
or eax, 0xffffffff
push eax
mov eax, dword [esp + 0x64]
add eax, 0x12
push eax
push 0x4264a0
call fcn.006d3cb1
add esp, 0xc
or esi, 0xffffffff
pop edi
pop ebp
lea eax, [esp + 0x18]
push eax
call fcn.006da541
push dword [esp + 0x14]
call fcn.006e32ef
push ebx
call fcn.006e32ef
add esp, 0xc
mov eax, esi
pop esi
pop ebx
add esp, 0x48
ret
test edi, edi
je 0x6d2b5a
push esi
push ebx
push edi
call fcn.006dc6e1
add esp, 0xc
add edi, esi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], 0
je 0x6d2aa3
cmp eax, 1
je 0x6d2b94
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x6d2b78
cmp dword [esp + 0x10], ecx
jbe 0x6d2b06
mov eax, dword [esp + 0x10]
jmp 0x6d2a46
xor esi, esi
jmp 0x6d2b1f
Function at 0x6d2bd1
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
mov edx, dword [ebp]
test edx, edx
jne 0x6d2c16
lea eax, [ebp + 0x70]
push 0x4263b0
push eax
call fcn.006d50f1
mov edx, eax
add esp, 8
mov dword [ebp], edx
test edx, edx
jne 0x6d2c16
mov eax, dword [esp + 0x14]
add eax, 0x12
push eax
push 0x426598
call fcn.006d3cb1
add esp, 8
xor eax, eax
pop ebp
add esp, 8
ret
push ebx
mov ebx, dword [esp + 0x18]
xor eax, eax
push 0
mov ecx, dword [ebx + 4]
add ecx, dword [ebp + 8]
adc eax, dword [ebp + 0xc]
push eax
push ecx
push edx
call fcn.006df627
add esp, 0x10
test eax, eax
jns 0x6d2c55
lea eax, [ebx + 0x12]
push eax
push 0x4265cc
push 0x426608
call fcn.006d3b51
add esp, 0xc
xor eax, eax
pop ebx
pop ebp
add esp, 8
ret
push esi
push edi
push dword [ebx + 0xc]
call fcn.006e330a
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
test esi, esi
jne 0x6d2c8a
push dword [ebx + 0xc]
lea ecx, [ebx + 0x12]
push ecx
push 0x426610
push 0x42644c
call fcn.006d3b51
add esp, 0x10
jmp 0x6d2d09
cmp byte [ebx + 0x10], 1
jne 0x6d2cae
push esi
push 0
push ebx
push ebp
call fcn.006d2971
add esp, 0x10
test eax, eax
je 0x6d2d09
push esi
call fcn.006e32ef
add esp, 4
xor esi, esi
jmp 0x6d2d09
mov eax, esi
mov esi, dword [ebx + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], eax
test esi, esi
je 0x6d2d05
nop dword [eax]
test ebx, ebx
jb 0x6d2cd6
ja 0x6d2ccf
cmp esi, 0x2000
jbe 0x6d2cd6
mov edi, 0x2000
jmp 0x6d2cd8
mov edi, esi
push dword [ebp]
push 1
push edi
push eax
call fcn.006df203
add esp, 0x10
cmp eax, 1
jb 0x6d2d2a
mov eax, dword [esp + 0x14]
sub esi, edi
sbb ebx, 0
add eax, edi
mov dword [esp + 0x14], eax
test ebx, ebx
ja 0x6d2ccf
jb 0x6d2d05
test esi, esi
jne 0x6d2cc1
mov esi, dword [esp + 0x10]
mov eax, dword [ebp]
test eax, eax
je 0x6d2d20
push eax
call fcn.006defa2
add esp, 4
mov dword [ebp], 0
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
add esp, 8
ret
mov eax, dword [esp + 0x20]
add eax, 0x12
push eax
push 0x426520
push 0x426554
call fcn.006d3b51
mov esi, dword [esp + 0x1c]
add esp, 0xc
push esi
call fcn.006e32ef
add esp, 4
xor esi, esi
jmp 0x6d2d09