Function at 0x420830
Capabilities:
Access peb ldr_data
Get disk information
Get disk size
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2955
mov eax, dword fs:[0]
push eax
sub esp, 0x504
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, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x478], ebx
mov dword [ebp - 0x474], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 7
mov word [ebx + 0x20], cx
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], 7
mov dword [ebp - 0x440], esi
mov word [ebx + 0x38], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x474], 1
cmp dword [esi + 0x10], ecx
je 0x420ecf
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], ecx
jb 0x4208ff
mov eax, dword [esi]
push 0
push 0
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x428]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x420aa6
call edi
mov dword [ebp - 0x43c], eax
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 0x420aa6
push 0x5b
push str.d:jenkins.jenkinsworkspacepay_group_file_system_file_system_file_system_src_fs_utils.cc
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], al
call fcn.0040cc10
push 3
push 0x4aa8e8
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], 1
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
call fcn.0040cc10
mov byte [ebp - 4], 2
call fcn.004311b0
mov edi, eax
lea ecx, [ebp - 0x510]
push 0x144
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.00406090
mov esi, eax
push str._error__get_sector__cluster_info_failed__err:
push esi
mov byte [ebp - 4], 3
call fcn.00407530
add esp, 8
mov ecx, esi
push dword [ebp - 0x43c]
call fcn.00407040
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x510]
call fcn.00407a00
mov edx, dword [ebp - 0x444]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x420a41
mov ecx, dword [ebp - 0x458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420a37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420eed
push edx
push ecx
call fcn.00455ec2
add esp, 8
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x420a9a
mov ecx, dword [ebp - 0x470]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420a90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420ef2
push edx
push ecx
call fcn.00455ec2
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x440]
mov eax, dword [ebp - 0x424]
xorps xmm0, xmm0
mov dword [ebx + 0x10], eax
imul eax, dword [ebp - 0x428]
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
movq qword [ebp - 0x430], xmm0
movq qword [ebp - 0x438], xmm0
mov dword [ebx + 0x18], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x420ae4
mov eax, dword [esi]
lea ecx, [ebp - 0x438]
push ecx
lea ecx, [ebp - 0x430]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x420c7d
call edi
mov dword [ebp - 0x43c], eax
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 0x420c7d
push 0x5b
push str.d:jenkins.jenkinsworkspacepay_group_file_system_file_system_file_system_src_fs_utils.cc
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], al
call fcn.0040cc10
push 3
push 0x4aa8e8
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], 4
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
call fcn.0040cc10
mov byte [ebp - 4], 5
call fcn.004311b0
mov edi, eax
lea ecx, [ebp - 0x510]
push 0x14e
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.00406090
mov esi, eax
push str._error__get_disk_size_info_failed__err:
push esi
mov byte [ebp - 4], 6
call fcn.00407530
add esp, 8
mov ecx, esi
push dword [ebp - 0x43c]
call fcn.00407040
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x510]
call fcn.00407a00
mov edx, dword [ebp - 0x444]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x420c1e
mov ecx, dword [ebp - 0x458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420c14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420ef7
push edx
push ecx
call fcn.00455ec2
add esp, 8
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x420c77
mov ecx, dword [ebp - 0x470]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420c6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420efc
push edx
push ecx
call fcn.00455ec2
add esp, 8
mov esi, dword [ebp - 0x440]
mov eax, dword [ebp - 0x430]
mov dword [ebx], eax
mov eax, dword [ebp - 0x42c]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x438]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x434]
push 0x208
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004781a0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004781a0
add esp, 0x18
cmp dword [esi + 0x14], 8
jb 0x420cd1
mov esi, dword [esi]
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x420e76
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x43c], eax
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 0x420e76
push 0x5b
push str.d:jenkins.jenkinsworkspacepay_group_file_system_file_system_file_system_src_fs_utils.cc
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], al
call fcn.0040cc10
push 3
push 0x4aa8e8
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], 7
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
call fcn.0040cc10
mov byte [ebp - 4], 8
call fcn.004311b0
mov edi, eax
lea ecx, [ebp - 0x510]
push 0x15f
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.00406090
mov esi, eax
push str._error__get_volume_info_failed__err:
push esi
mov byte [ebp - 4], 9
call fcn.00407530
add esp, 8
mov ecx, esi
push dword [ebp - 0x43c]
call fcn.00407040
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x510]
call fcn.00407a00
mov edx, dword [ebp - 0x444]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x420e1d
mov ecx, dword [ebp - 0x458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420e13
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420f01
push edx
push ecx
call fcn.00455ec2
add esp, 8
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x420e76
mov ecx, dword [ebp - 0x470]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420e6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420f06
push edx
push ecx
call fcn.00455ec2
add esp, 8
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x420e80
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
lea ecx, [ebx + 0x20]
push edx
push eax
call fcn.0040cd10
lea edx, [ebp - 0x420]
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x420eb0
sub edx, esi
lea eax, [ebp - 0x420]
sar edx, 1
lea ecx, [ebx + 0x38]
push edx
push eax
call fcn.0040cd10
mov eax, ebx
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
call fcn.0047b619
call fcn.0047b619
call fcn.0047b619
call fcn.0047b619
call fcn.0047b619
call fcn.0047b619
int3