Function at 0x404af0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4395cd
mov eax, dword fs:[0]
push eax
sub esp, 0x5b4
mov eax, dword [0x449cd0]
xor eax, esp
mov dword [esp + 0x5b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449cd0]
xor eax, esp
push eax
lea eax, [esp + 0x5c8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5d8]
mov esi, dword [esp + 0x5e0]
xor edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
call fcn.00410194
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404b61
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
push 0x104
lea ecx, [esp + 0x4c4]
push edi
push ecx
mov dword [esp + 0x5dc], edi
call fcn.0041ec20
lea edx, [esp + 0x4cc]
add esp, 0xc
mov eax, esi
sub edx, esi
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404ba0
lea eax, [esp + 0x4c0]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404bb2
mov edx, dword [0x43b898]
mov ecx, dword [0x43b89c]
mov dword [eax], edx
mov edx, dword [0x43b8a0]
mov dword [eax + 4], ecx
mov cl, byte [0x43b8a4]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
push 0xa
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], edi
call fcn.00410535
lea edx, [esp + 0x4c0]
push 0x43b560
push edx
mov byte [esp + 0x5d8], 1
call fcn.0041e83b
mov ebp, eax
add esp, 8
cmp ebp, edi
je 0x405274
push 0x10e
lea eax, [esp + 0x170]
push 0
push eax
call fcn.0041ec20
push ebp
push 1
lea ecx, [esp + 0x180]
push 0x10e
push ecx
call fcn.0041e75a
push ebp
call fcn.0041e452
add esp, 0x20
test eax, eax
jne 0x404f2c
lea ecx, [ecx]
push 0x118
lea edx, [esp + 0x58]
push 0
push edx
call fcn.0041ec20
push ebp
push 1
lea eax, [esp + 0x68]
push 0x118
push eax
call fcn.0041e75a
add esp, 0x1c
cmp eax, 1
je 0x404c8c
push ebp
call fcn.0041e486
add esp, 4
test eax, eax
jne 0x404f2c
cmp dword [esp + 0x18], 0
jne 0x404f1b
push 0x140
lea ecx, [esp + 0x280]
push 0
push ecx
call fcn.0041ec20
mov eax, dword [esp + 0x5e8]
lea edx, [esp + 0x288]
add esp, 0xc
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404cc0
lea edi, [esp + 0x27c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404cd2
mov bx, word [0x43b574]
mov word [edi], bx
lea ecx, [esp + 0x178]
mov eax, 0x43b830
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x404d10
test dl, dl
je 0x404d0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x404d10
add eax, 2
add ecx, 2
test dl, dl
jne 0x404cf0
xor eax, eax
jmp 0x404d15
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404d5e
lea eax, [esp + 0x178]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404d22
lea edi, [esp + 0x27c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x404d33
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 0x404d53
mov word [edi], bx
lea eax, [esp + 0x54]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404d64
lea edi, [esp + 0x27c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x404d75
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x284]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00407b90
mov ecx, dword [esp + 0x168]
add esp, 0xc
cmp ecx, dword [esp + 0x34]
jne 0x404dc7
mov edx, dword [esp + 0x158]
cmp edx, dword [esp + 0x30]
je 0x404dcf
mov dword [esp + 0x18], 1
push str..sec
lea ecx, [esp + 0x18]
call fcn.00402ae0
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x5d4], 2
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 + 0x5d0], 3
jge 0x404e21
push esi
lea ecx, [esp + 0x18]
call fcn.004016b0
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.0041dd9f
push eax
call fcn.00401140
add esp, 0xc
test esi, esi
jl 0x405030
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x405030
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
mov byte [esi + edx], 0
mov edx, dword [esp + 0x1c]
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 0x404e7a
push esi
lea ecx, [esp + 0x20]
call fcn.004016b0
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
push eax
push edx
call fcn.0041dd9f
push eax
call fcn.00401140
add esp, 0xc
test esi, esi
jl 0x405030
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax - 8]
jg 0x405030
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x1c]
mov byte [esi + ecx], 0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.0041ee50
add esp, 8
test eax, eax
je 0x404ecb
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x5d0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ef3
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 + 0x5d0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404f1b
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 0x404c50
push ebp
call fcn.0041e1f2
add esp, 4
cmp dword [esp + 0x18], 0
je 0x405274
push 0x104
lea ecx, [esp + 0x280]
push 0
push ecx
call fcn.0041ec20
lea edx, [esp + 0x288]
push edx
call fcn.004078c0
lea eax, [esp + 0x28c]
add esp, 0x10
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x404f70
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 + 0x27c]
push eax
call fcn.00407b30
lea ecx, [esp + 0x4c4]
push ecx
call fcn.00407b30
push 0x104
lea edx, [esp + 0x60]
push 0
push edx
call fcn.0041ec20
lea eax, [esp + 0x68]
push eax
call fcn.004078c0
push 0x104
lea ecx, [esp + 0x3d8]
push 0
push ecx
call fcn.0041ec20
mov eax, dword [esp + 0x600]
lea edx, [esp + 0x3e0]
add esp, 0x24
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x404ff7
lea ecx, [esp + 0x178]
mov eax, 0x43b830
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40503a
test dl, dl
je 0x40502c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40503a
add eax, 2
add ecx, 2
test dl, dl
jne 0x405010
xor eax, eax
jmp 0x40503f
push 0x80070057
call fcn.00401330
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x405099
lea edi, [esp + 0x3bc]
dec edi
jmp 0x405050
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405050
mov dx, word [0x43b574]
lea eax, [esp + 0x178]
mov word [edi], dx
mov edx, eax
jmp 0x405070
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405070
lea edi, [esp + 0x3bc]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x405081
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 0x4050b3
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 + 0x18], eax
lea ecx, [esp + 0x3bc]
push ecx
lea edx, [esp + 0x1c]
push str.GetFilesInTree:_s
mov bl, 4
push edx
mov byte [esp + 0x5dc], bl
call fcn.00401ce0
mov esi, dword [esp + 0x24]
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 + 0x188]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.00402100
movzx eax, al
add esp, 0x1c
test eax, eax
je 0x405250
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x38]
push eax
push ecx
push edx
lea eax, [esp + 0x3c8]
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.004036e0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x2c], edi
test edi, edi
je 0x405250
sub eax, 1
je 0x40519b
sub eax, 1
jne 0x4051e6
lea edx, [esp + 0x24]
push 0xa
push edx
call fcn.0040b840
mov eax, dword [eax]
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x5e0], 6
call fcn.00401ce0
mov eax, dword [esp + 0x34]
jmp 0x4051c0
lea ecx, [esp + 0x28]
push 9
push ecx
call fcn.0040b840
mov eax, dword [eax]
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x5e0], 5
call fcn.00401ce0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x5e0], bl
add esp, 0x10
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4051e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [esp + 0x1c]
push str.UpdateLdxFile_in_WriteFileSummaryToLdf_function__failed_with_result_code:__d
push ecx
call fcn.00401ce0
mov esi, dword [esp + 0x24]
add esp, 0xc
push 0
push esi
mov ecx, 0x44b3c5
call fcn.0040aa20
lea edx, [esp + 0x14]
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 + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405250
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x5d0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405274
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x5d0], 0
call fcn.0041064c
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x5d0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4052b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5b0]
xor ecx, esp
call fcn.0041d4f4
add esp, 0x5c0
ret