joyce8/EMBER2024-capa huggingface dataset:
Function at 0x613f10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
xor ebx, ebx
xor eax, eax
mov byte [eax + edi], al
inc eax
cmp eax, 0x100
jl 0x613f1d
mov byte [esp + 0x20], bl
xor ecx, ecx
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov al, byte [ecx + edi]
and esi, 0xff
mov dl, byte [esi + edx]
add dl, al
add bl, dl
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x10]
and edx, 0xff
lea ebp, [edx + edi]
mov dl, byte [edx + edi]
mov byte [ecx + edi], dl
mov byte [ebp], al
lea eax, [esi + 1]
cdq
idiv dword [esp + 0x1c]
inc ecx
cmp ecx, 0x100
mov byte [esp + 0x20], dl
jl 0x613f2e
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x615770
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], ecx
mov dword [eax + 0x54], ecx
ret
Function at 0x62fc10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x717ccb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
push 8
mov dword [esi], 0x72b520
mov dword [esi + 0x9c], edi
call fcn.0044f661
add esp, 4
mov dword [esp + 8], eax
cmp eax, edi
mov dword [esp + 0x14], edi
je 0x62fc5c
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.005df180
jmp 0x62fc5e
xor eax, eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x18], edx
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x636df0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x636e90
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x636e42
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x72b5d0]
xor eax, edx
inc esi
cmp esi, edi
jl 0x636e23
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x636e6b
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x72b5d0]
xor eax, edx
inc esi
cmp esi, edi
jl 0x636e4e
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x654720
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x65475d
push esi
call fcn.00664ae0
mov eax, dword [esi]
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x654744
xor al, al
pop esi
ret
mov al, byte [esi + 0x40]
test al, al
je 0x654756
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x6547e5
mov ecx, dword [esi + 0x1a8]
mov al, byte [ecx + 0x10]
test al, al
je 0x6547d1
mov eax, dword [esi + 8]
test eax, eax
je 0x654781
push esi
call dword [eax]
add esp, 4
mov edx, dword [esi + 0x1a8]
push esi
call dword [edx]
mov ecx, dword [esi]
add esp, 4
mov edx, dword [ecx + 8]
test edx, edx
jne 0x6547f4
test eax, eax
je 0x6547f4
cmp eax, 2
je 0x6547d1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x654774
cmp eax, 3
je 0x6547b0
cmp eax, 1
jne 0x654774
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x654774
mov edx, dword [esi + 0x128]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x654774
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
push esi
call fcn.00654800
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x6547da
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
xor al, al
pop esi
ret
Function at 0x65be50
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push ebx
push ebp
mov dword [eax], 0
mov eax, dword [ecx]
push esi
cmp eax, 8
push edi
jae 0x65be73
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
ret
mov edx, dword [esp + 0x14]
mov ecx, str.VP8X
mov esi, dword [edx]
mov edi, dword [ecx]
mov edx, dword [esi]
cmp edx, edi
jne 0x65bf6f
xor ecx, ecx
xor edx, edx
mov ch, byte [esi + 7]
mov dl, byte [esi + 5]
mov cl, byte [esi + 6]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esi + 4]
shl ecx, 8
or ecx, edx
cmp ecx, 0xa
je 0x65beb5
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
ret
cmp eax, 0x12
jae 0x65bec4
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
ret
xor eax, eax
xor ebx, ebx
mov ah, byte [esi + 0xe]
mov bh, byte [esi + 0x11]
mov al, byte [esi + 0xd]
mov bl, byte [esi + 0x10]
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 0xc]
mov dl, byte [esi + 0xf]
shl eax, 8
shl ebx, 8
or eax, ecx
or ebx, edx
inc eax
inc ebx
mov edi, eax
mov eax, ebx
cdq
mov ecx, eax
mov eax, edi
mov ebp, edx
cdq
push edx
push eax
push ebp
push ecx
call fcn.0044fa70
cmp edx, 1
jb 0x65bf14
ja 0x65bf0a
test eax, eax
jb 0x65bf14
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
ret
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x65bf3b
xor edx, edx
xor eax, eax
mov dh, byte [esi + 0xb]
mov al, byte [esi + 9]
mov dl, byte [esi + 0xa]
xor ecx, ecx
mov cl, byte [esi + 8]
shl edx, 8
or edx, eax
shl edx, 8
or edx, ecx
mov dword [ebp], edx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x65bf45
mov dword [eax], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x65bf4f
mov dword [eax], ebx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
add edx, 0x12
mov dword [eax], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
add ecx, 0xffffffee
mov dword [eax], ecx
mov dword [edx], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x65bf80
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
push ebx
mov eax, dword [eax]
push ebp
push esi
mov esi, dword [ecx]
mov ecx, dword [esp + 0x20]
push edi
mov dword [edx], 0
mov edi, 0x16
mov dword [ecx], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
cmp esi, 8
mov dword [edx], eax
mov dword [ecx], esi
jb 0x65c026
xor edx, edx
xor ecx, ecx
mov dh, byte [eax + 7]
mov cl, byte [eax + 5]
mov dl, byte [eax + 6]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 4]
shl edx, 8
or edx, ecx
cmp edx, 0xfffffff6
ja 0x65c030
lea ecx, [edx + 9]
and ecx, 0xfffffffe
add edi, ecx
test ebp, ebp
jbe 0x65bfef
cmp edi, ebp
ja 0x65c030
mov ebp, dword [eax]
mov ebx, str.VP8
cmp ebp, dword [ebx]
je 0x65c03a
mov ebx, str.VP8L
cmp ebp, dword [ebx]
je 0x65c03a
cmp esi, ecx
jb 0x65c026
mov ebx, str.ALPH
cmp ebp, dword [ebx]
jne 0x65c020
mov ebp, dword [esp + 0x20]
lea ebx, [eax + 8]
mov dword [ebp], ebx
mov ebx, dword [esp + 0x24]
mov dword [ebx], edx
add eax, ecx
sub esi, ecx
jmp 0x65bfa9
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x65ea80
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
cmp eax, 0x9ac6cdd7
jne 0x65eac2
mov dword [esp + 8], eax
lea ecx, [esi + 2]
mov edx, 9
xor ax, word [ecx]
add ecx, 2
dec edx
jne 0x65ea9a
cmp ax, word [esi + 0x14]
jne 0x65eac2
mov si, word [esi + 0xe]
test si, si
jbe 0x65eac2
cmp si, 0x9ec
ja 0x65eac2
mov eax, 1
pop esi
ret 4
xor eax, eax
pop esi
ret 4

Function at 0x65efe0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xfc]
mov dword [esi], 0x73bf88
test eax, eax
je 0x65f020
push eax
mov byte [esi + 0x113], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 0xfc]
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0xfc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0xf4]
test eax, eax
je 0x65f033
push eax
call fcn.004508e8
add esp, 4
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x65f046
push eax
call fcn.004508e8
add esp, 4
mov ecx, dword [esi + 0xec]
lea eax, [esi + 0xec]
test ecx, ecx
je 0x65f05f
push eax
call fcn.00689cd0
add esp, 4
mov ecx, esi
mov dword [esi], 0x73a4f0
call fcn.0065cc40
mov ecx, esi
call fcn.0065cb90
pop esi
ret
Function at 0x6707a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
test eax, eax
je 0x670845
mov eax, dword [esp + 0x14]
mov ecx, 0x7e14ac
imul eax, eax, 0x2e90edd
inc eax
mov dword [ecx], eax
add ecx, 4
cmp ecx, 0x7e14bc
jb 0x6707b6
mov eax, dword [0x7e14b4]
mov esi, dword [0x7e14ac]
mov ecx, dword [0x7e14b8]
xor eax, esi
shr eax, 0x1f
lea edx, [ecx + ecx]
or eax, edx
mov dword [0x7e14b8], eax
mov eax, 0x7e14b0
mov ecx, dword [eax - 4]
mov edx, dword [eax + 4]
mov esi, dword [eax]
xor ecx, edx
mov edx, dword [eax + 8]
add eax, 4
xor edx, esi
shl ecx, 1
shr edx, 0x1f
or ecx, edx
cmp eax, 0x7e169c
mov dword [eax + 8], ecx
jb 0x6707ef
mov esi, dword [sym.imp.WS2_32.dll_htonl]
xor ecx, ecx
mov dword [0x7dd458], ecx
mov eax, dword [ecx*4 + 0x7e14ac]
push eax
call esi
mov ecx, dword [0x7dd458]
mov dword [ecx*4 + 0x7e14ac], eax
inc ecx
cmp ecx, 0x7f
mov dword [0x7dd458], ecx
jb 0x670820
jmp 0x67084b
mov ecx, dword [0x7dd458]
mov eax, dword [esp + 0xc]
mov edx, eax
dec eax
test edx, edx
je 0x6708a2
mov edx, dword [esp + 8]
push ebx
push edi
lea esi, [eax + 1]
lea eax, [ecx - 0x3f]
lea edi, [ecx + 1]
and eax, 0x7f
and edi, 0x7f
and ecx, 0x7f
add edx, 4
mov eax, dword [eax*4 + 0x7e14ac]
mov ebx, dword [edi*4 + 0x7e14ac]
xor eax, ebx
mov dword [ecx*4 + 0x7e14ac], eax
mov ecx, dword [edx - 4]
xor ecx, eax
mov dword [edx - 4], ecx
mov ecx, dword [0x7dd458]
inc ecx
dec esi
mov dword [0x7dd458], ecx
jne 0x67085f
pop edi
pop ebx
pop esi
ret
Function at 0x67a420
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
xor ebp, ebp
mov edx, dword [esi + 4]
mov ax, word [esi + 0x6274]
mov ecx, dword [esi]
push ebp
push edi
push edx
mov dword [esp + 0x18], ebp
mov word [esp + 0x24], ax
call dword [ecx + 8]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push ecx
call dword [eax + 0x1c]
add esp, 0x10
test eax, eax
jne 0x67a62f
mov eax, dword [esi + 4]
mov edx, dword [esi]
push eax
call dword [edx + 0x1c]
add esp, 4
sub eax, 0x4d
jne 0x67a62f
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
call dword [ecx + 0x1c]
add esp, 4
sub eax, 0x52
jne 0x67a62f
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push ecx
call dword [eax + 0x1c]
mov edx, eax
push esi
shl edx, 8
add edx, eax
mov word [esi + 0x6274], dx
call fcn.00667cd0
mov ecx, dword [esi + 4]
lea edi, [eax + edi + 8]
mov eax, dword [esi]
push ecx
mov dword [esp + 0x30], edi
call dword [eax + 0x18]
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x20], eax
jge 0x67a610
push ebx
xor edi, edi
mov ebx, 4
mov eax, dword [esi + 4]
mov edx, dword [esi]
push eax
call dword [edx + 0x1c]
shl edi, 8
add esp, 4
or edi, eax
dec ebx
jne 0x67a4ce
push esi
call fcn.00667cd0
add esp, 4
cmp edi, 0x505244
mov dword [esp + 0x18], eax
je 0x67a5ad
cmp edi, 0x545457
je 0x67a58e
cmp edi, 0x574247
jne 0x67a5db
push esi
call fcn.00667cd0
add esp, 4
mov edi, str.DiMAGE_A200
lea eax, [esi + 0x64c5]
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x67a54f
test cl, cl
je 0x67a54b
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x67a54f
add eax, 2
add edi, 2
test cl, cl
jne 0x67a527
xor eax, eax
jmp 0x67a554
sbb eax, eax
sbb eax, 0xffffffff
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
xor edi, edi
mov ebx, eax
push esi
call fcn.00667c30
and eax, 0xffff
add esp, 4
mov dword [esp + 0x14], eax
mov eax, edi
fild dword [esp + 0x14]
sar eax, 1
xor eax, edi
xor eax, ebx
inc edi
cmp edi, 4
fstp dword [esi + eax*4 + 0xe774]
jl 0x67a561
jmp 0x67a5db
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
call dword [ecx + 0x18]
push eax
push esi
call fcn.00679e00
mov eax, dword [esp + 0x34]
add esp, 0xc
mov dword [esi + 0x65bc], eax
jmp 0x67a5db
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push 1
push 8
push edx
call dword [ecx + 8]
push esi
call fcn.00667c30
mov bp, ax
push esi
and ebp, 0xffff
call fcn.00667c30
add esp, 0x14
and eax, 0xffff
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
push 0
lea ecx, [edx + ecx + 8]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push ecx
call dword [eax + 0x18]
mov ecx, dword [esp + 0x38]
add esp, 0x10
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x67a4c7
pop ebx
mov dx, word [esp + 0xc]
mov ax, word [esp + 0x18]
mov word [esi + 0x66ac], bp
mov word [esi + 0x66ae], dx
mov word [esi + 0x6274], ax
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x67bb20
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push 0
push ecx
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
call dword [eax + 8]
push esi
call fcn.00667cd0
add esp, 0x10
cmp eax, 0xff
ja 0x67bc74
mov ecx, eax
dec eax
test ecx, ecx
je 0x67bc5c
push ebx
inc eax
push ebp
push edi
mov dword [esp + 0x14], eax
push esi
call fcn.00667c30
mov di, ax
push esi
and edi, 0xffff
call fcn.00667c30
mov edx, dword [esi]
mov bx, ax
mov eax, dword [esi + 4]
and ebx, 0xffff
push eax
call dword [edx + 0x18]
add esp, 0xc
cmp edi, 0x100
mov ebp, eax
jne 0x67bbb2
push esi
call fcn.00667c30
push esi
mov word [esi + 0x66ac], ax
call fcn.00667c30
add esp, 8
mov word [esi + 0x66ae], ax
jmp 0x67bc39
cmp edi, 0x121
jne 0x67bbe8
push esi
call fcn.00667c30
push esi
mov word [esi + 0x66b0], ax
call fcn.00667c30
add esp, 8
cmp ax, 0x10bc
mov word [esi + 0x66b2], ax
jne 0x67bc39
mov word [esi + 0x66b2], 0x10bf
jmp 0x67bc39
cmp edi, 0x130
jne 0x67bc07
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push edx
call dword [ecx + 0x1c]
add esp, 4
sar eax, 7
mov dword [esi + 0x65e0], eax
jmp 0x67bc39
cmp edi, 0x2ff0
jne 0x67bc39
xor edi, edi
push esi
call fcn.00667c30
and eax, 0xffff
add esp, 4
mov dword [esp + 0x18], eax
mov eax, edi
fild dword [esp + 0x18]
xor eax, 1
inc edi
cmp edi, 4
fstp dword [esi + eax*4 + 0xe774]
jb 0x67bc11
mov edx, dword [esi + 4]
mov ecx, dword [esi]
add ebp, ebx
push 0
push ebp
push edx
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
add esp, 0xc
dec eax
mov dword [esp + 0x14], eax
jne 0x67bb5c
pop edi
pop ebp
pop ebx
mov ax, word [esi + 0x65e0]
mov cx, ax
shl word [esi + 0x66b0], cl
shr word [esi + 0x66b2], cl
pop esi
ret
Function at 0x6f0230
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
mov al, byte [edi + 0xe34]
test al, al
jne 0x6f024d
push edi
call fcn.006f0290
add esp, 4
mov ecx, dword [esp + 0x18]
xor eax, eax
test ecx, ecx
jle 0x6f0284
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
xor edx, edx
mov ebx, esi
mov dl, byte [eax + ebp]
and ebx, 0xff
xor edx, ebx
shr esi, 8
mov edx, dword [edi + edx*4 + 0xa34]
xor esi, edx
inc eax
cmp eax, ecx
jl 0x6f025d
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
ret
mov eax, esi
pop edi
pop esi
ret

Function at 0x6f0290
Capabilities:
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
xor ecx, ecx
lea edx, [edi + 0xa34]
mov eax, ecx
mov esi, 8
test al, 1
je 0x6f02b2
shr eax, 1
xor eax, 0xedb88320
jmp 0x6f02b4
shr eax, 1
dec esi
jne 0x6f02a5
mov dword [edx], eax
inc ecx
add edx, 4
cmp ecx, 0x100
jl 0x6f029e
mov byte [edi + 0xe34], 1
pop edi
pop esi
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x6fc051
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00451388
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x6fc074
test byte [esp + 8], 2
je 0x6fc074
call fcn.004513fb
mov dword [eax], 0xd
call fcn.00451404
mov dword [eax], 5
jmp 0x6fc04d
xor eax, eax
ret

Function at 0x7087d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov eax, dword [esp + 0x10]
mov ebp, esp
push esi
push edi
mov esi, dword [ebp + 0xc]
shr esi, 2
mov edx, dword [ebp + 8]
mov ecx, esi
dec esi
test ecx, ecx
jle 0x708819
movzx edi, byte [edx]
inc edx
movzx ecx, byte [edx]
shl ecx, 8
inc edx
or edi, ecx
movzx ecx, byte [edx]
shl ecx, 0x10
inc edx
or edi, ecx
movzx ecx, byte [edx]
shl ecx, 0x18
inc edx
or edi, ecx
mov ecx, esi
xor eax, edi
dec esi
test ecx, ecx
jg 0x7087f1
xor esi, esi
mov ecx, dword [ebp + 0xc]
and ecx, 3
cmp ecx, 1
je 0x708840
cmp ecx, 2
je 0x708837
cmp ecx, 3
jne 0x708845
movzx esi, byte [edx]
shl esi, 0x10
inc edx
movzx ecx, byte [edx]
shl ecx, 8
inc edx
or esi, ecx
movzx ecx, byte [edx]
or esi, ecx
xor eax, esi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x412722
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [0x4186e0], 0
push ebx
push esi
mov esi, 0x4186e8
jne 0x41274e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
mov dword [0x418700], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4186e0], 1
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
jne 0x4127eb
push 0x14
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x412815
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4186e4]
test eax, eax
je 0x412790
mov dword [eax], ebx
push edi
push esi
mov dword [ebx + 4], eax
mov dword [0x4186e4], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edi, [ebx + 0x10]
push 0
push 0
push 0x100000
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 8
push 0xffffffffffffffff
push ebx
push 0x41281a
push dword [edi]
lea eax, [ebx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push ebx
push dword [0x418700]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
push 0xc
push 0
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x412815
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
mov dword [ebx + 8], eax
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x1f634b15
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x1fe37314
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40c0d0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x424f7c]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x40c0ef
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x424f78], 1
mov byte [0x424f74], bl
jne 0x40c149
mov ecx, dword [0x426878]
test ecx, ecx
je 0x40c137
mov esi, dword [0x426864]
sub esi, 4
cmp esi, ecx
jb 0x40c137
mov eax, dword [esi]
test eax, eax
je 0x40c130
call eax
mov ecx, dword [0x426878]
sub esi, 4
cmp esi, ecx
jae 0x40c122
push 0x41e71c
push 0x41e514
call fcn.0040c180
add esp, 8
push 0x41e924
push 0x41e820
call fcn.0040c180
add esp, 8
test ebx, ebx
jne 0x40c170
push ebp
mov dword [0x424f7c], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret
Function at 0x411490
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x4254fc]
sub esp, 0x41c
cmp eax, ecx
push ebx
push ebp
push esi
push edi
jae 0x41163d
mov ecx, eax
mov esi, eax
sar ecx, 5
and esi, 0x1f
mov edx, dword [ecx*4 + 0x4253c0]
lea edi, [ecx*4 + 0x4253c0]
shl esi, 3
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], esi
mov cl, byte [esi + edx + 4]
test cl, 1
je 0x41163d
mov ebx, dword [esp + 0x438]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
jne 0x4114fe
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
test cl, 0x20
je 0x41150f
push 2
push ebp
push eax
call fcn.0040cfa0
add esp, 0xc
mov eax, dword [edi]
add eax, esi
test byte [eax + 4], 0x80
je 0x41166e
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x18], 0
test ebx, ebx
mov edi, ebp
jbe 0x4115b9
lea eax, [esp + 0x28]
mov ecx, edi
sub ecx, ebp
cmp ecx, ebx
jae 0x41156a
mov cl, byte [edi]
inc edi
cmp cl, 0xa
jne 0x411557
mov esi, dword [esp + 0x20]
mov byte [eax], 0xd
inc esi
inc eax
mov dword [esp + 0x20], esi
mov byte [eax], cl
inc eax
mov edx, eax
lea ecx, [esp + 0x28]
sub edx, ecx
cmp edx, 0x400
jl 0x41153a
mov esi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
sub esi, edx
mov edx, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push esi
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41165f
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, eax
cmp eax, esi
mov dword [esp + 0x10], edx
jl 0x4115b5
mov eax, edi
sub eax, ebp
cmp eax, ebx
jb 0x411536
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41162e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x411602
cmp eax, 5
jne 0x4115eb
mov dword [0x424f38], eax
mov dword [0x424f34], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push eax
call fcn.004129d0
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
test byte [esi + edx + 4], 0x40
je 0x411622
cmp byte [ebp], 0x1a
jne 0x411622
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x424f34], 0x1c
jmp 0x411647
sub eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x424f34], 9
pop edi
pop esi
pop ebp
mov dword [0x424f38], 0
or eax, 0xffffffff
pop ebx
add esp, 0x41c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x4115b5
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x438]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41169f
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x4115b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x4115b9