joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477e00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x5a05c4]
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x166
push str..._.._base_win_shortcut.cc
push 0x563dec
push ebx
call fcn.0043e1b0
add esp, 0x10
lea esi, [ebp - 0x1c]
mov ecx, esi
push 0
push ebx
call fcn.00449640
cmp byte [edi + 0xb], 0
jns 0x477e46
mov edi, dword [edi]
push 0
push 0
push 0
push edi
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
mov ecx, esi
setg bl
call fcn.00449730
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527311
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x477e80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x5a05c4]
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x16f
push str..._.._base_win_shortcut.cc
push str.UnpinShortcutFromTaskbar
push ebx
call fcn.0043e1b0
add esp, 0x10
lea esi, [ebp - 0x1c]
mov ecx, esi
push 0
push ebx
call fcn.00449640
cmp byte [edi + 0xb], 0
jns 0x477ec6
mov edi, dword [edi]
push 0
push 0
push 0
push edi
push str.taskbarunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
mov ecx, esi
setg bl
call fcn.00449730
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527311
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x477f00
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x160
mov eax, dword [0x5a05c4]
xor eax, ebp
mov dword [esp + 0x158], eax
mov ecx, dword [0x5a4294]
mov edx, dword fs:[0x2c]
mov eax, dword [0x5a4340]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x477f55
mov ecx, dword [esp + 0x158]
xor ecx, ebp
call fcn.00527311
mov eax, 0x5a433c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5a4340
call fcn.00527357
add esp, 4
cmp dword [0x5a4340], 0xffffffff
jne 0x477f3a
lea eax, [esp + 0x40]
push 0x118
push 0
push eax
call fcn.0052b7c0
add esp, 0xc
lea edi, [esp + 0x3c]
mov dword [esp + 0x3c], 0x11c
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x50
call fcn.00527256
add esp, 4
mov ecx, dword [0x5a4294]
mov edx, dword fs:[0x2c]
mov esi, eax
mov eax, dword [0x5a4368]
mov ebx, dword [esp + 0xc]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x478004
mov ecx, esi
push ebx
push 0x5a4344
push edi
call fcn.004781a0
mov dword [0x5a433c], esi
push 0x5a4340
call fcn.005273cd
add esp, 4
jmp 0x477f3a
push 0x5a4368
call fcn.00527357
add esp, 4
cmp dword [0x5a4368], 0xffffffff
jne 0x477fde
xorps xmm0, xmm0
lea eax, [esp + 0x10]
mov dword [esp + 0x30], 0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movsd xmm1, qword [esp + 0x20]
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
movsd xmm2, qword [esp + 0x10]
movsd qword [0x5a4354], xmm1
movsd xmm1, qword [esp + 0x18]
mov dword [0x5a4364], eax
movsd qword [0x5a435c], xmm0
movsd qword [0x5a4344], xmm2
movsd qword [0x5a434c], xmm1
push 0x5a4368
call fcn.005273cd
add esp, 4
jmp 0x477fde
Function at 0x4780a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov eax, dword [0x5a05c4]
xor eax, ebp
mov dword [esp + 0x30], eax
mov ecx, dword [0x5a4294]
mov edx, dword fs:[0x2c]
mov eax, dword [0x5a4368]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x478114
movzx eax, word [0x5a4344]
cmp eax, 0xc
ja case.0x4780e0.1
xor esi, esi
jmp dword [eax*4 + 0x563ee4]
mov esi, 2
jmp case.0x4780e0.0
mov esi, 4
jmp case.0x4780e0.0
mov esi, 1
jmp case.0x4780e0.0
mov esi, 3
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.00527311
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x5a4368
call fcn.00527357
add esp, 4
cmp dword [0x5a4368], 0xffffffff
jne 0x4780d2
xorps xmm0, xmm0
mov eax, esp
mov dword [esp + 0x20], 0
movaps xmmword [esp + 0x10], xmm0
movaps xmmword [esp], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movsd xmm1, qword [esp + 0x10]
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x18]
movsd xmm2, qword [esp]
movsd qword [0x5a4354], xmm1
movsd xmm1, qword [esp + 8]
mov dword [0x5a4364], eax
movsd qword [0x5a435c], xmm0
movsd qword [0x5a4344], xmm2
movsd qword [0x5a434c], xmm1
push 0x5a4368
call fcn.005273cd
add esp, 4
jmp 0x4780d2
Function at 0x4809a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
test ecx, ecx
je 0x4809d6
mov edx, dword [ebp + 0xc]
nop word cs:[eax + eax]
nop dword [eax]
movzx edi, byte [edx]
movzx esi, al
shr eax, 8
inc edx
xor edi, esi
xor eax, dword [edi*4 + 0x565e78]
dec ecx
jne 0x4809c0
pop esi
pop edi
pop ebp
ret

Function at 0x4810f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1408
call fcn.00527850
mov eax, dword [0x5a05c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x5a05f4]
cmp eax, 0xffffffff
je 0x48123f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test bl, 3
je 0x48123f
and ebx, 0xfffffffc
lea eax, [ebp - 0x810]
push 0x800
push ebx
push eax
call fcn.0052acc0
add esp, 0xc
mov ecx, dword [0x5a05f4]
lea eax, [ebp - 0x80f]
push eax
mov dword [ebp - 0x1414], ecx
push ecx
call fcn.004bbf30
add esp, 8
test ebx, ebx
je 0x48116b
push ebx
call fcn.0052730c
add esp, 4
mov ecx, dword [0x5a4294]
mov edx, dword fs:[0x2c]
mov eax, dword [0x5a4fd4]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x481254
mov esi, dword [0x5a4fd0]
mov ecx, esi
call fcn.00456110
lea eax, [ebp - 0x1410]
push 0xc00
push 0x5a43d0
push eax
call fcn.0052acc0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0x100
mov al, 1
jmp 0x4811d8
cmp esi, 2
lea esi, [esi - 1]
jb 0x48122f
test al, 1
je 0x48122f
mov ebx, 0xfffff400
xor eax, eax
lea edi, [ebp - 0x810]
jmp 0x4811f8
add edi, 8
add ebx, 0xc
je 0x4811d0
mov ecx, dword [edi]
test ecx, ecx
je 0x4811f0
cmp dword [ebp + ebx - 0x810], 0
je 0x4811f0
mov edx, dword [edi + 4]
cmp edx, dword [ebp + ebx - 0x808]
jne 0x4811f0
mov edx, dword [ebp + ebx - 0x80c]
test edx, edx
je 0x4811f0
mov dword [edi], 0
push ecx
call edx
add esp, 4
mov al, 1
jmp 0x4811f0
push 2
push dword [ebp - 0x1414]
call fcn.004bbf30
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527311
add esp, 0x1408
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5a4fd4
call fcn.00527357
add esp, 4
cmp dword [0x5a4fd4], 0xffffffff
jne 0x48118c
push 4
call fcn.00527256
add esp, 4
mov ecx, eax
mov esi, eax
call fcn.00456100
mov dword [0x5a4fd0], esi
push 0x5a4fd4
call fcn.005273cd
add esp, 4
jmp 0x48118c

Function at 0x4812a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5a05f4]
cmp eax, 0xffffffff
je 0x4812c0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4812d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [0x5a05f4]
mov esi, ecx
cmp eax, 0xffffffff
je 0x4812ed
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x4812f2
call fcn.004813e0
mov ecx, dword [0x5a4294]
mov edx, dword fs:[0x2c]
mov eax, dword [0x5a4fd4]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x481392
mov edi, dword [0x5a4fd0]
mov ecx, edi
call fcn.00456110
mov eax, dword [0x5a43cc]
mov ecx, 0x100
inc eax
nop dword [eax + eax]
movzx edx, al
lea ebx, [edx + edx*2]
cmp dword [ebx*4 + 0x5a43d0], 0
je 0x481346
inc eax
dec ecx
jne 0x481330
jmp 0x481376
mov ecx, dword [ebp + 8]
lea eax, [ebx*4 + 0x5a43d0]
mov dword [0x5a43cc], edx
mov dword [eax], 1
lea eax, [edx*4]
mov dword [eax + eax*2 + 0x5a43d4], ecx
mov dword [esi], edx
mov eax, dword [eax + eax*2 + 0x5a43d8]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4813d7
cmp eax, 0x100
jge 0x4813da
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0x5a4fd4
call fcn.00527357
add esp, 4
cmp dword [0x5a4fd4], 0xffffffff
jne 0x481313
push 4
call fcn.00527256
add esp, 4
mov ecx, eax
mov edi, eax
call fcn.00456100
mov dword [0x5a4fd0], edi
push 0x5a4fd4
call fcn.005273cd
add esp, 4
jmp 0x481313
int3
int3

Function at 0x4813e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x808
mov eax, dword [0x5a05c4]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [0x5a05f4]
cmp eax, 0xffffffff
mov dword [ebp - 0x810], eax
jne 0x48147e
lea esi, [ebp - 0x810]
push esi
call fcn.004bbf00
add esp, 4
test al, al
je 0x4814ff
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x481455
push esi
call fcn.004bbf00
add esp, 4
test al, al
je 0x481502
cmp dword [ebp - 0x810], 0xffffffff
je 0x481502
push 0xffffffffffffffff
call fcn.004bbf20
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x5a05f4], ecx
mov eax, dword [ebp - 0x810]
je 0x48147e
push eax
call fcn.004bbf20
add esp, 4
mov eax, dword [0x5a05f4]
mov dword [ebp - 0x810], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x4814fc
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.0052b7c0
add esp, 0xc
lea eax, [ebp - 0x809]
push eax
push dword [ebp - 0x810]
call fcn.004bbf30
add esp, 8
push 0x800
call fcn.00527303
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.0052acc0
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x810]
call fcn.004bbf30
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00527311
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebp
ret
int3
int3
int3

Function at 0x4904e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, 5
pop ebp
jmp fcn.004904f5
Function at 0x4904f5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x21c
mov eax, dword [0x5a05c4]
mov edi, edx
lea esi, [ebp - 0x218]
xor ebx, ebx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov word [esi], 0
push esi
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x49056d
cmp word [ebp - 0x218], 0
mov dword [ebp - 0x228], edi
je 0x490549
xor ebx, ebx
cmp word [ebp + ebx*2 - 0x216], 0
lea ebx, [ebx + 1]
jne 0x49053b
lea edi, [ebp - 0x224]
mov ecx, edi
push ebx
push esi
call fcn.0043a400
mov ecx, dword [ebp - 0x228]
push edi
call fcn.0043a500
mov ecx, edi
call fcn.0043a4c0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527311
mov eax, ebx
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x490744
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, 0xd
pop ebp
jmp fcn.004904f5

Function at 0x490755
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, 0x27
pop ebp
jmp fcn.004904f5

Function at 0x490766
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, 0xe
pop ebp
jmp fcn.004904f5
Function at 0x490a20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [0x5a05c4]
mov ebx, ecx
lea esi, [ebp - 0x1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], edx
push edx
push ecx
push esi
call fcn.00448d10
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x490a4f
mov esi, dword [ebp - 0x1c]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
mov edi, eax
js 0x490add
test edi, edi
je 0x490af0
cmp dword [ebp + 8], 0
mov dword [ebp - 0x20], ebx
mov bl, 1
je 0x490b54
mov eax, edi
mov ecx, 0xffffffff
add eax, edi
cmovae ecx, eax
push ecx
call fcn.00527303
add esp, 4
mov esi, eax
lea ebx, [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push ebx
call fcn.00448d10
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x490aab
mov ebx, dword [ebp - 0x1c]
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [ebp - 0x11], 0
jns 0x490ac5
push dword [ebp - 0x1c]
call fcn.005272d6
add esp, 4
cmp word [esi], 0
mov bl, 1
je 0x490af4
xor eax, eax
nop
cmp word [esi + eax*2 + 2], 0
lea eax, [eax + 1]
jne 0x490ad0
jmp 0x490af6
push dword [ebp - 0x1c]
call fcn.005272d6
add esp, 4
test edi, edi
jne 0x490a6a
xor ebx, ebx
jmp 0x490b54
xor eax, eax
lea ecx, [ebp - 0x1c]
push eax
push esi
push ecx
call fcn.00449130
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0xb], 0
js 0x490b16
mov byte [ecx], 0
mov byte [ecx + 0xb], 0
jmp 0x490b3c
mov eax, dword [ecx]
mov byte [eax], 0
mov dword [ecx + 4], 0
cmp byte [ecx + 0xb], 0
jns 0x490b3c
push dword [ecx]
call fcn.005272d6
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [ecx + 8], 0
mov eax, dword [ebp - 0x14]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ecx], xmm0
push esi
call fcn.0052730c
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527311
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x490c99
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov eax, dword [0x5a05c4]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, ecx
cmp byte [ecx + 0xb], 0
jns 0x490cbb
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x490d9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x490cf6
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527311
mov ecx, esi
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00490db6
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x490d9d
call fcn.0043ef80
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x244
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0043f140
lea eax, [ebp - 0xb0]
push 0x10
push str.CreateDirectory
push eax
call fcn.004058b5
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x490d4a
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.00449130
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x490d6f
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.004058b5
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0xb9], al
jns 0x490d92
push dword [ebp - 0xc4]
call fcn.005272d6
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0043f200
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527311
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x490db6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xb8
mov eax, dword [0x5a05c4]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, ecx
cmp byte [ecx + 0xb], 0
jns 0x490dd8
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x490ea8
mov bl, 1
test al, 0x10
jne 0x490f51
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x490f4f
lea ecx, [ebp - 0xb8]
push 2
push 0x232
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0043e680
lea eax, [ebp - 0xb4]
push 0x12
push str.GetFileAttributes
push eax
call fcn.004058b5
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x490e40
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.00449130
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x490e65
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.004058b5
add esp, 0xc
push 0x11
push str.:_not_a_directory
push eax
call fcn.004058b5
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0xb9], al
jns 0x490e98
push dword [ebp - 0xc4]
call fcn.005272d6
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0043ea30
jmp 0x490f4f
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x490f4f
call fcn.0043ef80
lea ecx, [ebp - 0xb8]
push eax
push 2
push 0x22e
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0043f140
lea eax, [ebp - 0xb0]
push 0x12
push str.GetFileAttributes
push eax
call fcn.004058b5
add esp, 0xc
mov edi, eax
movzx eax, byte [esi + 0xb]
test al, al
jns 0x490efc
mov eax, dword [esi + 4]
mov esi, dword [esi]
lea ebx, [ebp - 0xc4]
push eax
push esi
push ebx
call fcn.00449130
add esp, 0xc
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x490f21
mov eax, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xc4]
push eax
push ebx
push edi
call fcn.004058b5
add esp, 0xc
xor eax, eax
cmp byte [ebp - 0xb9], al
jns 0x490f44
push dword [ebp - 0xc4]
call fcn.005272d6
add esp, 4
lea ecx, [ebp - 0xb8]
call fcn.0043f200
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527311
mov eax, ebx
add esp, 0xb8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x492f90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x50]
cmp eax, edx
jne 0x492fa5
cmp byte [ecx + 0x1b], 0
jns 0x492fb3
mov ecx, dword [ecx + 0x10]
jmp 0x492fb6
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [ecx + ecx*2 + 1]
jmp 0x492fd0
add ecx, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
mov ecx, eax
shr edx, 3
and edx, 2
xor eax, eax
inc eax
cmp ecx, 0xffffffff
cmovne eax, edx
pop ebp
ret

Function at 0x496740
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov ecx, dword [0x5a05c4]
mov eax, dword [ebp + 0xc]
xor ecx, ebp
cmp eax, 3
mov dword [ebp - 0xc], ecx
jne 0x4967d4
push 0x4967f0
push 0x5a5110
call fcn.004966f4
add esp, 8
cmp dword [0x5a5114], 0
jne 0x4967d4
push dword [0x5a5118]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4967d4
mov esi, eax
mov edi, 0x5a511c
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x5a5128]
movsd xmm0, qword [0x5a5120]
mov dword [ebp - 0x10], eax
movsd qword [ebp - 0x18], xmm0
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edi, 0xfffffff4
mov eax, dword [ebp + edi - 0xc]
test eax, eax
je 0x4967c6
push dword [esi + edi + 0xc]
call eax
add esp, 4
add edi, 4
jne 0x4967b5
push esi
call fcn.0045cf9c
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00527311
add esp, 0x10
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x4aa734
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ecx + 0x1c]
mov esi, ecx
lea edi, [ecx + 0x1c]
test eax, eax
je 0x4aa752
mov dword [edi], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x18]
lea ebx, [esi + 0x18]
test eax, eax
je 0x4aa768
mov dword [ebx], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 0x5681bc
push 0x17
push 0
push 0x570098
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebx]
js 0x4aa7aa
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x48]
test eax, eax
js 0x4aa7b6
mov edi, dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.004278ba
add esi, 0xc
mov ecx, esi
push edi
call fcn.0043a4e0
mov al, 1
jmp 0x4aa7ca
test eax, eax
je 0x4aa7c8
mov dword [ebx], 0
jmp 0x4aa7c2
mov eax, dword [edi]
test eax, eax
je 0x4aa7c8
mov dword [edi], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4afa20
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 [0x5a05c4]
xor eax, ebp
mov dword [esp + 0x18], eax
mov edi, dword [ecx + 0x38]
test edi, edi
jne 0x4afac3
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.00527256
add esp, 4
mov ebx, eax
lea eax, [esp + 8]
mov edi, esp
mov ecx, esi
push eax
push edi
call fcn.004af990
mov ecx, ebx
push edi
push dword [esi + 0x28]
lea eax, [esp + 0x10]
push eax
call fcn.004afae0
mov edi, dword [esi + 0x38]
mov dword [esi + 0x38], ebx
test edi, edi
je 0x4afaad
mov ecx, edi
call fcn.004afb30
push edi
call fcn.005272d6
add esp, 4
cmp byte [esp + 0x13], 0
jns 0x4afac0
push dword [esp + 8]
call fcn.005272d6
add esp, 4
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x18]
xor ecx, ebp
call fcn.00527311
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4b4b86
Capabilities:
Check os version
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x5a05c4]
mov bl, byte [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
xor eax, ebp
test bl, bl
mov dword [ebp - 0x10], eax
je 0x4b4bd2
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
cmp eax, 6
jb 0x4b4bd2
lea edi, [ebp - 0x1c]
mov dword [edi], 0xc
push 0
call fcn.004b4c0f
add esp, 4
mov dword [edi + 4], eax
mov dword [edi + 8], 1
movzx eax, bl
shl eax, 0x13
or eax, 3
cmp byte [esi + 0xb], 0
jns 0x4b4be3
mov esi, dword [esi]
mov ecx, 0x200
push edi
push 0
push ecx
push ecx
push 2
push 6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
xor ecx, ebp
call fcn.00527311
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4b4e24
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0xac
mov eax, dword [0x5a05c4]
mov esi, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
and ecx, 0xfe
cmp ecx, 6
jb 0x4b4ed9
and eax, 0xfeff
cmp eax, 6
je 0x4b4ed9
mov ecx, dword [0x5a4294]
mov edx, dword fs:[0x2c]
mov eax, dword [0x5a51fc]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4b4ef8
push 0x10000000
push 0
push esi
call dword [0x5a51f8]
mov bl, 1
test eax, eax
jne 0x4b4ee2
push 2
call fcn.0043e5e0
add esp, 4
test al, al
je 0x4b4ed5
call fcn.0043ef80
lea esi, [ebp - 0xb4]
mov ecx, esi
push eax
push 2
push 0x21
push str..._.._third_party_crashpad_crashpad_util_win_critical_section_with_debug_info.cc
call fcn.0043f140
lea eax, [ebp - 0xac]
push 0x1b
push 0x569e49
push eax
call fcn.004058b5
add esp, 0xc
mov ecx, esi
call fcn.0043f200
xor ebx, ebx
jmp 0x4b4ee2
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov bl, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00527311
mov eax, ebx
add esp, 0xac
pop esi
pop ebx
pop ebp
ret
push 0x5a51fc
call fcn.00527357
add esp, 4
cmp dword [0x5a51fc], 0xffffffff
jne 0x4b4e7a
push 1
push str.::InitializeCriticalSectionEx
push 0x55bc42
call fcn.004b544c
add esp, 0xc
mov dword [0x5a51f8], eax
push 0x5a51fc
call fcn.005273cd
add esp, 4
jmp 0x4b4e7a

Function at 0x4b4f40
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