joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4df5f0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x60a070]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x4df655
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4df630
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4df655
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0053c439
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.0053c439
add esp, 8
ret 4
Function at 0x4dfd70
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1838
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x4dfdb9
mov dword [ecx], 0
mov dword [eax], 0
cmp dword [edi], 0xffffffff
je 0x4dff0b
mov eax, dword [ebp + 0xc]
mov ecx, 0x100000
push 0
mov ebx, eax
mov dword [ebp - 0x1c], 0
cmp eax, 0x100000
lea eax, [ebp - 0x1c]
push eax
cmova ebx, ecx
push ebx
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7fffbffb
add eax, 0x80004005
cmp dword [edi + 0x1c], 0
je 0x4dfed6
test eax, eax
je 0x4dfed6
mov edx, dword [ebp - 0x1c]
cmp edx, ebx
jae 0x4dfed9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi]
mov dword [ebp - 0x24], eax
cmp ecx, 0xffffffff
je 0x4dfe5b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4dfe4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4dfe5b
mov eax, dword [ebp - 0x14]
xor ecx, ecx
add ecx, esi
adc eax, 0
jmp 0x4dfe69
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push 0
push dword [ebp - 0x24]
push eax
push ecx
sub esp, 0x18
lea eax, [edi + 4]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00403c70
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x18]
mov esi, dword [ebp - 0x20]
test eax, eax
jne 0x4dfed6
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push ebx
add eax, esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, eax
xor edx, edx
test ecx, ecx
mov eax, 0x80004005
cmovne eax, edx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
test ecx, ecx
je 0x4dfe14
jmp 0x4dfed9
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add dword [ecx], edx
test eax, eax
jne 0x4dff02
test edx, edx
je 0x4dfefe
mov eax, dword [ebp + 0xc]
add esi, edx
sub eax, edx
mov dword [ebp - 0x20], esi
mov dword [ebp + 0xc], eax
mov ecx, 0x100000
jne 0x4dfdd0
mov al, 1
jmp 0x4dff0d
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4dff0b
mov dword [ecx], eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c439
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4e31c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x60a070]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 0x110
lea eax, [esp + 0x14]
mov esi, ecx
push 0
push eax
call fcn.00540030
add esp, 0xc
mov dword [esp + 0xc], 0x114
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4e3238
cmp dword [esp + 0x10], 6
jb 0x4e3238
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, 0x80000001
call fcn.004e2fb0
add esp, 0xc
test al, al
je 0x4e3238
cmp word [esi], 0
jne 0x4e3290
lea eax, [esp + 4]
mov dword [esp + 4], 0x207
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, 0x80000000
call fcn.004e2fb0
add esp, 0xc
test al, al
je 0x4e3264
cmp word [esi], 0
jne 0x4e3290
lea eax, [esp + 4]
mov dword [esp + 4], 0x207
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, 0x80000001
call fcn.004e2fb0
add esp, 0xc
test al, al
je 0x4e32a8
cmp word [esi], 0
je 0x4e32a8
mov al, 1
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0053c439
add esp, 0x120
ret
mov ecx, dword [esp + 0x120]
xor al, al
pop esi
xor ecx, esp
call fcn.0053c439
add esp, 0x120
ret
Function at 0x4e3830
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x283c]
mov eax, 0x283c
call fcn.0053d910
push 0xffffffffffffffff
push 0x5b1f58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp + 0x2838], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2000
xor ebx, ebx
lea eax, [ebp + 0x630]
push ebx
push eax
call fcn.00540030
add esp, 0xc
mov eax, 0x22
mov word [ebp + 0x630], ax
test esi, esi
je 0x4e3a31
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x4e3a31
push esi
call edi
cmp eax, 0xffa
jge 0x4e3a31
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x630]
push eax
call esi
push 0x5d89d8
lea eax, [ebp + 0x630]
push eax
call esi
push 0x5d8b24
lea ecx, [ebp - 0x2c]
call fcn.00403c00
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.004b8560
mov ecx, eax
call fcn.004b8630
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00403bb0
test esi, esi
je 0x4e3a31
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4e3a31
lea ecx, [ebp]
call fcn.004e32c0
xor edi, edi
lea esi, [ebp]
cmp word [esi], 0
je 0x4e3956
push 1
push 0
lea eax, [ebp + 0x630]
push eax
push esi
push str.open
push 0
call dword [ebp - 0x10]
cmp eax, 0x20
ja 0x4e3964
inc edi
add esi, 0x210
cmp edi, 3
jl 0x4e3935
jmp 0x4e3986
imul ebx, edi, 0x210
cmp dword [ebp + ebx + 0x208], 0
mov ebx, dword [ebp + ebx + 0x20c]
jne 0x4e397e
add ebx, 0x10
test ebx, ebx
jne 0x4e3a2d
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 0x630]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x4e3a28
mov dword [ebp - 0x14], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [ebp - 0x10], str._programfiles_Internet_Exploreriexplore.exe
nop dword [eax + eax]
push 0x208
lea eax, [ebp + 0x2630]
push 0
push eax
call fcn.00540030
add esp, 0xc
lea eax, [ebp + 0x2630]
push 0x103
push eax
push dword [ebp + esi*4 - 0x14]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x2630]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4e3a1e
push 1
push 0
lea eax, [ebp + 0x630]
push eax
lea eax, [ebp + 0x2630]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x4e3a28
inc esi
cmp esi, 2
jb 0x4e39c0
mov eax, ebx
jmp 0x4e3a33
mov ebx, 0x10
mov eax, ebx
jmp 0x4e3a33
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2838]
xor ecx, ebp
call fcn.0053c439
lea esp, [ebp + 0x283c]
pop ebp
ret
Function at 0x4e96b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x60a070]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call fcn.00540030
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x4e9747
cmp dword [esp + 8], 6
jb 0x4e9747
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.0053c439
add esp, 0x118
ret

Function at 0x4e9770
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2920
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x60a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.wintrust.dll
lea ecx, [ebp - 0x28]
call fcn.00403c00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.004b8560
mov ecx, eax
call fcn.004b8630
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403bb0
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.00403c00
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.004b8560
mov ecx, eax
call fcn.004b8630
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00403bb0
test ebx, ebx
je 0x4e9885
test esi, esi
je 0x4e9885
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push ebx
mov dword [edi + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.WinVerifyTrust
push ebx
mov dword [edi + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4eca30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2d28
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
test eax, eax
je 0x4eca76
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.004d3920
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x4eca9f
lea ebx, [esi + 8]
jmp 0x4ecaa1
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
call fcn.0040d260
test eax, eax
je 0x4ecab7
mov ecx, dword [ebp - 0x18]
call fcn.00403b40
jmp 0x4ecab9
xor eax, eax
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x4ecada
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4ecada
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x4ecb03
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4ecb18
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.0053c9a6
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c439
mov esp, ebp
pop ebp
ret 4
Function at 0x4ef9c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3270
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4efad6
cmp byte [eax + 0x54], 0
je 0x4efad6
add eax, 0x1c
lea ecx, [ebp - 0x38]
push eax
call fcn.004e4630
push 0
mov edx, edi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004a18b0
add esp, 4
mov byte [ebp - 4], 1
lea edi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [esi]
cmovae edi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x4efa42
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4efa8c
push 2
push 0
push 0
push esi
mov dword [ebp - 0x30], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x30]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x4efabc
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4efab2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4efaf4
push edx
push ecx
call fcn.0053c9a6
add esp, 8
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.004e4680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053c439
mov esp, ebp
pop ebp
ret 4
call fcn.00549bed
int3
Function at 0x4f3250
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3a9a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x60a070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 5
lea ecx, [edi + 0x7c]
call fcn.0040d2b0
mov byte [ebp - 4], 4
lea ecx, [edi + 0x64]
call fcn.0040d2b0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x4c]
call fcn.0040d2b0
mov byte [ebp - 4], 2
lea ecx, [edi + 0x30]
call fcn.0040d2b0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x14]
call fcn.0040d2b0
mov byte [ebp - 4], 0
mov esi, dword [edi + 8]
test esi, esi
je 0x4f3335
mov ebx, dword [edi + 0xc]
cmp esi, ebx
je 0x4f32e1
nop dword [eax]
mov ecx, esi
call fcn.0040d2b0
add esi, 0x18
cmp esi, ebx
jne 0x4f32d0
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0x10]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
shl eax, 3
cmp eax, 0x1000
jb 0x4f3316
mov ecx, dword [esi - 4]
add eax, 0x23
sub esi, ecx
add esi, 0xfffffffc
cmp esi, 0x1f
ja 0x4f336c
mov esi, ecx
push eax
push esi
call fcn.0053c9a6
add esp, 8
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0xffffffff
test byte [ebp + 8], 1
mov dword [edi], vtable.RCJson::StreamWriter.0
je 0x4f3356
push 0x9c
push edi
call fcn.0053c9a6
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00549bed
int3
Function at 0x519893
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
mov edi, ecx
cmp dword [edi + 0x64], 0
je 0x5198ab
push dword [edi + 0x64]
call esi
cmp dword [edi + 0x70], 0
je 0x5198b6
push dword [edi + 0x70]
call esi
xor ebp, ebp
mov ebx, 0x60db38
cmp dword [edi + 0x78], ebp
je 0x519976
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x78]
test al, 1
je 0x5198e0
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov eax, dword [edi + 0x78]
test al, 2
je 0x5198f3
push dword [edi + 0x80]
call fcn.00549c3d
mov eax, dword [edi + 0x78]
pop ecx
test al, 4
je 0x519903
push dword [edi + 0x84]
call fcn.0053ef5a
pop ecx
mov esi, dword [0x60db58]
mov eax, dword [esi + 4]
add eax, 0xfffffffc
cmp dword [eax], edi
jne 0x519918
mov dword [esi + 4], eax
jmp 0x519954
push str.warning:_removing_Breakpad_handler_out_of_order_n
push 2
call fcn.00560c05
pop ecx
push eax
call fcn.004f9d50
mov esi, dword [0x60db58]
pop ecx
pop ecx
mov ecx, dword [esi]
jmp 0x51994d
cmp dword [ecx], edi
jne 0x51994a
push ecx
lea eax, [esp + 0x14]
push eax
call fcn.0051a5eb
mov ecx, dword [eax]
jmp 0x51994d
add ecx, 4
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x519937
cmp dword [esi], eax
jne 0x51996f
mov ecx, esi
call fcn.0051a819
push 0xc
push esi
call fcn.0053c9a6
pop ecx
pop ecx
mov dword [0x60db58], ebp
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [edi + 0xc], ebp
jne 0x5199bc
push 1
push dword [edi + 0x88]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [edi + 0x90]
mov dword [edi + 0x88], ebp
push eax
call ebx
push dword [edi + 0xa8]
call esi
push dword [edi + 0xac]
call esi
push 0x60db50
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x5199d2
push 0x60db38
call ebx
lea esi, [edi + 0xc0]
mov ecx, esi
call fcn.0051a96c
push 0x18
push dword [esi]
call fcn.00404bd0
pop ecx
pop ecx
lea ecx, [edi + 0x40]
call fcn.00403bb0
lea ecx, [edi + 0x28]
call fcn.00403bb0
lea ecx, [edi + 0x10]
call fcn.00403bb0
mov ecx, dword [edi + 0xc]
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
je 0x519a13
push ecx
call fcn.0051a79e
pop ecx
ret
Function at 0x51b30f
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push esi
mov esi, ecx
push dword [esi + 0x360]
lea ecx, [esi + 0x348]
call fcn.00403b40
push eax
sub esp, 0xc
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x3c]
push eax
lea eax, [esi + 0x38]
push eax
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ecx
lea ecx, [ebp - 0xa0]
call fcn.0051b030
lea ecx, [ebp - 0x38]
call fcn.0051afc3
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push 0x34
mov eax, ecx
push eax
push 0x34
lea eax, [ebp - 0xa0]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x51b3dc
cmp dword [ebp - 0x38], 2
jne 0x51b393
lea ecx, [ebp - 0x38]
call fcn.0051b42f
jmp 0x51b395
xor al, al
test al, al
je 0x51b3dc
lea ecx, [ebp - 0x6c]
call fcn.0051afc3
push 0
lea eax, [ebp - 4]
mov dword [ebp - 0x6c], 3
push eax
push 0x34
mov eax, ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x51b3dc
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x34], eax
mov al, 1
jmp 0x51b3de
xor al, al
pop esi
leave
ret 4
Function at 0x57ea5e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0057e663

Function at 0x57ea69
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0057e7e4

Function at 0x586b3e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00586318

Function at 0x586b49
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00586553

Function at 0x5870c3
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00586e4a

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 0x4517fd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4656f0
sub esp, 0x20
mov eax, dword [0x543fac]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
push str.take_it_everywhere
push 0x5462b0
call fcn.00452d79
add esp, 8
mov ecx, eax
push 0x456078
call fcn.0045563c
mov eax, dword [ebx + 0x3c]
xor esi, esi
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [esp + 0x10], eax
mov edi, dword [eax + 0x20]
mov ebp, dword [eax + 0x18]
add edi, ebx
test ebp, ebp
je 0x465774
nop
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, ebx
push eax
call fcn.00451e5b
push dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
call fcn.00453a67
add esp, 8
test al, al
jne 0x465789
lea ecx, [esp + 0x14]
add edi, 4
call fcn.004539fe
inc esi
cmp esi, ebp
jb 0x465740
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0045303f
add esp, 0x20
ret
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + ebx]
lea ecx, [esp + 0x14]
call fcn.004539fe
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045303f
add esp, 0x20
ret