joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x1000114a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x1000115c
jmp 0x10001176
push 0
push 0
push 0
push section..text
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10004060], eax
xor eax, eax
inc eax
leave
ret 0xc
Function at 0xc1420
Capabilities:
Hash data using crc32b
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x134348], 0
jne 0xc1559
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
xor eax, eax
test cl, 1
je 0xc1442
bts eax, 7
shr ecx, 1
test cl, 1
je 0xc144d
bts eax, 6
shr ecx, 1
test cl, 1
je 0xc1458
bts eax, 5
shr ecx, 1
test cl, 1
je 0xc1463
bts eax, 4
shr ecx, 1
test cl, 1
je 0xc146e
bts eax, 3
shr ecx, 1
test cl, 1
je 0xc1479
bts eax, 2
shr ecx, 1
test cl, 1
je 0xc1484
bts eax, 1
test cl, 2
je 0xc148d
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax*4 + 0x134350], ebx
lea ecx, [edx + 1]
nop
test bl, 1
je 0xc152f
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0xc1520
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x134350], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0xc1437
mov byte [0x134348], 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xc1560
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
call fcn.000c1420
mov esi, dword [ebp + 8]
or eax, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edx, esi
or edx, edi
je 0xc15a1
nop dword [eax]
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
add esi, 0xffffffff
movzx edx, al
adc edi, 0xffffffff
xor edx, ecx
shr eax, 8
mov ecx, esi
xor eax, dword [edx*4 + 0x134350]
or ecx, edi
jne 0xc1580
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0xc1680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [ebp + 0xc], 0
xorps xmm0, xmm0
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [ecx]
mov dword [ebp - 0x10], edx
lea edx, [ecx + 8]
push esi
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
movlpd qword [ebp - 0x20], xmm0
jl 0xc1715
mov edi, dword [ebp + 8]
jg 0xc16b4
test edi, edi
je 0xc1715
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
nop dword [eax]
mov ecx, dword [ebp - 8]
inc bl
mov edi, dword [ebp - 8]
movzx ebx, bl
mov edx, dword [ecx + ebx*4]
mov al, dl
add al, byte [ebp - 4]
movzx eax, al
mov dword [ebp - 4], eax
mov eax, dword [ecx + eax*4]
mov dword [ecx + ebx*4], eax
mov ecx, dword [ebp - 4]
mov dword [edi + ecx*4], edx
add dl, al
mov ecx, edi
movzx eax, dl
mov edi, dword [ebp + 8]
mov al, byte [ecx + eax*4]
mov ecx, dword [ebp - 0x10]
xor byte [esi + ecx], al
add esi, 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
adc eax, 0
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp + 0xc]
jl 0xc16c0
jg 0xc1712
cmp esi, edi
jb 0xc16c0
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [ecx], ebx
mov dword [ecx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0xc3750
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, dword [edi]
mov edx, dword [esi]
mov eax, edx
mov ecx, dword [esi + 4]
shr eax, 8
mov byte [ebp - 0xb], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 9], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 7], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, 0xfffffff7
mov byte [ebp - 0xc], dl
shr edx, 3
sub eax, edx
mov byte [ebp - 8], cl
shr ecx, 0x18
and eax, 0x3f
inc eax
mov byte [ebp - 5], cl
push eax
mov edx, 0x129618
mov ecx, esi
call fcn.000c4530
push 8
lea edx, [ebp - 0xc]
mov ecx, esi
call fcn.000c4530
add esp, 8
xor eax, eax
nop dword [eax + eax]
mov edx, eax
mov ecx, eax
sar edx, 2
and ecx, 3
shl ecx, 3
mov edx, dword [esi + edx*4 + 8]
shr edx, cl
mov byte [edi + eax + 4], dl
inc eax
cmp eax, 0x10
jl 0xc37d0
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
pop esi
call fcn.000f1776
mov esp, ebp
pop ebp
ret
Function at 0xc3830
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x119069
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x7c], edi
mov dword [ebp - 4], 0
push 0x58
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x78], 0
call fcn.000f178c
mov ecx, eax
add esp, 4
mov dword [ebp - 0x74], ecx
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
lea edx, [esi + 4]
mov dword [ebp - 4], 1
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0xc38bf
mov edx, dword [edx]
add eax, eax
push eax
call fcn.000c4530
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.000c3750
inc dword [0x134754]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov dword [edi], 0x129c14
xor ecx, ecx
movups xmm0, xmmword [ebp - 0x70]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 7
mov byte [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
mov word [edi + 4], cx
mov dword [ebp - 0x78], 1
xor esi, esi
nop
movzx eax, byte [ebp + esi - 0x24]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x44]
movq qword [ebp - 0x34], xmm0
push 0x1295f8
push eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x28], 0
call fcn.000c3720
add esp, 0xc
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x60]
push eax
call fcn.000ce7f0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
lea ecx, [edi + 4]
push dword [ebp - 0x4c]
cmovae eax, dword [ebp - 0x5c]
push eax
call fcn.000d1030
mov byte [ebp - 4], 1
dec dword [0x134754]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x60], 0x129c14
cmp edx, 8
jb 0xc39ae
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0xc39a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc39e2
push edx
push ecx
call fcn.000f17bc
add esp, 8
inc esi
cmp esi, 0x10
jl 0xc3910
push 0x58
push dword [ebp - 0x74]
call fcn.000f17bc
add esp, 8
mov eax, edi
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.000f1776
mov esp, ebp
pop ebp
ret
call fcn.000f75a6
int3
Function at 0xc3a90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1190f0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [ebp + 8]
push 0x58
mov dword [ebp - 0x5c], eax
call fcn.000f178c
mov dword [ebp - 0x40], eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
push esi
mov edx, edi
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.000c4530
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.000c3750
movups xmm0, xmmword [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x58]
movups xmmword [ebp - 0x20], xmm0
call fcn.000c39f0
xor ecx, ecx
mov dword [ebp - 0x2c], 0x129c14
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
inc dword [0x134754]
mov ecx, eax
call fcn.000ceeb0
add esp, 4
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x28]
add ecx, 4
mov byte [ebp - 4], 3
cmp ecx, eax
je 0xc3b7b
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.000d1370
dec dword [0x134754]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0xc3bb7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0xc3bad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc3c0f
push edx
push ecx
call fcn.000f17bc
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0xc3be7
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xc3bdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc3c0f
push edx
push ecx
call fcn.000f17bc
add esp, 8
push 0x58
push dword [ebp - 0x40]
call fcn.000f17bc
add esp, 8
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.000f1776
mov esp, ebp
pop ebp
ret
call fcn.000f75a6
int3
Function at 0xc6d50
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x119651
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.000f3cb0
add esp, 0xc
mov dword [ebp - 0x24c], 0x100
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov dword [ebp - 0x248], 0x129c14
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
lea ecx, [ebp - 0x210]
mov dword [ebp - 4], eax
inc dword [0x134754]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0xc6df0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.000d1370
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x22c], 0x129c14
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
push 6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
inc dword [0x134754]
push 0x129870
call fcn.000d1370
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x228]
lea eax, [ebp - 0x244]
cmovae ecx, dword [ebp - 0x228]
cmp dword [ebp - 0x230], 8
push ecx
cmovae eax, dword [ebp - 0x244]
push eax
call fcn.000fc93c
mov ecx, dword [0x134754]
add esp, 8
mov edx, dword [ebp - 0x214]
dec ecx
mov dword [ebp - 0x22c], 0x129c14
mov esi, eax
mov dword [0x134754], ecx
cmp edx, 8
jb 0xc6ee9
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0xc6ed9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc6f58
push edx
push ecx
call fcn.000f17bc
mov ecx, dword [0x134754]
add esp, 8
mov edx, dword [ebp - 0x230]
test esi, esi
mov dword [ebp - 0x248], 0x129c14
sete bl
dec ecx
mov dword [0x134754], ecx
cmp edx, 8
jb 0xc6f3b
mov ecx, dword [ebp - 0x244]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0xc6f31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc6f5d
push edx
push ecx
call fcn.000f17bc
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.000f1776
mov esp, ebp
pop ebp
ret
call fcn.000f75a6
call fcn.000f75a6
int3
Function at 0xc71e0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x119765
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x254], esi
xor eax, eax
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x234], 0x129c14
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x230]
inc dword [0x134754]
push 0x1295b4
call fcn.000d1370
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.000f3cb0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0xc7313
xor eax, eax
mov dword [ebp - 0x250], 0x129c14
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 2
inc dword [0x134754]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0xc72d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.000d1370
mov byte [ebp - 4], 3
lea eax, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
push dword [ebp - 0x23c]
cmovae eax, dword [ebp - 0x24c]
push eax
jmp 0xc733d
lea ecx, [ebp - 0x250]
call fcn.000c7430
add eax, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
cmp ecx, eax
je 0xc7348
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0xc7339
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x230]
call fcn.000d1370
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.000ced70
push 1
lea ecx, [ebp - 0x234]
call fcn.000d0310
lea edx, [esi + 4]
mov dword [esi], 0x129c14
xor ecx, ecx
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], cx
mov byte [ebp - 4], 5
add eax, 4
mov ecx, dword [0x134754]
inc ecx
mov dword [0x134754], ecx
cmp edx, eax
je 0xc73b3
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0xc73a2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.000d1370
mov ecx, dword [0x134754]
mov edx, dword [ebp - 0x21c]
dec ecx
mov dword [ebp - 0x234], 0x129c14
mov dword [0x134754], ecx
cmp edx, 8
jb 0xc7400
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0xc73f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc741c
push edx
push ecx
call fcn.000f17bc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.000f1776
mov esp, ebp
pop ebp
ret
call fcn.000f75a6
int3
Function at 0xc7430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1197a6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x238], esi
call fcn.000c6d50
test al, al
je 0xc7479
mov ecx, esi
call fcn.000c6f70
jmp 0xc753a
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.000f3cb0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0xc746d
xor eax, eax
mov dword [ebp - 0x234], 0x129c14
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], eax
inc dword [0x134754]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0xc74e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.000d1370
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 1
call fcn.000cf570
push 1
lea ecx, [ebp - 0x234]
call fcn.000d0310
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.000cecf0
lea ecx, [ebp - 0x234]
call fcn.000ced70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.000f1776
mov esp, ebp
pop ebp
ret
Function at 0xc9020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x20]
mov esi, edx
push eax
call fcn.000cf3a0
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0xc9058
xor bl, bl
jmp 0xc9061
shr eax, 4
mov bl, 1
and al, 1
mov byte [esi], al
dec dword [0x134754]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], 0x129c14
cmp edx, 8
jb 0xc90a4
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0xc909a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc90b6
push edx
push ecx
call fcn.000f17bc
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.000f1776
mov esp, ebp
pop ebp
ret
call fcn.000f75a6
int3

Function at 0xc90c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x119a71
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x48], 0
test ebx, ebx
je 0xc91cd
cmp dword [ebp + 8], 0
jle 0xc91cd
lea eax, [ebp - 0x44]
push eax
call fcn.000cf3a0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x48], 1
call fcn.000cede0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x129954
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.000faf6f
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov esi, eax
cmp edx, 0x10
jb 0xc9185
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xc917b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc91ed
push edx
push ecx
call fcn.000f17bc
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test esi, esi
jne 0xc91aa
lea ecx, [ebp - 0x44]
or esi, 0xffffffff
call fcn.000ced70
mov eax, esi
jmp 0xc91d2
push esi
push 1
push dword [ebp + 8]
push ebx
call fcn.000fbaa2
push esi
call fcn.000fb1e3
add esp, 0x14
lea ecx, [ebp - 0x44]
xor esi, esi
call fcn.000ced70
mov eax, esi
jmp 0xc91d2
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.000f1776
mov esp, ebp
pop ebp
ret
call fcn.000f75a6
int3
Function at 0xca5f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x119b78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0xca729
cmp byte [ebx + 0x3d], 0
je 0xca729
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0xca644
xor al, al
jmp 0xca72b
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.000c9220
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
nop dword [eax]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmp edx, 0x10
lea esi, [ebp - 0x28]
cmovae esi, eax
cmovae edi, eax
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0xca69f
sub eax, 1
je 0xca6a3
mov edx, dword [ebp - 0x14]
sub eax, 2
mov eax, dword [ebp - 0x28]
je 0xca6f9
xor bl, bl
jmp 0xca6fb
mov byte [ebx + 0x3d], 0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp edx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae ecx, eax
sub esi, ecx
je 0xca6db
push dword [ebx + 0x4c]
cmp edx, 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, eax
push 1
push ecx
call fcn.000fbaa2
mov edx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
mov eax, dword [ebp - 0x28]
jne 0xca69b
cmp byte [ebx + 0x3d], 0
je 0xca6f9
test esi, esi
jne 0xca660
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.000c3400
jmp 0xca657
mov bl, 1
cmp edx, 0x10
jb 0xca725
inc edx
mov ecx, eax
cmp edx, 0x1000
jb 0xca71b
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0xca747
push edx
push eax
call fcn.000f17bc
add esp, 8
mov al, bl
jmp 0xca72b
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.000f1776
mov esp, ebp
pop ebp
ret
call fcn.000f75a6
int3