joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464440
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x483674]
test eax, eax
jne 0x464586
movzx eax, byte [0x480170]
mov ecx, eax
add cl, al
and cl, 0x24
sub al, cl
add al, 0x92
mov byte [0x480190], al
movzx eax, byte [0x480171]
xor al, 0xa3
mov byte [0x480191], al
movzx eax, byte [0x480172]
xor al, 0x5e
mov byte [str.l_ao], al
movzx eax, byte [0x480173]
xor al, 4
mov byte [0x480193], al
movzx eax, byte [0x480174]
xor al, 0xc2
mov byte [0x480194], al
movzx eax, byte [0x480175]
mov ecx, eax
not cl
or al, 0xc4
or cl, 0x3b
and cl, al
not cl
mov byte [0x480195], cl
movzx eax, byte [0x480176]
xor al, 0xa
mov byte [0x480196], al
movzx eax, byte [0x480177]
xor al, 0xb6
mov byte [0x480197], al
movzx eax, byte [0x480178]
xor al, 0x2c
mov byte [0x480198], al
movzx eax, byte [0x480179]
xor al, 0xb8
mov byte [0x480199], al
movzx eax, byte [0x48017a]
mov ecx, eax
add cl, al
and cl, 0x9e
sub al, cl
add al, 0x4f
mov byte [0x48019a], al
movzx eax, byte [0x48017b]
xor al, 0x5c
mov byte [0x48019b], al
movzx eax, byte [0x48017c]
mov ecx, eax
add cl, al
and cl, 0x7a
sub al, cl
add al, 0xbd
mov byte [0x48019c], al
movzx eax, byte [0x48017d]
mov ecx, eax
add cl, al
and cl, 0xb4
sub al, cl
add al, 0x5a
mov byte [0x48019d], al
movzx eax, byte [0x48017e]
mov ecx, eax
add cl, al
and cl, 0x36
sub al, cl
add al, 0x9b
mov byte [0x48019e], al
movzx eax, byte [0x48017f]
mov ecx, eax
add cl, al
and cl, 0xe8
sub al, cl
add al, 0xf4
mov byte [0x48019f], al
movzx eax, byte [0x480180]
xor al, 0x10
mov byte [0x4801a0], al
mov dword [0x483674], 1
push eax
sub esp, 0x10
mov ebx, esp
push eax
mov ecx, esp
push eax
mov eax, esp
push eax
mov edx, esp
mov edi, dword [0x482d04]
test edi, edi
je 0x4645dc
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov esi, dword [0x482d08]
xor edx, edx
cmp dword [esi], eax
je 0x4645e9
cmp edi, 1
je 0x4645dc
mov dword [ebp - 0x10], ecx
lea ecx, [esi + 0xc]
mov edx, 1
nop
nop
cmp dword [ecx], eax
je 0x4645e6
inc edx
add ecx, 0xc
cmp edi, edx
jne 0x4645d0
mov edi, 0xffffffff
jmp 0x464685
mov ecx, dword [ebp - 0x10]
movzx eax, byte [0x4801a0]
mov byte [ebx + 0x10], al
mov eax, dword [0x48019c]
mov dword [ebx + 0xc], eax
mov eax, dword [0x480198]
mov dword [ebx + 8], eax
mov eax, dword [0x480194]
mov dword [ebx + 4], eax
mov eax, dword [0x480190]
mov dword [ebx], eax
lea eax, [edx + edx*2]
mov eax, dword [esi + eax*4 + 8]
mov dword [ebx + 1], eax
mov eax, dword [0x482d0c]
mov dword [ebx + 6], eax
mov word [ebx + 0xd], 0x14
mov dword [ecx], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x10
push 0x40
push 0x3000
push eax
push 0
push ecx
push 0xffffffffffffffff
mov esi, ecx
call dword [0x482d10]
mov edi, dword [esi]
mov ecx, 4
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [esi]
mov edi, eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
push 0x8000
push eax
push esi
push 0xffffffffffffffff
call dword [0x482d14]
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402510
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 4], 0x406796
mov dword [esp], str.disciplinas.dat
call sym._fopen
mov dword [ebp + 8], eax
mov dword [esp + 4], 0x406796
mov dword [esp], str.alunos.dat
call sym._fopen
mov dword [ebp + 0x14], eax
mov dword [ebp - 0xc], 0
jmp 0x40259c
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xbc
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._fwrite
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jl 0x40254d
mov dword [ebp - 0xc], 0
jmp 0x4025fc
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0xc]
lea edx, [eax*4]
mov eax, dword [ebp + 0x18]
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x88
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._fwrite
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x1c]
jl 0x4025ad
mov dword [esp], str._nINFORMAES_SALVAS_EM_DISCO_COM_SUCESSO_n
call sym._puts
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sym._fclose
nop
leave
ret
Function at 0x402ca0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x408044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40803c]
sub esp, 4
test ebx, ebx
je 0x402ceb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x402ce4
test esi, esi
je 0x402ce4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402cc0
mov dword [esp], 0x408044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402ed0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x402f20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402ff8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x402f5e
cmp eax, 4
jne 0x402f80
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x402f6e
cmp edx, 4
je 0x402f6e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402ed0
Function at 0x4068db
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068ff
xor eax, eax
test eax, eax
je 0x406912
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406912
xor ecx, ecx
jmp 0x406915
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a38
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a6f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a49
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a44
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aa0
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406a82
pop edi
not eax
pop esi
ret 0xc

Function at 0x414dd7
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [eax], ecx
sub ebx, 0x5b09b215
add eax, 4
mov esi, 0x6c7c3113
mov esi, 0xa627095b
cmp eax, edi
jne fcn.00414dd7
add edx, 0xf5c8f15
and ebx, esi
ret
Function at 0x406273
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406298
mov eax, dword [0x40a8a0]
cmp eax, 0xffffffff
je 0x40628f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8a0], 0xffffffff
jmp 0x40630b
cmp dword [0x440a40], ebx
je 0x40630b
cmp byte [0x440640], bl
je 0x4062d7
cmp dword [0x40a8a0], 0xffffffff
jne 0x4062e0
push 4
push 0x40000000
push 0x440640
call fcn.00405c27
cmp eax, 0xffffffff
mov dword [0x40a8a0], eax
je 0x40630b
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8a0], 0xffffffff
je 0x40630b
push esi
mov esi, 0x444a60
push 0x40aae8
push esi
call fcn.00405f75
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f68
push eax
push esi
push dword [0x40a8a0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4064bd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x44023c], esi
push edi
jne 0x4064f7
mov ecx, 0x440238
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064d3
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440638
jl 0x4064ce
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x40652c
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440238]
xor eax, esi
inc ecx
dec edx
jne 0x40650f
pop edi
pop esi
not eax
ret 0xc

Function at 0x484cf9
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x484a08
or edi, edi
add edi, ecx
call fcn.00484d25
add edi, ecx
xor dword [edx], esi
mov ecx, 0x4d9ef59e
add edx, 2
sub ecx, edi
cmp edx, eax
jl fcn.00484cf9
and ecx, edi
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x649466ef
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x14d402f5
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40ee10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ax, word [0x4411f2]
movsx ecx, ax
add ecx, ecx
add ecx, ecx
cmp ecx, 0x7f5e7f68
jle 0x40ee53
mov dx, word [0x441794]
mov ecx, dword [0x43d698]
movsx eax, dx
imul eax, eax, 0xe1dbb8e0
xor ecx, eax
and dword [0x43c7b4], ecx
inc dword [0x43d698]
dec word [0x441794]
fld dword [0x442be4]
push esi
fsub dword [0x4422d8]
mov esi, dword [ebp + 8]
push esi
fstp dword [0x442be4]
fld dword [0x442d5c]
fld dword [0x4426b8]
fmul dword [0x441e14]
fsubp st(1)
fstp dword [0x442d5c]
call fcn.0042f600
fld dword [0x442b3c]
add esp, 4
fmul qword [0x440ad8]
mov ecx, eax
fmul dword [0x442d88]
fld qword [0x43e448]
fxch st(1)
fucompi st(1)
fstp st(0)
lahf
test ah, 0x44
jp 0x40eec2
mov eax, dword [0x43c2cc]
imul eax, eax, 0xdea57b5f
mov dword [0x43c2cc], eax
fld1
dec ecx
mov dword [0x43cdbc], 0xb16f809a
cmp byte [ecx + esi], 0x22
jne 0x40ef8b
movzx edx, word [0x44100c]
movsx eax, dx
not eax
add eax, 0x1630f944
or dword [0x43c228], eax
mov byte [esi], 0x22
mov eax, dword [0x43c784]
mov edx, dword [0x43d244]
and eax, edx
mov edx, dword [0x43c144]
and edx, eax
mov eax, dword [0x43ca7c]
imul eax, edx
mov dword [0x43ca7c], eax
inc dword [0x43c144]
mov byte [ecx + esi], 0
mov eax, dword [0x43cf60]
movzx edx, word [0x441950]
xor eax, 0x1ffd29a1
and edx, eax
mov word [0x441950], dx
xor dword [0x43c4b0], 0x2d19024
mov ax, word [0x4410c6]
cwde
lea edx, [eax - 0x3937da1f]
mov eax, dword [0x43cf2c]
and eax, edx
add dword [0x43d0ec], eax
dec ecx
cmp byte [ecx + esi], 0x22
jne 0x40ef39
fld dword [0x4421a0]
lea eax, [ecx + esi + 1]
fmul dword [0x443428]
mov ecx, 0x5dda
fstp dword [0x442664]
mov word [0x441632], cx
jmp 0x40f019
add dword [0x43c1a0], 0xf920d248
mov byte [esi], 0x20
or dword [0x43d174], 0x2d434cb6
mov eax, dword [0x43d738]
mov edx, dword [0x43d200]
not eax
or eax, 0x77e59f81
imul edx, eax
mov dword [0x43d200], edx
dec ecx
fld dword [0x4420d0]
fsub qword [0x43e4f8]
fstp dword [0x4433dc]
fld dword [0x4420d0]
fadd st(1)
fstp dword [0x4420d0]
cmp byte [ecx + esi], 0x20
jne 0x40efa2
mov eax, dword [0x43d2fc]
add eax, 0x1c79463b
cmp eax, 0x80000802
jge 0x40f00b
inc dword [0x43c1a8]
mov eax, dword [0x43c1a8]
xor eax, 0x260f21ec
and dword [0x43c2ac], eax
add dword [0x43cca8], 0x2a734dad
lea eax, [ecx + esi + 1]
fld dword [0x4430d4]
pop esi
fsub qword [0x43ed78]
fsub dword [0x4433ec]
fstp dword [0x442824]
fld qword [0x43ed78]
fsub st(1)
fstp qword [0x43ed78]
fadd dword [0x4430d4]
fstp dword [0x4430d4]
pop ebp
ret
Function at 0x41e1b0
Capabilities:
Hash data with md5

Disassembly:
add dword [0x43d810], 0x7fa0e619
mov dword [ecx], 0
mov ax, word [0x4419ae]
mov edx, dword [0x43d8f8]
cwde
xor edx, eax
mov word [0x4419ae], dx
mov dword [ecx + 4], 0
inc dword [0x43d548]
mov edx, dword [0x43c320]
mov eax, dword [0x43d548]
shl edx, 6
xor eax, edx
movzx edx, word [0x441212]
xor eax, 0x67431b4b
or edx, eax
mov word [0x441212], dx
mov dword [ecx + 8], 0x67452301
mov eax, dword [0x43c40c]
inc dword [0x43c40c]
and eax, 0x4886138
or eax, 0xe9578247
cmp eax, 0x2fe587f3
jle 0x41e23f
mov edx, dword [0x43cf6c]
add edx, dword [0x43ce60]
mov dword [0x43cf6c], edx
jmp 0x41e255
inc dword [0x43d1e8]
mov eax, dword [0x43d1e8]
and eax, 0xe18eab15
add dword [0x43d100], eax
mov dword [ecx + 0xc], 0xefcdab89
fld dword [0x441d38]
fld dword [0x441e00]
fmul dword [0x443348]
fsubp st(1)
fstp dword [0x441d38]
mov dword [ecx + 0x10], 0x98badcfe
fld dword [0x4421c0]
fmul qword [0x43f678]
fstp qword [0x43f678]
mov dword [ecx + 0x14], 0x10325476
mov dword [0x43cb9c], 0x507d2e2e
ret

Function at 0x41f150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and dword [0x43c528], 0x6e889914
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00434250
mov ecx, edi
mov esi, eax
call fcn.00432f60
cmp esi, eax
je 0x41f1cc
jmp 0x41f180
fld dword [0x443124]
mov ecx, edi
fadd dword [0x4433a8]
inc esi
fadd dword [0x442514]
fstp dword [0x442514]
fld dword [0x443124]
fsub qword [0x43afa8]
fstp dword [0x443124]
mov byte [esi - 1], 0
movzx eax, word [0x44193c]
xor eax, 0x110b2082
mov word [0x44193c], ax
call fcn.00432f60
cmp esi, eax
jne 0x41f180
mov cx, word [0x44149e]
mov eax, dword [0x43cf8c]
movsx ecx, cx
imul eax, ecx
xor eax, 0x10aca94
sub dword [0x43d020], eax
inc dword [0x43cf8c]
pop edi
pop esi
pop ebp
ret
Function at 0x426f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x43d0bc]
mov ecx, dword [0x43c2f4]
not eax
and eax, 0x2404ac1
or ecx, eax
or ecx, 0xd9ab3516
mov dword [0x43c2f4], ecx
mov dx, word [0x44197c]
movzx ecx, word [0x4419f4]
movsx eax, dx
xor eax, 0xb0028d86
add ecx, eax
mov eax, dword [ebp + 8]
push ebx
mov word [0x4419f4], cx
dec word [0x44197c]
push esi
xor ecx, ecx
push edi
mov dword [0x43ce88], 0xe7e41fdc
test eax, eax
jle 0x42715c
mov ebx, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
lea esp, [esp]
mov dx, word [0x440f50]
movzx esi, word [0x44145a]
movsx edx, dx
sar edx, 6
add edx, 0x53847a0b
or esi, edx
mov word [0x44145a], si
cmp dword [eax], ecx
sbb edx, edx
inc dword [0x43cbdc]
movzx esi, word [0x4418e2]
movsx esi, si
lea edi, [esi + 0x4e2e8389]
movzx esi, word [0x441800]
movsx esi, si
and esi, edi
mov edi, dword [0x43cbdc]
and edi, esi
mov word [0x441800], di
mov esi, 1
add word [0x4418e2], si
sub dword [eax], ecx
mov ecx, dword [0x43cb68]
and ecx, 0xfffffffe
or ecx, 0x4cc00b70
neg edx
cmp ecx, 0x3a33fd74
je 0x427059
mov dword [0x43d63c], 0x694f9fa3
mov ecx, dword [eax]
cmp ecx, dword [ebx]
sbb ecx, ecx
neg ecx
add ecx, edx
mov edx, dword [0x43c9d8]
imul edx, edx, 0x2298897d
mov dword [0x43c9d8], edx
mov edx, dword [ebx]
sub dword [eax], edx
mov edx, dword [0x43cd20]
mov edi, dword [0x43d594]
shl edx, 7
add edx, 0x615c66f1
xor edx, 0x3feaac6c
xor edi, 0xb97d432e
cmp edx, edi
jg 0x4270b2
mov edx, dword [0x43cdd8]
mov edi, dword [0x43cec8]
and edx, edi
mov dword [0x43cdd8], edx
add ebx, 4
add eax, 4
sub dword [ebp + 8], esi
jne 0x426fd0
test ecx, ecx
je 0x427161
mov ebx, 0x26304e0c
mov edi, edi
add dword [0x43c204], ebx
cmp dword [eax], ecx
movzx esi, word [0x441232]
sbb edx, edx
xor esi, 0x7e45fb3c
mov word [0x441232], si
sub dword [eax], ecx
mov ecx, dword [0x43cc20]
and ecx, 0xb4ff0a34
or dword [0x43d380], ecx
dec dword [0x43cc20]
mov esi, 0xffffb45e
mov word [0x4413b0], si
movzx esi, word [0x441468]
movsx esi, si
add dword [0x43d5f8], esi
movzx esi, word [0x441606]
movsx edi, si
mov esi, dword [0x43c334]
sar edi, 8
sub esi, edi
mov edi, dword [0x43d1e4]
sub esi, edi
neg edx
mov dword [0x43c334], esi
inc dword [0x43d1e4]
add eax, 4
mov ecx, edx
test edx, edx
jne 0x4270d0
mov esi, 1
add dword [0x43c2b8], esi
mov eax, dword [0x43c2b8]
pop edi
pop esi
pop ebx
cmp eax, 0xd4f1fd00
je 0x427198
mov ecx, dword [0x43ca64]
not ecx
sub ecx, 0x452b495b
or ecx, 0x17654e3f
cmp ecx, 0x40030800
jg 0x427198
mov edx, dword [0x43c9e0]
pop ebp
ret
Function at 0x428880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [0x441354]
sub esp, 0x14
and eax, 0x4dcdb514
push edi
mov edi, ecx
mov word [0x441354], ax
call fcn.00426360
test al, al
jne 0x428a73
mov eax, dword [0x43c3b4]
mov ecx, dword [0x43cbf8]
imul eax, eax, 0x3f34a43d
movzx edx, word [0x4417c4]
xor ecx, eax
add edx, ecx
mov word [0x4417c4], dx
mov eax, dword [0x43d3ec]
movzx ecx, word [0x4413cc]
sar eax, 6
or ecx, eax
push ebx
mov word [0x4413cc], cx
push esi
lea ecx, [ebp - 0x14]
call fcn.00426d80
mov eax, dword [0x43d330]
sar eax, 1
xor dword [0x43cd3c], eax
movzx edx, word [0x441586]
movzx ecx, word [0x441a68]
movsx eax, dx
not eax
add eax, 0x305b20cf
or eax, 0x9515345f
xor ecx, eax
mov word [0x441a68], cx
mov ecx, edi
call fcn.0042fa90
mov ecx, edi
mov esi, eax
call fcn.004353f0
cmp esi, eax
je 0x4289da
mov ebx, 0x50bd7aaf
lea ecx, [ecx]
mov eax, dword [0x43d278]
mov edx, dword [0x43c5cc]
not eax
imul edx, eax
cmp edx, 0x5ffedfcb
jl 0x42896a
mov eax, dword [0x43d4b0]
xor eax, 0xa614a5a6
and dword [0x43c908], eax
jmp 0x42897a
mov eax, dword [0x43cca4]
imul eax, eax, 0xbe371d7b
mov dword [0x43cca4], eax
mov ecx, esi
call fcn.00401620
push eax
call dword [0x443a94]
test eax, eax
je 0x4289c2
movzx ecx, word [0x44181a]
or ecx, 0xf32c5a6a
mov word [0x44181a], cx
push esi
lea ecx, [ebp - 0x14]
call fcn.00416470
mov eax, dword [0x43c4c0]
mov edx, dword [0x43c308]
xor eax, 0xb0cfa5ae
imul edx, eax
mov dword [0x43c308], edx
add dword [0x43d618], ebx
mov ecx, edi
add esi, 0x14
call fcn.004353f0
cmp esi, eax
jne 0x428940
mov ax, word [0x440f08]
mov ecx, dword [0x43d338]
cwde
or ecx, eax
or ecx, 0x681d4837
mov dword [0x43d338], ecx
lea ecx, [ebp - 0x14]
call fcn.00429540
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0042f8d0
mov ebx, 1
cmp esi, eax
je 0x428a53
mov dx, word [0x44116c]
movsx eax, dx
or eax, 0x954ff8a0
xor dword [0x43d550], eax
add word [0x44116c], bx
push esi
mov ecx, edi
call fcn.00406ff0
mov eax, dword [0x43cd68]
imul eax, eax, 0xa66288e9
lea ecx, [ebp - 0x14]
mov dword [0x43cd68], eax
add esi, 0x14
call fcn.0042f8d0
cmp esi, eax
jne 0x428a10
mov eax, dword [0x43d12c]
and eax, 0x580745aa
sub dword [0x43d6ac], eax
add dword [0x43d12c], ebx
lea ecx, [ebp - 0x14]
call fcn.0042c8b0
pop esi
pop ebx
movzx ecx, word [0x4410c4]
sub ecx, 0x53ceaf7a
mov word [0x4410c4], cx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x404d05
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jb 0x404d29
jmp 0x404d33
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404d19
mov esp, ebp
pop ebp
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x406889
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00409272
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4068aa
test byte [esp + 8], 2
je 0x4068aa
mov dword [0x415ec0], 0xd
mov dword [0x415ec4], 5
jmp 0x406885
xor eax, eax
ret

Function at 0x408b81
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40e978
cmp edx, dword [eax]
je 0x408ba3
add eax, 8
inc ecx
cmp eax, 0x40ea08
jl 0x408b94
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40e978]
jne 0x408cd1
mov eax, dword [0x415f1c]
cmp eax, 1
je 0x408cab
test eax, eax
jne 0x408bd4
cmp dword [0x40e404], 1
je 0x408cab
cmp edx, 0xfc
je 0x408cd1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x408c0b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004056a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405790
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x408c4e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405790
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40d4f4
push edi
call fcn.00406290
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004056a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004056b0
lea eax, [ebp - 0xa0]
push 0x40d4d4
push eax
call fcn.004056b0
push dword [esi + 0x40e97c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004056b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040b641
add esp, 0x2c
pop edi
jmp 0x408cd1
lea eax, [ebp + 8]
lea esi, [esi + 0x40e97c]
push 0
push eax
push dword [esi]
call fcn.00405790
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx