joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4185c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a16be
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4d03b4]
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 - 0x14], edi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], eax
mov dword [ebp - 4], 0
mov dword [edi + 0x24], vtable.LdsJsBasic::WebWindowListener.0
mov dword [edi + 0x28], vtable.LdsWebView::IWebViewExecuteFunction.0
lea esi, [edi + 0x44]
mov dword [edi], vtable.lds::WebviewWrapper_class_MainWnd_.0
mov ecx, esi
mov dword [edi + 0x24], vtable.lds::WebviewWrapper_class_MainWnd_.1.0
mov dword [edi + 0x28], vtable.lds::WebviewWrapper_class_MainWnd_.2.0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0x401
mov dword [edi + 0x38], 0x402
mov dword [edi + 0x3c], 0x403
mov dword [edi + 0x40], 0
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041cc00
mov dword [esi], eax
lea ecx, [edi + 0x50]
mov dword [edi + 0x4c], 0
push 0x14
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.duplicate_file_clean
mov byte [ebp - 4], 2
mov byte [ecx], 0
call fcn.0040cc10
mov dword [edi + 0x68], 0x65
mov dword [edi], vtable.MainWnd.0
xor eax, eax
mov dword [edi + 0x24], vtable.MainWnd.1.0
mov dword [edi + 0x28], vtable.MainWnd.2.0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 7
mov dword [ebp - 4], 3
mov word [edi + 0x6c], ax
lea eax, [edi + 0x84]
push 2
push eax
call fcn.0042ab86
add esp, 8
lea esi, [edi + 0xb8]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.DefragHelper.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 8
call fcn.00432880
xor eax, eax
mov dword [esi + 0x2c], 0
mov word [esi + 0x30], ax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 7
mov word [esi + 0x58], ax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], 7
mov word [esi + 0x70], ax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
push edi
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.00408a50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41d950
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x4d03b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x4bc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 0x3e8
push 0
push eax
mov dword [ebp - 0x4c4], esi
mov dword [ebp - 0x4c0], ebx
call fcn.004781a0
push 0xc8
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.004781a0
add esp, 0x18
test esi, esi
je 0x41da50
test ebx, ebx
je 0x41da50
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x41da50
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x41da50
xor ecx, ecx
movzx edx, ax
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41da3b
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 0x4c8], eax
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0x4c4]
call fcn.0047e155
add esp, 0xc
test eax, eax
je 0x41da63
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x41d9e1
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456178
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x41dab9
cmp edi, 0x7fffffff
ja 0x41dab0
mov ecx, ebx
mov esi, 0x7ffffffe
lea ebx, [ebp - 0xc]
sub esi, edi
mov edx, edi
sub ebx, ecx
nop
lea eax, [esi + edx]
test eax, eax
je 0x41da9b
movzx eax, word [ebx + ecx]
test ax, ax
je 0x41da9b
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x41da80
mov ebx, dword [ebp - 0x4c0]
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x41dab9
test edi, edi
je 0x41dab9
xor eax, eax
mov word [ebx], ax
xor ecx, ecx
test edi, edi
je 0x41dac7
cmp edi, 0x7fffffff
jbe 0x41dacc
mov ecx, 0x80070057
test ecx, ecx
js 0x41dafe
mov esi, edi
mov eax, ebx
test edi, edi
je 0x41dae6
cmp word [eax], 0
je 0x41dae6
add eax, 2
sub esi, 1
jne 0x41dad8
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x41db00
xor esi, esi
test ecx, ecx
js 0x41db56
mov edx, edi
lea ecx, [ebx + esi*2]
sub edx, esi
je 0x41db49
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7ffffffe
add esi, eax
mov eax, dword [ebp - 0x4c8]
add eax, eax
sub eax, ecx
add edi, eax
nop word [eax + eax]
test esi, esi
je 0x41db49
movzx eax, word [edi + ecx]
test ax, ax
je 0x41db49
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x41db30
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456178
mov esp, ebp
pop ebp
ret
Function at 0x41e170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a20bb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4d03b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4d5334]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], esi
test al, 1
jne 0x41e1df
or eax, 1
mov dword [0x4d532c], 0
mov dword [0x4d5334], eax
xor eax, eax
push 0x4a9400
mov dword [0x4d5330], 7
mov word [0x4d531c], ax
call fcn.00456163
add esp, 4
cmp dword [0x4d532c], 0
jne 0x41e2dc
mov eax, dword [0x4d5318]
test al, 1
jne 0x41e226
or eax, 1
mov dword [0x4d5310], 0
mov dword [0x4d5318], eax
xor eax, eax
push 0x4a9460
mov dword [0x4d5314], 7
mov word [0x4d5300], ax
call fcn.00456163
add esp, 4
cmp dword [0x4d5310], 0
jne 0x41e282
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004781a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e261
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x4d5300
call fcn.0040cd10
push 0x4d5300
lea ecx, [ebp - 0x234]
call fcn.00405e90
push 9
push 0x4abf3c
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.0040ca80
cmp eax, 0x4d531c
je 0x41e2ca
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41e2bc
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, 0x4d531c
call fcn.0040cd10
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
call fcn.00406c10
push 0x4d531c
mov ecx, esi
call fcn.00405e90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00456178
mov esp, ebp
pop ebp
ret

Function at 0x41e310
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4d03b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004781a0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41e388
push edi
mov edi, dword [ebp + 8]
cmp dword [ebp - 0x228], edi
je 0x41e381
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41e366
jmp 0x41e387
mov ebx, dword [ebp - 0x218]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00456178
mov esp, ebp
pop ebp
ret
Function at 0x41e3b0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00456790
mov eax, dword [0x4d03b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1008], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test eax, eax
je 0x41e520
mov edi, dword [ebp + 0x10]
cmp edi, 0x64
jb 0x41e520
push ebx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x41e415
push ebx
push eax
push 0x1010
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41e520
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.004781a0
add esp, 0xc
lea eax, [ebp - 0x804]
xor ebx, ebx
push 0x400
push eax
push ebx
push esi
call sub.KERNEL32.dll_K32GetModuleFileNameExW
test eax, eax
je 0x41e4d8
push 0x800
lea eax, [ebp - 0x1004]
push ebx
push eax
call fcn.004781a0
lea eax, [ebp - 0x804]
push 0x7e
push eax
call fcn.00478b2d
add esp, 0x14
test eax, eax
je 0x41e495
push 0x400
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x3fe
ja 0x41e495
lea ecx, [ebx + 1]
jmp 0x41e497
xor ecx, ecx
test ecx, ecx
lea edx, [ebp - 0x1004]
push edi
lea eax, [ebp - 0x804]
cmovne eax, edx
push eax
push edi
push dword [ebp - 0x1008]
call fcn.0047f8e8
add esp, 0x10
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456178
mov esp, ebp
pop ebp
ret
push 0x400
lea eax, [ebp - 0x804]
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
test eax, eax
je 0x41e506
push edi
push dword [ebp - 0x1008]
lea eax, [ebp - 0x804]
push eax
call fcn.0041d950
add esp, 0xc
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00456178
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456178
mov esp, ebp
pop ebp
ret
Function at 0x41fdd0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a27d3
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4d03b4]
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, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov edx, 2
mul edx
push 0x52568a
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0x2c], ecx
call fcn.0045677c
add esp, 8
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41fee9
push dword [ebp - 0x2c]
push ebx
push eax
call fcn.004781a0
add esp, 0xc
push dword [ebp - 0x20]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
mov eax, dword [ebp - 0x20]
je 0x41fed0
mov edi, eax
cmp word [eax], bx
je 0x41fecd
cmp ebx, esi
je 0x41fe9a
mov ax, word [edi]
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x18], esi
jmp 0x41feaa
push edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.0041ef60
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41feb0
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2]
add edi, 2
cmp word [edi], cx
jne 0x41fe88
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
push eax
call fcn.0045657c
mov ecx, dword [ebp - 0x1c]
add esp, 4
mov dword [edi], ecx
mov dword [edi + 4], esi
mov dword [edi + 8], ebx
jmp 0x41ffb7
call fcn.004311b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41ffa3
push 0x5b
push str.d:jenkins.jenkinsworkspacepay_group_file_system_file_system_file_system_src_fs_utils.cc
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], al
call fcn.0040cc10
push 3
push 0x4aa8e8
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.0040cc10
mov byte [ebp - 4], 2
call fcn.004311b0
mov edi, eax
lea ecx, [ebp - 0xf4]
push 0xad
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00406090
mov esi, eax
push str.new_fail
push esi
mov byte [ebp - 4], 3
call fcn.00407530
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xf4]
call fcn.00407a00
lea ecx, [ebp - 0x44]
call fcn.00406bc0
lea ecx, [ebp - 0x5c]
call fcn.00406bc0
mov edi, dword [ebp - 0x24]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.0040ec40
mov eax, edi
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.00456178
mov esp, ebp
pop ebp
ret
Function at 0x4202c0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d03b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x20a
lea eax, [ebp - 0x21c]
or esi, 0xffffffff
push 0
push eax
call fcn.004781a0
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x4ac4ac
push 0x104
push eax
call fcn.0041f960
add esp, 0x1c
lea eax, [ebp - 0x21c]
push 0
push 0
push 3
push 0
push 1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, esi
je 0x4204ad
push ebx
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 0
push eax
push 0x28
lea eax, [ebp - 0x260]
mov dword [ebp - 0x228], 0
push eax
push 0xc
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
push 0x2d1400
push edi
movups xmmword [ebp - 0x260], xmm0
movups xmmword [ebp - 0x250], xmm0
movq qword [ebp - 0x240], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebp - 0x25c]
push eax
mov dword [ebp - 0x264], eax
call fcn.00456b6d
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4204a5
mov esi, dword [ebp - 0x264]
push esi
push 0
push ebx
call fcn.004781a0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0
push eax
push esi
push ebx
push 0xc
lea eax, [ebp - 0x22c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebx + 0x1c]
add eax, 0xfffffff9
cmp eax, 0xb
ja case.0x4203f6.8
movzx eax, byte [eax + 0x4204d4]
jmp dword [eax*4 + 0x4204c0]
mov esi, 1
jmp 0x42049c
mov esi, 3
jmp 0x42049c
mov esi, 4
jmp 0x42049c
mov esi, 5
jmp 0x42049c
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x228], 0
push eax
push 0xc
lea eax, [ebp - 0x238]
mov dword [ebp - 0x22c], 7
push eax
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 7
push eax
push 0x2d1400
xorps xmm0, xmm0
mov dword [ebp - 0xc], 0
push edi
mov esi, 2
mov dword [ebp - 8], 0
movq qword [ebp - 0x238], xmm0
mov dword [ebp - 0x230], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42049c
cmp byte [ebp - 0x230], 0
mov eax, 1
cmove esi, eax
push ebx
call fcn.0045657c
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00456178
mov esp, ebp
pop ebp
ret
Function at 0x420fa0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4d03b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4ac3e0]
movq xmm0, qword [str._:]
push esi
mov dword [ebp - 0x204], eax
xor esi, esi
mov ax, word [0x4ac3e4]
push 0x1fa
mov word [ebp - 0x200], ax
lea eax, [ebp - 0x1fe]
push esi
push eax
movq qword [ebp - 0x20c], xmm0
call fcn.004781a0
mov cl, byte [ebp + 8]
xorps xmm0, xmm0
add esp, 0xc
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
movq qword [ebp - 0x224], xmm0
movups xmmword [ebp - 0x244], xmm0
movups xmmword [ebp - 0x234], xmm0
cmp cl, 0x41
jl 0x421025
cmp cl, 0x5a
jle 0x42102c
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x4210a4
push edi
push 0
push 0x80
push 3
movsx ax, cl
push 0
push 3
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x20c]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4210a1
push 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], esi
push eax
push 0x28
lea eax, [ebp - 0x244]
mov dword [ebp - 0x21c], esi
push eax
push 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
push edi
cmovne esi, dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
jmp 0x4210a6
xor esi, esi
mov ecx, dword [ebp - 4]
cmp esi, 7
pop esi
sete al
xor ecx, ebp
call fcn.00456178
mov esp, ebp
pop ebp
ret
Function at 0x428800
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a335b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4d03b4]
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 ebx, ecx
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x428973
cmp eax, 0xffffffff
je 0x428973
push 0x200
call fcn.00455e92
mov esi, eax
add esp, 4
test esi, esi
je 0x428869
push 0x200
push 0
push esi
call fcn.004781a0
add esp, 0xc
jmp 0x42886b
xor esi, esi
push 0x200
push 0
push esi
mov dword [ebx + 0x48], esi
call fcn.004781a0
add esp, 0xc
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 0
push eax
push 0x200
push dword [ebx + 0x48]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x428991
call fcn.004311b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x428973
push 0x56
push str.d:jenkins.jenkinsworkspacepay_group_file_system_file_system_file_system_srcmft.cc
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.0040cc10
push 3
push 0x4aa8e8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0040cc10
mov byte [ebp - 4], 1
call fcn.004311b0
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x4f
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00406090
mov esi, eax
push str._error_
push esi
mov byte [ebp - 4], 2
call fcn.00407530
add esp, 8
mov ecx, esi
push ebx
call fcn.00417ed0
mov esi, eax
push str.__read_boot_block_failed
push esi
call fcn.00407530
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.00407a00
lea ecx, [ebp - 0x2c]
call fcn.00406bc0
lea ecx, [ebp - 0x44]
call fcn.00406bc0
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.00456178
mov esp, ebp
pop ebp
ret
mov al, 1
jmp 0x428975
Function at 0x4296d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d03b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov edi, dword [ecx + 0x48]
mov dword [ebp - 0x20], eax
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0x24], ecx
movzx eax, byte [edi + 0xd]
cdq
mov esi, eax
mov dword [ebp - 0xc], 0
movzx eax, word [edi + 0xb]
mov ecx, edx
cdq
push edx
push eax
push ecx
push esi
call fcn.00456b80
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push eax
call fcn.00456b80
movzx ecx, byte [edi + 0xd]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], edx
push eax
movzx eax, word [edi + 0xb]
imul ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, dword [ebp + 0x10]
push ecx
push dword [ebp - 0x20]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456178
mov esp, ebp
pop ebp
ret 0x10
Function at 0x429fc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4d03b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0xc], 0
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
xorps xmm0, xmm0
mov esi, dword [ebx + 0x48]
push dword [ebp + 8]
movups xmmword [ebp - 0x1c], xmm0
movzx eax, word [esi + 0xb]
cdq
push edx
push eax
call fcn.00456b80
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], edx
push eax
movzx eax, word [esi + 0xb]
imul eax, dword [ebp + 0x10]
push eax
push edi
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00456178
mov esp, ebp
pop ebp
ret 0x10
Function at 0x430330
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a393a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4d03b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.00413490
mov ecx, eax
test ecx, ecx
je 0x4304f4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.00413490
mov ecx, eax
test ecx, ecx
je 0x4304fe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.00413490
mov ecx, eax
test ecx, ecx
je 0x430508
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov dword [esi + 0x10], eax
test edx, edx
jne 0x430412
xor ecx, ecx
jmp 0x430430
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430420
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00415c40
push edi
mov ecx, ebx
call fcn.00410e20
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x43044c
xor ecx, ecx
jmp 0x430464
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430454
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.00415c40
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.00430f30
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00410e20
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4304a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x4304de
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4304de
cmp dword [esi + 0x10], 0
je 0x4304d5
push dword [edi]
call fcn.00484b9e
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00411bc0
push 0x80004005
call fcn.00411bc0
push 0x80004005
call fcn.00411bc0
int3