joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53c9f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
cmp ebx, 0x28
ja 0x53cb72
mov eax, dword [ebp + 8]
mov esi, ebx
shr esi, 5
mov edx, ebx
inc esi
mov eax, dword [eax + 0x10]
mov dword [ebp - 4], eax
mov edi, dword [eax + 0x38]
xor edi, ebx
mov dword [ebp - 8], edi
cmp ebx, esi
jb 0x53ca49
mov ebx, dword [ebp + 0xc]
movzx ecx, byte [ebx + edx - 1]
mov eax, edi
shl eax, 5
sub edx, esi
add ecx, eax
mov eax, edi
shr eax, 2
add ecx, eax
xor edi, ecx
cmp edx, esi
jae 0x53ca25
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edi
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
lea ecx, [edx - 1]
and ecx, edi
mov edi, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
mov dword [ebp + 0x10], eax
test edi, edi
je 0x53caf4
movzx eax, byte [edi + 7]
cmp ebx, eax
jne 0x53cac3
mov ecx, dword [ebp + 0xc]
lea edx, [edi + 0x10]
mov esi, ebx
sub esi, 4
jb 0x53ca91
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x53ca96
add ecx, 4
add edx, 4
sub esi, 4
jae 0x53ca80
cmp esi, 0xfffffffc
je 0x53cad2
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x53cac3
cmp esi, 0xfffffffd
je 0x53cad2
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x53cac3
cmp esi, 0xfffffffe
je 0x53cad2
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x53cac3
cmp esi, 0xffffffff
je 0x53cad2
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x53cad2
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x53ca65
mov edi, dword [ebp - 4]
mov edx, dword [edi + 0x20]
jmp 0x53caf7
mov eax, dword [ebp - 4]
mov cl, byte [edi + 5]
xor cl, 3
mov al, byte [eax + 0x3c]
xor al, 3
test cl, al
jne 0x53cbad
mov byte [edi + 5], cl
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 4]
cmp dword [edi + 0x1c], edx
jl 0x53cb27
cmp edx, 0x3fffffff
jg 0x53cb27
lea eax, [edx + edx]
push eax
push dword [ebp + 8]
call fcn.0053cc50
mov ecx, dword [edi + 0x20]
add esp, 8
mov esi, dword [ebp - 8]
dec ecx
mov eax, dword [edi + 0x18]
and ecx, esi
lea eax, [eax + ecx*4]
mov dword [ebp + 0x10], eax
jmp 0x53cb2a
mov esi, dword [ebp - 8]
lea eax, [ebx + 0x11]
push eax
push 4
push dword [ebp + 8]
call fcn.0053aab0
mov edi, eax
push ebx
push dword [ebp + 0xc]
lea eax, [edi + 0x10]
mov dword [edi + 8], esi
mov byte [edi + 6], 0
push eax
mov byte [edi + ebx + 0x10], 0
call fcn.00582b4b
mov eax, dword [ebp + 0x10]
add esp, 0x18
mov byte [edi + 7], bl
mov ecx, dword [eax]
mov dword [edi + 0xc], ecx
mov dword [eax], edi
mov eax, dword [ebp - 4]
inc dword [eax + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 0xffffffef
jae 0x53cbb6
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov esi, dword [eax + 0x38]
lea eax, [ebx + 0x11]
push eax
push 0x14
push ecx
call fcn.0053aab0
mov edi, eax
push ebx
push dword [ebp + 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 8], esi
mov byte [edi + 6], 0
mov byte [edi + ebx + 0x10], 0
push ecx
mov dword [edi + 0xc], ebx
call fcn.00582b4b
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
call fcn.00541ca0
int3
Function at 0x56b530
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [ebx - 4]
test ebp, ebp
jle 0x56b59a
mov ecx, dword [esp + 0xc]
sub ecx, ebx
push esi
mov dword [esp + 0x10], ecx
push edi
nop dword [eax]
mov esi, dword [ecx + ebx]
lea ebx, [ebx + 4]
mov ecx, eax
mov edi, esi
and edi, 0xffff00ff
and ecx, 0xffff00ff
add edi, ecx
mov edx, esi
movzx ecx, ax
and edx, 0xff00
add edx, ecx
and eax, 0xff00ffff
mov ecx, dword [esp + 0x14]
xor edi, edx
and esi, 0xff00ff00
and edi, 0xff00ff
add eax, esi
xor eax, edi
mov dword [ebx - 4], eax
sub ebp, 1
jne 0x56b550
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x56b5a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jle 0x56b614
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
sub ecx, eax
sub dword [esp + 0x14], eax
push ebx
push esi
mov dword [esp + 0x14], ecx
push edi
nop
mov ebx, dword [ecx + eax]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov ecx, ebx
and ecx, 0xffff00ff
mov edi, esi
and edi, 0xffff00ff
mov edx, esi
add edi, ecx
and edx, 0xff00
movzx ecx, bx
and esi, 0xff00ff00
add edx, ecx
and ebx, 0xff00ffff
mov ecx, dword [esp + 0x20]
xor edi, edx
and edi, 0xff00ff
add ebx, esi
xor edi, ebx
mov dword [ecx + eax - 4], edi
mov ecx, dword [esp + 0x18]
sub ebp, 1
jne 0x56b5c0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x56bc90
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 8]
push ebp
push edi
xor ebp, ebp
lea eax, [ebx + eax*4]
mov edi, eax
sub edi, ebx
add edi, 3
shr edi, 2
cmp ebx, eax
cmova edi, ecx
test edi, edi
je 0x56bcfe
push esi
mov esi, dword [esp + 0x1c]
nop word [eax + eax]
mov edx, dword [ebx]
lea esi, [esi + 2]
mov ecx, edx
lea ebx, [ebx + 4]
shr ecx, 0x10
mov eax, edx
shr eax, 0xd
inc ebp
xor cl, al
mov eax, edx
and cl, 7
shr eax, 0x10
xor cl, al
mov eax, edx
mov byte [esi - 2], cl
mov ecx, edx
shr ecx, 5
shr eax, 3
xor cl, al
shr edx, 5
and cl, 0x1f
xor cl, dl
mov byte [esi - 1], cl
cmp ebp, edi
jb 0x56bcc0
pop esi
pop edi
pop ebp
pop ebx
ret

Function at 0x56bd10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
xor ecx, ecx
push ebx
push ebp
push edi
mov edi, dword [esp + 0x10]
xor ebp, ebp
lea eax, [edi + eax*4]
mov ebx, eax
sub ebx, edi
add ebx, 3
shr ebx, 2
cmp edi, eax
cmova ebx, ecx
test ebx, ebx
je 0x56bd74
push esi
mov esi, dword [esp + 0x1c]
nop word [eax + eax]
mov edx, dword [edi]
lea esi, [esi + 2]
mov ecx, edx
lea edi, [edi + 4]
shr ecx, 0x10
mov eax, edx
shr eax, 0xc
inc ebp
xor cl, al
mov eax, edx
shr eax, 0x10
and cl, 0xf
xor cl, al
mov eax, edx
shr eax, 0x1c
and dl, 0xf0
or al, dl
mov byte [esi - 2], cl
mov byte [esi - 1], al
cmp ebp, ebx
jb 0x56bd40
pop esi
pop edi
pop ebp
pop ebx
ret
Function at 0x41c530
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x68], 0
jne 0x41c55a
mov eax, dword [esi + 0x4088]
add eax, dword [esi + 0x84]
je 0x41c55f
mov eax, 1
mov dword [esi + 0x8560], eax
call fcn.0040bb60
test eax, eax
je 0x41c580
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [esi + 0x7c]
push edi
mov edi, dword [esi + 0x85c8]
lea eax, [edi + 0x1c]
push eax
mov eax, dword [ebx + 0x28]
push ebx
call eax
lea eax, [edi - 0x2000]
mov dword [edi + 4], 0
mov dword [edi + 0x10], eax
add esp, 8
mov dword [edi + 0x14], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0xffffdfff
mov dword [edi + 0x18], ebx
mov eax, dword [esi + 0x85fc]
test eax, eax
je 0x41c72f
lea edi, [eax*4]
push edi
call fcn.00593e38
add esp, 4
mov dword [esi + 0x8868], eax
test eax, eax
je 0x41c742
push edi
push 0
push eax
call fcn.00595760
mov eax, dword [esi + 0x6c]
add esp, 0xc
imul eax, dword [esi + 0x861c]
imul eax, dword [esi + 0x8620]
cmp eax, 0x4000000
jb 0x41c638
mov edi, dword [esi + 0x85fc]
shl edi, 2
push edi
call fcn.00593e38
add esp, 4
mov dword [esi + 0x886c], eax
test eax, eax
je 0x41c742
push edi
push 0
push eax
call fcn.00595760
add esp, 0xc
xor ebx, ebx
cmp dword [esi + 0x85fc], ebx
jbe 0x41c72f
mov eax, dword [esi + 0x6c]
lea edi, [ebx*4]
imul eax, dword [esi + 0x861c]
imul eax, dword [esi + 0x8620]
cmp eax, 0x4000000
jb 0x41c6fa
push 0x104
call fcn.00593e38
mov ecx, dword [esi + 0x886c]
add esp, 4
mov dword [edi + ecx], eax
mov eax, dword [esi + 0x886c]
mov eax, dword [edi + eax]
mov dword [ebp - 0x10c], eax
test eax, eax
je 0x41c742
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x41c742
cmp eax, 0x104
jae 0x41c742
mov eax, dword [esi + 0x886c]
push dword [edi + eax]
lea eax, [ebp - 0x108]
push 0
push 0x62cd90
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x41c742
mov eax, dword [esi + 0x8868]
push 0x62cd94
push dword [ebp - 0x10c]
add eax, edi
push eax
call fcn.0040b520
add esp, 0xc
jmp 0x41c707
mov ecx, dword [esi + 0x8868]
add ecx, edi
call fcn.0040b810
test eax, eax
jne 0x41c742
mov edx, dword [esi + 0x8868]
mov ecx, dword [esi + 0x85f8]
mov edx, dword [edi + edx]
mov ecx, dword [ecx + edi]
call fcn.0040c640
inc ebx
cmp ebx, dword [esi + 0x85fc]
jb 0x41c646
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.005920c1
mov esp, ebp
pop ebp
ret
Function at 0x43c8e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
mov edx, ecx
sar edx, 0x18
mov eax, ecx
sar eax, 0x10
xor dl, al
mov eax, ecx
sar eax, 8
xor dl, al
mov eax, dword [ebp + 0xc]
movzx eax, al
xor dl, cl
push ebx
push edi
mov edi, dword [ebp + 0x14]
mov bh, byte [eax + 0x631390]
movzx eax, dl
mov bl, byte [eax + 0x631490]
xor eax, eax
test edi, edi
jle 0x43c93f
mov cl, bh
mov dl, bh
add cl, cl
add dl, cl
push esi
mov esi, dword [ebp + 8]
shl dl, 5
lea ebx, [ebx]
add bl, dl
lea ecx, [eax + esi]
xor byte [ecx], bl
inc eax
add dl, bh
cmp eax, edi
jl 0x43c930
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43f870
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push edi
mov edi, dword [ebp + 8]
push dword [edi]
push 1
push 8
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
jne 0x43f8b3
pop edi
mov eax, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0x14], 0x89
jne 0x43fa43
cmp byte [ebp - 0x13], 0x50
jne 0x43fa43
cmp byte [ebp - 0x12], 0x4e
jne 0x43fa43
cmp byte [ebp - 0x11], 0x47
jne 0x43fa43
cmp byte [ebp - 0x10], 0xd
jne 0x43fa43
cmp byte [ebp - 0xf], 0xa
jne 0x43fa43
cmp byte [ebp - 0xe], 0x1a
jne 0x43fa43
cmp byte [ebp - 0xd], 0xa
jne 0x43fa43
push ebx
push dword [edi]
call fcn.00595867
add esp, 4
test eax, eax
jne 0x43fa30
push edi
call fcn.0045d070
push dword [edi]
mov ebx, eax
lea eax, [ebp - 0x18]
push 1
push 4
push eax
call fcn.00595b79
lea eax, [ebp - 0x18]
add esp, 0x14
cmp dword [eax], 0x444e4549
je 0x43fa22
mov eax, dword [esi]
mov ecx, dword [esi + 4]
inc eax
cmp eax, ecx
jl 0x43f978
lea eax, [ecx + 0x10]
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
shl eax, 4
push eax
test ecx, ecx
jne 0x43f964
call fcn.00593e38
add esp, 4
jmp 0x43f96d
push ecx
call fcn.00593eca
add esp, 8
mov dword [esi + 8], eax
test eax, eax
je 0x43fa0c
mov edx, dword [esi]
mov ecx, dword [esi + 8]
add edx, edx
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*8], eax
mov ecx, dword [esi]
mov eax, dword [esi + 8]
add ecx, ecx
mov dword [eax + ecx*8 + 4], ebx
test ebx, ebx
jle 0x43f9d4
push ebx
call fcn.00593e38
mov edx, dword [esi]
add esp, 4
mov ecx, dword [esi + 8]
add edx, edx
mov dword [ecx + edx*8 + 8], eax
mov ecx, dword [esi]
mov eax, dword [esi + 8]
add ecx, ecx
mov eax, dword [eax + ecx*8 + 8]
test eax, eax
je 0x43f9c7
push dword [edi]
push 1
push ebx
push eax
call fcn.00595b79
add esp, 0x10
jmp 0x43f9d4
push 1
push ebx
push dword [edi]
call fcn.00595cb4
add esp, 0xc
push edi
call fcn.0045d070
mov edx, dword [esi]
mov ecx, dword [esi + 8]
add edx, edx
mov dword [ecx + edx*8 + 0xc], eax
inc dword [esi]
push dword [edi]
call fcn.00595867
add esp, 8
test eax, eax
je 0x43f916
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
push 1
push 0xfffffffffffffff8
push dword [edi]
call fcn.00595cb4
add esp, 0xc
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 2
pop edi
xor ecx, ebp
pop esi
call fcn.005920c1
mov esp, ebp
pop ebp
ret
Function at 0x43fa60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push dword [esi]
push 1
push 2
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
jne 0x43fa88
mov eax, 4
pop esi
mov esp, ebp
pop ebp
ret
mov ax, word [ebp + 8]
push edi
mov edi, 0x4d4d
cmp ax, di
je 0x43faa1
mov ecx, 0x4949
cmp ax, cx
jne 0x43fad6
push dword [esi]
lea eax, [ebp - 4]
push 1
push 2
push eax
call fcn.00595b79
add esp, 0x10
test eax, eax
jne 0x43fac2
pop edi
mov eax, 4
pop esi
mov esp, ebp
pop ebp
ret
mov ax, word [ebp - 4]
mov ecx, 0x2a00
cmp ax, cx
je 0x43fae1
cmp ax, 0x2a
je 0x43fae1
pop edi
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret
cmp word [ebp + 8], di
mov ecx, fcn.0045d070
mov eax, fcn.0045d030
cmove eax, ecx
push esi
call eax
push dword [ebp + 0x1c]
mov ecx, eax
xor eax, eax
push dword [ebp + 0x18]
cmp word [ebp + 8], di
push dword [ebp + 0x14]
sete al
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push ecx
push 0
push esi
call fcn.0043f230
add esp, 0x28
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4405f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0xc]
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebx]
mov edi, dword [ebp + 0x10]
push 1
push 8
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], 0x474e5089
mov dword [ebp - 8], 0xa1a0a0d
call fcn.0059628c
add esp, 0x10
test eax, eax
jne 0x440649
pop edi
pop esi
mov eax, 6
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
cmp dword [edi], 0
mov dword [ebp - 0x14], 0
jle 0x4406d1
xor esi, esi
mov eax, dword [edi + 8]
push ebx
push dword [eax + esi + 4]
call fcn.0045d510
push dword [ebx]
mov eax, dword [edi + 8]
push 1
add eax, esi
push 4
push eax
call fcn.0059628c
add esp, 0x18
test eax, eax
je 0x440633
mov eax, dword [edi + 8]
mov ecx, dword [eax + esi + 8]
test ecx, ecx
je 0x44069c
push dword [ebx]
push 1
push dword [eax + esi + 4]
push ecx
call fcn.0059628c
add esp, 0x10
test eax, eax
je 0x440633
mov eax, dword [edi + 8]
push ebx
push dword [eax + esi + 0xc]
call fcn.0045d510
mov eax, dword [edi + 8]
add esp, 8
mov eax, dword [eax + esi + 8]
test eax, eax
je 0x4406c0
push eax
call fcn.00592c4b
add esp, 4
mov eax, dword [ebp - 0x14]
add esi, 0x10
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [edi]
jl 0x440657
mov esi, dword [ebp - 0x10]
push dword [edi + 8]
call fcn.00592c4b
push 0xfa00
call fcn.00593e38
push dword [esi]
mov edi, eax
call fcn.00595867
add esp, 0xc
test eax, eax
jne 0x44073a
push dword [esi]
push 0xfa00
push 1
push edi
call fcn.00595b79
mov esi, eax
add esp, 0x10
test esi, esi
je 0x440721
push dword [ebx]
push esi
push 1
push edi
call fcn.0059628c
add esp, 0x10
cmp esi, eax
jne 0x440633
cmp esi, 0xfa00
jne 0x44073a
mov esi, dword [ebp - 0x10]
push dword [esi]
call fcn.00595867
add esp, 4
test eax, eax
je 0x4406f3
push edi
call fcn.00592c4b
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.005920c1
mov esp, ebp
pop ebp
ret
Function at 0x440760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ebx, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x62613938
lea ecx, [ebx + 1]
mov dword [ebp - 8], 0x66656463
lea ecx, [ecx]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4407a0
sub ebx, ecx
mov ecx, dword [ebp + 0xc]
mov eax, ecx
sar eax, 5
add eax, ebx
lea eax, [eax + ecx*2]
add eax, 0x14
push eax
call fcn.00593e38
add esp, 4
mov dword [ebp - 0x1c], eax
lea esi, [eax + 1]
mov byte [eax], 0xa
mov ecx, esi
sub ecx, edi
nop
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [ecx + edi - 1], al
test al, al
jne 0x4407d0
add esi, ebx
mov ebx, dword [ebp + 0xc]
push ebx
push str._8lu
mov byte [esi], 0xa
inc esi
push esi
call fcn.005933b1
add esp, 0xc
add esi, 8
xor edi, edi
test ebx, ebx
jle 0x440842
mov edi, edi
mov eax, 0x38e38e39
mul edi
mov eax, edi
shr edx, 3
lea ecx, [edx + edx*8]
shl ecx, 2
sub eax, ecx
jne 0x44081a
mov byte [esi], 0xa
inc esi
mov ecx, dword [ebp + 8]
movzx eax, byte [edi + ecx]
shr eax, 4
movzx eax, byte [ebp + eax - 0x14]
mov byte [esi], al
movsx eax, byte [edi + ecx]
inc edi
and eax, 0xf
movzx eax, byte [ebp + eax - 0x14]
mov byte [esi + 1], al
add esi, 2
cmp edi, ebx
jl 0x440800
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov byte [esi], 0xa
inc esi
pop edi
mov byte [esi], 0
sub esi, eax
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005920c1
mov esp, ebp
pop ebp
ret
Function at 0x443320
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x443356
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 0
push dword [ebp + 8]
call fcn.00440a70
add esp, 8
test eax, eax
je 0x44334f
push eax
push 8
call dword [sym.imp.USER32.dll_SetClipboardData]
pop ebp
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop ebp
ret

Function at 0x443b90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 1
push ebx
push esi
push edi
lea eax, [ebp - 0x204]
push str._s__d_s
push eax
call fcn.005933b1
add esp, 0x14
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x443be3
inc esi
cmp esi, 0x3e7
jl 0x443bb1
lea eax, [ebp - 0x204]
mov ecx, eax
sub edi, ecx
lea ecx, [ecx]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edi + eax - 1], cl
test cl, cl
jne 0x443bf0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005920c1
mov esp, ebp
pop ebp
ret
Function at 0x443c10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov al, byte [0x637404]
push ebx
push esi
push edi
cmp al, 0x2d
jne 0x443ca3
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0xa
push 0x637404
push 0x21
push 0x400
call esi
movzx ecx, byte [0x637404]
test eax, eax
push 0xa
push 0x6437ec
mov edx, 0x31
push 0x1d
cmove ecx, edx
push 0x400
mov byte [0x637404], cl
call esi
movzx ecx, byte [0x6437ec]
test eax, eax
push 0xa
push 0x644ff8
mov edx, 0x2f
push 0x1e
cmove ecx, edx
push 0x400
mov byte [0x6437ec], cl
call esi
movzx ecx, byte [0x644ff8]
test eax, eax
mov al, byte [0x637404]
mov edx, 0x3a
cmove ecx, edx
mov byte [0x644ff8], cl
mov edx, dword [ebp + 8]
cmp al, 0x30
jne 0x443cb4
movzx esi, word [edx + 2]
movzx edi, word [edx + 6]
jmp 0x443cc9
movzx edi, word [edx + 2]
cmp al, 0x32
jne 0x443cc5
movzx esi, word [edx]
movzx ebx, word [edx + 6]
jmp 0x443ccc
movzx esi, word [edx + 6]
movzx ebx, word [edx]
mov al, byte [ebp + 0x10]
test al, al
je 0x443d38
cmp dword [ebp + 0x14], 0
movsx ecx, al
je 0x443d0f
movzx eax, word [edx + 0xc]
push eax
movzx eax, word [edx + 0xa]
push 0x644ff8
push eax
movzx eax, word [edx + 8]
push 0x644ff8
push eax
push ebx
push ecx
push edi
push ecx
push esi
push str._02d_c_02d_c_02d__02d_s_02d_s_02d
push dword [ebp + 0xc]
call fcn.005933b1
add esp, 0x30
pop edi
pop esi
pop ebx
pop ebp
ret
movzx eax, word [edx + 0xa]
push eax
movzx eax, word [edx + 8]
push 0x644ff8
push eax
push ebx
push ecx
push edi
push ecx
push esi
push str._02d_c_02d_c_02d__02d_s_02d
push dword [ebp + 0xc]
call fcn.005933b1
add esp, 0x28
pop edi
pop esi
pop ebx
pop ebp
ret
cmp dword [ebp + 0x14], 0
je 0x443d79
movzx eax, word [edx + 0xc]
push eax
movzx eax, word [edx + 0xa]
push 0x644ff8
push eax
movzx eax, word [edx + 8]
push 0x644ff8
push eax
push ebx
push 0x6437ec
push edi
push 0x6437ec
push esi
push str._02d_s_02d_s_02d__02d_s_02d_s_02d
push dword [ebp + 0xc]
call fcn.005933b1
add esp, 0x30
pop edi
pop esi
pop ebx
pop ebp
ret
movzx eax, word [edx + 0xa]
push eax
movzx eax, word [edx + 8]
push 0x644ff8
push eax
push ebx
push 0x6437ec
push edi
push 0x6437ec
push esi
push str._02d_s_02d_s_02d__02d_s_02d
push dword [ebp + 0xc]
call fcn.005933b1
add esp, 0x28
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x444460
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x5c
push edi
call fcn.00593a90
mov ebx, eax
lea ecx, [edi + 3]
neg ebx
sbb bl, bl
and bl, 0x2d
add bl, 0x2f
movsx eax, bl
push eax
push ecx
mov dword [ebp + 8], eax
call fcn.00593a90
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4444b4
push edi
mov byte [esi], 0
call fcn.005bac25
push dword [ebp + 8]
mov byte [esi], bl
inc esi
push esi
call fcn.00593a90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x444496
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x44a4a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044a4b0
Function at 0x44d440
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
mov eax, dword [0x641a90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 8], 0
je 0x44d4aa
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x32c]
sub edx, ecx
jmp 0x44d470
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x44d470
push 0x5169f0
push 0x328
push dword [ebx + 4]
lea eax, [ebp - 0x32c]
push dword [ebx]
push eax
call fcn.005978c2
add esp, 0x14
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005920c1
mov esp, ebp
pop ebp
ret
xor ecx, ecx
push esi
mov esi, dword [ebx]
mov dword [ebp - 0x334], ecx
mov dword [ebp - 0x330], ecx
cmp dword [ebx + 4], ecx
jle 0x44d5b3
push edi
jmp 0x44d4d0
lea eax, [esi + 0x108]
push eax
push 0x70000
push 0xffffffffffffffff
push esi
call fcn.0045ac90
add esp, 0x10
test ax, ax
jne 0x44d4f3
or dword [esi + 0x104], 1
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x44d554
lea eax, [ebp - 0x338]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x318], eax
lea eax, [esi + 0x304]
push eax
lea eax, [esi + 0x2fc]
mov dword [esi + 0x31c], 0
push eax
lea eax, [esi + 0x2f4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
mov eax, esi
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x44d580
test dl, dl
je 0x44d57c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x44d580
add ecx, 2
add eax, 2
test dl, dl
jne 0x44d560
xor eax, eax
jmp 0x44d585
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x334]
test eax, eax
mov edi, dword [ebp - 0x330]
cmove ecx, esi
inc edi
add esi, 0x328
mov dword [ebp - 0x334], ecx
mov dword [ebp - 0x330], edi
cmp edi, dword [ebx + 4]
jl 0x44d4d0
pop edi
mov eax, ecx
mov dword [ebx + 8], 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.005920c1
mov esp, ebp
pop ebp
ret