Function at 0x4052e0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x439679
mov eax, dword fs:[0]
push eax
sub esp, 0x6b8
mov eax, dword [0x449cd0]
xor eax, esp
mov dword [esp + 0x6b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449cd0]
xor eax, esp
push eax
lea eax, [esp + 0x6cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x6dc]
xor esi, esi
push 0x104
lea ecx, [esp + 0x4c4]
push esi
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], esi
call fcn.0041ec20
lea edx, [esp + 0x4cc]
push edx
call fcn.004078c0
lea eax, [esp + 0x4d0]
add esp, 0x10
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x405357
mov ecx, dword [0x43b898]
mov edx, dword [0x43b89c]
mov dword [eax], ecx
mov ecx, dword [0x43b8a0]
mov dword [eax + 4], edx
mov dl, byte [0x43b8a4]
mov dword [eax + 8], ecx
push 0xa
lea ecx, [esp + 0x3c]
mov byte [eax + 0xc], dl
mov dword [esp + 0x20], esi
call fcn.00410535
mov dword [esp + 0x6d4], esi
call fcn.00410194
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4053b2
push 0x80004005
call fcn.00401330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
mov byte [esp + 0x6d4], 1
call fcn.00410194
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4053e4
push 0x80004005
call fcn.00401330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x4c0]
push 0x43b560
push ecx
mov byte [esp + 0x6dc], 2
call fcn.0041e83b
mov ebp, eax
add esp, 8
cmp ebp, esi
je 0x405b8a
push 0x10e
lea edx, [esp + 0x58]
push 0
push edx
call fcn.0041ec20
push ebp
push 1
lea eax, [esp + 0x68]
push 0x10e
push eax
call fcn.0041e75a
push ebp
call fcn.0041e452
add esp, 0x20
test eax, eax
jne 0x4057c2
nop
push 0x118
lea ecx, [esp + 0x168]
push 0
push ecx
call fcn.0041ec20
push ebp
push 1
lea edx, [esp + 0x178]
push 0x118
push edx
call fcn.0041e75a
add esp, 0x1c
cmp eax, 1
je 0x405492
push ebp
call fcn.0041e486
add esp, 4
test eax, eax
jne 0x405731
push 0x140
lea eax, [esp + 0x280]
push 0
push eax
call fcn.0041ec20
mov eax, dword [esp + 0x6ec]
lea edx, [esp + 0x288]
add esp, 0xc
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4054c0
lea edi, [esp + 0x27c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4054d2
mov bx, word [0x43b574]
mov word [edi], bx
lea ecx, [esp + 0x60]
mov eax, 0x43b830
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405510
test dl, dl
je 0x40550c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405510
add eax, 2
add ecx, 2
test dl, dl
jne 0x4054f0
xor eax, eax
jmp 0x405515
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40555c
lea eax, [esp + 0x60]
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405520
lea edi, [esp + 0x27c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x405531
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x27c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405551
mov word [edi], bx
lea eax, [esp + 0x164]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405565
lea edi, [esp + 0x27c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x405576
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
lea ecx, [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x284]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
call fcn.00407b90
mov eax, dword [esp + 0x278]
add esp, 0xc
cmp eax, dword [esp + 0x2c]
jne 0x4057ba
mov ecx, dword [esp + 0x268]
cmp ecx, dword [esp + 0x28]
jne 0x4057ba
push str..sec
lea ecx, [esp + 0x18]
call fcn.00402ae0
lea edx, [esp + 0x164]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6d8], 3
call fcn.00402ae0
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
mov byte [esp + 0x6d4], 4
jge 0x405625
push esi
lea ecx, [esp + 0x18]
call fcn.004016b0
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.0041dd9f
push eax
call fcn.00401140
add esp, 0xc
test esi, esi
jl 0x4057b0
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x4057b0
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov byte [esi + ecx], 0
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x40567e
push esi
lea ecx, [esp + 0x1c]
call fcn.004016b0
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call fcn.0041dd9f
push eax
call fcn.00401140
add esp, 0xc
test esi, esi
jl 0x4057b0
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x4057b0
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x18]
mov byte [esi + ecx], 0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.0041ee50
add esp, 8
or edx, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x6d4], 3
jne 0x405765
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4056f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x6d4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40571b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call fcn.0041e452
add esp, 4
test eax, eax
je 0x405450
jmp 0x4057c2
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x38]
push str.UpdateLdxFile_when_fread_FileSummary_struct_with_error_code:__d
push ecx
call fcn.00401ce0
mov edx, dword [esp + 0x40]
add esp, 0xc
push 0
push edx
mov ecx, 0x44b3c5
call fcn.0040aa20
jmp 0x4057c2
add eax, 0xfffffff0
mov dword [esp + 0x1c], 1
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405786
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x6d4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4057c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4057c2
push 0x80070057
call fcn.00401330
mov dword [esp + 0x1c], 1
push ebp
call fcn.0041e1f2
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x405b8a
push 0x104
lea ecx, [esp + 0x5c8]
push 0
push ecx
call fcn.0041ec20
lea edx, [esp + 0x5d0]
push edx
call fcn.004078c0
lea eax, [esp + 0x5d4]
add esp, 0x10
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x405802
mov ecx, dword [str.ldcab.lddat]
mov edx, dword [0x43b88c]
mov dword [eax], ecx
mov ecx, dword [0x43b890]
mov dword [eax + 4], edx
mov dl, byte [0x43b894]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0x5c4]
push eax
call fcn.00407b30
lea ecx, [esp + 0x4c4]
push ecx
call fcn.00407b30
push 0x104
lea edx, [esp + 0x288]
push 0
push edx
call fcn.0041ec20
lea eax, [esp + 0x290]
push eax
call fcn.004078c0
push 0x104
lea ecx, [esp + 0x3d8]
push 0
push ecx
call fcn.0041ec20
mov eax, dword [esp + 0x704]
lea edx, [esp + 0x3e0]
add esp, 0x24
sub edx, eax
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x405890
lea ecx, [esp + 0x60]
mov eax, 0x43b830
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4058c3
test dl, dl
je 0x4058bf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4058c3
add eax, 2
add ecx, 2
test dl, dl
jne 0x4058a3
xor eax, eax
jmp 0x4058c8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x405919
lea edi, [esp + 0x3bc]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4058d4
mov dx, word [0x43b574]
lea eax, [esp + 0x60]
mov word [edi], dx
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4058f0
lea edi, [esp + 0x3bc]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x405901
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00410194
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405933
push 0x80004005
call fcn.00401330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x3bc]
push ecx
lea edx, [esp + 0x18]
push str.GetFilesInTree:_s
mov bl, 5
push edx
mov byte [esp + 0x6e0], bl
call fcn.00401ce0
mov esi, dword [esp + 0x20]
add esp, 0xc
push 0
push esi
mov ecx, 0x44b3c5
call fcn.0040aa20
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x3c0]
push ecx
call fcn.00408490
lea edx, [esp + 0x3c4]
push edx
push 2
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x294]
push edx
call fcn.00402100
movzx eax, al
add esp, 0x1c
test eax, eax
je 0x405a59
lea eax, [esp + 0x4c0]
push eax
lea ecx, [esp + 0x20]
call fcn.00402ae0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x6dc], 6
call fcn.00408270
add esp, 8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x6d4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x3c4]
push eax
push ecx
call fcn.00403c30
mov edi, eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x24], edi
mov byte [esp + 0x6d4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405a5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x405a5d
mov edi, dword [esp + 0x24]
test edi, edi
je 0x405b66
mov eax, edi
sub eax, 1
je 0x405ac8
sub eax, 1
je 0x405aa1
sub eax, 1
jne 0x405afc
lea ecx, [esp + 0x30]
push 0xb
push ecx
call fcn.0040b840
mov eax, dword [eax]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x6e4], 0xb
call fcn.00401ce0
lea ecx, [esp + 0x40]
jmp 0x405aed
lea eax, [esp + 0x1c]
push 0xa
push eax
call fcn.0040b840
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x6e4], 0xa
call fcn.00401ce0
lea ecx, [esp + 0x2c]
jmp 0x405aed
lea edx, [esp + 0x28]
push 9
push edx
call fcn.0040b840
mov eax, dword [eax]
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x6e4], 9
call fcn.00401ce0
lea ecx, [esp + 0x38]
add esp, 0x10
mov byte [esp + 0x6d4], bl
call fcn.00401630
push edi
lea ecx, [esp + 0x18]
push str.UpdateLdxFile_in_WriteFileSummaryToLdf_function__failed_with_result_code:__d
push ecx
call fcn.00401ce0
mov esi, dword [esp + 0x20]
add esp, 0xc
push 0
push esi
mov ecx, 0x44b3c5
call fcn.0040aa20
lea edx, [esp + 0x28]
push 7
push edx
call fcn.0040b840
mov eax, dword [eax]
add esp, 8
push 0
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x6d4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x6d4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405bb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x6d4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405bda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x6d4], 0xffffffff
call fcn.0041064c
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x6cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6b4]
xor ecx, esp
call fcn.0041d4f4
add esp, 0x6c4
ret