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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, 0x11f9
xor edi, edi
mov dword [0x1023b5a0], 0
mov byte [0x1023b5a4], 0
mov dword [0x1023b594], 0x1887
mov dword [0x1023b59c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jmp 0x1022feef
xor eax, eax
mov dword [0x1023b594], 0xfffff035
mov dword [0x1023b59c], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, 0x100
mov dword [ebp - 0x28], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1023b5a8], 0
mov edi, dword [0x1023b598]
mov ebx, edi
add ebx, 0x1f68
mov dword [0x1023b594], ebx
mov ebx, dword [0x1023b5a0]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [esi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x1023b5a8], ecx
add edi, 0xfffffb7b
mov dword [0x1023b598], edi
mov eax, ecx
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x1023b5a0], edx
mov dword [0x1023b594], 0xb5f
mov edi, dword [ebp - 0x28]
mov cl, byte [esi + edi]
mov byte [0x1023b5a4], cl
mov dword [0x1023b598], 0x148d
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov edx, dword [0x1023b594]
add edx, 0xfffffb13
mov dword [0x1023b598], edx
mov cl, byte [0x1023b5a4]
mov edx, dword [0x1023b5a0]
mov byte [esi + edx], cl
mov dword [0x1023b594], 0x106c
mov edx, dword [0x1023b59c]
add edx, 1
mov dword [0x1023b59c], edx
cmp edx, 0x100
mov dword [ebp - 0x24], edx
jl 0x1022fdfd
mov dword [0x1023b594], 0x3b1
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, 0x41f
mov ebx, eax
mov dword [0x1023b598], ecx
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], bl
mov dword [0x1023b594], 0xaad
mov eax, dword [0x1023b59c]
add eax, 1
mov dword [0x1023b59c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
jl 0x1022feef
jmp 0x1022fde4
Function at 0x10230189
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 1
lea esi, [ebp - 0x24]
mov dword [0x1023b594], 0x15fa
mov dword [0x1023b598], 0xfffffb3e
mov byte [ebp - 0x24], 0x56
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edx
jmp 0x10230267
mov dword [0x1023b598], 0x6ae
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1023b594], 0x1d1e
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1022f536
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x1c], ecx
mov dword [0x1023b598], 0x1af1
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x3c], ecx
mov dword [0x1023b594], 0x1860
cmp ecx, 0
mov dword [ebp - 0x40], eax
jne 0x102302cd
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x102321ec]
mov dh, byte [eax + 0x102321bd]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x34], ecx
jne 0x10230267
mov dword [0x1023b598], 0x10bc
mov dword [0x1023b594], 0x1c28
call fcn.1022ffd6
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1022f344
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], ecx
je 0x1023025e
jmp 0x102301c7
mov eax, dword [ebp - 0x3c]
add eax, 0x2716
mov dword [0x1023b598], 0xb20
mov dword [ebp - 0x40], eax
jmp 0x1023025e
Function at 0x102304ad
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [0x1023b598], 0x968
mov dword [ebp - 0x10], eax
call fcn.10230756
xor ecx, ecx
mov edx, eax
mov dword [0x1023b598], 0x15f9
mov esi, dword [eax + 0x3c]
mov dword [0x1023b594], 0xfffff591
mov dword [0x1023b598], 0x58
mov esi, dword [eax + esi + 0x78]
mov dword [0x1023b598], 0xfffffbf7
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1023b594], 0x38ca
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1023053c
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x10230554
mov eax, dword [ebp - 0x24]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x2d]
test al, 1
jne 0x102305ee
jmp 0x102305c1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x2d], cl
je 0x10230547
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2d]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x1023056e
jmp 0x10230547
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ecx
jb 0x10230554
jmp 0x1023053c
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov dword [0x1023b594], 0x2457
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1023b598], 0x163f
mov dword [ebp - 0x24], edi
jmp 0x1023053c
Function at 0x102308ef
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x93e
xor ebx, ebx
mov dword [0x1023b59c], 0
mov dword [0x1023b5a0], 0
mov dword [0x1023b5ac], 0
mov dword [0x1023b594], 0x1b7a
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10230a7c
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x109d
mov edi, 0x100
mov dword [0x1023b594], 0xcd7
add edx, 1
mov ebx, eax
add ebx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x1023b59c], edx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x34]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x1023b5a0], edx
mov dword [0x1023b594], 0x1a1e
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x38]
mov cl, byte [ecx + edi]
mov byte [0x1023b5a4], cl
mov dword [0x1023b598], 0xfffff974
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x24]
mov byte [edx + edi], cl
mov cl, byte [0x1023b5a4]
mov edx, dword [0x1023b5a0]
mov edi, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x1023b594], 0x6cf
mov edx, dword [0x1023b59c]
movzx edx, byte [edi + edx]
mov ecx, dword [0x1023b5a0]
movzx ecx, byte [edi + ecx]
add ecx, edx
mov dword [0x1023b594], 0x257e
and ecx, 0xff
mov dword [0x1023b5ac], ecx
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
xor cl, byte [edx + edi]
mov byte [0x1023b5b0], cl
mov dword [0x1023b598], 0x16d0
mov edx, dword [ebp - 0x20]
mov byte [edx + edi], cl
mov dword [0x1023b594], 0x22d9
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], esi
je 0x10230a7c
mov eax, dword [0x1023b5a0]
mov ecx, dword [0x1023b59c]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], edx
jmp 0x1023095a
mov eax, dword [ebp - 0x2c]
mov dword [0x1023b594], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10230a8c
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x1023b594], 0x1742
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1022f668
lea ecx, [0x102302e7]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x70], 0x137e00
mov edx, dword [0x1023b580]
mov dword [esp + 0x64], edx
mov edx, dword [0x1023b584]
mov dword [esp + 0x78], edx
mov dword [0x1023b598], 0x848
mov edx, dword [0x1023b588]
mov dword [esp + 0x84], edx
mov edx, dword [0x1023b58c]
mov dword [esp + 0x44], edx
mov edx, dword [0x1023b590]
mov dword [esp + 0x60], edx
mov dword [0x1023b594], 0x96b
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x10230bcb
lea eax, [esp + 0x30]
mov dword [0x1023b594], 0x996
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10230189
mov dword [0x1023b594], 0x26f7
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x1023b598]
add ecx, 0xfffff46a
mov dword [0x1023b594], ecx
mov dword [esp + 0x10], eax
jmp 0x10230bf0
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10230bcb
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov dword [0x1023b598], 0x58
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x38], edx
mov dword [0x1023b594], 0xc36
call fcn.1022f979
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x10230b25
jmp 0x10230bf0
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x10230b77
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x10230b8b
jmp 0x10230b77
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x3314b
Capabilities:
Encode data using xor

Disassembly:
add eax, 0x1426389d
or al, 0x3e
add dword [edi - 0x60], 0x24
cmp byte [edx*8 - 0x73ec509a], 0x6e
sbb al, 0xf6
sub byte [edx + 4], al
xor byte [edi + 0xdd8ddc7], bh
xchg ebp, eax
stosd dword es:[edi], eax
pop es
adc eax, 0x47462a94
push edx
xor byte [ecx], bh
sbb al, 0x21
jo 0x33169
ret
Function at 0x10001271
Capabilities:
Write file on windows

Disassembly:
jmp 0x1000ff80
mov eax, dword [ecx + 4]
test eax, eax
jne 0x1000ff8a
ret 8
push eax
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call fcn.1005487f
add esp, 0x10
ret 8

Function at 0x100012cb
Capabilities:
Read file on windows
Write file on windows

Disassembly:
jmp 0x10041740
push 0xffffffffffffffff
push 0x10080818
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100a0000]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100a0000]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x5c]
lea ebp, [edi + 0x14]
push ebp
mov dword [esp + 0x1c], vtable.ProtocolFilters::AutoLock.0
mov dword [esp + 0x20], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov dword [esp + 0x5c], 0
call fcn.1000253b
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov byte [esp + 0x58], 1
call fcn.10003896
mov esi, eax
cmp esi, dword [edi]
je 0x100417e3
cmp dword [esi + 0x24], 0x10
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x10]
jb 0x100417c8
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0x38]
lea ecx, [esp + 0x2c]
push 0
call fcn.10003eef
test eax, eax
js 0x100417e3
mov dword [esp + 0x14], esi
jmp 0x100417e9
mov eax, dword [edi]
mov dword [esp + 0x14], eax
lea esi, [esp + 0x14]
mov esi, dword [esi]
cmp esi, dword [edi]
je 0x10041893
push 0
push dword [esi + 0x28]
push dword [edi + 0x10]
call fcn.100542e8
push dword [edi + 0x10]
lea eax, [esp + 0x48]
push 0x10
push 1
push eax
call fcn.100541ad
add esp, 0x1c
cmp eax, 0x10
jne 0x10041893
push 0
push dword [esi + 0x28]
push dword [edi + 0x10]
call fcn.100542e8
push dword [edi + 0x10]
xor eax, eax
push 0x10
mov word [esp + 0x4e], ax
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.1005487f
add esp, 0x1c
cmp eax, 0x10
jne 0x10041893
mov ebx, dword [esi + 0x40]
test ebx, ebx
je 0x10041877
mov dword [esp + 0x14], ebx
lea ecx, [ebx + 0x18]
mov byte [esp + 0x54], 2
call fcn.100034ef
mov ecx, ebx
mov byte [esp + 0x54], 1
call fcn.100034ef
push ebx
call fcn.10052462
add esp, 4
push esi
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.10003c60
push dword [edi + 0x10]
call fcn.10054dde
add esp, 4
mov bl, 1
jmp 0x10041895
xor bl, bl
cmp dword [esp + 0x34], 0x10
jb 0x100418a8
push dword [esp + 0x20]
call fcn.10052462
add esp, 4
push ebp
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10052ab4
add esp, 0x44
ret 4
Function at 0x100014fb
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x10027530
jmp 0x10026970
sub esp, 0x194
mov eax, dword [0x100a0000]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [esp + 0x1a4]
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100269c1
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.10052ab4
add esp, 0x194
ret
mov ecx, 0x100a1520
call fcn.100032a6
push esi
mov ecx, 0x100a1530
call fcn.100024b9
push edi
call fcn.10002a59
mov ecx, eax
call fcn.100031f2
xor ecx, ecx
test al, al
setne cl
pop edi
pop esi
mov eax, ecx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.10052ab4
add esp, 0x194
ret
push esi
mov esi, dword [esp + 8]
push edi
mov ecx, 0x10
mov edi, 0x1009f31c
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword [esp + 4], 0x1009f318
jmp 0x10001dfc

Function at 0x10001852
Capabilities:
Read file on windows
Write file on windows

Disassembly:
jmp 0x100099a0
push 0xffffffffffffffff
push 0x1007ce48
mov eax, dword fs:[0]
push eax
sub esp, 0x404
mov eax, dword [0x100a0000]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push edi
mov eax, dword [0x100a0000]
xor eax, esp
push eax
lea eax, [esp + 0x410]
mov dword fs:[0], eax
mov esi, dword [esp + 0x420]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
cmp dword [esi + 0x14], 8
mov dword [esp + 0x418], 0
jb 0x10009a0a
mov eax, dword [esi]
jmp 0x10009a0c
mov eax, esi
push 0x10086198
push eax
call fcn.100548fd
mov edi, eax
add esp, 8
test edi, edi
jne 0x10009a3c
cmp dword [esp + 0x20], 0x10
jb 0x10009b09
push dword [esp + 0xc]
call fcn.10052462
add esp, 4
jmp 0x10009b09
push edi
push 0x3e7
lea eax, [esp + 0x2c]
push 1
push eax
call fcn.100541ad
add esp, 0x10
test eax, eax
je 0x10009aa8
cmp eax, 0x3e8
jae 0x10009b2f
mov byte [esp + eax + 0x24], 0
cmp byte [esp + 0x24], 0
jne 0x10009a70
xor eax, eax
jmp 0x10009a80
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10009a77
sub eax, edx
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.100026ee
push edi
push 0x3e7
lea eax, [esp + 0x2c]
push 1
push eax
call fcn.100541ad
add esp, 0x10
test eax, eax
jne 0x10009a55
push edi
call fcn.10053f58
add esp, 4
lea ecx, [esp + 0xc]
push 0x35
push 0
push str.user_pref__security.enterprise_roots.enabled___true__
call fcn.10002be9
cmp eax, 0xffffffff
jne 0x10009a20
cmp dword [esi + 0x14], 8
jb 0x10009ad4
mov esi, dword [esi]
push 0x100861a8
push esi
call fcn.100548fd
mov esi, eax
add esp, 8
test esi, esi
je 0x10009b00
push esi
push 0x36
push 1
push str.user_pref__security.enterprise_roots.enabled___true__
call fcn.1005487f
push esi
call fcn.10053f58
add esp, 0x14
lea ecx, [esp + 0xc]
call fcn.10002068
mov ecx, dword [esp + 0x410]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.10052ab4
add esp, 0x410
ret
call fcn.100537b6
int3
Function at 0x10001a6e
Capabilities:
Delete file

Disassembly:
jmp 0x10043630
push 0xffffffffffffffff
push 0x10080978
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100a0000]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
lea ebp, [edi + 0x14]
push ebp
mov dword [esp + 0x18], vtable.ProtocolFilters::AutoLock.0
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
mov dword [esp + 0x24], 0
call fcn.10002419
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0x14], 8
jb 0x1004368c
mov eax, dword [esi]
jmp 0x1004368e
mov eax, esi
push 0x10089254
push eax
call fcn.100548fd
add esp, 8
mov dword [edi + 0x10], eax
test eax, eax
jne 0x100436c4
cmp dword [esi + 0x14], 8
jb 0x100436ad
mov eax, dword [esi]
jmp 0x100436af
mov eax, esi
push 0x10089260
push eax
call fcn.100548fd
add esp, 8
mov dword [edi + 0x10], eax
test eax, eax
je 0x10043718
mov ecx, edi
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.100026df
test al, al
jne 0x1004371c
push dword [edi + 0x10]
call fcn.10053f58
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x100436f2
mov eax, dword [esi]
jmp 0x100436f4
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x10043703
mov esi, dword [esi]
push 0x10089260
push esi
call fcn.100548fd
add esp, 8
mov dword [edi + 0x10], eax
test eax, eax
jne 0x1004371c
xor bl, bl
jmp 0x1004371e
mov bl, 1
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x10001c94
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x10041540
push 0xffffffffffffffff
push 0x100807c9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100a0000]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
mov ebx, dword [esp + 0x2c]
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x14], 1
cmp esi, eax
ja 0x100415c8
cmp dword [ecx + 0x14], eax
je 0x100415c8
push 1
push eax
call fcn.100023e2
mov ecx, dword [esp + 0x28]
test al, al
je 0x100415c8
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], esi
jb 0x100415c0
mov eax, dword [ecx]
jmp 0x100415c2
mov eax, ecx
xor edx, edx
mov word [eax + esi*2], dx
mov ebp, dword [ebx + 0x10]
xor esi, esi
test ebp, ebp
je 0x100416bd
mov edi, dword [esp + 0x28]
lea esp, [esp]
cmp dword [ebx + 0x14], 0x10
jb 0x100415ea
mov eax, dword [ebx]
jmp 0x100415ec
mov eax, ebx
mov dl, byte [eax + esi]
cmp dl, 0xff
je 0x1004168c
cmp dl, 0xfe
je 0x1004168c
mov al, dl
and al, 0xc0
sub ebp, esi
or edi, 0xffffffff
cmp al, 0x80
je 0x10041688
mov al, dl
mov ecx, 0x7f
test dl, dl
jns 0x10041627
lea esp, [esp]
sar ecx, 1
inc edi
add al, al
js 0x10041620
movzx eax, dl
and ax, cx
movzx edx, ax
cmp edi, ebp
jg 0x10041678
xor ebp, ebp
test edi, edi
jle 0x1004167d
lea ebx, [ebx]
inc esi
cmp dword [ebx + 0x14], 0x10
jb 0x1004164b
mov eax, dword [ebx]
jmp 0x1004164d
mov eax, ebx
mov al, byte [eax + esi]
cmp al, 0xff
je 0x10041678
cmp al, 0xfe
je 0x10041678
mov cl, al
and cl, 0xc0
cmp cl, 0x80
jne 0x10041677
and al, 0x3f
movzx eax, al
shl edx, 6
add ax, dx
inc ebp
movzx edx, ax
cmp ebp, edi
jl 0x10041640
jmp 0x1004167d
dec esi
mov edx, 0xfffd
cmp edi, 2
mov edi, dword [esp + 0x28]
jle 0x10041691
jmp 0x1004168c
mov edi, dword [esp + 0x28]
mov edx, 0xfffd
push edx
push 1
mov ecx, edi
call fcn.100019ba
mov ebp, dword [ebx + 0x10]
inc esi
cmp esi, ebp
jb 0x100415e0
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, ecx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x100020c7
Capabilities:
Write file on windows

Disassembly:
jmp 0x10044b60
push dword [ecx + 0x10]
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call fcn.1005487f
add esp, 0x10
cmp eax, dword [esp + 8]
sete al
ret 8