joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x3335aba
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..tls
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x2966508c
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000c871
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp esi, 0x7ff80000
jbe 0x1000c892
lea edi, [esi - 0x7ff80000]
cmp esi, 0x80000000
jb 0x1000c897
mov ebx, 0xfff80000
jmp 0x1000c89d
mov edi, 0x10000
lea ebx, [esi + 0x7ff80000]
mov edx, dword [0x10013e68]
mov eax, dword [0x10013e60]
test edx, edx
jne 0x1000c8b8
test eax, eax
je 0x1000c8cb
mov edx, eax
mov dword [0x10013e68], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x1000c8cb
cmp ecx, edi
jb 0x1000c8cb
cmp ecx, ebx
jbe 0x1000c9ab
mov edx, eax
test eax, eax
jmp 0x1000c8ed
test edx, edx
je 0x1000c8e8
mov eax, dword [edx + 8]
test eax, eax
je 0x1000c8e8
cmp eax, edi
jb 0x1000c8e8
cmp eax, ebx
jbe 0x1000c9ab
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x10013e68], edx
jne 0x1000c8d1
and esi, 0xffff0000
mov eax, 0x40000000
cmp esi, eax
jbe 0x1000c9d0
lea edx, [esi - 0x40000000]
mov ecx, edi
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
mov eax, 0x40000000
cmp esi, eax
jbe 0x1000c93e
lea ecx, [esi - 0x40000000]
mov edx, esi
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
mov eax, 0x40000000
cmp esi, eax
jae 0x1000c953
lea edx, [esi + 0x40000000]
mov ecx, esi
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
mov edx, esi
mov ecx, edi
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
mov edx, ebx
mov ecx, esi
call fcn.1000f188
mov edx, eax
test edx, edx
je 0x1000c9ee
xor ecx, ecx
mov dword [edx], 0x52727464
mov dword [edx + 8], ecx
mov esi, 0x38b
mov eax, dword [0x10013e60]
mov dword [edx + 4], eax
lea eax, [edx + 0xffa8]
mov dword [0x10013e68], edx
mov dword [0x10013e60], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
sub eax, 0x48
sub esi, 1
jne 0x1000c99b
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, edi
jb 0x1000c9ee
cmp esi, ebx
ja 0x1000c9ee
mov ecx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [edx + 8], ecx
call fcn.1000ec20
add esp, 0xc
mov eax, esi
jmp 0x1000c9f0
jae 0x1000c920
lea ecx, [esi + 0x40000000]
mov edx, ebx
call fcn.1000f188
mov edx, eax
test edx, edx
jne 0x1000c971
jmp 0x1000c940
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x1000ca7b
Capabilities:
Resume thread

Disassembly:
push ebx
push edi
mov edi, dword [0x10013e58]
xor ebx, ebx
test edi, edi
je 0x1000cab8
push esi
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x1000caa9
mov esi, dword [edi]
push edi
call fcn.1000dd99
mov edi, esi
pop ecx
test esi, esi
jne 0x1000ca8a
jmp 0x1000cab7
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
mov dword [0x10013e70], ebx
pop esi
mov dword [0x10013e58], edi
mov eax, ebx
pop edi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1c29140
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1cf8bfc]
mov ecx, dword [0x1cf656c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c2918d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, 0x1cf8bf8
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1cf8bfc
call fcn.01c9518a
add esp, 4
cmp dword [0x1cf8bfc], 0xffffffff
jne 0x1c29173
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.01c99a20
add esp, 0xc
mov dword [edi - 4], 0x11c
lea ebx, [ebp - 0x12c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edi, [ebp - 0x130]
mov dword [edi], esi
push edi
push esi
push esi
push dword [ebx + 8]
push dword [ebx + 4]
call dword [sym.imp.progwrp.dll_GetProductInfo]
push 0x54
call fcn.01c9515a
add esp, 4
mov esi, eax
mov edi, dword [edi]
mov eax, dword [0x1cf8c2c]
mov ecx, dword [0x1cf656c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c29239
lea edx, [ebp - 0x12c]
mov ecx, esi
push edi
call fcn.01c38f80
add esp, 4
mov dword [0x1cf8bf8], esi
push 0x1cf8bfc
call fcn.01c951d9
add esp, 4
jmp 0x1c29173
push 0x1cf8c2c
call fcn.01c9518a
add esp, 4
cmp dword [0x1cf8c2c], 0xffffffff
jne 0x1c29210
xorps xmm0, xmm0
movups xmmword [0x1cf8c18], xmm0
movups xmmword [0x1cf8c08], xmm0
mov dword [0x1cf8c28], 0
push 0x1cf8c08
call dword [sym.imp.progwrp.dll_GetNativeSystemInfo]
push 0x1cf8c2c
call fcn.01c951d9
add esp, 4
jmp 0x1c29210
Function at 0x1c29290
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov edi, dword [ecx + 0x14]
test edi, edi
je 0x1c2930f
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x1c293f3
mov eax, dword [ebp + 8]
cmp ebx, 2
jne 0x1c292f8
cmp dword [edi + 0x6c], eax
jle 0x1c293ec
lea ecx, [edi + eax*8]
add ecx, 0x70
lea eax, [edi + eax*8]
add eax, 0x74
mov edx, dword [eax]
mov ecx, dword [ecx]
lea ebx, [ecx + edx]
mov edi, dword [esi + 4]
xor eax, eax
cmp ebx, edi
jae 0x1c292ee
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1c292e6
mov dword [ebx], edx
mov edi, dword [esi + 4]
cmp edi, ecx
jbe 0x1c292ee
add ecx, dword [esi]
mov eax, ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 8
cmp dword [edi + 0x5c], eax
jle 0x1c293ec
lea ecx, [edi + eax*8]
add ecx, 0x60
lea eax, [edi + eax*8]
add eax, 0x64
jmp 0x1c292ca
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
test edi, edi
jne 0x1c29367
test edx, edx
jne 0x1c29419
mov edx, dword [esi]
xor eax, eax
test edx, edx
je 0x1c292ee
mov dword [esi + 0xc], edx
mov ebx, dword [esi + 4]
cmp ebx, 0x40
jb 0x1c29402
movzx ecx, word [edx]
cmp ecx, 0x5a4d
jne 0x1c29402
mov edi, dword [edx + 0x3c]
lea ecx, [edi + 0x18]
xor eax, eax
cmp ecx, ebx
ja 0x1c292ee
add edi, edx
cmp dword [edi], 0x4550
jne 0x1c292ee
add edi, 4
mov dword [esi + 0x10], edi
jne 0x1c2936a
jmp 0x1c292ee
mov ebx, dword [esi + 4]
mov dword [ebp - 0x18], edi
add edi, 0x14
mov ecx, edi
sub ecx, edx
lea edx, [ecx + 2]
xor eax, eax
mov dword [ebp - 0x14], ebx
cmp edx, ebx
ja 0x1c292ee
movzx edx, word [edi]
cmp edx, 0x20b
jne 0x1c293d8
mov al, 1
mov dword [ebp - 0x10], eax
mov ebx, 2
mov dword [esi + 8], ebx
lea edx, [ecx + 0xf0]
mov eax, dword [ebp - 0x14]
cmp edx, eax
seta dl
add ecx, 0xe0
cmp ecx, eax
ja 0x1c293ec
and dl, byte [ebp - 0x10]
mov eax, 0
jne 0x1c292ee
cmp dword [ebp - 0x14], 0xffffffff
je 0x1c2940e
mov dword [esi + 0x14], edi
test edi, edi
jne 0x1c292ad
jmp 0x1c292ee
cmp edx, 0x10b
jne 0x1c29421
xor ebx, ebx
inc ebx
mov dword [ebp - 0x10], 0
jmp 0x1c29399
xor eax, eax
jmp 0x1c292ee
mov ecx, esi
call fcn.01c5dd20
mov ebx, dword [esi + 8]
jmp 0x1c292ad
mov dword [esi + 0xc], 0
jmp 0x1c292ee
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 0x4c]
mov dword [esi + 4], ecx
jmp 0x1c293c8
mov ebx, dword [esi + 4]
jmp 0x1c29347
mov dword [esi + 8], 0
jmp 0x1c292ee
Function at 0x1c2a370
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.01c98590
mov esi, ecx
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ebx, 0x800
lea edi, [ebp - 0x810]
push ebx
push 0xff
push edi
call fcn.01c99a20
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], ebx
push ecx
push edi
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1c2a3ff
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x1c2a403
mov ecx, esi
push edi
call fcn.01c2a460
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, esi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, eax
jmp 0x1c2a3e6
cmp eax, 2
jne 0x1c2a445
lea ebx, [ebp - 0x1010]
push 0x800
push 0xff
push ebx
call fcn.01c99a20
add esp, 0xc
push 0x400
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x1c2a44c
mov ecx, esi
push ebx
jmp 0x1c2a3df
mov esi, 0x3f4
jmp 0x1c2a3e6
mov esi, 0xea
jmp 0x1c2a3e6
Function at 0x1c2f110
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [esp + 0x38], eax
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov eax, 0xf
xorps xmm0, xmm0
movups xmmword [esi + eax*8], xmm0
add eax, 2
cmp eax, 0x5f
jne 0x1c2f13e
mov dword [esi + 0x2f8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x2fc], eax
xor eax, eax
mov dword [esi + 0x300], eax
mov dword [esi + 0x304], eax
mov byte [esi + 0x308], al
mov byte [esi + 0x338], al
push 0x1cf53f0
call dword [sym.imp.progwrp.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c2f319
mov dword [esi + 0x304], 0
mov eax, dword [0x1cf53f4]
mov dword [0x1cf53f4], esi
mov dword [esi + 0x300], eax
test eax, eax
je 0x1c2f1ae
mov dword [eax + 0x304], esi
lea edi, [esi + 0x308]
push 0x1cf53f0
call dword [sym.imp.progwrp.dll_ReleaseSRWLockExclusive]
xorps xmm0, xmm0
movups xmmword [esi + 0x48], xmm0
movups xmmword [esi + 0x38], xmm0
movups xmmword [esi + 0x28], xmm0
movups xmmword [esi + 0x18], xmm0
movups xmmword [esi + 8], xmm0
add ebx, 0x48
mov eax, 0xf
jmp 0x1c2f1ee
mov byte [esi + eax*8 + 5], 0
inc eax
add ebx, 0x20
cmp eax, 0x5f
je 0x1c2f214
mov dword [esi + eax*8], 0
mov byte [esi + eax*8 + 4], 0
mov cl, byte [eax + 0x1d04b95]
mov byte [esi + eax*8 + 5], cl
movzx ecx, word [ebx + 0xc]
mov word [esi + eax*8 + 6], cx
cmp dword [ebx], 0
jne 0x1c2f1e5
jmp 0x1c2f1e0
mov eax, dword [esi + 0x2f8]
cmp byte [eax + 0xe], 0
je 0x1c2f302
lea ecx, [eax + 0x13e0]
mov edx, esp
push 0
push dword [eax + 0x13d8]
push edx
call fcn.01c4b9d0
cmp byte [esi + 0x338], 0
je 0x1c2f251
mov ecx, edi
call fcn.01c73f90
mov byte [esi + 0x338], 0
mov eax, dword [esp]
mov dword [esi + 0x308], eax
mov eax, dword [esp + 4]
mov dword [esi + 0x30c], eax
mov al, byte [esp + 8]
mov byte [esi + 0x310], al
xorps xmm0, xmm0
movups xmmword [esi + 0x314], xmm0
mov dword [esi + 0x324], 0
xor ebx, ebx
dec ebx
lea edi, [esp + 0x30]
mov dword [edi + 4], ebx
mov dword [edi], ebx
push 8
push edi
call sub.progwrp.dll_SystemFunction036
test al, al
je 0x1c2f328
movsd xmm0, qword [esp + 0x30]
movsd qword [esi + 0x318], xmm0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
push 8
push edi
call sub.progwrp.dll_SystemFunction036
test al, al
je 0x1c2f32b
movsd xmm0, qword [esp + 0x30]
movsd qword [esi + 0x320], xmm0
mov ecx, esp
mov eax, dword [ecx + 0x20]
mov dword [esi + 0x328], eax
mov eax, dword [ecx + 0x24]
mov dword [esi + 0x32c], eax
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x330], eax
xor eax, eax
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov dword [ecx + 0x28], eax
mov byte [esi + 0x338], 1
call fcn.01c73f90
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.01c98173
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, 0x1cf53f0
call fcn.01c7e190
jmp 0x1c2f189
int3
int3
Function at 0x1c309c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x200c
call fcn.01c98590
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1cf6458]
cmp eax, 0xffffffff
je 0x1c30a4b
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x1c30a4b
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.01c994a0
add esp, 0xc
mov ecx, dword [0x1cf6458]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x2014], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test ebx, ebx
je 0x1c30a31
push ebx
call fcn.01c968a6
add esp, 4
mov ecx, 0x101
jmp 0x1c30a7b
call fcn.01cbf450
push 2
push dword [ebp - 0x2014]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
add esp, 0x200c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x1d02e94], 1
jmp 0x1c30ac7
mov ecx, dword [ebp - 0x2018]
dec ecx
je 0x1c30a38
test al, 1
je 0x1c30a3d
mov dword [ebp - 0x2018], ecx
mov eax, dword [0x1d07150]
mov ecx, dword [0x1cf656c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c30bdb
mov esi, dword [0x1d0714c]
mov edi, esi
shr edi, 0xe
mov ebx, esi
shr ebx, 0x13
mov eax, dword [ebx*4 + 0x1cfae94]
bt eax, edi
jae 0x1c30a60
push esi
call section..text
add esp, 4
test esi, esi
je 0x1c30c1c
push esi
call dword [sym.imp.progwrp.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1c30ae1
push esi
call dword [sym.imp.progwrp.dll_AcquireSRWLockExclusive]
push 0x1000
push 0x1d0614c
lea eax, [ebp - 0x1810]
push eax
call fcn.01c994a0
add esp, 0xc
push esi
call dword [sym.imp.progwrp.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebx*4 + 0x1cfae94]
bt eax, edi
jae 0x1c30b16
push esi
call fcn.01c212b0
add esp, 4
push 0x800
push 0xff
lea eax, [ebp - 0x2010]
push eax
call fcn.01c99a20
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x1804]
mov edx, dword [ecx]
mov dword [ebp + eax*8 - 0x2010], edx
mov word [ebp + eax*8 - 0x200c], ax
inc eax
add ecx, 0x10
cmp eax, 0x100
jne 0x1c30b37
lea ecx, [ebp - 0x2010]
lea edx, [ebp - 0x1810]
push 1
push 0x10
call fcn.01c75e50
add esp, 8
mov esi, 4
xor eax, eax
jmp 0x1c30b9c
mov dword [ebp + edx*8 - 0x810], 0
call dword [0x1cef298]
push edi
call ecx
add esp, 4
mov al, 1
add esi, 8
cmp esi, 0x804
je 0x1c30a6e
movzx edx, word [ebp + esi - 0x2010]
mov edi, dword [ebp + edx*8 - 0x810]
test edi, edi
je 0x1c30b8d
mov ecx, edx
shl ecx, 4
cmp dword [ebp + ecx - 0x1810], 0
je 0x1c30b8d
mov ebx, dword [ebp + edx*8 - 0x80c]
cmp ebx, dword [ebp + ecx - 0x1808]
jne 0x1c30b8d
mov ecx, dword [ebp + ecx - 0x180c]
test ecx, ecx
jne 0x1c30b74
jmp 0x1c30b8d
push 0x1d07150
call fcn.01c9518a
add esp, 4
cmp dword [0x1d07150], 0xffffffff
jne 0x1c30aa2
push 4
call fcn.01c9515a
add esp, 4
mov dword [eax], 0
mov dword [0x1d0714c], eax
push 0x1d07150
call fcn.01c951d9
add esp, 4
jmp 0x1c30aa2
int3
Function at 0x1c30f40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x1c67770
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword fs:[0], eax
test byte [ecx + 4], 1
jne 0x1c30fb1
movzx ebx, byte [ebp + 0x18]
mov eax, dword [esi]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [0x1cef298]
movsx eax, byte [ebp + 0x14]
mov ecx, esi
push ebx
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
call edi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], eax
cmp eax, 0x1cf7724
jne 0x1c31114
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x30]
push 0x1cf780c
call fcn.01c93c40
mov esi, eax
cmp dword [ebp - 0x20], 0x1cf7724
je 0x1c31017
xor eax, eax
dec eax
mov ecx, dword [ebp - 0x20]
lock xadd dword [ecx + 4], eax
test eax, eax
jne 0x1c31017
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [0x1cef298]
mov ecx, ebx
call edi
xor eax, eax
dec eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov ecx, dword [esi]
mov dl, byte [ebp + 0x18]
xor dl, 1
movzx edx, dl
mov edi, dword [ecx + edx*4 + 0x14]
mov dword [ebp - 0x10], eax
mov ecx, edi
call dword [0x1cef298]
mov ecx, esi
lea eax, [ebp - 0x30]
push eax
call edi
movzx eax, byte [ebp - 0x25]
mov edx, eax
test al, al
jns 0x1c31052
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
test edx, edx
je 0x1c310eb
test al, al
lea eax, [ebp - 0x30]
cmovns ecx, eax
mov dword [ebp - 0x20], ecx
jmp 0x1c310c8
movzx edi, al
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov esi, dword [eax + 0x30]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [0x1cef298]
mov dword [ebp - 0x10], 1
mov ecx, ebx
push edi
call esi
xor ecx, ecx
cmp eax, 0xffffffff
je 0x1c3109a
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x24], ecx
jmp 0x1c310a6
mov dword [ebp - 0x24], 0
movzx eax, byte [ebp - 0x25]
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x30]
mov esi, eax
test al, al
jns 0x1c310bb
mov esi, dword [ebp - 0x2c]
mov edx, ecx
add edx, esi
mov esi, dword [ebp - 0x20]
inc esi
mov dword [ebp - 0x20], esi
cmp esi, edx
je 0x1c310eb
cmp dword [ebp - 0x24], 0
je 0x1c3109f
mov eax, dword [ebp - 0x20]
mov al, byte [eax]
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx + 0x18]
cmp ecx, dword [edx + 0x1c]
je 0x1c3106a
lea edx, [ecx + 1]
mov esi, dword [ebp - 0x24]
mov dword [esi + 0x18], edx
mov byte [ecx], al
jmp 0x1c310a6
shr al, 7
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x24]
mov dword [edx], esi
test al, al
je 0x1c31103
push ecx
call fcn.01c95155
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
jmp 0x1c30fa7
mov eax, dword [ebp - 0x20]
lock inc dword [eax + 4]
jmp 0x1c30fce
Function at 0x1c32fd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xac
mov eax, dword [ebp + 0xc]
mov edx, dword [0x1cf3040]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov edi, dword [ecx + 4]
mov esi, 0x7fffffff
cmp eax, 0x7fffffff
cmovb esi, eax
lea eax, [ebp - 0xb8]
mov dword [eax], 0xffffffff
push 0
push eax
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1c33083
mov eax, dword [sym.imp.KERNEL32.dll_GetFileType]
mov ebx, dword [ebp - 0xb8]
test ebx, ebx
je 0x1c33049
cmp ebx, 0xffffffff
je 0x1c3305b
test ebx, ebx
js 0x1c33095
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, ebx
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
push edi
mov ebx, eax
call eax
cmp eax, 3
je 0x1c3305e
mov ebx, dword [ebp - 0xb8]
jmp 0x1c3302c
int3
mov dword [ebp - 0xb8], 0xffffffff
push 0
lea eax, [ebp - 0xb8]
push eax
push esi
push dword [ebp + 8]
push edi
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
call eax
test eax, eax
mov eax, ebx
jne 0x1c3301d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x6d
setne bl
neg ebx
jmp 0x1c3302c
xor ebx, ebx
dec ebx
cmp byte [ebp + 0x10], 0
je 0x1c33030
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [ebp - 0xb8]
mov ecx, esi
push eax
push 2
push 0x28
push str....._third_partycrashpadcrashpadutil_file_file_io.cc
call fcn.01cd28c0
lea eax, [ebp - 0xb0]
push 8
push 0x1ce491a
push eax
call fcn.01cbf530
add esp, 0xc
mov ecx, esi
call fcn.01c6d150
jmp 0x1c33030
Function at 0x1c33410
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ebx, ecx
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor esi, esi
lea edi, [ebp - 0x1c]
mov dword [edi + 8], esi
xorps xmm0, xmm0
movsd qword [edi], xmm0
push edi
mov dword [ebp - 0x20], edx
push edx
push ecx
call fcn.01c84f90
add esp, 0xc
cmp byte [edi + 0xb], 0
jns 0x1c3344b
mov edi, dword [ebp - 0x1c]
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov esi, eax
cmp byte [ebp - 0x11], 0
jns 0x1c33467
push dword [ebp - 0x1c]
call fcn.01c95155
add esp, 4
cmp dword [ebp + 8], 0
je 0x1c33518
test esi, esi
je 0x1c33518
lea eax, [esi + esi]
xor ecx, ecx
dec ecx
test esi, esi
cmovns ecx, eax
push ecx
call fcn.01c96a5d
add esp, 4
mov edi, eax
xorps xmm0, xmm0
mov eax, ebx
lea ebx, [ebp - 0x1c]
movsd qword [ebx], xmm0
mov dword [ebx + 8], 0
push ebx
push dword [ebp - 0x20]
push eax
call fcn.01c84f90
add esp, 0xc
cmp byte [ebx + 0xb], 0
jns 0x1c334b8
mov ebx, dword [ebp - 0x1c]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x1c334d2
push dword [ebp - 0x1c]
call fcn.01c95155
add esp, 4
push edi
call fcn.01c96aca
add esp, 4
lea ecx, [ebp - 0x1c]
push eax
push edi
push ecx
call fcn.01c8c9e0
add esp, 0xc
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0xb], 0
jns 0x1c334fc
push dword [ebx]
call fcn.01c95155
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebx], xmm0
test edi, edi
je 0x1c33518
push edi
call fcn.01c968a6
add esp, 4
test esi, esi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret