Function at 0x41c430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ba72
mov eax, dword fs:[0]
push eax
sub esp, 0x368
mov eax, dword [0x4714d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x476b88]
lea eax, [ebp - 0x258]
push 0x74
push 0
push eax
mov dword [ebp - 0x318], esi
call fcn.00443760
add esp, 0xc
lea ecx, [ebp - 0x258]
call fcn.00424760
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movdqu xmmword [ebp - 0x168], xmm0
mov dword [ebp - 0x15c], 0
movq qword [ebp - 0x158], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
and eax, 0xfffffe00
mov dword [ebp - 0x160], eax
mov byte [ebp - 4], 2
cmp dword [esi + 0xd8], 0
mov byte [ebp - 0x2f1], 0
jne 0x41c67e
mov eax, dword [0x476c44]
test al, 1
jne 0x41c52a
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 3
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 6
push 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x41c63c
mov eax, dword [0x476c44]
test al, 1
jne 0x41c584
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 4
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 6
push 0
mov eax, dword [eax + 0x6c]
call eax
mov edi, eax
mov edx, 0xc
mov eax, 0x2000
mov dword [ebp - 0x318], edx
mov ecx, dword [edi + 0x20]
sub eax, ecx
lea esi, [ecx + 0x24]
add esi, edi
add eax, esi
mov ecx, esi
sub eax, esi
cmp eax, edx
jae 0x41c5c9
mov edx, eax
mov dword [ebp - 0x318], edx
test eax, eax
je 0x41c5e0
push edx
push 0x468ce8
push esi
call fcn.00441040
mov ecx, dword [ebp - 0x318]
add esp, 0xc
add ecx, esi
mov eax, dword [0x476c44]
sub ecx, esi
add dword [edi + 0x20], ecx
test al, 1
jne 0x41c624
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 5
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 0x135
push str.LAN_UpdateFile.cpp
push edi
call dword [eax + 0x20]
mov byte [ebp - 0x2f1], 1
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0
call fcn.0042b620
lea ecx, [ebp - 0x258]
call fcn.004108d0
mov al, byte [ebp - 0x2f1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043d8bb
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push 0
lea eax, [esi + 0xc8]
mov dword [ebp - 0x19c], 0xf
push eax
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x1a0], 0
mov byte [ebp - 0x1b0], 0
call fcn.00402fc0
push ecx
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x258]
call fcn.00424890
mov byte [ebp - 4], 2
cmp dword [ebp - 0x19c], 0x10
mov byte [ebp - 0x309], al
jb 0x41c6f4
push dword [ebp - 0x1b0]
call fcn.0043e223
mov al, byte [ebp - 0x309]
add esp, 4
test al, al
je 0x41c643
cmp byte [ebp - 0x160], 6
jne 0x41c643
lea ecx, [ebp - 0x168]
call fcn.0042c400
test eax, eax
je 0x41c643
mov eax, dword [0x476c44]
test al, 1
jne 0x41c75b
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 7
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 6
push 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x41c8ed
mov eax, dword [0x476c44]
test al, 1
jne 0x41c7b5
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 8
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 6
push 0
mov eax, dword [eax + 0x6c]
call eax
mov esi, eax
mov dword [ebp - 0x11c], 0
xorps xmm0, xmm0
mov eax, 0x2000
movq qword [ebp - 0x124], xmm0
mov edi, 0xf
mov ecx, dword [esi + 0x20]
sub eax, ecx
add ecx, 0x24
add ecx, esi
add eax, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], eax
sub eax, ecx
mov dword [ebp - 0x11c], ecx
cmp eax, edi
jae 0x41c813
mov edi, eax
test eax, eax
je 0x41c828
push edi
push 0x468cf8
push ecx
call fcn.00441040
add esp, 0xc
add dword [ebp - 0x11c], edi
lea ecx, [ebp - 0x168]
call fcn.0042c400
push ecx
push 0
push 0
push eax
lea ecx, [ebp - 0x124]
call fcn.004086a0
mov edi, eax
mov eax, 6
mov dword [ebp - 0x300], eax
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
sub ecx, edx
cmp ecx, eax
jae 0x41c869
mov eax, ecx
mov dword [ebp - 0x300], eax
test ecx, ecx
je 0x41c881
push eax
push 0x468d08
push edx
call fcn.00441040
mov eax, dword [ebp - 0x300]
add esp, 0xc
add dword [edi + 8], eax
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x124]
add dword [esi + 0x20], eax
mov eax, dword [0x476c44]
test al, 1
jne 0x41c8cf
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 9
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 0x13d
push str.LAN_UpdateFile.cpp
push esi
call dword [eax + 0x20]
mov esi, dword [ebp - 0x318]
push 1
call fcn.0043e531
add esp, 4
mov dword [ebp - 0x310], eax
test eax, eax
je 0x41c906
mov byte [eax], 0
jmp 0x41c90e
xor eax, eax
mov dword [ebp - 0x310], eax
xor edi, edi
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x2fc], edi
call fcn.0042c400
test eax, eax
jle 0x41c63c
lea eax, [esi + 0x78]
mov dword [ebp - 0x344], 0x468c2c
mov dword [ebp - 0x33c], eax
lea esp, [esp]
push 0
push 0x465da0
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x13c], 0xf
mov dword [ebp - 0x140], 0
mov byte [ebp - 0x150], 0
call fcn.004037a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1b0]
push 0
push 0x465da0
mov dword [ebp - 0x19c], 0xf
mov dword [ebp - 0x1a0], 0
mov byte [ebp - 0x1b0], 0
call fcn.004037a0
push 0x104
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0xb
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x118]
push 0x5c
push eax
call fcn.00440d80
add esp, 8
mov byte [eax + 1], 0
cmp byte [ebp - 0x118], 0
jne 0x41c9d8
xor ecx, ecx
jmp 0x41c9ea
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41c9e1
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x150]
call fcn.00402ed0
push 0x10
push str.UpdateFileTemp__
lea ecx, [ebp - 0x150]
call fcn.00402ed0
push edi
lea ecx, [ebp - 0x168]
call fcn.0042c710
push 0x467df8
push str.path
mov ecx, eax
call fcn.0042cbd0
lea ecx, [ebp - 0x1c8]
push ecx
mov ecx, eax
call fcn.0042b8b0
mov edx, eax
mov byte [ebp - 4], 0xc
cmp dword [edx + 0x14], 0x10
jb 0x41ca48
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x41ca51
xor ecx, ecx
jmp 0x41ca5f
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ca56
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x150]
call fcn.00402ed0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1b4], 0x10
jb 0x41ca87
push dword [ebp - 0x1c8]
call fcn.0043e223
add esp, 4
cmp dword [ebp - 0x13c], 0x10
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41cd1e
push 1
call fcn.0043e531
add esp, 4
lea ecx, [ebp - 0x150]
cmp dword [ebp - 0x13c], 0x10
mov esi, eax
mov dword [ebp - 0x300], esi
cmovae ecx, dword [ebp - 0x150]
push ecx
mov ecx, esi
call fcn.00423d10
test al, al
jne 0x41cd11
mov eax, dword [0x476c44]
test al, 1
jne 0x41cb20
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 0xd
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 6
push 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x41cd11
mov eax, dword [0x476c44]
test al, 1
jne 0x41cb7a
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 0xe
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 6
push 0
mov eax, dword [eax + 0x6c]
call eax
mov edx, 0x2000
mov dword [ebp - 0x304], eax
xorps xmm0, xmm0
mov dword [ebp - 0x11c], 0
mov esi, 0x10
movq qword [ebp - 0x124], xmm0
mov ecx, dword [eax + 0x20]
sub edx, ecx
lea edi, [ecx + 0x24]
add edi, eax
cmp dword [ebp - 0x13c], 0x10
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x11c], edi
lea ecx, [edi + edx]
lea edx, [ebp - 0x150]
mov dword [ebp - 0x120], ecx
cmovae edx, dword [ebp - 0x150]
mov eax, ecx
sub eax, edi
mov dword [ebp - 0x2f8], edx
cmp eax, esi
jae 0x41cbf9
mov esi, eax
test eax, eax
je 0x41cc1c
push esi
push 0x468bb4
push edi
call fcn.00441040
mov ecx, dword [ebp - 0x120]
add esp, 0xc
mov edx, dword [ebp - 0x2f8]
add edi, esi
mov dword [ebp - 0x11c], edi
mov esi, edx
lea eax, [esi + 1]
mov dword [ebp - 0x2f8], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x41cc27
sub esi, dword [ebp - 0x2f8]
mov eax, ecx
sub eax, edi
cmp esi, eax
cmova esi, eax
test esi, esi
je 0x41cc5a
push esi
push edx
push edi
call fcn.00441040
mov ecx, dword [ebp - 0x120]
add esp, 0xc
add edi, esi
mov dword [ebp - 0x11c], edi
mov esi, 6
sub ecx, edi
cmp ecx, esi
jae 0x41cc6b
mov esi, ecx
test ecx, ecx
je 0x41cc82
push esi
push str._code:
push edi
call fcn.00441040
add esp, 0xc
add edi, esi
mov dword [ebp - 0x11c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push 0
push 0
push eax
lea ecx, [ebp - 0x124]
call fcn.004086a0
mov esi, dword [ebp - 0x304]
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x124]
add dword [esi + 0x20], eax
mov eax, dword [0x476c44]
test al, 1
jne 0x41cced
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 0xf
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 0x152
push str.LAN_UpdateFile.cpp
push esi
call dword [eax + 0x20]
mov esi, dword [ebp - 0x300]
mov edi, dword [ebp - 0x2fc]
test esi, esi
je 0x41cd1e
push esi
call fcn.0043e223
add esp, 4
push edi
lea ecx, [ebp - 0x168]
call fcn.0042c710
push 0x467e00
push str.name
mov ecx, eax
call fcn.0042cbd0
lea ecx, [ebp - 0x1c8]
push ecx
mov ecx, eax
call fcn.0042b8b0
mov edx, eax
mov byte [ebp - 4], 0x10
cmp dword [edx + 0x14], 0x10
jb 0x41cd57
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x41cd60
xor ecx, ecx
jmp 0x41cd6e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41cd65
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x150]
call fcn.00402ed0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1b4], 0x10
jb 0x41cd96
push dword [ebp - 0x1c8]
call fcn.0043e223
add esp, 4
mov edx, dword [ebp - 0x33c]
lea ecx, [ebp - 0x1e0]
push str._downfile
call fcn.00405b70
add esp, 4
push 8
mov byte [ebp - 4], 0x11
call fcn.0043e531
mov esi, eax
mov dword [ebp - 0x304], eax
add esp, 4
mov dword [ebp - 0x314], esi
mov byte [ebp - 4], 0x12
test esi, esi
je 0x41cdf0
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00407f30
mov dword [esi], eax
jmp 0x41cdf8
xor esi, esi
mov dword [ebp - 0x304], esi
mov byte [ebp - 4], 0x11
xor eax, eax
mov edi, edi
inc eax
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x310]
test eax, eax
je 0x41ce1a
push eax
call fcn.0043e223
add esp, 4
push 1
call fcn.0043e531
add esp, 4
mov dword [ebp - 0x310], eax
test eax, eax
je 0x41ce33
mov byte [eax], 0
jmp 0x41ce3d
mov dword [ebp - 0x310], 0
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
call fcn.00404200
mov eax, dword [esi]
lea ecx, [ebp - 0x338]
mov edx, 0x468d1c
mov dword [eax + 4], eax
mov eax, dword [esi]
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 8], eax
mov eax, dword [ebp - 0x318]
add eax, 0x48
mov dword [esi + 4], 0
push eax
call fcn.00413860
add esp, 4
push eax
mov ecx, esi
mov byte [ebp - 4], 0x13
call fcn.004139b0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x354]
mov ecx, esi
push eax
call fcn.00404370
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x320], 0x10
jb 0x41ceb6
push dword [ebp - 0x334]
call fcn.0043e223
add esp, 4
push edi
lea ecx, [ebp - 0x168]
call fcn.0042c710
push 0x468c2f
push 0x468c2c
mov ecx, eax
call fcn.0042cbd0
lea ecx, [ebp - 0x180]
push ecx
mov ecx, eax
call fcn.0042b8b0
mov byte [ebp - 4], 0x14
cmp dword [eax + 0x14], 0x10
jb 0x41ceed
mov eax, dword [eax]
mov dword [ebp - 0x340], eax
mov ecx, esi
lea eax, [ebp - 0x344]
push eax
call fcn.00413920
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x35c]
mov ecx, esi
push eax
call fcn.00404370
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x16c], 0x10
jb 0x41cf30
push dword [ebp - 0x180]
call fcn.0043e223
add esp, 4
push 1
call fcn.0043e531
mov edi, eax
lea eax, [ebp - 0x1c8]
push esi
push eax
call fcn.00423510
mov byte [ebp - 4], 0x15
test edi, edi
je 0x41cf57
push edi
call fcn.0043e223
add esp, 4
xorps xmm0, xmm0
movq qword [ebp - 0x12c], xmm0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
call fcn.00407f30
mov dword [ebp - 0x12c], eax
sub esp, 8
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x31c], esp
lea eax, [ebp - 0x12c]
mov byte [ebp - 0x2f1], 0
push ecx
push eax
call fcn.00412e80
lea edx, [ebp - 0x1c8]
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x180]
call fcn.00404c80
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2f1]
mov byte [ebp - 4], 0x19
push ecx
lea ecx, [ebp - 0x150]
push ecx
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.004065e0
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x16c], 0x10
jb 0x41cff7
push dword [ebp - 0x180]
call fcn.0043e223
add esp, 4
cmp byte [ebp - 0x2f1], 0
jne 0x41d3ce
cmp dword [ebp - 0x13c], 0x10
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x476c44]
test al, 1
jne 0x41d05e
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 0x27
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 0x16
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 6
push 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x41d365
mov eax, dword [0x476c44]
test al, 1
jne 0x41d0b8
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 0x28
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 0x16
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 6
push 0
mov eax, dword [eax + 0x6c]
call eax
mov edx, 0x2000
mov dword [ebp - 0x31c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x130], 0
movq qword [ebp - 0x138], xmm0
sub edx, dword [eax + 0x20]
lea esi, [eax + 0x24]
add esi, dword [eax + 0x20]
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x130], esi
lea eax, [esi + edx]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x2fc]
test eax, eax
js 0x41dba4
push eax
lea ecx, [ebp - 0x168]
call fcn.0042c490
push 0x467e00
push str.name
mov ecx, eax
call fcn.0042cbd0
lea ecx, [ebp - 0x198]
push ecx
mov ecx, eax
call fcn.0042b8b0
mov edi, eax
mov dword [ebp - 0x308], eax
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x2b
call fcn.0042c490
push 0x467df8
push str.path
mov ecx, eax
call fcn.0042cbd0
lea ecx, [ebp - 0x180]
push ecx
mov ecx, eax
call fcn.0042b8b0
cmp dword [edi + 0x14], 0x10
mov edx, eax
mov dword [ebp - 0x300], eax
jb 0x41d194
mov edi, dword [edi]
mov dword [ebp - 0x308], edi
cmp dword [edx + 0x14], 0x10
jb 0x41d1a2
mov edx, dword [edx]
mov dword [ebp - 0x300], edx
mov ecx, dword [ebp - 0x134]
mov edi, 6
mov eax, ecx
sub eax, esi
cmp eax, edi
jae 0x41d1bb
mov edi, eax
test eax, eax
je 0x41d1de
push edi
push 0x468d20
push esi
call fcn.00441040
mov ecx, dword [ebp - 0x134]
add esp, 0xc
mov edx, dword [ebp - 0x300]
add esi, edi
mov dword [ebp - 0x130], esi
mov edi, edx
lea eax, [edi + 1]
mov dword [ebp - 0x2f8], eax
lea esp, [esp]
mov al, byte [edi]
inc edi
test al, al
jne 0x41d1f0
sub edi, dword [ebp - 0x2f8]
mov eax, ecx
sub eax, esi
cmp edi, eax
cmova edi, eax
test edi, edi
je 0x41d223
push edi
push edx
push esi
call fcn.00441040
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add esi, edi
mov dword [ebp - 0x130], esi
mov edx, dword [ebp - 0x308]
mov edi, edx
lea eax, [edi + 1]
mov dword [ebp - 0x2f8], eax
mov al, byte [edi]
inc edi
test al, al
jne 0x41d234
sub edi, dword [ebp - 0x2f8]
mov eax, ecx
sub eax, esi
cmp edi, eax
cmova edi, eax
test edi, edi
je 0x41d267
push edi
push edx
push esi
call fcn.00441040
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add esi, edi
mov dword [ebp - 0x130], esi
mov edi, 0x1a
sub ecx, esi
cmp ecx, edi
jae 0x41d278
mov edi, ecx
test ecx, ecx
je 0x41d28f
push edi
push 0x468d34
push esi
call fcn.00441040
add esp, 0xc
add esi, edi
mov dword [ebp - 0x130], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push 0
push 0
push eax
lea ecx, [ebp - 0x138]
call fcn.004086a0
cmp dword [ebp - 0x16c], 0x10
jb 0x41d2bd
push dword [ebp - 0x180]
call fcn.0043e223
add esp, 4
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x184], 0x10
mov dword [ebp - 0x16c], 0xf
mov dword [ebp - 0x170], 0
mov byte [ebp - 0x180], 0
jb 0x41d2f3
push dword [ebp - 0x198]
call fcn.0043e223
add esp, 4
mov esi, dword [ebp - 0x31c]
mov eax, dword [ebp - 0x130]
sub eax, dword [ebp - 0x138]
add dword [esi + 0x20], eax
mov eax, dword [0x476c44]
test al, 1
jne 0x41d347
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 0x2e
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 0x16
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 0x185
push str.LAN_UpdateFile.cpp
push esi
call dword [eax + 0x20]
mov esi, dword [ebp - 0x304]
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x12c]
push eax
push dword [eax]
lea eax, [ebp - 0x348]
push eax
call fcn.00407a40
push dword [ebp - 0x12c]
call fcn.0043e223
add esp, 4
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x1b4], 0x10
jb 0x41d3b4
push dword [ebp - 0x1c8]
call fcn.0043e223
add esp, 4
mov eax, dword [ebp - 0x314]
mov edi, dword [ebp - 0x2fc]
cmp eax, 3
jl 0x41ce00
jmp 0x41db00
mov eax, dword [0x476c44]
test al, 1
jne 0x41d40d
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 0x1a
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 0x16
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 6
push 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x41d6c2
mov eax, dword [0x476c44]
test al, 1
jne 0x41d467
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 0x1b
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 0x16
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 6
push 0
mov eax, dword [eax + 0x6c]
call eax
push dword [ebp - 0x2fc]
mov edx, 0x2000
mov dword [ebp - 0x31c], eax
mov ecx, dword [eax + 0x20]
sub edx, ecx
add ecx, 0x24
add eax, ecx
mov dword [ebp - 0x300], eax
mov edi, eax
lea ecx, [eax + edx]
mov dword [ebp - 0x308], ecx
lea ecx, [ebp - 0x168]
call fcn.0042c710
push 0x467e00
push str.name
mov ecx, eax
call fcn.0042cbd0
lea ecx, [ebp - 0x334]
push ecx
mov ecx, eax
call fcn.0042b8b0
mov esi, eax
mov dword [ebp - 0x2f8], eax
push dword [ebp - 0x2fc]
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x1c
call fcn.0042c710
push 0x467df8
push str.path
mov ecx, eax
call fcn.0042cbd0
lea ecx, [ebp - 0x198]
push ecx
mov ecx, eax
call fcn.0042b8b0
cmp dword [esi + 0x14], 0x10
mov edx, eax
mov dword [ebp - 0x304], eax
jb 0x41d522
mov esi, dword [esi]
mov dword [ebp - 0x2f8], esi
cmp dword [edx + 0x14], 0x10
jb 0x41d530
mov edx, dword [edx]
mov dword [ebp - 0x304], edx
mov ecx, dword [ebp - 0x308]
mov esi, 6
mov eax, ecx
sub eax, dword [ebp - 0x300]
cmp eax, esi
jae 0x41d54d
mov esi, eax
test eax, eax
je 0x41d570
mov edi, dword [ebp - 0x300]
push esi
push 0x468d20
push edi
call fcn.00441040
mov ecx, dword [ebp - 0x308]
add esp, 0xc
mov edx, dword [ebp - 0x304]
add edi, esi
mov esi, edx
lea eax, [esi + 1]
mov dword [ebp - 0x314], eax
jmp 0x41d580
mov al, byte [esi]
inc esi
test al, al
jne 0x41d580
sub esi, dword [ebp - 0x314]
mov eax, ecx
sub eax, edi
cmp esi, eax
cmova esi, eax
test esi, esi
je 0x41d5ad
push esi
push edx
push edi
call fcn.00441040
mov ecx, dword [ebp - 0x308]
add esp, 0xc
add edi, esi
mov edx, dword [ebp - 0x2f8]
mov esi, edx
lea eax, [esi + 1]
mov dword [ebp - 0x314], eax
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x41d5c0
sub esi, dword [ebp - 0x314]
mov eax, ecx
sub eax, edi
cmp esi, eax
cmova esi, eax
test esi, esi
je 0x41d5ed
push esi
push edx
push edi
call fcn.00441040
mov ecx, dword [ebp - 0x308]
add esp, 0xc
add edi, esi
mov esi, 0xa
sub ecx, edi
cmp ecx, esi
jae 0x41d5fe
mov esi, ecx
test ecx, ecx
je 0x41d60f
push esi
push 0x468d28
push edi
call fcn.00441040
add esp, 0xc
add edi, esi
cmp dword [ebp - 0x184], 0x10
jb 0x41d626
push dword [ebp - 0x198]
call fcn.0043e223
add esp, 4
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x320], 0x10
mov dword [ebp - 0x184], 0xf
mov dword [ebp - 0x188], 0
mov byte [ebp - 0x198], 0
jb 0x41d65c
push dword [ebp - 0x334]
call fcn.0043e223
add esp, 4
mov esi, dword [ebp - 0x31c]
sub edi, dword [ebp - 0x300]
mov eax, dword [0x476c44]
add dword [esi + 0x20], edi
test al, 1
jne 0x41d6aa
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 0x1d
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 0x16
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 0x172
push str.LAN_UpdateFile.cpp
push esi
call dword [eax + 0x20]
push 0x465da0
lea ecx, [ebp - 0x180]
call fcn.00402b30
mov esi, dword [ebp - 0x2fc]
lea ecx, [ebp - 0x168]
push esi
mov byte [ebp - 4], 0x1e
call fcn.0042c710
push 0x467df8
push str.path
mov ecx, eax
call fcn.0042cbd0
lea ecx, [ebp - 0x334]
push ecx
mov ecx, eax
call fcn.0042b8b0
mov edx, eax
mov byte [ebp - 4], 0x1f
cmp dword [edx + 0x14], 0x10
jb 0x41d715
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x41d71e
xor ecx, ecx
jmp 0x41d732
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d723
sub ecx, esi
mov esi, dword [ebp - 0x2fc]
push ecx
push edx
lea ecx, [ebp - 0x180]
call fcn.00402ed0
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x320], 0x10
jb 0x41d75a
push dword [ebp - 0x334]
call fcn.0043e223
add esp, 4
push esi
lea ecx, [ebp - 0x168]
call fcn.0042c710
push 0x467e00
push str.name
mov ecx, eax
call fcn.0042cbd0
lea ecx, [ebp - 0x334]
push ecx
mov ecx, eax
call fcn.0042b8b0
mov edx, eax
mov byte [ebp - 4], 0x20
cmp dword [edx + 0x14], 0x10
jb 0x41d793
mov edx, dword [edx]
cmp byte [edx], 0
jne 0x41d79c
xor ecx, ecx
jmp 0x41d7b0
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d7a1
sub ecx, esi
mov esi, dword [ebp - 0x2fc]
push ecx
push edx
lea ecx, [ebp - 0x180]
call fcn.00402ed0
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x320], 0x10
jb 0x41d7d8
push dword [ebp - 0x334]
call fcn.0043e223
add esp, 4
mov ecx, dword [ebp - 0x318]
lea edx, [ebp - 0x180]
lea ecx, [ecx + 0x90]
call fcn.00404320
test al, al
je 0x41da8e
push 0x465da0
lea ecx, [ebp - 0x198]
call fcn.00402b30
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x198]
call fcn.00402c30
push esi
lea ecx, [ebp - 0x168]
call fcn.0042c710
push 0x467df8
push str.path
mov ecx, eax
call fcn.0042cbd0
lea ecx, [ebp - 0x334]
push ecx
mov ecx, eax
call fcn.0042b8b0
mov byte [ebp - 4], 0x22
cmp dword [eax + 0x14], 0x10
jb 0x41d854
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x198]
call fcn.00402c30
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x320], 0x10
jb 0x41d87b
push dword [ebp - 0x334]
call fcn.0043e223
add esp, 4
push esi
lea ecx, [ebp - 0x168]
call fcn.0042c710
push 0x467e00
push str.name
mov ecx, eax
call fcn.0042cbd0
lea ecx, [ebp - 0x334]
push ecx
mov ecx, eax
call fcn.0042b8b0
mov byte [ebp - 4], 0x23
cmp dword [eax + 0x14], 0x10
jb 0x41d8b2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x198]
call fcn.00402c30
mov byte [ebp - 4], 0x21
cmp dword [ebp - 0x320], 0x10
jb 0x41d8d9
push dword [ebp - 0x334]
call fcn.0043e223
add esp, 4
cmp dword [ebp - 0x184], 0x10
lea ecx, [ebp - 0x198]
push 0
cmovae ecx, dword [ebp - 0x198]
lea eax, [ebp - 0x150]
cmp dword [ebp - 0x13c], 0x10
push ecx
cmovae eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [0x476c44]
test al, 1
jne 0x41d94a
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 0x24
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 0x21
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 6
push 0
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x41da5c
mov eax, dword [0x476c44]
test al, 1
jne 0x41d9a4
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 0x25
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 0x21
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 6
push 0
mov eax, dword [eax + 0x6c]
call eax
mov edi, eax
mov edx, 0x20
mov eax, 0x2000
mov dword [ebp - 0x2f8], edx
mov ecx, dword [edi + 0x20]
sub eax, ecx
lea esi, [ecx + 0x24]
add esi, edi
add eax, esi
mov ecx, esi
sub eax, esi
cmp eax, edx
jae 0x41d9e9
mov edx, eax
mov dword [ebp - 0x2f8], edx
test eax, eax
je 0x41da00
push edx
push 0x468c88
push esi
call fcn.00441040
mov ecx, dword [ebp - 0x2f8]
add esp, 0xc
add ecx, esi
mov eax, dword [0x476c44]
sub ecx, esi
add dword [edi + 0x20], ecx
test al, 1
jne 0x41da44
or eax, 1
mov dword [0x476c44], eax
push 0xfc8
push 0
push 0x476c48
mov byte [ebp - 4], 0x26
call fcn.00443760
add esp, 0xc
call fcn.0040a020
push 0x45db30
call fcn.0043e1e7
add esp, 4
mov byte [ebp - 4], 0x21
mov eax, dword [0x476c58]
mov ecx, 0x476c58
push 0x17d
push str.LAN_UpdateFile.cpp
push edi
call dword [eax + 0x20]
cmp dword [ebp - 0x13c], 0x10
lea eax, [ebp - 0x150]
cmovae eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x184], 0x10
jb 0x41da8e
push dword [ebp - 0x198]
call fcn.0043e223
add esp, 4
cmp dword [ebp - 0x16c], 0x10
jb 0x41daa5
push dword [ebp - 0x180]
call fcn.0043e223
add esp, 4
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x12c]
push eax
mov dword [ebp - 0x16c], 0xf
mov dword [ebp - 0x170], 0
mov byte [ebp - 0x180], 0
push dword [eax]
lea eax, [ebp - 0x34c]
push eax
call fcn.00407a40
push dword [ebp - 0x12c]
call fcn.0043e223
add esp, 4
cmp dword [ebp - 0x1b4], 0x10
jb 0x41db00
push dword [ebp - 0x1c8]
call fcn.0043e223
add esp, 4
cmp dword [ebp - 0x1cc], 0x10
jb 0x41db17
push dword [ebp - 0x1e0]
call fcn.0043e223
add esp, 4
cmp dword [ebp - 0x19c], 0x10
mov dword [ebp - 0x1cc], 0xf
mov dword [ebp - 0x1d0], 0
mov byte [ebp - 0x1e0], 0
jb 0x41db49
push dword [ebp - 0x1b0]
call fcn.0043e223
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x13c], 0x10
mov dword [ebp - 0x19c], 0xf
mov dword [ebp - 0x1a0], 0
mov byte [ebp - 0x1b0], 0
jb 0x41db7f
push dword [ebp - 0x150]
call fcn.0043e223
add esp, 4
mov edi, dword [ebp - 0x2fc]
lea ecx, [ebp - 0x168]
inc edi
mov dword [ebp - 0x2fc], edi
call fcn.0042c400
cmp edi, eax
jl 0x41c940
jmp 0x41c63c
push 0x98
lea eax, [ebp - 0x2f0]
push 0
push eax
call fcn.00443760
add esp, 4
lea ecx, [ebp - 0x2f0]
call fcn.00427790
mov edx, str.in_Json::Value::operator___int_index_:_index_cannot_be_negative
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x2f0]
call fcn.0042dc00
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.004278d0
mov ecx, eax
mov byte [ebp - 4], 0x2a
call fcn.0042afe0
int3