joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422c82
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x422d1f
push ebx
push esi
call fcn.00422c4b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00421a2c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x422ccc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x422d1e
push edi
push eax
call fcn.0041d3e9
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x422cec
call fcn.0041c3a9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x422d1d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00421a2c
add esp, 0x20
test eax, eax
jne 0x422d0b
push edi
call fcn.0041c3a9
jmp 0x422d13
push ebx
call fcn.0041c3a9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x42a050
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42a07d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42a07d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42b646
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42b6c6
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42b6c5
push ebx
mov ebx, 0x485d60
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.004014fb
push eax
call fcn.00402b55
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.004014fb
push eax
call fcn.00402b55
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x42c5d8
mov byte [edi + esi], al
call fcn.0041219e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x42b668
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00406338
pop edi
pop ebp
ret 0x14
Function at 0x405ec7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42c2c4], 0
jne 0x405f05
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405edb
mov dword [ecx*4 + 0x42c2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x405ed6
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x405f32
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42c2c0]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x405f13
not eax
pop ebp
ret 0xc

Function at 0x4bb321
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3398
cmp edx, dword [eax]
je 0x4bb343
add eax, 8
inc ecx
cmp eax, 0x4c3428
jl 0x4bb334
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3398]
jne 0x4bb471
mov eax, dword [0x4c7d24]
cmp eax, 1
je 0x4bb44b
test eax, eax
jne 0x4bb374
cmp dword [0x4c32c4], 1
je 0x4bb44b
cmp edx, 0xfc
je 0x4bb471
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb3ab
lea eax, [ebp - 0x1a4]
push 0x4c0830
push eax
call fcn.004bbd00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc190
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb3ee
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc190
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c082c
push edi
call fcn.004be060
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c0810
push eax
call fcn.004bbd00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bbd10
lea eax, [ebp - 0xa0]
push 0x4c080c
push eax
call fcn.004bbd10
push dword [esi + 0x4c339c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bbd10
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c07e4
push eax
call fcn.004bdfd4
add esp, 0x2c
pop edi
jmp 0x4bb471
lea eax, [ebp + 8]
lea esi, [esi + 0x4c339c]
push 0
push eax
push dword [esi]
call fcn.004bc190
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 0x10003d10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0xbe
mov dword [ebp - 4], 0
jmp 0x10003d32
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x10
jge 0x10003d71
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx - 0x666dae97]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x10003d6c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x10003d29
mov eax, 1
shl eax, 4
mov ecx, dword [ebp - 0xc]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10003d90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0xe0
mov dword [ebp - 4], 0
jmp 0x10003db2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x10003df1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x604e8c40]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x10003dec
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x10003da9
mov eax, 1
shl eax, 3
mov ecx, dword [ebp - 0xc]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x10004790
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10077fd0
push 0x10040ec0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffe8
push ebx
push esi
push edi
mov eax, dword [0x1007e274]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x28
mov ecx, dword [ebp + 8]
push ecx
call dword [0x1007f558]
test eax, eax
jge 0x100047f1
mov byte [ebp - 0x19], 0
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x19]
jmp 0x1000487a
lea edx, [ebp - 0x28]
push edx
push 0x10065670
push 0
call dword [0x1006502c]
test eax, eax
jne 0x10004820
mov eax, dword [ebp - 0x20]
push eax
call dword [0x100651c4]
mov byte [ebp - 0x1a], 0
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x1a]
jmp 0x1000487a
push 4
lea ecx, [ebp - 0x28]
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
call fcn.10005d30
add esp, 0x10
movzx eax, al
test eax, eax
je 0x10004855
mov ecx, dword [ebp - 0x20]
push ecx
call dword [0x100651c4]
mov byte [ebp - 0x1b], 1
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x1b]
jmp 0x1000487a
mov edx, dword [ebp - 0x20]
push edx
call dword [0x100651c4]
mov dword [ebp - 4], 0xfffffffe
jmp 0x10004878
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005170
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x28
push 0xffffffffffffffff
call dword [0x10065048]
test eax, eax
jne 0x10005191
xor al, al
jmp 0x100051d5
push 2
push 0x100654d0
mov ecx, dword [ebp - 4]
push ecx
call fcn.10004580
add esp, 0xc
movzx edx, al
test edx, edx
je 0x100051c5
push 2
push 0x100654e4
mov eax, dword [ebp - 4]
push eax
call fcn.10004580
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x100051c9
xor al, al
jmp 0x100051d5
mov edx, dword [ebp - 4]
push edx
call dword [0x100651c4]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x10005c40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1007e274]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x40], 0xc20
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x401fffff
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0x13], 0x55
mov byte [ebp - 0x12], 0x52
mov byte [ebp - 0x11], 0x52
mov byte [ebp - 0x10], 0x45
mov byte [ebp - 0xf], 0x4e
mov byte [ebp - 0xe], 0x54
mov byte [ebp - 0xd], 0x5f
mov byte [ebp - 0xc], 0x55
mov byte [ebp - 0xb], 0x53
mov byte [ebp - 0xa], 0x45
mov byte [ebp - 9], 0x52
mov byte [ebp - 8], 0
push 0
push 3
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x40]
push eax
call dword [0x1006501c]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push 0
lea edx, [ebp - 0x40]
push edx
push 1
call dword [0x10065024]
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
push 0x20000004
push 6
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x10065020]
mov edx, dword [ebp - 0x18]
push edx
call dword [0x1006519c]
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x100651c4]
push 0x100
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x100651b4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003eb3c
mov esp, ebp
pop ebp
ret

Function at 0x100083c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 6
mov dword [ebp - 4], 0
jmp 0x100083e2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 9
jge 0x10008421
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx - 0x64316fc3]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x1000841c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x100083d9
mov eax, 1
imul ecx, eax, 9
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061fab
mov eax, dword fs:[0]
push eax
sub esp, 0xdc8
mov eax, dword [0x1007e274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x1c], 0x73
mov byte [ebp - 0x1b], 0x79
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x32
mov byte [ebp - 0x15], 0x2e
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0x78
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0
lea eax, [ebp + 0xc]
mov dword [ebp - 0xd1c], eax
mov ecx, dword [ebp - 0xd1c]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xcf4]
push eax
call dword [0x100652f4]
mov dword [ebp - 0xd1c], 0
push 0
call fcn.1000f7d0
add esp, 4
mov dword [ebp - 0xd24], eax
mov dword [ebp - 0xd20], edx
lea ecx, [ebp - 0xd24]
push ecx
call fcn.1000f730
add esp, 4
mov ecx, 9
mov esi, eax
lea edi, [ebp - 0xd18]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x40], 0x25
mov byte [ebp - 0x3f], 0x30
mov byte [ebp - 0x3e], 0x32
mov byte [ebp - 0x3d], 0x64
mov byte [ebp - 0x3c], 0x3a
mov byte [ebp - 0x3b], 0x25
mov byte [ebp - 0x3a], 0x30
mov byte [ebp - 0x39], 0x32
mov byte [ebp - 0x38], 0x64
mov byte [ebp - 0x37], 0x3a
mov byte [ebp - 0x36], 0x25
mov byte [ebp - 0x35], 0x30
mov byte [ebp - 0x34], 0x32
mov byte [ebp - 0x33], 0x64
mov byte [ebp - 0x32], 0x20
mov byte [ebp - 0x31], 0x2d
mov byte [ebp - 0x30], 0x20
mov byte [ebp - 0x2f], 0x25
mov byte [ebp - 0x2e], 0x30
mov byte [ebp - 0x2d], 0x32
mov byte [ebp - 0x2c], 0x64
mov byte [ebp - 0x2b], 0x3a
mov byte [ebp - 0x2a], 0x25
mov byte [ebp - 0x29], 0x30
mov byte [ebp - 0x28], 0x32
mov byte [ebp - 0x27], 0x64
mov byte [ebp - 0x26], 0x3a
mov byte [ebp - 0x25], 0x25
mov byte [ebp - 0x24], 0x64
mov byte [ebp - 0x23], 0x20
mov byte [ebp - 0x22], 0x3a
mov byte [ebp - 0x21], 0x3a
mov byte [ebp - 0x20], 0x20
mov byte [ebp - 0x1f], 0
mov edx, dword [ebp - 0xd04]
add edx, 0x76c
push edx
mov eax, dword [ebp - 0xd08]
add eax, 1
push eax
mov ecx, dword [ebp - 0xd0c]
push ecx
mov edx, dword [ebp - 0xd18]
push edx
mov eax, dword [ebp - 0xd14]
push eax
mov ecx, dword [ebp - 0xd10]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x524]
push eax
call fcn.1000f750
add esp, 0x20
push 1
push 0x40
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0xdd4]
call fcn.10008790
mov dword [ebp - 4], 0
push 0x10007f10
push 0xa
lea edx, [ebp - 0xcf4]
push edx
lea eax, [ebp - 0x524]
push eax
lea ecx, [ebp - 0xdd4]
push ecx
call fcn.10007370
add esp, 8
push eax
call fcn.10007370
add esp, 8
push eax
call fcn.10007090
add esp, 8
mov ecx, eax
call fcn.10009cd0
lea ecx, [ebp - 0xdd4]
call fcn.1000caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdd4]
call fcn.1000a070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003eb3c
mov esp, ebp
pop ebp
ret
Function at 0x1000aa00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1007e274]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x1000aa27
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1000aa2e
mov al, 1
jmp 0x1000ab02
call fcn.10006d60
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.10006d60
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.1000d810
add esp, 8
movzx eax, al
test eax, eax
je 0x1000aa6a
xor al, al
jmp 0x1000ab02
mov dword [ebp - 0x48], 0x20
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.1000f020
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1000aaa6
cmp dword [ebp - 0x30], 1
je 0x1000aaad
cmp dword [ebp - 0x30], 3
je 0x1000aafc
jmp 0x1000ab00
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0x1000aadc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.10047587
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x1000aadc
xor al, al
jmp 0x1000ab02
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1000aaf0
mov dword [ebp - 0x38], 1
jmp 0x1000aaf7
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x1000ab02
mov al, 1
jmp 0x1000ab02
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003eb3c
mov esp, ebp
pop ebp
ret
Function at 0x1000e140
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x1007e274]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov dword [ebp - 0x2c], ecx
call fcn.10006d60
mov dword [ebp - 0x44], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.1000d810
add esp, 8
movzx edx, al
test edx, edx
je 0x1000e185
lea eax, [ebp + 8]
push eax
call fcn.1000dff0
add esp, 4
jmp 0x1000e306
mov ecx, dword [ebp - 0x2c]
call fcn.1000e4d0
test eax, eax
je 0x1000e1c7
mov ecx, dword [ebp - 0x2c]
call fcn.1000e4d0
mov esi, eax
mov ecx, dword [ebp - 0x2c]
call fcn.1000d7f0
cmp esi, eax
jae 0x1000e1c7
lea ecx, [ebp + 8]
push ecx
call fcn.1000ec50
add esp, 4
mov bl, al
mov ecx, dword [ebp - 0x2c]
call fcn.1000c3a0
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x1000e306
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x4c], 0
jne 0x1000e1da
call fcn.10006d60
jmp 0x1000e306
mov ecx, dword [ebp - 0x2c]
call fcn.1000c490
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
jne 0x1000e229
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.1000ec50
add esp, 4
movzx ecx, al
push ecx
call fcn.100076c0
add esp, 8
movzx edx, al
test edx, edx
je 0x1000e219
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
jmp 0x1000e221
call fcn.10006d60
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
jmp 0x1000e306
mov dword [ebp - 0x50], 0x20
lea ecx, [ebp + 8]
push ecx
call fcn.1000ec50
add esp, 4
mov byte [ebp - 0x2e], al
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x2e]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
call fcn.1000e100
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1000e301
cmp dword [ebp - 0x34], 1
jle 0x1000e284
cmp dword [ebp - 0x34], 3
je 0x1000e2d1
jmp 0x1000e301
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x38], ecx
je 0x1000e2b6
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.10047587
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x1000e2b6
call fcn.10006d60
jmp 0x1000e306
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 0x2e]
cmp dword [ebp - 0x4c], edx
je 0x1000e2ca
mov eax, dword [ebp + 8]
jmp 0x1000e306
call fcn.10006d60
jmp 0x1000e306
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
call fcn.100076c0
add esp, 8
movzx eax, al
test eax, eax
je 0x1000e2f4
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], ecx
jmp 0x1000e2fc
call fcn.10006d60
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
jmp 0x1000e306
call fcn.10006d60
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003eb3c
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f1c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x1000f2e6
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x1000f1f8
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1000f300
jmp 0x1000f2fa
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.1000b6a0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x1000f28c
jg 0x1000f220
cmp dword [ebp + 0xc], 0
jbe 0x1000f28c
cmp dword [ebp - 8], 0
jl 0x1000f28c
jg 0x1000f22e
cmp dword [ebp - 0xc], 0
jbe 0x1000f28c
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x1000f24c
jl 0x1000f240
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x1000f24c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.1000dc80
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.10006b20
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1000db70
cmp dword [ebp + 0x10], 0
jl 0x1000f2d6
jg 0x1000f29a
cmp dword [ebp + 0xc], 0
jbe 0x1000f2d6
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x1000f2d6
mov ecx, dword [ebp - 4]
call fcn.1000c490
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.10046f1a
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x1000f2fa
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.1000f300
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000f420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x1000f53e
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x1000f458
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1000f560
jmp 0x1000f552
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.1000c370
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x1000f4ec
jg 0x1000f480
cmp dword [ebp + 0xc], 0
jbe 0x1000f4ec
cmp dword [ebp - 8], 0
jl 0x1000f4ec
jg 0x1000f48e
cmp dword [ebp - 0xc], 0
jbe 0x1000f4ec
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x1000f4ac
jl 0x1000f4a0
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x1000f4ac
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.1000e4d0
push eax
call fcn.10006b20
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.1000e490
cmp dword [ebp + 0x10], 0
jl 0x1000f52e
jg 0x1000f4fa
cmp dword [ebp + 0xc], 0
jbe 0x1000f52e
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x1000f52e
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.10047587
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x1000f552
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.1000f560
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000f7f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0x42
mov dword [ebp - 4], 0
jmp 0x1000f812
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xf
jge 0x1000f851
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx + 0x72a9db26]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x1000f84c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x1000f809
mov eax, 1
imul ecx, eax, 0xf
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4