joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461ab0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x474158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.00462630
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x4774bc]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [0x477530]
test eax, eax
je 0x461b59
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00461740
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x4774fc]
push edi
lea ecx, [esp + 0x4c]
call 0x49f01b
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.00471020
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x4770bc]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x477558]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x4774f0]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call 0x49f08d
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0x46c0d5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0xb4]
mov ebp, dword [esi + 0x94]
push edi
add ebp, 9
mov cx, word [eax]
add eax, 2
mov dword [esi + 0x60], ecx
mov dword [esi + 0xb4], eax
mov dx, word [eax]
add eax, 2
xor ecx, ecx
mov dword [esi + 0x5c], edx
mov dword [esi + 0xb4], eax
mov cx, word [eax]
mov edx, ecx
add eax, 2
dec edx
mov dword [esi + 0x54], ecx
or edx, 3
mov dword [esi + 0xb4], eax
add eax, 2
lea ecx, [edx + 1]
xor edx, edx
mov dword [esi + 0x6c], ecx
mov dx, word [eax - 2]
mov dword [esi + 0x58], edx
mov dword [esi + 0xb4], eax
mov dl, byte [eax]
inc eax
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0x58]
imul eax, ecx
mov dword [esi + 0x98], eax
add eax, 0x6428
push eax
mov byte [esi + 0x3d], dl
mov dword [esi + 0x94], ebp
call 0x4983b7
mov edx, dword [esi + 0x98]
mov edi, eax
add esp, 4
mov dword [esp + 0x24], edi
lea eax, [edi + 0x28]
lea ecx, [eax + 0x400]
mov dword [esi + 0xac], ecx
add ecx, edx
mov dword [esp + 0x30], ecx
add ecx, 2
mov edx, 0x1000
xor ebx, ebx
mov word [ecx + 2], bx
mov word [ecx], bx
add ecx, 6
dec edx
jne 0x46c190
mov dword [edi], 0x28
mov ecx, dword [esi + 0x54]
mov dword [edi + 4], ecx
mov edx, dword [esi + 0x58]
neg edx
mov ecx, 0x100
mov dword [edi + 8], edx
mov word [edi + 0xc], 1
mov dword [edi + 0xc], 0xc7660001
inc edi
push cs
or byte [eax], al
Function at 0x46ca46
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x8bf05eb
add byte [eax], al
add byte [ebx + 0x568b6c4e], cl
js 0x46ca64
scasd eax, dword es:[edi]
dec esi
push 0x968bca03
lodsb al, byte [esi]
add byte [eax], al
add byte [eax + 0x568b0a1c], cl
push esi
js 0x46caa9
or ah, byte [esi - 0x7b]
ror byte [edi], 0x84
mov edi, 0x33000000
leave

Function at 0x471680
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x474c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x477558]
push 0
lea ecx, [esp + 0x20]
call 0x49f01b
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax

Function at 0x4716c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00471020
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call 0x49ef49
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call 0x49b807
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call 0x49b807
push 1
push 0
push 0
mov ecx, esi
call 0x49b7af
push 1
push 0
push 1
mov ecx, esi
call 0x49b7af
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call 0x49f08d
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x471800
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x474c88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call 0x49f01b
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00471020
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call 0x49ef49
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x477558]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4718c4
cmp dword [esp + 0x40], 1
jne 0x4718c2
cmp ecx, eax
jge 0x4718c4
mov eax, ecx
cmp eax, 0xc8
jge 0x4718d0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00471680
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x477554]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call 0x49f08d
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8

Function at 0x472040
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x474cf3
add byte [ecx], ah
add byte [eax], al
add byte [eax + 0x64], dl
mov dword [0], esp

Function at 0x4726db
Capabilities:
Access peb ldr_data

Disassembly:
add byte [ebx + 0x74ff85f8], cl
adc eax, 0x90e8ce8b
mov byte [0x578b0002], al
sbb al, 0x8d
dec esp
and al, 0x10
push ecx
push eax
push 0x4e
push edx
call ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call 0x498676
pop edi
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x10
push eax
call ebx
mov ecx, dword [esp + 0x24]
and al, 0x24
Function at 0x474b80
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x474bb3
push esi
call 0x477c80
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x474bac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x474c39
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x474c22
mov eax, dword [esi + 8]
test eax, eax
je 0x474bd7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x474c1e
cmp eax, 2
je 0x474c22
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x474bca
cmp eax, 3
je 0x474bfd
cmp eax, 1
jne 0x474bca
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 0x474bca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x474bca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00474c60
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x474c48
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00474c60
add esp, 4
pop esi
ret
Function at 0x402c76
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4141c4], 0
jne 0x402c84
call fcn.00402c4c
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x402cb1
test cl, 7
je 0x402cb1
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
dec esi
inc ecx
jmp 0x402c92
cmp esi, 8
jb 0x402d35
mov edi, esi
shr edi, 3
xor eax, dword [ecx]
add ecx, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
sub esi, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
mov edx, eax
movzx eax, dl
mov eax, dword [eax*4 + 0x4141c0]
xor eax, dword [ecx - 4]
shr edx, 8
xor eax, edx
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
dec edi
jne 0x402cbb
xor edx, edx
test esi, esi
jbe 0x402d55
push ebx
movzx edi, byte [edx + ecx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4141c0]
inc edx
cmp edx, esi
jb 0x402d3c
pop ebx
pop edi
pop esi
ret 0xc

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

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x40da01
push esi
push edi
jmp 0x40d9e0
movzx esi, byte [edx]
movzx esi, byte [esi + 0x10088f78]
lea edi, [eax*8]
xor esi, edi
sub ecx, 1
xor eax, esi
add edx, 1
test ecx, ecx
jg 0x40d9e0
pop edi
pop esi
ret

Function at 0x40db7c
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x40db47
nop
movzx ebx, byte [esi]
movzx ebx, byte [ebx + 0x10088f78]
lea ebp, [eax*8]
xor ebx, ebp
sub edx, 1
xor eax, ebx
add esi, 1
test edx, edx
jg 0x40db20
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
and al, 0x14
and al, 0x14
xor edx, edx
div ebx
lea eax, [ebp + edx*8]
test eax, eax
je 0x40db90
mov esi, dword [eax]
test esi, esi
je 0x40db64
mov edx, dword [eax + 4]
jmp 0x40db66
xor edx, edx
add esi, 1
test edx, edx
mov dword [eax], esi
mov dword [eax + 4], ecx
je 0x40db90
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
add al, 0x85
invalid
je 0x40db88
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x40dba9
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x40dba9
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x40db9f
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x40db13
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x43b641
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43b3c1
pop ebx
or edi, esi
call fcn.0043b675
add esi, esi
mov esi, esi
xor dword [edx], ebx
mov esi, edi
add esi, 0xe87ccf72
dec edi
inc edx
sub edi, edi
or edi, edi
add edi, edi
cmp edx, eax
jne fcn.0043b641
mov esi, 0x7016b188
ret
Function at 0x55c6b9
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0055c738
jae 0x55c6c5
xor ecx, ecx
call fcn.0055c738
jae 0x55c6ef
xor eax, eax
call fcn.0055c738
jae 0x55c700
mov al, 0x10
call fcn.0055c738
adc al, al
jae 0x55c6e1
jne 0x55c72d
stosb byte es:[edi], al
jmp 0x55c6c6
call fcn.0055c744
dec ecx
loop 0x55c70c
mov eax, ebp
call fcn.0055c742
jmp 0x55c72e
lodsb al, byte [esi]
shr eax, 1
je 0x55c754
adc ecx, 2
mov ebp, eax
jmp 0x55c72e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0055c742
cmp eax, 0x7d00
jae 0x55c72c
cmp eax, 0x500
jae 0x55c72d
cmp eax, 0x7f
ja 0x55c72e
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x55c6c6
pop ebp
ret 8
Function at 0x41b3da
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x41b400
jmp 0x41b516
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
jne 0x41b420
jmp 0x41b516
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov al, byte [ebp - 4]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0041f9a4
add esp, 4
mov dword [0x42a0a0], 0
mov dword [ebp - 0x420], 0x646c6f47
mov dword [ebp - 0x41c], 0x6f736e65
mov byte [ebp - 0x418], 0x66
mov dword [ebp - 0x20], 0
jmp 0x41b46d
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 9
jge 0x41b48d
mov eax, dword [ebp - 0x20]
movsx eax, byte [eax + ebp - 0x420]
xor al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + ebp - 0x420], al
jmp 0x41b46a
mov al, byte [ebp - 0x1c]
mov byte [ebp - 0x417], al
push 0xa
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll__lread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41b4f5
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0041f547
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
jmp 0x41b4a9
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41b77c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
nop
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x41b855
mov dword [ebp - 0x14], 0
jmp 0x41b7e0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1e
jge 0x41b855
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
cmp dword [eax*4 + 0x42a0a4], ecx
jne 0x41b853
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx*4 + 0x42a1b2]
cmp dword [eax*4 + 0x42a13a], ecx
jb 0x41b842
mov eax, dword [ebp - 0xc]
cmp dword [0x42a0a0], eax
je 0x41b830
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x42a11c]
push eax
call fcn.0041f9a4
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x42a0a0], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0041f4fb
add esp, 8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add dword [ecx*4 + 0x42a13a], eax
jmp 0x41b855
jmp 0x41b7dd
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x10]
leave
ret 0x14

Function at 0x41b866
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
jmp 0x41b8ae
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1e
jge 0x41b903
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
cmp dword [eax*4 + 0x42a0a4], ecx
jne 0x41b901
mov eax, dword [ebp - 8]
cmp dword [0x42a0a0], eax
je 0x41b8e8
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x42a11c]
push eax
call fcn.0041f9a4
add esp, 4
mov eax, dword [ebp - 8]
mov dword [0x42a0a0], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0041f547
add esp, 8
mov dword [ebp - 0xc], 1
jmp 0x41b903
jmp 0x41b8ab
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x41b931
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0041f4fb
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x10]
leave
ret 0x14
Function at 0x41f5db
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 8], 0xffffffff
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], eax
push 0
push 0
push 0x1e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0xc], 0
jmp 0x41f61a
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jge 0x41f6f0
push 0
lea eax, [ebp - 0x14]
push eax
push 0xa
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
mov al, byte [ebp - 0x20]
cmp eax, 0x54
jne 0x41f6eb
xor eax, eax
mov al, byte [ebp - 0x1f]
cmp eax, 0x44
je 0x41f66a
xor eax, eax
mov al, byte [ebp - 0x1f]
cmp eax, 0x64
je 0x41f66a
xor eax, eax
mov al, byte [ebp - 0x1f]
cmp eax, 0x53
jne 0x41f6eb
mov al, byte [ebp - 0x17]
mov ecx, dword [ebp + 0x10]
mov byte [ecx], al
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
push eax
call fcn.0041f9a4
add esp, 4
xor eax, eax
mov al, byte [ebp - 0x1f]
cmp eax, 0x64
jne 0x41f6bd
mov dword [0x42a2ce], 1
mov dword [ebp - 0x10], 0
jmp 0x41f6a0
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 7
jge 0x41f6bb
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax + ebp - 0x1e]
xor cl, byte [ebp - 0x17]
mov eax, dword [ebp - 0x10]
mov byte [eax + ebp - 0x1e], cl
jmp 0x41f69d
jmp 0x41f6c7
mov dword [0x42a2ce], 0
mov eax, dword [ebp - 0x1e]
xor eax, 0x19611225
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1a]
xor eax, 0x198931
and eax, 0xffffff
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx]
mov dword [ebp - 8], eax
jmp 0x41f6f0
jmp 0x41f617
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 8]
jmp 0x41f707
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41f831
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 4], 0xffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 0xa
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], 0
jmp 0x41f863
inc dword [ebp - 8]
cmp dword [ebp - 8], 9
jge 0x41f87e
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + ebp - 0x18]
xor cl, byte [ebp - 0xf]
mov eax, dword [ebp - 8]
mov byte [eax + ebp - 0x18], cl
jmp 0x41f860
cmp dword [ebp - 0x18], 0x646c6f47
jne 0x41f8c8
cmp dword [ebp - 0x14], 0x6f736e65
jne 0x41f8c8
xor eax, eax
mov al, byte [ebp - 0x10]
cmp eax, 0x66
jne 0x41f8c8
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp + 0x10]
mov byte [ecx], al
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
push eax
call fcn.0041f9a4
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x41f8bf
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [ebp - 4], 0xa
jmp 0x41f8d8
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 4]
jmp 0x41f8dd
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41fc2a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.0041f2fc
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.0041f384
add esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0041fe5c
add esp, 8
cmp eax, 0xffffffff
je 0x41fc8f
mov dword [ebp - 0x14], 1
jmp 0x41fc96
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 2
jne 0x41fcc6
cmp dword [ebp - 8], 0
je 0x41fcc6
cmp dword [ebp - 0x14], 0
je 0x41fcc6
push 0x42a638
mov eax, dword [ebp - 4]
push eax
call fcn.0041fcd7
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 8]
leave
ret 4

Function at 0x41feaa
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], eax
push 2
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x41ff7f
cmp dword [ebp - 8], 0
jne 0x41ff7f
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov al, byte [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
push eax
call fcn.0041f9a4
add esp, 4
mov dword [ebp - 0x41c], 0x646c6f47
mov dword [ebp - 0x418], 0x6f736e65
mov byte [ebp - 0x414], 0x66
mov dword [ebp - 0x1c], 0
jmp 0x41ff37
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 9
jge 0x41ff59
mov eax, dword [ebp - 0x1c]
movsx eax, byte [eax + ebp - 0x41c]
mov ecx, dword [ebp + 0xc]
xor al, byte [ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + ebp - 0x41c], al
jmp 0x41ff34
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
mov byte [ebp - 0x413], al
push 0
lea eax, [ebp - 0x1c]
push eax
push 0xa
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x41ff91
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop edi
pop esi
pop ebx
leave
ret