joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c4cf40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [0x1ced574], 0
jne 0x1c4d190
mov esi, dword [0x1ced564]
test esi, esi
je 0x1c4cf81
test byte [0x1cd11b0], 1
jne 0x1c4d075
jmp 0x1c4d190
push 0xc
call fcn.01c9931c
add esp, 4
mov esi, eax
lea edi, [ebp - 0x218]
push 0x208
push 0xff
push edi
call fcn.01c8cb90
add esp, 0xc
push 0x104
push edi
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [esi + 8], 0
push edi
call fcn.01c9931c
add esp, 4
cmp eax, 0x7ffffff0
jae 0x1c4d1a7
mov ebx, eax
cmp eax, 5
jae 0x1c4cfee
mov byte [esi + 0xb], bl
mov eax, esi
test ebx, ebx
jne 0x1c4d014
jmp 0x1c4d027
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.01c9931c
add esp, 4
mov dword [esi], eax
or edi, 0x80000000
mov dword [esi + 8], edi
lea edi, [ebp - 0x218]
mov dword [esi + 4], ebx
mov ecx, ebx
add ecx, ebx
push ecx
push edi
push eax
mov edi, eax
call fcn.01c8ccf0
mov eax, edi
add esp, 0xc
mov word [eax + ebx*2], 0
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1c4d038
mov eax, dword [esi + 4]
mov ecx, esi
push eax
push 0x5c
call fcn.01c3f13a
cmp eax, 0xffffffff
mov bl, 1
je 0x1c4d056
add eax, 1
mov ecx, esi
push 0xffffffffffffffff
push eax
call fcn.01c3ee9a
mov ecx, esi
push str.debug.log
call fcn.01c3ebd8
mov dword [0x1ced564], esi
test byte [0x1cd11b0], 1
je 0x1c4d190
cmp byte [esi + 0xb], 0
jns 0x1c4d07d
mov esi, dword [esi]
sub esp, 0x1c
movaps xmm0, xmmword [0x1cba920]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [0x1ced574], eax
add eax, 1
cmp eax, 1
ja 0x1c4d190
lea eax, [ebp - 0x216]
push 0x206
push 0xff
push eax
call fcn.01c8cb90
add esp, 0xc
mov word [ebp - 0x218], 0
lea esi, [ebp - 0x218]
push esi
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1c4d18e
cmp eax, 0x104
ja 0x1c4d18e
mov ecx, dword [0x1ced564]
push esi
call fcn.01c3ed5c
mov ecx, dword [0x1ced564]
movzx eax, byte [ecx + 0xb]
test al, al
js 0x1c4d11b
mov edx, ecx
jmp 0x1c4d120
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp word [edx + eax*2 - 2], 0x5c
je 0x1c4d138
push 0x1cb8afe
call fcn.01c3ebd8
mov ecx, dword [0x1ced564]
push str.debug.log
call fcn.01c3ebd8
mov eax, dword [0x1ced564]
cmp byte [eax + 0xb], 0
jns 0x1c4d14f
mov eax, dword [eax]
sub esp, 0x1c
movaps xmm0, xmmword [0x1cba920]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [0x1ced574], eax
add eax, 1
cmp eax, 1
ja 0x1c4d190
mov dword [0x1ced574], 0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
call fcn.01c3dbd4
int3
Function at 0x1c57470
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x30], eax
mov eax, dword [0x1ced5fc]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c574e4
movzx eax, word [0x1ced5d8]
cmp eax, 0xc
ja case.0x1c574b0.1
xor esi, esi
jmp dword [eax*4 + 0x1cbc358]
mov esi, 2
jmp case.0x1c574b0.0
mov esi, 4
jmp case.0x1c574b0.0
mov esi, 1
jmp case.0x1c574b0.0
mov esi, 3
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.01c8b52d
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x1ced5fc
call fcn.01c9931c
add esp, 4
cmp dword [0x1ced5fc], 0xffffffff
jne 0x1c574a2
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp], xmm0
mov dword [esp + 0x20], 0
mov eax, esp
push eax
call dword [sym.imp.kernel32.dll_GetNativeSystemInfo]
mov eax, dword [esp + 0x20]
mov dword [0x1ced5f8], eax
movaps xmm0, xmmword [esp]
movaps xmm1, xmmword [esp + 0x10]
movups xmmword [0x1ced5e8], xmm1
movups xmmword [0x1ced5d8], xmm0
push 0x1ced5fc
call fcn.01c9931c
add esp, 4
jmp 0x1c574a2
Function at 0x1c590d0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx edx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test dl, dl
mov dword [ebp - 0x10], ecx
lea ecx, [eax + ecx]
mov dword [ebp - 0x20], edx
lea edx, [esi + edx]
cmovs edx, ecx
cmovs esi, eax
sub edx, esi
cmp edx, 4
jb 0x1c5913d
mov ecx, esi
mov eax, edx
nop word [eax + eax]
imul edi, dword [ecx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x1c59110
cmp edx, 1
jne 0x1c59146
jmp 0x1c59162
mov eax, edx
mov ecx, esi
cmp edx, 1
je 0x1c59162
cmp edx, 2
je 0x1c59159
cmp edx, 3
jne 0x1c5916d
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x14]
mov edi, dword [ecx + 4]
xor ecx, ecx
test edi, edi
je 0x1c592c8
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov edx, edi
sub edx, eax
mov eax, edx
and eax, 0x33333333
shr edx, 2
and edx, 0x33333333
add edx, eax
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x28], eax
cmp eax, 1
ja 0x1c591d4
lea edx, [edi - 1]
and edx, ebx
jmp 0x1c591e0
mov edx, ebx
cmp ebx, edi
jb 0x1c591e0
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x24], edx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1c592c8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edi
mov ebx, dword [eax]
test ebx, ebx
je 0x1c592c8
mov eax, dword [ebp - 0x18]
add eax, 0xffffffff
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
test cl, cl
mov eax, dword [ebp - 0x10]
cmovns eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x1c59236
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jne 0x1c592c6
mov ebx, dword [ebx]
test ebx, ebx
je 0x1c592c6
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 0x14]
jne 0x1c59290
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x1c5924b
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x1c5922c
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x1c592a8
cmp dword [ebp - 0x10], 0
je 0x1c592c2
cmp byte [esi], dl
jne 0x1c5922c
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax + eax]
cmp eax, ecx
je 0x1c592c2
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x1c59270
jmp 0x1c5922c
cmp dword [ebp - 0x28], 1
jbe 0x1c59220
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x1c59223
xor edx, edx
div ecx
mov eax, edx
jmp 0x1c59223
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1c592c2
push eax
push esi
push ecx
call fcn.01c9931c
add esp, 0xc
test eax, eax
jne 0x1c5922c
mov ecx, ebx
jmp 0x1c592c8
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x1c5eb60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x1c5ec03
mov esi, ecx
mov dword [esp + 0x10], 0
mov byte [esp + 0x13], 9
mov dword [esp + 0xc], 0x65647261
mov dword [esp + 8], 0x63736964
mov word [esp + 0x10], 0x64
push 0x40
call fcn.01c9931c
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
mov edi, esp
mov ecx, esi
push eax
push edi
call fcn.01c5ead0
mov ecx, ebx
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
call fcn.01c5ec20
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x1c5ebed
mov ecx, edi
call fcn.01c5ec70
push edi
call fcn.01c8b528
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x1c5ec00
push dword [esp + 8]
call fcn.01c8b528
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.01c8b52d
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c61630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21a]
push 0x20a
push 0xff
push edi
call fcn.01c8cb90
add esp, 0xc
push edi
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathW]
mov esi, eax
add esi, 0xffffffff
cmp esi, 0x102
ja 0x1c616d8
cmp word [ebp - 0x21a], 0
je 0x1c616a2
xor ecx, ecx
nop word cs:[eax + eax]
nop
lea eax, [ecx + 1]
cmp word [ebp + ecx*2 - 0x218], 0
mov ecx, eax
jne 0x1c61690
jmp 0x1c616a4
xor eax, eax
lea ebx, [ebp - 0x234]
mov ecx, ebx
push eax
push edi
call fcn.01c532a0
lea edi, [ebp - 0x228]
mov ecx, ebx
push edi
call fcn.01c54760
mov ecx, dword [ebp + 8]
push edi
call fcn.01c533a0
mov ecx, edi
call fcn.01c53360
mov ecx, ebx
call fcn.01c53360
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c66ad0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov ebx, ecx
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x24], edx
push edx
push ecx
push edi
call fcn.01c45510
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x1c66aff
mov edi, dword [ebp - 0x1c]
push 0
push 0
push edi
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x1c66b1d
push dword [ebp - 0x1c]
call fcn.01c8b528
add esp, 4
cmp dword [ebp + 8], 0
je 0x1c66bec
test esi, esi
je 0x1c66bec
mov dword [ebp - 0x20], esi
add esi, esi
mov ecx, 0xffffffff
cmovae ecx, esi
push ecx
call fcn.01c9931c
add esp, 4
mov edi, eax
lea esi, [ebp - 0x1c]
push dword [ebp - 0x24]
push ebx
push esi
call fcn.01c45510
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x1c66b60
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x1c66b7c
push dword [ebp - 0x1c]
call fcn.01c8b528
add esp, 4
cmp word [edi], 0
mov esi, dword [ebp + 8]
je 0x1c66b9f
xor ecx, ecx
nop word [eax + eax]
lea eax, [ecx + 1]
cmp word [edi + ecx*2 + 2], 0
mov ecx, eax
jne 0x1c66b90
jmp 0x1c66ba1
xor eax, eax
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.01c45970
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x1c66bd1
mov eax, dword [esi]
mov byte [eax], 0
mov dword [esi + 4], 0
cmp byte [esi + 0xb], 0
jns 0x1c66bd1
push dword [esi]
call fcn.01c8b528
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [esi], xmm0
push edi
call fcn.01c8b789
add esp, 4
mov esi, dword [ebp - 0x20]
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c85f98
Capabilities:
Check os version
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0xc]
mov ecx, dword [0x1cea148]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor ecx, ecx
dec ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
xor edi, edi
mov ebx, 3
test al, al
je 0x1c85ffd
call dword [sym.imp.kernel32.dll_GetVersion]
and eax, 0xfe
mov ebx, 0x80003
cmp eax, 6
jb 0x1c85ffd
lea edi, [ebp - 0x1c]
mov dword [edi], 0xc
mov dword [esp], 0
call fcn.01c86043
mov dword [edi + 4], eax
mov dword [edi + 8], 1
cmp byte [esi + 0xb], 0
jns 0x1c86005
mov esi, dword [esi]
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x1cc1f70]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 0x18], 0
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
sub esp, 0x20
mov esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1c86258
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb0
mov esi, dword [ebp + 8]
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.kernel32.dll_GetVersion]
mov ecx, eax
and ecx, 0xfe
cmp ecx, 6
jb 0x1c86319
and eax, 0xfeff
cmp eax, 6
je 0x1c86319
mov eax, dword [0x1ced988]
mov ecx, dword [0x1ced9a0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x1c86339
push 0x10000000
push 0
push esi
call dword [0x1ced984]
mov esi, eax
test eax, eax
jne 0x1c86312
push 2
call fcn.01c4d1b0
add esp, 4
test al, al
je 0x1c86312
call fcn.01c4dab0
lea edi, [ebp - 0xbc]
mov ecx, edi
push eax
push 2
push 0x21
push str..._.._third_party_crashpad_crashpad_util_win_critical_section_with_debug_info.cc
call fcn.01c4dc50
lea eax, [ebp - 0xb4]
push 0x1b
push 0x1cc21ad
push eax
call fcn.01c23744
add esp, 0xc
mov ecx, edi
call fcn.01c4dd00
test esi, esi
setne bl
jmp 0x1c86322
push esi
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c8b52d
mov eax, ebx
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1ced988
call fcn.01c9931c
add esp, 4
cmp dword [0x1ced988], 0xffffffff
jne 0x1c862b7
push 1
push str.::InitializeCriticalSectionEx
push 0x1cb52f0
call fcn.01c865bc
add esp, 0xc
mov dword [0x1ced984], eax
push 0x1ced988
call fcn.01c9931c
add esp, 4
jmp 0x1c862b7

Function at 0x1c86380
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xa0]
mov eax, dword [eax + 0xc]
mov ecx, dword fs:[0x18]
cmp eax, dword [ecx + 0x24]
sete al
pop ebp
ret
Function at 0x1c89f74
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x1cea148]
xor eax, ebp
mov dword [esp + 0x38], eax
cmp dword [0x1ced99c], 0
jne 0x1c8a145
push 0x64
call fcn.01c9931c
add esp, 4
mov esi, eax
mov ecx, eax
call fcn.01c88592
mov dword [0x1ced99c], esi
mov ecx, esi
call fcn.01c88692
test al, al
je 0x1c8a145
xor eax, eax
dec eax
lea ebx, [esp + 0x2c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea esi, [esp + 0x20]
mov ecx, esi
push str.type
call fcn.01c3af3a
call dword [sym.imp.kernel32.dll_GetCommandLineW]
lea edi, [esp + 0x10]
mov ecx, edi
push eax
call fcn.01c3af3a
push esi
push edi
push ebx
call fcn.01c42b46
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x1c8a00e
push dword [esp + 0x10]
call fcn.01c8b528
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x1c8a021
push dword [esp + 0x20]
call fcn.01c8b528
add esp, 4
push 0x1cba058
call fcn.01c9931c
add esp, 4
movzx ecx, byte [esp + 0x37]
test cl, cl
jns 0x1c8a03b
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jne 0x1c8a05a
lea ecx, [esp + 0x2c]
push eax
push 0x1cba058
push 0xffffffffffffffff
push 0
call fcn.01c3f25a
test eax, eax
je 0x1c8a132
push dword [0x1ced99c]
call fcn.01c263f0
add esp, 4
mov ecx, dword [0x1ced99c]
movzx eax, byte [ecx + 0x63]
test al, al
jns 0x1c8a079
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x1c8a0be
push ebx
push esi
call fcn.01c42d2f
add esp, 8
movzx eax, byte [esp + 0x37]
test al, al
jns 0x1c8a094
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
sete cl
push esi
push ecx
call fcn.01c7c054
add esp, 8
cmp byte [esp + 0x2b], 0
jns 0x1c8a132
push dword [esp + 0x20]
call fcn.01c8b528
add esp, 4
jmp 0x1c8a132
mov ecx, esi
call fcn.01c53240
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 4]
push ebx
mov ebx, eax
push eax
call fcn.01c42d2f
add esp, 8
movzx eax, byte [esp + 0x37]
test al, al
jns 0x1c8a0f0
mov eax, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
sete cl
push esi
push edi
push ebx
push ecx
call fcn.01c7c2a2
add esp, 0x10
cmp byte [esp + 0xf], 0
jns 0x1c8a116
push dword [esp + 4]
call fcn.01c8b528
add esp, 4
cmp byte [esp + 0x1b], 0
jns 0x1c8a129
push dword [esp + 0x10]
call fcn.01c8b528
add esp, 4
lea ecx, [esp + 0x20]
call fcn.01c53360
cmp byte [esp + 0x37], 0
jns 0x1c8a145
push dword [esp + 0x2c]
call fcn.01c8b528
add esp, 4
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.01c8b52d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c9931c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1c9932b
pop dword [ebp - 0x2c]
mov eax, 0x1c9932b
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xbc56a763
add dword [ebp - 0x3c], 0x91fb9de8
mov dword [ebp - 0x38], 0x8e97e5ff
add dword [ebp - 0x38], 0xa39b6646
mov dword [ebp - 0x34], 0xfae50ae8
add dword [ebp - 0x34], 0x51673946
mov dword [ebp - 0x30], 0xebe9687b
add dword [ebp - 0x30], 0x14169785
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x9f2eab2a
sub eax, 0x9d636ad6
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xc27cf894
sub dword [ebp - 0x3c], 0x4e0a8f3e
mov dword [ebp - 0x38], 0x34ea74a
add dword [ebp - 0x38], 0x3e1dba2b
mov dword [ebp - 0x34], 0xfe31d9b2
sub dword [ebp - 0x34], 0x9ac26d46
mov dword [ebp - 0x30], 0x63a01580
add dword [ebp - 0x30], 0x9c5fea80
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xdcb58b77
add eax, 0x2515b495
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x41564
push 0
call eax
mov ecx, 0x6c68f8e8
sub ecx, 0x6c68b30c
mov edi, eax
mov esi, 0x1cf8a00
add esi, dword [ebp - 0x2c]
mov ebx, 0xd132ef6b
sub ebx, 0x2acef4cc
add dword [ebp - 0x24], 0x5a28dcc0
mov edx, dword [esi]
add dword [ebp - 0x14], 0x51fbfa91
add edx, ebx
xor dword [ebp - 0x18], 0xf2e7f734
mov dword [edi], edx
xor dword [ebp - 0xc], 0x141b4daa
add edi, 0xd51bd413
add edi, 0x2ae42bf1
add esi, 0xc8da0ad5
add esi, 0x3725f52f
loop 0x1c99442
add eax, 0x255ec133
sub eax, 0x255db6f0
xor ebx, ebx
add ebx, eax
add eax, 0x27057042
sub eax, 0x2705703d
mov ecx, 0x9cd8e256
sub ecx, 0x9b16e256
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x84187c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x8418a3
push ebx
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov eax, esi
push 5
pop ebx
div ebx
mov al, byte [edx + ecx]
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x84188c
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x84548f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
or ebx, 0xffffffff
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
cmp dword [ebp + 8], ebx
jne 0x8454b0
xor eax, eax
jmp 0x845631
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x8454de
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x8454de
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x845631
cmp dword [esi + 0x4c], 0
je 0x84562f
mov ecx, esi
call fcn.00845beb
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x845512
push dword [esi + 0x4c]
movsx eax, al
push eax
call fcn.008af18a
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
jmp 0x84562f
push ecx
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
push 8
mov byte [esp + 0x1b], al
mov dword [esp + 0x44], 0xf
call fcn.00845b3d
lea eax, [esi + 0x40]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x3c]
mov esi, dword [esi + 0x38]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x2c]
cmp edi, 0x10
lea edx, [esp + 0x2c]
mov edi, dword [esi]
cmovae ecx, dword [esp + 0x2c]
cmovae edx, dword [esp + 0x2c]
add eax, ecx
push eax
push edx
lea eax, [esp + 0x30]
mov ecx, esi
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x27]
push eax
push dword [esp + 0x30]
call dword [edi + 0x1c]
test eax, eax
js 0x845622
cmp eax, 1
jg 0x845603
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x28]
cmp edi, 0x10
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
cmovae eax, ecx
sub edx, eax
mov dword [esp + 0x20], edx
je 0x8455d0
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [esp + 0x2c]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.008afd0f
mov edx, dword [esp + 0x30]
add esp, 0x10
cmp edx, eax
jne 0x845622
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x13]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x24], eax
jne 0x8455fe
test edx, edx
jne 0x84553d
cmp dword [esp + 0x38], 0x20
jae 0x845622
push edx
push 8
lea ecx, [esp + 0x30]
call fcn.00845b8b
jmp 0x845539
mov ebx, dword [ebp + 8]
jmp 0x845622
cmp eax, 3
jne 0x845622
mov eax, dword [esp + 0x14]
push dword [eax + 0x4c]
movsx eax, byte [esp + 0x17]
push eax
call fcn.008af18a
cmp eax, ebx
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00840a6c
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x845c73
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x845d81
cmp byte [ebx + 0x3d], 0
je 0x845d81
push 0xffffffffffffffff
call fcn.0084548f
cmp eax, 0xffffffff
jne 0x845ca8
xor al, al
jmp 0x845d83
xor eax, eax
mov dword [esp + 0x24], 0xf
push eax
push 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov byte [esp + 0x18], al
call fcn.00845b3d
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
cmp ecx, 0x10
lea eax, [esp + 0xc]
mov ecx, dword [ebx + 0x38]
lea edi, [esp + 0x10]
push eax
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x14]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x845d0c
sub eax, 1
je 0x845d10
dec eax
sub eax, 1
je 0x845d6e
xor bl, bl
jmp 0x845d70
mov byte [ebx + 0x3d], 0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
mov edx, dword [esp + 0x10]
cmp ecx, 0x10
mov esi, dword [esp + 0xc]
cmovae eax, edx
sub esi, eax
je 0x845d4f
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [esp + 0x14]
push esi
cmovae eax, edx
push 1
push eax
call fcn.008afd0f
add esp, 0x10
cmp esi, eax
jne 0x845d08
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
cmp byte [ebx + 0x3d], 0
je 0x845d6e
test esi, esi
jne 0x845cce
push esi
push 8
lea ecx, [esp + 0x18]
call fcn.00845b8b
jmp 0x845cc6
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x18]
call fcn.00840a6c
mov al, bl
jmp 0x845d83
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret