joyce8/EMBER2024-capa huggingface dataset:
Function at 0x520270
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov dword [esp], edx
mov esi, ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x58], eax
xor eax, eax
dec eax
lea ebx, [esp + 0x20]
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edi, [esp + 0x10]
push 0xc4
push str..._.._base_files_file_util_win.cc
push str.DoCopyFile
push edi
call fcn.004c10c0
add esp, 0x10
mov ecx, ebx
mov ebx, edi
mov edi, esi
push 0
push ebx
call fcn.004c7be0
mov ecx, esi
call fcn.004cc630
test al, al
jne 0x5202ee
mov esi, dword [esp]
mov ecx, esi
call fcn.004cc630
test al, al
je 0x52030e
xor ebx, ebx
lea ecx, [esp + 0x20]
call fcn.004c7b60
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [edi + 0xb]
test al, al
jns 0x520319
mov eax, dword [edi + 4]
cmp eax, 0x103
mov ecx, 0xffffffff
ja 0x5202ee
movzx eax, byte [esi + 0xb]
test al, al
jns 0x520330
mov eax, dword [esi + 4]
cmp eax, 0x103
ja 0x5202ee
mov eax, ebx
lea ebx, [esp + 4]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
push 0xd1
push str..._.._base_files_file_util_win.cc
push str.DoCopyFile
push eax
call fcn.004c10c0
add esp, 0x10
mov ecx, ebx
push 0x5c7174
lea eax, [esp + 0x14]
push eax
call fcn.00426d10
cmp byte [esi + 0xb], 0
jns 0x520376
mov esi, dword [esi]
mov al, byte [ebp + 8]
movzx eax, al
cmp byte [edi + 0xb], 0
jns 0x520384
mov edi, dword [edi]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x5203c7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
je 0x5203b3
mov eax, edi
and eax, 1
je 0x5203b3
mov eax, edi
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp edi, 0xffffffff
setne bl
lea ecx, [esp + 4]
call fcn.00426c00
jmp 0x5202f0
xor ebx, ebx
jmp 0x5203b9
Function at 0x5203e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.004d5a00
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x57dff0]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x520448
cmp word [ebp - 0x214], 0
je 0x520448
push edi
call fcn.004d00f2
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.004cae90
jmp 0x52048e
xor eax, eax
dec eax
lea edi, [ebp - 0x220]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.0041a390
push edi
call fcn.004287a0
add esp, 4
mov ecx, esi
test al, al
je 0x520477
push edi
call fcn.00434de0
jmp 0x520483
push 3
push 0x57e096
call fcn.004cae90
lea ecx, [ebp - 0x220]
call fcn.004c5e70
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004d25a3
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
Function at 0x520a20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov esi, ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x48], eax
xor eax, eax
dec eax
lea edi, [esp + 0x10]
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov ebx, esp
push 0x1a
push str..._.._base_files_memory_mapped_file_win.cc
push str.MapImageToMemory
push ebx
call fcn.004c10c0
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.004c7be0
mov ecx, esi
call fcn.00407960
test al, al
je 0x520ae7
mov ecx, esi
call fcn.0040a5c0
sub esp, 0x18
movdqa xmm0, xmmword [0x57e2a0]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
cmp dword [esi + 0x24], eax
je 0x520adf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x24]
inc eax
cmp eax, 2
jae 0x520b44
mov eax, edi
inc eax
cmp eax, 2
jb 0x520ad5
mov dword [esi + 0x24], edi
call fcn.004bafe0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 0x24]
lea eax, [edi + 1]
cmp eax, 2
jae 0x520b09
xor ebx, ebx
lea ecx, [esp + 0x10]
call fcn.004c7b60
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
sub esp, 0x14
movdqa xmm0, xmmword [0x579af0]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x520ae7
mov ecx, esp
mov dword [ecx], 0x57e304
mov dword [ecx + 4], eax
call fcn.00520b60
mov eax, dword [eax + 0x50]
mov dword [esi + 0x20], eax
mov bl, 1
jmp 0x520ae9
call fcn.004bafe0
push dword [esi + 0x24]
call fcn.004c1b90
add esp, 4
mov dword [esi + 0x24], 0
jmp 0x520ac5
Function at 0x520c40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 4], 0
je 0x520cb2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x520cb6
cmp byte [ebp + 0xc], 0
je 0x520c92
cmp byte [esi + 4], 0
je 0x520d07
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, esi
push edi
call fcn.0042d440
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [esi]
jmp 0x520c64
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 4], 0
je 0x520cdc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x520ce0
xor ebx, ebx
jmp 0x520c9c
mov eax, dword [esi]
jmp 0x520cc8
mov dword [ebp - 0x14], 0xffffffff
cmp byte [esi + 4], 0
je 0x520d0e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x520c92
mov edi, dword [ebp - 0x14]
jmp 0x520c92
mov eax, dword [esi]
jmp 0x520c86
mov eax, dword [esi]
jmp 0x520cf3

Function at 0x521240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, ecx
xor eax, eax
mov dword [ecx], eax
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], eax
lea edi, [ebx + 1]
cmp edi, 2
jb 0x521260
call fcn.004bafe0
cmp dword [esi], ebx
je 0x52128b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jae 0x5212c1
cmp edi, 2
jb 0x521282
mov dword [esi], ebx
mov edi, eax
call fcn.004bafe0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [esi]
mov byte [esi + 4], 1
inc ebx
cmp ebx, 1
jbe 0x5212de
lea edi, [ebp + 8]
mov eax, dword [edi]
inc eax
cmp eax, 2
jb 0x5212b5
call fcn.004bafe0
push dword [edi]
call fcn.004c1b90
add esp, 4
mov dword [edi], 0
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], eax
call fcn.004bafe0
push dword [esi]
call fcn.004c1b90
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [esi], 0
jmp 0x521272
int3
Function at 0x524470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x52455b
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x50]
movdqa xmmword [ebx], xmm0
movdqa xmmword [ebx + 0x10], xmm0
mov word [ebx], 0x301
mov dword [ebx + 4], ecx
movsd xmm0, qword [eax]
movsd qword [ebx + 0x10], xmm0
xor eax, eax
dec eax
lea edi, [esp + 0x48]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [esp], edi
mov dword [esp + 0x44], edx
call fcn.004bb520
mov eax, dword [0x57f95c]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
xor edi, edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edi
xorps xmm0, xmm0
movups xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0x579330]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.00426390
sub esp, 0x44
mov al, byte [ebx]
test al, al
je 0x52455b
cmp byte [esp + edi + 0x51], 8
jne 0x524553
mov ecx, dword [esp + edi*8 + 0x60]
test ecx, ecx
je 0x524553
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
mov al, byte [esp + 0x50]
inc edi
movzx ecx, al
cmp edi, ecx
jb 0x524532
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004d25a3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x5261f0
Capabilities:
Schedule task via itaskscheduler
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x5c7ec0], 0
je 0x526200
xor eax, eax
pop ebp
ret
cmp dword [ebp + 0xc], 0
jne 0x52620f
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.00540f70
pop ebp
jmp fcn.0053f5e0
Function at 0x526980
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esi + 0x88], eax
mov dword [esi + 8], ecx
mov dword [ecx], 0
xor eax, eax
dec eax
lea edi, [esi + 0x7c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push edi
call fcn.00543190
add esp, 4
cmp byte [edi + 0xb], 0
jns 0x5269c7
mov edi, dword [esi + 0x7c]
cmp byte [ebp + 8], 0
je 0x5269db
xor eax, eax
push edi
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
jmp 0x5269e9
push edi
push 1
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x526adb
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esi + 4], ebx
cmp ebx, 0xffffffff
je 0x526b98
call fcn.004bafe0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [esi + 4]
mov dword [esi + 4], ebx
lea eax, [ebx + 1]
cmp eax, 1
jbe 0x526ae2
push 8
call fcn.004cf0a6
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], esp
push eax
mov edi, esp
mov dword [edi], 0
call fcn.004bafe0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [edi]
inc eax
cmp eax, 2
jae 0x526b84
mov eax, dword [esi + 4]
mov dword [edi], eax
call fcn.004bafe0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 0x10]
mov ecx, edi
call fcn.00521240
mov esp, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ebx, dword [eax]
mov dword [eax], edi
mov edi, eax
xor ecx, ecx
test ebx, ebx
je 0x526a96
mov ecx, ebx
call fcn.004c1b60
push ebx
call fcn.004cf0d6
xor ecx, ecx
add esp, 4
lea eax, [ecx + 1]
cmp eax, 2
jb 0x526aae
mov ebx, ecx
call fcn.004bafe0
push ebx
call fcn.004c1b90
add esp, 4
cmp byte [esi + 0x87], 0
jns 0x526ac2
push dword [esi + 0x7c]
call fcn.004cf0d6
add esp, 4
mov ecx, dword [esi + 0x88]
xor ecx, ebp
call fcn.004d25a3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
xor ebx, ebx
jmp 0x526a16
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esi + 0x14]
push eax
push ebx
call fcn.00501dd0
add esp, 8
lea ecx, [esi + 0x20]
push ebx
push 0x1f8
push str.ServiceUpdateInitEvent
push 1
call fcn.00501b30
mov eax, str.Create
mov edx, str.Open
mov cl, byte [ebp + 8]
test cl, cl
cmovne edx, eax
lea edi, [esi + 0x5c]
movzx eax, cl
lea eax, [edx + eax*2]
add eax, 4
mov ecx, edi
push eax
push edx
call fcn.004fc970
mov ecx, edi
push 0x589a7c
push str._for_
call fcn.004fc970
lea eax, [esi + 0x7c]
lea ecx, [esi + 0x28]
push eax
call fcn.004fefd0
lea ecx, [eax + 0x34]
push 0x589aa3
push str._initialization_events_handle_failed
call fcn.004fc970
lea ecx, [esi + 0x20]
call fcn.00501b70
cmp byte [ebx + 0xb], 0
jns 0x526b79
push dword [esi + 0x14]
call fcn.004cf0d6
add esp, 4
mov edi, dword [esi + 8]
mov ecx, dword [esi + 4]
jmp 0x526a96
call fcn.004bafe0
push dword [edi]
call fcn.004c1b90
add esp, 4
jmp 0x526a57
mov dword [esi + 4], 0
jmp 0x526a0c
Function at 0x527ee0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov edi, ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], 0xffffffff
lea esi, [ecx + 4]
cmp byte [ecx + 0xf], 0
jns 0x527f11
mov ecx, dword [esi]
jmp 0x527f13
mov ecx, esi
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 8], ecx
push ecx
call fcn.004d00f2
add esp, 4
cmp eax, 0x7ffffff0
jae 0x528134
mov ebx, eax
mov dword [esp + 4], edi
mov dword [esp], esi
cmp eax, 5
jb 0x52811e
lea edi, [ebx + 8]
and edi, 0xfffffff8
lea eax, [edi + edi]
push eax
call fcn.004cf0a6
add esp, 4
lea esi, [esp + 0x18]
mov dword [esi], eax
or edi, 0x80000000
mov dword [esi + 8], edi
mov dword [esi + 4], ebx
mov ecx, ebx
add ecx, ebx
push ecx
push dword [esp + 0xc]
push eax
mov edi, eax
call fcn.004d4f00
mov eax, edi
add esp, 0xc
mov edi, dword [ebp + 8]
mov word [eax + ebx*2], 0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x74]
push eax
push 0x20
push ecx
call fcn.00528140
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x527fb4
push dword [esp + 0x18]
call fcn.004cf0d6
add esp, 4
push dword [esp + 0x74]
call fcn.005281e0
add esp, 4
test al, al
je 0x52806c
mov eax, dword [esp + 4]
add eax, 0x20
push eax
push 1
push dword [esp + 0x7c]
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ecx, eax
xor esi, esi
mov eax, 0
test ecx, ecx
jne 0x5280f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 0xc]
push eax
push ebx
call fcn.00501dd0
add esp, 8
lea esi, [esp + 0x18]
mov ecx, esi
push ebx
push 0x38b
push str.StopService
push 1
call fcn.00501b30
lea edi, [esp + 0x20]
lea ecx, [esp + 0x54]
push 0x5809bf
push str.ControlService_error_of_
call fcn.004fc970
mov ecx, edi
push dword [esp]
call fcn.004fefd0
lea ecx, [eax + 0x34]
push 0x579534
push 0x579533
call fcn.004fc970
mov ecx, esi
call fcn.00501b70
cmp byte [ebx + 0xb], 0
jns 0x528065
push dword [esp + 0xc]
call fcn.004cf0d6
add esp, 4
mov esi, 0xf
jmp 0x5280e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 0xc]
push eax
push ebx
call fcn.00501dd0
add esp, 8
lea esi, [esp + 0x18]
mov ecx, esi
push ebx
push 0x385
push str.StopService
push 1
call fcn.00501b30
lea edi, [esp + 0x20]
lea ecx, [esp + 0x54]
push 0x58083f
push str.Failed_to_open_
call fcn.004fc970
mov ecx, edi
push dword [esp]
call fcn.004fefd0
lea ecx, [eax + 0x34]
push 0x5809a5
push str._handle_for_stopping_service
call fcn.004fc970
mov ecx, esi
call fcn.00501b70
cmp byte [ebx + 0xb], 0
jns 0x5280e4
push dword [esp + 0xc]
call fcn.004cf0d6
add esp, 4
mov esi, 5
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], esi
mov dword [edi + 4], 2
mov dword [edi + 8], eax
lea ecx, [esp + 0x74]
call fcn.005281f0
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004d25a3
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea esi, [esp + 0x18]
mov byte [esi + 0xb], bl
mov eax, esi
test ebx, ebx
jne 0x527f6f
jmp 0x527f85
lea ecx, [esp + 0x18]
call fcn.004fc800
int3
Function at 0x52b500
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0xa8], eax
xor edi, edi
dec edi
lea esi, [esp + 0xa0]
mov dword [esi], edi
mov dword [esi + 4], edi
sub esp, 0x14
xorps xmm0, xmm0
movups xmmword [esp + 4], xmm0
mov dword [esp], 0x58a532
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, esi
push eax
call fcn.00543af0
mov eax, dword [esi + 4]
test eax, eax
je 0x52b715
mov edx, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], ebx
xorps xmm0, xmm0
movups xmmword [esp + 0x7c], xmm0
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
cmp byte [edx + 0xb], 0
mov ecx, edx
jns 0x52b590
mov ecx, dword [edx]
lea edx, [esp + 0x70]
lea esi, [esp + 0x90]
push edx
push esi
push 0x80000000
push edi
push str.Accept:__
push ecx
push eax
call fcn.00543b10
add esp, 0x1c
lea esi, [esp + 0x68]
mov ecx, esi
push eax
call fcn.00543af0
cmp dword [esi + 4], ebx
je 0x52b637
lea ecx, [esp + 0x68]
call fcn.00543b90
cmp byte [esp + 0x8b], 0
jns 0x52b5e5
push dword [esp + 0x80]
call fcn.004cf0d6
add esp, 4
cmp byte [esp + 0x7f], 0
jns 0x52b5f8
push dword [esp + 0x74]
call fcn.004cf0d6
add esp, 4
cmp byte [esp + 0x9b], 0
jns 0x52b611
push dword [esp + 0x90]
call fcn.004cf0d6
add esp, 4
mov bl, 1
lea ecx, [esp + 0xa0]
call fcn.00543b90
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esp + 0x70], 0
je 0x52b6c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esp + 4]
push eax
push esi
call fcn.00501dd0
add esp, 8
lea ebx, [esp + 0x10]
mov ecx, ebx
push esi
push 0x132
push str.SendUrl
push 1
call fcn.00501b30
lea edi, [esp + 0x18]
lea ecx, [esp + 0x4c]
push 0x58a5a5
push str.An_attempt_to_open_url
call fcn.004fc970
mov ecx, edi
push dword [ebp + 8]
call fcn.004fefd0
mov edi, eax
lea ecx, [eax + 0x34]
push 0x58a5be
push str._generated_an_exception
call fcn.004fc970
mov ecx, edi
push dword [esp + 0x70]
call fcn.004fee80
mov ecx, ebx
call fcn.00501b70
cmp byte [esi + 0xb], 0
jns 0x52b6c7
push dword [esp + 4]
call fcn.004cf0d6
add esp, 4
lea ecx, [esp + 0x68]
call fcn.00543b90
cmp byte [esp + 0x8b], 0
jns 0x52b6e9
push dword [esp + 0x80]
call fcn.004cf0d6
add esp, 4
cmp byte [esp + 0x7f], 0
jns 0x52b6fc
push dword [esp + 0x74]
call fcn.004cf0d6
add esp, 4
cmp byte [esp + 0x9b], 0
jns 0x52b715
push dword [esp + 0x90]
call fcn.004cf0d6
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
lea ebx, [esp + 0x70]
push eax
push ebx
call fcn.00501dd0
add esp, 8
lea esi, [esp + 0x10]
mov ecx, esi
push ebx
push 0x135
push str.SendUrl
push 1
call fcn.00501b30
lea ecx, [esp + 0x4c]
push 0x58a5dc
push str.Cannot_report_extended_stat:
call fcn.004fc970
call edi
lea ecx, [esp + 0x18]
push eax
call fcn.004fee80
mov ecx, esi
call fcn.00501b70
cmp byte [ebx + 0xb], 0
jns 0x52b77b
push dword [esp + 0x70]
call fcn.004cf0d6
add esp, 4
xor ebx, ebx
jmp 0x52b613
Function at 0x530750
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 [0x5c4738]
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 0x5307c2
and eax, 0xfeff
cmp eax, 6
je 0x5307c2
mov eax, dword [0x5c7f90]
mov ecx, dword [0x5c7534]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x53082b
push 0x10000000
push 0
push esi
call dword [0x5c7f8c]
mov esi, eax
test eax, eax
je 0x5307e2
test esi, esi
setne bl
jmp 0x5307cb
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
add esp, 0xb0
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.004cb810
add esp, 4
test al, al
je 0x5307bb
call fcn.00501800
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.00501810
lea eax, [ebp - 0xb4]
push 0x1b
push 0x58c06d
push eax
call fcn.004b7fc0
add esp, 0xc
mov ecx, edi
call fcn.005018c0
jmp 0x5307bb
push 0x5c7f90
call fcn.004d02b9
add esp, 4
cmp dword [0x5c7f90], 0xffffffff
jne 0x5307a7
push 1
push str.::InitializeCriticalSectionEx
push 0x57fcdc
call fcn.0042a320
add esp, 0xc
mov dword [0x5c7f8c], eax
push 0x5c7f90
call fcn.004d03d3
add esp, 4
jmp 0x5307a7
Function at 0x531930
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 8]
mov edx, dword [0x5c4738]
xor edx, ebp
mov dword [ebp - 8], edx
mov edx, 4
lea esi, [ebp + 0xc]
push edx
push esi
push edx
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004d25a3
mov eax, esi
add esp, 4
pop esi
pop ebp
ret 8
Function at 0x532ef0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov edi, dword [ebp + 8]
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x98], eax
mov eax, dword [0x5c7ec4]
test eax, eax
je 0x532f39
push edi
call eax
add esp, 4
mov ebx, eax
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x94], 0xffffffff
cmp byte [edi + 0xb], 0
jns 0x532f4c
mov edi, dword [edi]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
push edi
call fcn.004d00f2
add esp, 4
cmp eax, 0x7ffffff0
jae 0x5330c3
mov ebx, eax
cmp eax, 5
jb 0x53304e
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.004cf0a6
add esp, 4
lea ecx, [esp + 0x10]
mov dword [ecx], eax
or esi, 0x80000000
mov dword [ecx + 8], esi
mov esi, ecx
mov dword [ecx + 4], ebx
mov ecx, ebx
add ecx, ebx
push ecx
push edi
push eax
mov edi, eax
call fcn.004d4f00
mov eax, edi
add esp, 0xc
mov word [eax + ebx*2], 0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x94]
push eax
push 4
push ecx
call fcn.00528140
add esp, 0xc
cmp byte [esi + 0xb], 0
jns 0x532fe1
push dword [esp + 0x10]
call fcn.004cf0d6
add esp, 4
mov eax, dword [esp + 0x94]
xor ebx, ebx
test eax, eax
je 0x533039
lea ecx, [esp + 0x70]
mov dword [ecx + 0x20], ebx
xorps xmm0, xmm0
movaps xmmword [ecx + 0x10], xmm0
movaps xmmword [ecx], xmm0
lea edx, [esp + 0x6c]
mov dword [edx], ebx
push edx
push 0x24
push ecx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x533064
cmp dword [esp + 0x74], 4
sete bl
cmp dword [esp + 0x94], 0
je 0x533039
call fcn.004bafe0
push dword [esp + 0x94]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
jmp 0x532f31
lea esi, [esp + 0x10]
mov byte [esi + 0xb], bl
mov eax, esi
test ebx, ebx
jne 0x532f9f
jmp 0x532fb2
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 4]
push eax
push edi
call fcn.00501dd0
add esp, 8
lea esi, [esp + 0x10]
mov ecx, esi
push edi
push 0x9c
push str.IsServiceRunning
push 1
call fcn.00501b30
lea ecx, [esp + 0x4c]
push 0x589cbf
push str.Failed_to_query_installed_service_status
call fcn.004fc970
mov ecx, esi
call fcn.00501b70
cmp byte [edi + 0xb], 0
jns 0x5330bc
push dword [esp + 4]
call fcn.004cf0d6
add esp, 4
xor ebx, ebx
jmp 0x53301d
lea ecx, [esp + 0x10]
call fcn.004fc800
int3