Function at 0x405880
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43f614
mov eax, dword fs:[0]
push eax
sub esp, 0xff8
mov eax, dword [0x44fb64]
xor eax, esp
mov dword [esp + 0xff0], eax
push ebx
push esi
push edi
mov eax, dword [0x44fb64]
xor eax, esp
push eax
lea eax, [esp + 0x1008]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
push 0x208
lea edx, [esp + 0x3b8]
push esi
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], esi
call fcn.004253a0
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add esp, 0xc
push 0x208
lea eax, [esp + 0x3b8]
push eax
push esi
call ebx
lea eax, [esp + 0x3b4]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405907
sub eax, ecx
dec eax
cmp eax, esi
jl 0x405924
cmp byte [esp + eax + 0x3b4], 0x5c
je 0x405924
sub eax, 1
jns 0x405915
mov byte [esp + eax + 0x3b4], 0
lea eax, [esp + 0x3b4]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x405934
mov ecx, dword [0x447a40]
mov edx, dword [0x447a44]
mov dword [eax], ecx
mov ecx, dword [0x447a48]
mov dword [eax + 4], edx
mov dl, byte [0x447a4c]
mov dword [eax + 8], ecx
push 0xa
lea ecx, [esp + 0x58]
mov byte [eax + 0xc], dl
mov dword [esp + 0x20], esi
call fcn.00414383
mov dword [esp + 0x1010], esi
call fcn.00413be1
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40598f
push 0x80004005
call fcn.0040a000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
mov byte [esp + 0x1010], 1
call fcn.00413be1
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4059c1
push 0x80004005
call fcn.0040a000
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 + 0x3b4]
push 0x447ae8
push ecx
mov byte [esp + 0x1018], 2
xor edi, edi
call fcn.004228cf
mov esi, eax
add esp, 8
mov dword [esp + 0x40], esi
test esi, esi
je 0x405eb9
push 0x10e
lea edx, [esp + 0xa0]
push edi
push edx
call fcn.004253a0
add esp, 0xc
push esi
push 1
lea eax, [esp + 0xa4]
push 0x10e
push eax
call fcn.00423346
movzx edi, word [esp + 0x1b8]
mov ax, word [esp + 0xb6]
mov ecx, 1
add esp, 0x10
mov dword [esp + 0x30], edi
cmp cx, ax
jne 0x405a6c
push 0x118
call fcn.00413b9c
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, 0x118
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
jmp 0x405ab0
mov edx, 2
cmp dx, ax
jne 0x405ab4
push 0x124
call fcn.00413b9c
mov ecx, eax
mov ax, word [esp + 0xa6]
mov edx, 0x124
add esp, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], 0x124
cmp ax, dx
jae 0x405aac
movzx eax, ax
mov dword [esp + 0x38], eax
jmp 0x405ab0
mov dword [esp + 0x38], edx
test ecx, ecx
jne 0x405aeb
mov dword [esp + 0x20], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x1c]
push str.UpdateLdxFile_new_failed_with_error_code:__d
push ecx
call fcn.00409910
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0
push edx
push 0x453d11
call fcn.0040d890
jmp 0x405eb0
push esi
call fcn.0042303e
add esp, 4
test eax, eax
jne 0x405e95
lea esp, [esp]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
push eax
push 0
push esi
call fcn.004253a0
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
add esp, 0xc
push edi
push 1
push ecx
push esi
call fcn.00423346
add esp, 0x10
cmp eax, 1
je 0x405b3f
push edi
call fcn.00423072
add esp, 4
test eax, eax
jne 0x4061f1
cmp dword [esp + 0x1c], 0
jne 0x405e80
push 0x140
lea edx, [esp + 0x1b0]
push 0
push edx
call fcn.004253a0
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x1b8]
add esp, 0xc
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x405b70
lea edi, [esp + 0x1ac]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405b82
mov bx, word [0x447968]
mov word [edi], bx
lea ecx, [esp + 0xa8]
mov eax, 0x4484b0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405bc0
test dl, dl
je 0x405bbc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405bc0
add eax, 2
add ecx, 2
test dl, dl
jne 0x405ba0
xor eax, eax
jmp 0x405bc5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x405c0e
lea eax, [esp + 0xa8]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405bd2
lea edi, [esp + 0x1ac]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x405be3
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 + 0x1ac]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405c03
mov word [edi], bx
push str..sec
lea ecx, [esp + 0x28]
call fcn.00409b60
push 0x4484b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x1014], 3
call fcn.00409b60
xor ebx, ebx
push ebx
lea eax, [esp + 0x1b0]
mov byte [esp + 0x1014], 4
push eax
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
test esi, esi
je 0x405c90
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x94]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x405c89
lea ecx, [esp + 0x44]
test ecx, ecx
je 0x405c89
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x44], edx
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
mov ax, word [esp + 0xa6]
mov ecx, 1
cmp cx, ax
jne 0x405cf2
mov eax, dword [esp + 0x10]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405ca8
lea edi, [esp + 0x1ac]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x405cc0
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [edx + 0x108], ebx
jne 0x405d45
mov eax, dword [esp + 0x44]
mov ecx, edx
cmp dword [ecx + 0x104], eax
jmp 0x405d43
mov ecx, 2
cmp cx, ax
jne 0x405d64
mov eax, dword [esp + 0x10]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405d02
lea edi, [esp + 0x1ac]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x405d13
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [edx + 0x104], ebx
jne 0x405d45
mov eax, dword [esp + 0x44]
mov ecx, edx
cmp dword [ecx + 0x100], eax
je 0x405d4d
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push 0x447b00
push eax
call fcn.00409910
add esp, 0xc
mov edx, dword [esp + 0x24]
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 0x405d8a
push esi
lea ecx, [esp + 0x28]
call fcn.00409e60
mov edx, dword [esp + 0x24]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.00423aa1
push eax
call fcn.004097d0
add esp, 0xc
test esi, esi
jl 0x40627a
mov eax, dword [esp + 0x24]
cmp esi, dword [eax - 8]
jg 0x40627a
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x24]
mov byte [esi + edx], 0
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
jge 0x405de3
push esi
lea ecx, [esp + 0x18]
call fcn.00409e60
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.00423aa1
push eax
call fcn.004097d0
add esp, 0xc
test esi, esi
jl 0x40627a
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x40627a
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov byte [esi + ecx], 0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00423370
add esp, 8
or edx, 0xffffffff
mov byte [esp + 0x1010], 3
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x406228
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1010], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042303e
add esp, 4
test eax, eax
je 0x405b00
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00413bcb
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add esp, 4
push esi
call fcn.0042295d
add esp, 4
push 0xa
lea ecx, [esp + 0x74]
call fcn.00414383
lea edx, [esp + 0x70]
mov byte [esp + 0x1010], 5
mov ecx, dword [esp + 0x2c]
push edx
call fcn.0040a4c0
add esp, 4
cmp dword [esp + 0x7c], edi
jg 0x405eee
cmp dword [esp + 0x1c], 0
je 0x4065df
push 0x208
lea eax, [esp + 0x5c1]
push 0
push eax
mov byte [esp + 0x5c8], 0
call fcn.004253a0
add esp, 0xc
push 0x208
lea ecx, [esp + 0x5c0]
push ecx
push 0
call ebx
lea eax, [esp + 0x5bc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405f28
sub eax, edx
add eax, 0xffffffff
js 0x405f45
cmp byte [esp + eax + 0x5bc], 0x5c
je 0x405f45
sub eax, 1
jns 0x405f36
lea edi, [esp + 0x5bc]
mov byte [esp + eax + 0x5bc], 0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405f55
mov dx, word [0x447968]
push 0x208
mov byte [esp + 0xbe0], al
lea eax, [esp + 0xbe1]
push 0
push eax
mov word [edi], dx
call fcn.004253a0
add esp, 0xc
xor eax, eax
jmp 0x405f90
mov cl, byte [esp + eax + 0x5bc]
mov byte [esp + eax + 0xbdc], cl
inc eax
test cl, cl
jne 0x405f90
lea eax, [esp + 0xbdc]
dec eax
jmp 0x405fb0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x405fb0
mov ecx, dword [str.ldcab.ldx.tmp]
mov edx, dword [0x447c8c]
mov dword [eax], ecx
mov ecx, dword [0x447c90]
mov dword [eax + 4], edx
mov dx, word [0x447c94]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0xbdc]
push eax
call fcn.0040a100
add esp, 4
test eax, eax
je 0x406058
push 0x208
lea ecx, [esp + 0xdf1]
push 0
push ecx
mov byte [esp + 0xdf8], 0
call fcn.004253a0
add esp, 0xc
xor eax, eax
jmp 0x406020
mov cl, byte [esp + eax + 0x5bc]
mov byte [esp + eax + 0xdec], cl
inc eax
test cl, cl
jne 0x406020
lea eax, [esp + 0xdec]
dec eax
jmp 0x406040
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x406040
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x5bc]
call fcn.00408100
push 0x208
lea eax, [esp + 0x1b0]
push 0
push eax
call fcn.004253a0
add esp, 0xc
push 0x208
lea ecx, [esp + 0x1b0]
push ecx
push 0
call ebx
lea eax, [esp + 0x1ac]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406090
sub eax, edx
add eax, 0xffffffff
js 0x4060af
mov edi, edi
cmp byte [esp + eax + 0x1ac], 0x5c
je 0x4060af
sub eax, 1
jns 0x4060a0
mov byte [esp + eax + 0x1ac], 0
lea eax, [esp + 0x1ac]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4060c0
mov edx, dword [0x447ca4]
mov ecx, dword [0x447ca8]
mov dword [eax], edx
mov edx, dword [0x447cac]
mov dword [eax + 4], ecx
mov cl, byte [0x447cb0]
mov dword [eax + 8], edx
lea edx, [esp + 0x1ac]
push edx
mov byte [eax + 0xc], cl
call fcn.0040a100
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 4
test eax, eax
je 0x40610f
lea eax, [esp + 0x1ac]
push eax
call esi
lea ecx, [esp + 0x3b4]
push ecx
call fcn.0040a100
add esp, 4
test eax, eax
je 0x40612d
lea edx, [esp + 0x3b4]
push edx
call esi
push 0x208
lea eax, [esp + 0x9d8]
push 0
push eax
call fcn.004253a0
add esp, 0xc
push 0x208
lea ecx, [esp + 0x9d8]
push ecx
push 0
call ebx
lea eax, [esp + 0x9d4]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406160
sub eax, edx
add eax, 0xffffffff
js 0x40617f
mov edi, edi
cmp byte [esp + eax + 0x9d4], 0x5c
je 0x40617f
sub eax, 1
jns 0x406170
push 0x208
lea edx, [esp + 0x7d0]
push 0
push edx
mov byte [esp + eax + 0x9e0], 0
call fcn.004253a0
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x7d8]
add esp, 0xc
sub edx, eax
jmp 0x4061b0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4061b0
lea ecx, [esp + 0xa8]
mov eax, 0x4484b0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406284
test dl, dl
je 0x4061ea
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406284
add eax, 2
add ecx, 2
test dl, dl
jne 0x4061c6
xor eax, eax
jmp 0x406289
mov dword [esp + 0x20], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x40]
push str.UpdateLdxFile_when_fread_FileSummary_struct_with_error_code:__d
push edx
call fcn.00409910
mov eax, dword [esp + 0x48]
add esp, 0xc
push 0
push eax
push 0x453d11
call fcn.0040d890
jmp 0x405e95
add eax, 0xfffffff0
mov dword [esp + 0x1c], 1
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406249
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1010], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405e95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x405e95
push 0x80070057
call fcn.0040a000
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4062d9
lea edi, [esp + 0x7cc]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406295
mov ax, word [0x447968]
mov word [edi], ax
lea eax, [esp + 0xa8]
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4062b0
lea edi, [esp + 0x7cc]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4062c1
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.00413be1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4062f3
push 0x80004005
call fcn.0040a000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x7cc]
push ecx
lea edx, [esp + 0x20]
push str.GetFilesInTree:_s
mov bl, 6
push edx
mov byte [esp + 0x101c], bl
call fcn.00409910
mov esi, dword [esp + 0x28]
add esp, 0xc
push 0
push esi
push 0x453d11
call fcn.0040d890
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x7d0]
call fcn.0040a4c0
add esp, 4
lea ecx, [esp + 0x7cc]
push ecx
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0xb0]
lea edx, [esp + 0x9dc]
call fcn.004072b0
movzx eax, al
add esp, 8
test eax, eax
je 0x406413
lea eax, [esp + 0x3b4]
push eax
lea ecx, [esp + 0x2c]
call fcn.00409b60
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1014], 7
call fcn.0040a9e0
add esp, 4
mov byte [esp + 0x1010], 9
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4063cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x7d0]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x5c]
call fcn.00406cc0
mov dword [esp + 0x28], eax
mov byte [esp + 0x1018], bl
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406413
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x20], 0
je 0x4065bb
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
cmp eax, 0x404
je 0x40650d
cmp eax, 0xc04
je 0x40650d
mov eax, dword [esp + 0x20]
sub eax, 1
je 0x4064d1
sub eax, 1
je 0x406492
sub eax, 1
jne 0x40654a
lea ecx, [esp + 0x30]
push ecx
lea edi, [eax + 0xb]
call fcn.0040f260
add esp, 4
mov byte [esp + 0x1010], 0xc
mov eax, dword [eax]
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.00409910
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x1010], bl
call fcn.0040a070
jmp 0x40654a
lea eax, [esp + 0x34]
push eax
mov edi, 0xa
call fcn.0040f260
add esp, 4
mov byte [esp + 0x1010], 0xb
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00409910
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x1010], bl
call fcn.0040a070
jmp 0x40654a
lea edx, [esp + 0x28]
push edx
mov edi, 9
call fcn.0040f260
add esp, 4
mov byte [esp + 0x1010], 0xa
mov eax, dword [eax]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00409910
add esp, 8
lea ecx, [esp + 0x28]
mov byte [esp + 0x1010], bl
call fcn.0040a070
jmp 0x40654a
mov eax, dword [esp + 0x20]
sub eax, 1
je 0x406538
sub eax, 1
je 0x40652c
sub eax, 1
jne 0x40654a
push 0x447dc8
lea ecx, [esp + 0x1c]
push ecx
jmp 0x406542
push 0x447cd8
lea edx, [esp + 0x1c]
push edx
jmp 0x406542
push 0x447cc8
lea eax, [esp + 0x1c]
push eax
call fcn.00409910
add esp, 8
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push str.UpdateLdxFile_in_WriteFileSummaryToLdf_function__failed_with_result_code:__d
push edx
call fcn.00409910
mov esi, dword [esp + 0x28]
add esp, 0xc
push 0
push esi
push 0x453d11
call fcn.0040d890
lea eax, [esp + 0x30]
push eax
mov edi, 7
call fcn.0040f260
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
add esp, 4
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4065bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x1010], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4065df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x1010], 2
call fcn.0041449a
mov byte [esp + 0x1010], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406618
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1010], 0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406640
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x1010], 0xffffffff
call fcn.0041449a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1008]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xff0]
xor ecx, esp
call fcn.00421f05
mov esp, ebp
pop ebp
ret