joyce8/EMBER2024-capa huggingface dataset:
Function at 0xdd3e50
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0xdd3f4e
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0xdd3f4e
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0xdd3e9a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0xdd3ea1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0xdd3e80
jmp 0xdd3ea3
mov esi, 0x1505
jmp 0xdd3ea3
mov esi, ecx
mov edx, dword [esp + 0x24]
mov ebx, dword [edx + 0x20]
mov edi, ebx
sub edi, 1
jb 0xdd3f4e
and edi, esi
mov eax, ebx
or eax, 1
mov ecx, ebx
or ecx, 0xfffffffe
add ecx, eax
mov dword [esp + 0xc], ecx
mov eax, dword [edx + 4]
mov dword [esp + 8], eax
xor ebp, ebp
mov dword [esp + 4], edi
jmp 0xdd3ee9
inc ebp
cmp ebx, ebp
mov edi, dword [esp + 4]
je 0xdd3f4c
mov eax, ebp
and eax, edi
mov ecx, ebp
xor ecx, edi
lea eax, [ecx + eax*2]
and eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edi, dword [ecx + eax*4]
cmp edi, 0xffffffff
je 0xdd3f4c
mov eax, dword [edx + 8]
cmp dword [eax + edi*4], esi
jne 0xdd3ee0
mov eax, dword [edx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp], eax
push eax
call fcn.00dda7c0
mov edx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp + 0x2c]
jne 0xdd3ee0
push dword [esp + 0x2c]
push dword [esp + 4]
push dword [esp + 0x30]
call fcn.00dda7e0
mov edx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xdd3ee0
mov eax, dword [edx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0xdd3f4e
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xdd4cf0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0xdd4e96
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0xdd4e8f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0xdd4d85
mov eax, dword [esp]
sub eax, dword [esp + 4]
add ebp, eax
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp]
mov edx, 0x15b0
je 0xdd4e8f
xor ebx, ebx
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 8], esi
jb 0xdd4dfe
mov ebx, edx
and ebx, 0x1ff8
xor eax, eax
nop
nop
nop
mov edx, eax
movzx eax, byte [ebp + eax]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 6]
add eax, esi
add ecx, eax
movzx edi, byte [ebp + edx + 7]
add edi, eax
add ecx, edi
lea eax, [edx + 8]
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0xdd4da0
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ebx
sub eax, edx
jae 0xdd4d4d
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 3
mov dword [esp + 4], ebx
je 0xdd4e40
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0xdd4e20
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0xdd4d40
jmp 0xdd4e4f
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0xdd4d40
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0xdd4e60
jmp 0xdd4d40
shl ecx, 0x10
or ecx, edi
jmp 0xdd4e9b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xdd4eb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0xdd4ede
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0xdd4f7c
not eax
test bl, 1
jne 0xdd4ee5
mov edx, ebx
cmp ebx, 1
jne 0xdd4f16
jmp 0xdd4f7a
xor eax, eax
jmp 0xdd4f7c
lea edx, [ebx - 1]
movzx esi, byte [ecx]
mov edi, eax
shr edi, 4
xor eax, esi
and eax, 0xf
xor edi, dword [eax*4 + 0x2b7180c]
inc ecx
mov eax, edi
shr eax, 4
shr esi, 4
and edi, 0xf
xor edi, esi
xor eax, dword [edi*4 + 0x2b7180c]
cmp ebx, 1
je 0xdd4f7a
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + esi]
mov edi, eax
shr edi, 4
xor eax, ebx
and eax, 0xf
xor edi, dword [eax*4 + 0x2b7180c]
mov eax, edi
shr eax, 4
shr ebx, 4
and edi, 0xf
xor edi, ebx
xor eax, dword [edi*4 + 0x2b7180c]
movzx ebx, byte [ecx + esi + 1]
mov edi, eax
shr edi, 4
xor eax, ebx
and eax, 0xf
xor edi, dword [eax*4 + 0x2b7180c]
mov eax, edi
shr eax, 4
shr ebx, 4
and edi, 0xf
xor edi, ebx
xor eax, dword [edi*4 + 0x2b7180c]
add esi, 2
cmp edx, esi
jne 0xdd4f20
not eax
pop esi
pop edi
pop ebx
ret
Function at 0xdda4a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
mov ebx, dword [edx + 8]
mov esi, 1
cmp ebx, eax
jae 0xdda50c
mov edi, edx
cmp dword [esp + 0x18], 0
je 0xdda4ee
cmp ebx, 1
adc ebx, 0
cmp ebx, eax
jae 0xdda4f0
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ebx
and edx, 0xfffffffd
mov ebp, ebx
and ebp, 2
or ebx, 2
imul ebx, ebp
xor ebp, 2
imul ebp, edx
add ebx, ebp
cmp ebx, eax
jb 0xdda4d0
jmp 0xdda4f0
mov ebx, eax
push ebx
push dword [edi + 0xc]
push dword [edi]
push dword [ecx + 0x34]
call dword [ecx + 0x30]
add esp, 0x10
test eax, eax
je 0xdda50a
mov dword [edi], eax
mov dword [edi + 8], ebx
jmp 0xdda50c
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xddd0a0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x440
mov eax, dword [0x2b7968c]
mov dword [esp + 0x40], 0x5fad5185
mov dword [esp + 0x44], 0x5bb35dda
mov dword [esp + 0x48], 0x679259ac
mov dword [esp + 0x4c], 0x63516585
mov dword [esp + 0x50], 0x6f5c615d
mov dword [esp + 0x54], 0x6b4a6d5c
mov dword [esp + 0x58], 0x77ad6940
mov dword [esp + 0x5c], 0x7380759d
mov dword [esp + 0x60], 0x7f8d719c
mov dword [esp + 0x64], 0x7b857d87
mov dword [esp + 0x68], 0x7d47958
mov dword [esp + 0x6c], 0x32205d8
mov dword [esp + 0x70], 0xf3e0131
mov dword [esp + 0x74], 0xb3a0d3e
mov dword [esp + 0x78], 0x173609cf
mov dword [esp + 0x7c], 0x13fb15cf
mov dword [esp + 0x80], 0x1f2411e2
mov dword [esp + 0x84], 0x1bdd1d20
mov dword [esp + 0x88], 0x27de1938
mov dword [esp + 0x8c], 0x231e251e
mov dword [esp + 0x90], 0x2f0e2109
mov dword [esp + 0x94], 0x2bda2ded
mov dword [esp + 0x98], 0x37c229d8
mov dword [esp + 0x9c], 0x33e935d9
mov dword [esp + 0xa0], 0x3fd031dd
mov dword [esp + 0xa4], 0x3bd33deb
mov dword [esp + 0xa8], 0xc7f539c4
mov dword [esp + 0xac], 0xc3fdc5f9
mov dword [esp + 0xb0], 0xcffcc1fb
mov dword [esp + 0xb4], 0xcbf0cdf3
mov dword [esp + 0xb8], 0xd7fec9e8
mov dword [esp + 0xbc], 0xd31ad503
mov dword [esp + 0xc0], 0xdf0bd10c
mov dword [esp + 0xc4], 0xdbeedd08
mov dword [esp + 0xc8], 0xe712d9f8
mov dword [esp + 0xcc], 0xe315e50d
mov dword [esp + 0xd0], 0xefcee10d
mov dword [esp + 0xd4], 0xeb07ed27
mov dword [esp + 0xd8], 0xf701e907
mov dword [esp + 0xdc], 0xf3dbf507
mov dword [esp + 0xe0], 0xff31f1d0
mov dword [esp + 0xe4], 0xfb04fd14
mov dword [esp + 0xe8], 0x8773f90b
mov dword [esp + 0xec], 0x83b18569
mov dword [esp + 0xf0], 0x8fbf81b1
mov dword [esp + 0xf4], 0x8bb88db5
mov dword [esp + 0xf8], 0x97a489b8
mov dword [esp + 0xfc], 0x93a095a4
mov dword [esp + 0x100], 0x9fbe91a0
mov dword [esp + 0x104], 0x9b7b9d43
mov dword [esp + 0x108], 0xa7479972
mov dword [esp + 0x10c], 0xa34ba55a
mov dword [esp + 0x110], 0xaf93a193
mov dword [esp + 0x114], 0xab91ad93
mov dword [esp + 0x118], 0xb789a99a
mov dword [esp + 0x11c], 0xb3b2b58e
mov word [esp + 0x120], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xe1
ja 0xddd343
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x40]
add ecx, 0x30edaa96
xor ecx, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
add cl, 0x3a
mov edx, dword [esp]
mov byte [esp + edx + 0x40], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xe2
jb 0xddd310
mov edi, dword [esp + 0x468]
lea ebp, [esp + 0x40]
push 0
push 0
push 0
push 0
push ebp
call eax
mov esi, eax
xor eax, eax
test esi, esi
setne al
mov dword [esp + 4], 0
xor ebx, ebx
jmp dword [eax*4 + 0x2b74c64]
Function at 0xddf4f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x160
mov esi, esp
push eax
push eax
mov eax, esp
mov dword [esi + 0x104], eax
sub esp, 8
mov dword [esi + 0x100], esp
push eax
mov dword [esi + 0xb4], esp
sub esp, 0x68
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x70], eax
mov esp, eax
push eax
mov dword [esi + 0x11c], esp
sub esp, 8
mov edi, esp
sub esp, 8
mov dword [esi + 0x10c], esp
push eax
mov dword [esi + 0x108], esp
sub esp, 8
mov dword [esi + 0x6c], esp
sub esp, 8
mov dword [esi + 0x80], esp
sub esp, 8
mov dword [esi + 0xfc], esp
sub esp, 8
mov dword [esi + 0x7c], esp
sub esp, 8
mov dword [esi + 0xf8], esp
sub esp, 8
mov dword [esi + 0x78], esp
push eax
mov dword [esi + 0xf4], esp
sub esp, 8
mov dword [esi + 0x74], esp
sub esp, 0xc
mov dword [esi + 0x60], esp
push eax
mov dword [esi + 0x5c], esp
sub esp, 0x68
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0x64], eax
mov esp, eax
push eax
mov dword [esi + 0x128], esp
sub esp, 8
mov dword [esi + 0x90], esp
sub esp, 8
mov dword [esi + 0x118], esp
push eax
mov dword [esi + 0x13c], esp
sub esp, 8
mov dword [esi + 0xa0], esp
sub esp, 8
mov dword [esi + 0x9c], esp
sub esp, 0x68
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0xbc], eax
mov esp, eax
push eax
sub esp, 8
mov dword [esi + 0x114], esp
sub esp, 8
mov dword [esi + 0x84], esp
sub esp, 0x50
mov dword [esi + 0x88], esp
push eax
mov dword [esi + 0xc4], esp
sub esp, 8
mov dword [esi + 0x124], esp
sub esp, 8
mov dword [esi + 0x8c], esp
push eax
mov dword [esi + 0x138], esp
sub esp, 8
mov dword [esi + 0x98], esp
sub esp, 8
mov dword [esi + 0x94], esp
sub esp, 0x68
mov eax, esp
and eax, 0xfffffff8
mov dword [esi + 0xb8], eax
mov esp, eax
mov word [esi + 8], 0x163
mov dword [esi + 0xa], 0
mov word [esi + 0xe], 0
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x20]
cmp eax, 7
ja 0xddf68a
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x20]
movzx ecx, byte [esi + ecx + 8]
add eax, 0xa5616f94
xor eax, ecx
mov dword [esi], eax
mov eax, dword [esi]
add al, 0x6c
mov ecx, dword [esi + 0x20]
mov byte [esi + ecx + 8], al
inc dword [esi + 0x20]
mov eax, dword [esi + 0x20]
cmp eax, 8
jb 0xddf660
lea eax, [esi + 8]
push eax
push dword [ebp + 8]
call fcn.00dd4030
add esp, 8
mov edx, eax
xor ecx, ecx
test eax, eax
sete cl
xor eax, eax
jmp dword [ecx*4 + 0x2b753f4]
Function at 0xe08660
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ecx + edx + 2], 0
lea edx, [edx + 2]
jne 0xe08680
mov dword [esp + 4], 0x16161087
mov dword [esp + 8], 0
mov dword [esp], 0
mov esi, dword [esp]
cmp esi, 7
ja 0xe086f4
nop
nop
nop
nop
nop
nop
mov esi, dword [esp]
mov edi, dword [esp]
movzx edi, byte [esp + edi + 4]
lea ebx, [esi + edi]
add esi, 0x5a
and esi, edi
sub ebx, esi
add ebx, 0x573f545a
mov edi, ebx
xor edi, esi
not esi
and esi, ebx
add esi, esi
sub esi, edi
mov dword [esp + 0xc], esi
mov ebx, dword [esp + 0xc]
add bl, 0xb6
mov esi, dword [esp]
mov byte [esp + esi + 4], bl
inc dword [esp]
mov esi, dword [esp]
cmp esi, 8
jb 0xe086b0
test edx, edx
je 0xe0875e
sar edx, 1
mov esi, dword [esp + 4]
lea edi, [edx - 1]
mov ebx, edx
and ebx, 3
je 0xe08721
mov ebp, eax
nop
nop
nop
nop
nop
nop
dec edx
movzx eax, word [ecx]
add ecx, 2
xor eax, ebp
imul eax, esi
mov ebp, eax
dec ebx
jne 0xe08710
cmp edi, 3
jb 0xe0875e
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, word [ecx + edi*2]
xor ebx, eax
imul ebx, esi
movzx eax, word [ecx + edi*2 + 2]
xor eax, ebx
imul eax, esi
movzx ebx, word [ecx + edi*2 + 4]
xor ebx, eax
imul ebx, esi
movzx eax, word [ecx + edi*2 + 6]
xor eax, ebx
imul eax, esi
add edi, 4
cmp edx, edi
jne 0xe08730
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0xe08c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [0x2b7a9d0]
mov dword [esp + 0x2c], 0xccb8cee4
mov dword [esp + 0x30], 0xf064f26c
mov dword [esp + 0x34], 0xf49ef663
mov dword [esp + 0x38], 0xf8bdfa68
mov dword [esp + 0x3c], 0xfc92fe69
mov dword [esp + 0x40], 0xe08ae279
mov dword [esp + 0x44], 0xe4e5e6cc
mov byte [esp + 0x48], 0
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x1c
ja 0xe08cdb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
movzx edx, byte [esp + edx + 0x2c]
add ecx, 0x9ca2ea5c
xor ecx, edx
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x94]
add cl, 0x6d
mov edx, dword [esp + 0x1c]
mov byte [esp + edx + 0x2c], cl
inc dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x1d
jb 0xe08ca0
lea ecx, [esp + 0x1c]
lea edi, [esp + 0x94]
lea ebx, [esp + 0x2c]
push ecx
push 8
push edi
push 0xd
push ebx
push 0
call eax
shr eax, 0x1f
jmp dword [eax*4 + 0x2b78298]
Function at 0xe0c8f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0xe0c9b1
push ebx
push edi
push esi
sub esp, 0xc
mov dword [esp + 4], 0x65647b7a
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 3
ja 0xe0c950
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 4]
add edx, 0xabe122ae
xor edx, esi
mov dword [esp + 8], edx
mov edx, dword [esp + 8]
add dl, 0x2b
mov esi, dword [esp]
mov byte [esp + esi + 4], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 4
jb 0xe0c920
mov edx, dword [0x2b7a9d4]
test edx, edx
je 0xe0c99e
mov esi, dword [esp + 4]
xor edi, edi
mov ebx, dword [0x2b7a9d8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x625b6034
je 0xe0c980
inc edi
cmp edx, edi
jne 0xe0c970
jmp 0xe0c99e
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0xe0c99e
push eax
push 1
push dword [0x2b7a9dc]
push edx
mov esi, ecx
call fcn.00e0e430
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
mov dword [ecx + 4], 0
add esp, 0xc
pop esi
pop edi
pop ebx
ret
Function at 0xe0fc10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov ebp, dword [esp + 0x40]
movzx eax, word [ebp]
mov dword [esp + 4], 0x4d4c1103
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 6
ja 0xe0fc80
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
add ecx, 0x16fdd4cc
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x7e
mov edx, dword [esp]
mov byte [esp + edx + 4], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 7
jb 0xe0fc50
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, eax
setne dl
xor eax, eax
jmp dword [edx*4 + 0x2b79304]
Function at 0x401b10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x43b080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0x108]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x401bab
push 0xc
call fcn.004011d0
add esp, 4
push 0x42f4d4
push 0x43c328
call fcn.00403310
add esp, 8
push 7
call fcn.004011d0
add esp, 4
push 0x4058f0
push str.Could_not_retrieve_AppData_path.
push 0x43c328
call fcn.00403310
add esp, 8
mov ecx, eax
call fcn.00408740
push 0x42f222
mov ecx, dword [ebp + 8]
call fcn.004068d0
mov ecx, dword [ebp - 0x10c]
or ecx, 1
mov dword [ebp - 0x10c], ecx
mov eax, dword [ebp + 8]
jmp 0x401bcc
lea edx, [ebp - 0x108]
push edx
mov ecx, dword [ebp + 8]
call fcn.004068d0
mov eax, dword [ebp - 0x10c]
or eax, 1
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00410725
mov esp, ebp
pop ebp
ret
Function at 0x40ef00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x40ef20
jl 0x40ef17
cmp dword [ebp + 0xc], 0
ja 0x40ef20
xor eax, eax
xor edx, edx
jmp 0x40f058
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x40ef42
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.0040f060
jmp 0x40f058
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.0040a060
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x40efb2
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00405b10
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.0040ce00
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0040bab0
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.0040cd50
nop
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x40f049
mov ecx, dword [ebp - 8]
call fcn.0040af10
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x40f022
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00415fd8
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x40f020
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x40f058
jmp 0x40efce
cmp dword [ebp - 4], 0
jbe 0x40f049
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00415fd8
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x410f87
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x410fc6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x410fc6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x410fc6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x410fc6
cmp dword [ecx + 0x74], 0xe
jbe 0x410fc6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41e98c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x433a98
push 0x433a90
push str.FlsAlloc
push 0x1f
call fcn.0041e7f7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e9c0
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f170]
call esi
jmp 0x41e9c6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41ea0a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x433aa8
push 0x433aa0
push str.FlsGetValue
push 0x21
call fcn.0041e7f7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41ea41
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f170]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41ea49
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x433ab0
push 0x433aa8
push str.FlsSetValue
push 0x22
call fcn.0041e7f7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41ea83
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42f170]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42050a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004111f0
mov eax, dword [0x43b080]
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.0041efbf
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x42054c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4206a8
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042d040
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 + 0x43cc70]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00421507
mov ecx, dword [esi*4 + 0x43cc70]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4206a1
cmp eax, dword [ecx + edi + 0x24]
jne 0x4206a1
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4206a1
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00421507
add esp, 0x14
test edx, edx
jl 0x4206a1
jg 0x420617
test eax, eax
jb 0x4206a1
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4206a1
jl 0x420631
cmp dword [ebp - 0x1008], eax
ja 0x4206a1
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x42064f
test ebx, ebx
je 0x420688
cmp ecx, edi
jae 0x420688
mov al, byte [ecx]
cmp al, 0xd
jne 0x420669
lea eax, [edi - 1]
cmp ecx, eax
jae 0x420675
cmp byte [ecx + 1], 0xa
jne 0x420675
inc ecx
jmp 0x420675
movzx eax, al
movsx eax, byte [eax + 0x43b340]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x42064f
cmp edx, ebx
jne 0x42064f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4206a6
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00410725
leave
ret