joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12e5924
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov edx, 1
push ebx
push esi
push edi
xor esi, esi
mov eax, edx
mov dword [ebp + esi*4 - 0x808], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x408], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x12e5937
mov esi, 1
mov edx, 0x12ecf04
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x12ecf2c
jl 0x12e5974
mov eax, 1
mov byte [0x12ead04], 0x63
mov byte [0x12ebe67], 0
mov dword [ebp - 4], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x408]
lea eax, [ebp - 0x40c]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
shr ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x12ead04], bl
mov byte [ebx + 0x12ebe04], al
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x12e59b4
mov ebx, 0xff
xor esi, esi
mov dword [ebp - 8], ebx
movzx edx, byte [esi + 0x12ead04]
mov eax, edx
and al, 0x80
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x12eae04], ecx
rol ecx, 8
mov dword [esi*4 + 0x12eb204], ecx
rol ecx, 8
mov dword [esi*4 + 0x12eb604], ecx
rol ecx, 8
mov dword [esi*4 + 0x12eba04], ecx
movzx ecx, byte [esi + 0x12ebe04]
test ecx, ecx
je 0x12e5ae3
mov ecx, dword [ebp + ecx*4 - 0x408]
mov eax, dword [ebp - 0x3d0]
add eax, ecx
cdq
idiv ebx
mov eax, dword [ebp - 0x3e4]
add eax, ecx
mov edi, dword [ebp + edx*4 - 0x808]
cdq
idiv ebx
mov eax, dword [ebp - 0x3d4]
add eax, ecx
mov ebx, dword [ebp + edx*4 - 0x808]
cdq
idiv dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x808]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3dc]
add eax, ecx
mov ecx, 0xff
cdq
idiv ecx
mov eax, dword [ebp + edx*4 - 0x808]
jmp 0x12e5aec
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ebx
xor eax, eax
shl eax, 8
xor eax, dword [ebp - 4]
shl eax, 8
xor eax, ebx
mov ebx, 0xff
shl eax, 8
xor eax, edi
mov dword [esi*4 + 0x12ebf04], eax
rol eax, 8
mov dword [esi*4 + 0x12ec304], eax
rol eax, 8
mov dword [esi*4 + 0x12ec704], eax
rol eax, 8
mov dword [esi*4 + 0x12ecb04], eax
inc esi
cmp esi, 0x100
jl 0x12e5a29
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x12e5b44
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x18
test al, 0xf
je 0x12e5b5a
mov eax, 0xffffffde
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x12e5cae
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
jne 0x12e5bf6
mov ebx, dword [ebp + 0x18]
lea edx, [ecx + 0xf]
dec eax
mov dword [ebp - 8], edx
mov edi, ecx
shr eax, 4
sub edi, esi
inc eax
mov dword [ebp + 0x10], eax
movups xmm0, xmmword [ebx]
push esi
push ebx
push dword [ebp + 8]
movups xmmword [ebp - 0x18], xmm0
call fcn.012e6e74
add esp, 0xc
cmp esi, dword [ebp - 8]
ja 0x12e5bc7
lea eax, [esi + 0xf]
cmp eax, dword [ebp + 0x14]
jb 0x12e5bc7
mov ecx, esi
mov edx, 0x10
nop
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x12e5bb4
mov eax, dword [ebp + 0x14]
jmp 0x12e5bd7
mov eax, dword [ebp + 0x14]
movups xmm0, xmmword [esi]
movups xmm1, xmmword [eax]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [ebp - 0x18]
add esi, 0x10
add ebx, 0x10
sub edi, 0x10
sub dword [ebp + 0x10], 1
movups xmmword [eax], xmm0
jne 0x12e5b8a
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x18]
lea edx, [eax - 1]
mov ebx, ecx
shr edx, 4
sub ebx, edi
mov dword [ebp - 4], esi
inc edx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
nop dword [eax]
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x12e5c22
lea eax, [esi + 0xf]
cmp eax, edi
jae 0x12e5c30
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x12e5c61
lea eax, [esi + 0xf]
cmp eax, ecx
jb 0x12e5c61
mov ebx, esi
mov ecx, edi
mov esi, dword [ebp + 0x10]
sub ebx, edi
mov edx, 0x10
nop word [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ebx + ecx - 1], al
sub edx, 1
jne 0x12e5c44
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
jmp 0x12e5c6e
movups xmm1, xmmword [ecx]
movups xmm0, xmmword [edi]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
cmp dword [ebp + 0xc], 1
push esi
push esi
push edx
jne 0x12e5c7e
call fcn.012e7404
jmp 0x12e5c83
call fcn.012e6e74
movups xmm0, xmmword [esi]
mov ecx, dword [ebp + 0x14]
sub ebx, 0x10
mov edx, dword [ebp + 8]
add esi, 0x10
add esp, 0xc
mov dword [ebp + 0x10], ebx
add edi, 0x10
mov dword [ebp - 4], esi
sub dword [ebp - 8], 1
movups xmmword [ecx], xmm0
jne 0x12e5c14
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x12e5cf4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push esi
push edi
push dword [ebp + 0x10]
xor eax, eax
lea edi, [ebp - 0x118]
push dword [ebp + 0xc]
mov ecx, 0x46
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
lea esi, [edi + 8]
mov dword [edi + 4], esi
call fcn.012e5ef4
add esp, 0xc
mov dword [ebp + 8], eax
test eax, eax
jne 0x12e5ee8
mov ecx, dword [ebp - 0x118]
mov dword [edi], ecx
shl ecx, 4
add ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
sub ecx, 0x10
mov dword [esi + 0xc], eax
add esi, 0x10
mov edi, dword [edi]
dec edi
test edi, edi
jle 0x12e5ecf
push ebx
nop dword [eax]
movzx eax, byte [ecx + 3]
dec edi
movzx edx, byte [eax + 0x12ead04]
movzx eax, byte [ecx + 2]
mov edx, dword [edx*4 + 0x12ecb04]
movzx eax, byte [eax + 0x12ead04]
xor edx, dword [eax*4 + 0x12ec704]
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + 0x12ead04]
xor edx, dword [eax*4 + 0x12ec304]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x12ead04]
xor edx, dword [eax*4 + 0x12ebf04]
mov dword [esi], edx
mov ebx, dword [ecx + 4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x12ead04]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x12ec704]
movzx eax, byte [eax + 0x12ead04]
xor edx, dword [eax*4 + 0x12ec304]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x12ead04]
xor edx, dword [eax*4 + 0x12ecb04]
movzx eax, bl
movzx eax, byte [eax + 0x12ead04]
xor edx, dword [eax*4 + 0x12ebf04]
mov dword [esi + 4], edx
mov ebx, dword [ecx + 8]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + 0x12ead04]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x12ec704]
movzx eax, byte [eax + 0x12ead04]
xor edx, dword [eax*4 + 0x12ec304]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x12ead04]
xor edx, dword [eax*4 + 0x12ecb04]
movzx eax, bl
movzx eax, byte [eax + 0x12ead04]
xor edx, dword [eax*4 + 0x12ebf04]
mov dword [esi + 8], edx
mov ebx, dword [ecx + 0xc]
mov eax, ebx
shr eax, 0x10
sub ecx, 0x10
movzx eax, al
movzx edx, byte [eax + 0x12ead04]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x12ec704]
movzx eax, byte [eax + 0x12ead04]
xor edx, dword [eax*4 + 0x12ec304]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + 0x12ead04]
xor edx, dword [eax*4 + 0x12ecb04]
movzx eax, bl
movzx eax, byte [eax + 0x12ead04]
xor edx, dword [eax*4 + 0x12ebf04]
mov dword [esi + 0xc], edx
add esi, 0x10
test edi, edi
jg 0x12e5d74
pop ebx
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x12e7d14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], 0x1d1a
mov edx, 0x1d7e
mov word [ebp - 0x30], dx
mov eax, 0x1d78
mov word [ebp - 0x2e], ax
mov ecx, 0x1d76
mov eax, 0x1d7d
mov word [ebp - 0x2c], ax
mov eax, 0x1d72
mov word [ebp - 0x2a], ax
mov eax, 0x1d7f
mov word [ebp - 0x28], ax
mov eax, 0x1d6a
mov word [ebp - 0x26], cx
mov word [ebp - 0x24], ax
mov eax, 0x1d34
mov word [ebp - 0x22], ax
xor eax, eax
mov word [ebp - 0x20], dx
xor edx, edx
mov word [ebp - 0x1e], cx
mov word [ebp - 0x1c], cx
mov word [ebp - 0x1a], ax
mov ax, word [ebp - 0x30]
nop dword [eax]
mov ax, word [ebp + edx*2 - 0x30]
movzx ecx, ax
movzx eax, word [ebp - 0x34]
xor ecx, eax
mov word [ebp + edx*2 - 0x30], cx
inc edx
cmp edx, 0xb
jb 0x12e7d84
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [edi + 0x698]
call eax
mov esi, eax
test esi, esi
jne 0x12e7dcb
call dword [0x130bfb4]
pop edi
or eax, 0xe0ff0000
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x18], 0x65
mov eax, dword [ebp - 0x18]
xor eax, 0x4d
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
inc al
xor eax, 0x69
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
add al, 2
xor eax, 0x6e
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
add al, 3
xor eax, 0x69
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x18]
add al, 4
xor eax, 0x44
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x18]
add al, 5
xor eax, 0x75
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x18]
add al, 6
xor eax, 0x6d
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0x18]
add al, 7
xor eax, 0x70
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x18]
add al, 8
xor eax, 0x57
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
add al, 9
xor eax, 0x72
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x18]
add al, 0xa
xor eax, 0x69
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 0x18]
add al, 0xb
xor eax, 0x74
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x18]
add al, 0xc
xor eax, 0x65
mov byte [ebp - 8], al
mov eax, dword [ebp - 0x18]
add al, 0xd
xor eax, 0x44
mov byte [ebp - 7], al
mov eax, dword [ebp - 0x18]
add al, 0xe
xor eax, 0x75
mov byte [ebp - 6], al
mov eax, dword [ebp - 0x18]
add al, 0xf
xor eax, 0x6d
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x18]
add al, 0x10
mov byte [ebp - 3], 0
xor eax, 0x70
xor edx, edx
mov byte [ebp - 4], al
mov al, byte [ebp - 0x14]
mov al, byte [ebp + edx - 0x14]
mov ecx, dword [ebp - 0x18]
add cl, dl
movsx eax, al
xor ecx, eax
mov byte [ebp + edx - 0x14], cl
inc edx
cmp edx, 0x11
jb 0x12e7e94
lea eax, [ebp - 0x14]
mov byte [ebp - 3], 0
push eax
mov eax, dword [edi + 0x6a0]
push esi
call eax
mov ecx, eax
test ecx, ecx
je 0x12e7dba
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
pop esi
mov dword [eax], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x12e9804
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x780], 0xffffffff
je 0x12e9900
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x414]
push eax
mov eax, dword [esi + 0x6c0]
call eax
mov dword [ebp - 0x14], 0x56
xor edx, edx
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x26
mov byte [ebp - 0xe], 0x78
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xc], 0x66
mov byte [ebp - 0xb], 0x62
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 9], 0x68
mov byte [ebp - 8], 0x76
mov byte [ebp - 7], 0x73
mov byte [ebp - 6], 0x3e
mov byte [ebp - 5], 0x25
mov byte [ebp - 4], 0x5b
mov byte [ebp - 3], 0x5c
mov al, byte [ebp - 0x10]
mov byte [ebp - 2], 0
nop dword [eax + eax]
mov al, byte [ebp + edx - 0x10]
movsx ecx, byte [ebp - 0x14]
movsx eax, al
xor eax, ecx
mov byte [ebp + edx - 0x10], al
inc edx
cmp edx, 0xe
jb 0x12e9884
lea eax, [ebp - 0x414]
mov byte [ebp - 2], 0
push eax
mov eax, dword [esi + 0x740]
call eax
push eax
push dword [esi + 0x700]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x214]
push eax
mov eax, dword [esi + 0x6c8]
call eax
add esp, 0x14
lea eax, [ebp - 0x214]
cmp byte [ebp - 0x214], 0
je 0x12e98e0
inc eax
cmp byte [eax], 0
jne 0x12e98da
push 0
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x214]
sub eax, ecx
push eax
mov eax, ecx
push eax
push dword [esi + 0x780]
mov eax, dword [esi + 0x6bc]
call eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x12e9914
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x12ecf64]
sub esp, 0x18
cmp eax, 0x1ff
jae 0x12e9938
inc eax
mov dword [0x12ecf64], eax
mov byte [eax + 0x12ecf68], 0x11
mov eax, dword [0x12ecf64]
cmp dword [0x12ecf4c], 0
jne 0x12e99f9
push 1
push 0x12ecf44
call fcn.012e8614
add esp, 8
test eax, eax
js 0x12e99f4
cmp dword [0x12ed6c4], 0xffffffff
je 0x12e99f4
mov dword [ebp - 0x18], 5
xor edx, edx
mov byte [ebp - 0x14], 0x55
mov byte [ebp - 0x13], 0x57
mov byte [ebp - 0x12], 0x4a
mov byte [ebp - 0x11], 0x46
mov byte [ebp - 0x10], 0x40
mov byte [ebp - 0xf], 0x56
mov byte [ebp - 0xe], 0x56
mov byte [ebp - 0xd], 0x25
mov byte [ebp - 0xc], 0x46
mov byte [ebp - 0xb], 0x4a
mov byte [ebp - 0xa], 0x48
mov byte [ebp - 9], 0x55
mov byte [ebp - 8], 0x49
mov byte [ebp - 7], 0x40
mov byte [ebp - 6], 0x51
mov byte [ebp - 5], 0x40
mov byte [ebp - 4], 0x25
mov byte [ebp - 3], 0x20
mov byte [ebp - 2], 0x61
mov al, byte [ebp - 0x14]
mov byte [ebp - 1], 0
mov al, byte [ebp + edx - 0x14]
movsx ecx, byte [ebp - 0x18]
movsx eax, al
xor eax, ecx
mov byte [ebp + edx - 0x14], al
inc edx
cmp edx, 0x13
jb 0x12e99c5
push dword [ebp + 8]
lea eax, [ebp - 0x14]
mov byte [ebp - 1], 0
push eax
push 0x12ecf44
call fcn.012e9804
add esp, 0xc
mov eax, dword [0x12ecf64]
mov ecx, dword [0x12ed640]
test ecx, ecx
je 0x12e9a1e
push ecx
call dword [0x12ed5ec]
dec dword [0x12ecf64]
mov dword [0x12ed640], 0
mov esp, ebp
pop ebp
ret
dec eax
mov dword [0x12ecf64], eax
mov esp, ebp
pop ebp
ret
Function at 0x12ea094
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x20]
mov word [edi], cx
test eax, eax
je 0x12ea261
push ebx
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x12ea260
nop dword [eax]
mov dword [ebp - 0x10], 0xabc9
mov eax, dword [ebp - 0x10]
xor eax, 0x25
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x10]
inc eax
xor eax, 0x30
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x10]
add eax, 2
xor eax, 0x32
mov word [ebp - 8], ax
mov eax, dword [ebp - 0x10]
add eax, 3
xor eax, 0x58
mov word [ebp - 6], ax
xor eax, eax
mov word [ebp - 4], ax
mov ax, word [ebp - 0xc]
xor eax, eax
mov cx, word [ebp + eax*2 - 0xc]
mov edx, dword [ebp - 0x10]
add edx, eax
movzx ecx, cx
xor edx, ecx
mov word [ebp + eax*2 - 0xc], dx
inc eax
cmp eax, 4
jb 0x12ea106
xor eax, eax
mov word [ebp - 4], ax
movsx eax, byte [esi + ebx + 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [esi + 0x768]
call eax
add esp, 0xc
cmp word [edi], 0
jne 0x12ea198
mov dword [ebp - 0x1c], 0xb277
mov eax, 0xb252
mov word [ebp - 0x18], ax
mov eax, 0xb21b
mov word [ebp - 0x16], ax
mov eax, 0xb204
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
xor edx, edx
mov ax, word [ebp - 0x18]
nop
mov ax, word [ebp + edx*2 - 0x18]
movzx ecx, ax
movzx eax, word [ebp - 0x1c]
xor ecx, eax
mov word [ebp + edx*2 - 0x18], cx
inc edx
cmp edx, 3
jb 0x12ea174
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x18]
jmp 0x12ea1e1
mov eax, 0x30
mov word [ebp - 0x26], ax
mov eax, 0x77
mov word [ebp - 0x24], ax
mov eax, 0x7e
mov word [ebp - 0x22], ax
mov eax, 0x38
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x1e], ax
xor ecx, ecx
mov ax, word [ebp - 0x26]
mov ax, word [ebp + ecx*2 - 0x26]
movzx eax, ax
add eax, 0xfffffff5
mov word [ebp + ecx*2 - 0x26], ax
inc ecx
cmp ecx, 4
jb 0x12ea1c8
lea eax, [ebp - 0x26]
push edi
push eax
lea eax, [ebp - 0x448]
push eax
mov eax, dword [esi + 0x768]
call eax
mov eax, 0x26
mov ecx, 0x6d
mov word [ebp - 0x34], ax
mov edx, 0x74
mov word [ebp - 0x32], cx
add esp, 0xc
mov word [ebp - 0x30], dx
mov word [ebp - 0x2e], ax
xor eax, eax
mov word [ebp - 0x2c], cx
xor ecx, ecx
mov word [ebp - 0x2a], dx
mov word [ebp - 0x28], ax
mov ax, word [ebp - 0x34]
mov ax, word [ebp + ecx*2 - 0x34]
movzx eax, ax
dec eax
mov word [ebp + ecx*2 - 0x34], ax
inc ecx
cmp ecx, 6
jb 0x12ea228
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi + 0x768]
push edi
call eax
add esp, 0x10
sub ebx, 1
jne 0x12ea0c4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b518
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [edx + 0x28]
xor edi, edi
movzx ecx, word [edx + 0x26]
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40b504
sub al, 0x20
ror edi, 0xd
add edi, eax
dec ecx
jne 0x40b4fb
push edx
push edi
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x3c]
add eax, edx
mov eax, dword [eax + 0x78]
js 0x40b49f
invalid
je 0x40b569
add eax, edx
mov ecx, dword [eax + 0x18]
push eax
mov ebx, dword [eax + 0x20]
add ebx, edx
test ecx, ecx
je 0x40b568
xor edi, edi
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edx
xor eax, eax
lodsb al, byte [esi]
ror edi, 0xd
add edi, eax
cmp al, ah
jne 0x40b534
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
jne 0x40b528
pop eax
mov ebx, dword [eax + 0x24]
add ebx, edx
mov cx, word [ebx + ecx*2]
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
pop ebx
pop ebx
popal
pop ecx
pop edx
push ecx
jmp eax
pop eax
pop edi
pop edx
mov edx, dword [edx]
jmp 0x40b4f2

Function at 0x40b540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [edx + 0x28]
xor edi, edi
movzx ecx, word [edx + 0x26]
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x40b504
sub al, 0x20
ror edi, 0xd
add edi, eax
dec ecx
jne 0x40b4fb
push edx
push edi
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x3c]
add eax, edx
mov eax, dword [eax + 0x78]
js 0x40b49f
invalid
je 0x40b569
add eax, edx
mov ecx, dword [eax + 0x18]
push eax
mov ebx, dword [eax + 0x20]
add ebx, edx
test ecx, ecx
je 0x40b568
xor edi, edi
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edx
xor eax, eax
lodsb al, byte [esi]
ror edi, 0xd
add edi, eax
cmp al, ah
jne 0x40b534
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0x24]
jne 0x40b528
pop eax
mov ebx, dword [eax + 0x24]
add ebx, edx
mov cx, word [ebx + ecx*2]
mov ebx, dword [eax + 0x1c]
add ebx, edx
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
pop ebx
pop ebx
popal
pop ecx
pop edx
push ecx
jmp eax
pop eax
pop edi
pop edx
mov edx, dword [edx]
jmp 0x40b4f2
Function at 0x10009d50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x10009d7c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 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 + 0x14], eax
test eax, eax
je 0x10009d9e
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x10009da0
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x10009e25
jg 0x10009db5
test esi, esi
je 0x10009e25
test ecx, ecx
jl 0x10009e08
jg 0x10009dbf
test eax, eax
je 0x10009e08
cmp edi, ecx
jg 0x10009dd3
jl 0x10009dc9
cmp esi, eax
jae 0x10009dd3
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [ebx + 0x30]
sub esi, ecx
mov edx, dword [ebp + 8]
sbb edi, dword [esp + 0x10]
add edx, ecx
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x10009e25
jg 0x10009e0b
test esi, esi
je 0x10009e25
jmp 0x10009e0b
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10009e25
push eax
push esi
push 1
push edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
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 0x10009e40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
push esi
mov esi, dword [ebp + 0xc]
test eax, eax
jg 0x10009e6c
jl 0x10009e60
test esi, esi
jne 0x10009e6c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10009e85
push eax
push esi
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, esi
mov edx, dword [eax]
test edx, edx
je 0x10009ebf
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x10009ebf
mov edi, dword [ebp + 0xc]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [ebp - 4], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x4c], 0
mov edx, edi
je 0x10009f40
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x10009ee8
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, edi
mov ecx, dword [ebp - 4]
cmp edi, 0xfff
jbe 0x10009f2c
nop word [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push ecx
call eax
mov ecx, dword [ebp - 4]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x10009f53
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x10009f00
test edx, edx
je 0x10009f40
push dword [ebx + 0x4c]
push edi
push 1
push ecx
call eax
mov edx, edi
add esp, 0x10
sub edx, eax
sub esi, edx
mov edx, dword [ebp + 0x10]
pop edi
mov eax, esi
sbb edx, 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
sub esi, edi
pop edi
mov eax, esi
sbb edx, 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc