Function at 0x4289f0
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46afab
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x48b270]
xor eax, esp
mov dword [esp + 0x290], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b270]
xor eax, esp
push eax
lea eax, [esp + 0x2a8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2bc]
mov eax, dword [esi]
mov ebx, dword [esp + 0x2b8]
sub eax, 0x10
mov edi, ecx
xor ebp, ebp
cmp dword [eax + 0xc], 1
mov dword [esp + 0x3c], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], esi
jle 0x428a5f
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00401720
mov ecx, dword [esp + 0x2c0]
xor eax, eax
test ecx, ecx
jle 0x428a86
lea esp, [esp]
test eax, eax
jl 0x428d95
cmp eax, dword [ebx + 8]
jge 0x428d95
inc eax
cmp eax, ecx
jl 0x428a70
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
or ebx, 0xffffffff
test ecx, ecx
jl 0x428bc4
push str.set_id
push eax
call fcn.00452137
add esp, 8
test eax, eax
je 0x428bc4
mov ecx, dword [esi]
sub eax, ecx
js 0x428bc4
cmp dword [ecx - 0xc], ebp
jge 0x428abf
mov eax, ebx
jmp 0x428ad7
push 0x473f18
push ecx
call fcn.00452137
add esp, 8
test eax, eax
jne 0x428ad5
mov eax, ebx
jmp 0x428ad7
sub eax, dword [esi]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0040c680
mov edx, dword [eax]
mov eax, dword [edi + 0x224]
push edx
add eax, 0xfc
push 0x46ea2c
push eax
mov dword [esp + 0x2bc], 0
call fcn.00401f50
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x2b0], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428b31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jge 0x428b3d
mov edx, ebx
jmp 0x428b57
push 0x4710c4
push eax
call fcn.00452137
add esp, 8
test eax, eax
jne 0x428b53
mov edx, ebx
jmp 0x428b57
sub eax, dword [esi]
mov edx, eax
mov eax, dword [edi + 0x224]
lea ecx, [eax + 0xfc]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
sub eax, edx
dec eax
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00406640
mov eax, dword [eax]
mov ecx, dword [edi + 0x224]
push eax
add ecx, 0xfc
push 0x46ea2c
push ecx
mov dword [esp + 0x2bc], 1
call fcn.00401f50
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x2b0], ebx
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428bc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x224]
lea ecx, [eax + 0x100]
push ecx
add eax, 0x104
push eax
mov ecx, edi
call fcn.00427e80
mov eax, dword [edi + 0x224]
mov edx, dword [eax + 0x104]
mov ecx, dword [eax + 0x100]
push edx
push ecx
push str.fidget_config
add eax, 0x18
push str._sgid_sserviceid_s
push eax
call fcn.00401f50
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
add esp, 0x14
test ecx, ecx
jge 0x428c15
mov eax, ebx
jmp 0x428c2d
push str.set_notice1
push eax
call fcn.00452137
add esp, 8
test eax, eax
jne 0x428c2b
mov eax, ebx
jmp 0x428c2d
sub eax, dword [esi]
xor edx, edx
test eax, eax
setge dl
mov eax, edx
test eax, eax
je 0x428f58
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x428c58
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x2b0], 2
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x428c8d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b0], 3
call fcn.004383ae
push 0xffffffffffffffff
mov ebx, 4
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x2b8], bl
call fcn.00438455
push str.TQWBResource_notice_notice.html
lea esi, [edi + 0x114]
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.00401d80
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b4], 5
call fcn.004042c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428d19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.TQWBResourceminisite_tipindex.html
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.00401d80
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x2b4], 6
call fcn.004042c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428d65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
xor ebp, ebp
test ebp, ebp
jl 0x428d95
cmp ebp, dword [esi + 8]
jge 0x428d95
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x28]
lea eax, [ecx + ebp*4]
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.00438684
inc ebp
cmp ebp, 2
jl 0x428d6b
cmp dword [esi + 8], 1
jg 0x428d9a
call fcn.00431a0d
mov eax, dword [esi + 4]
add eax, ebx
mov eax, dword [eax]
push str.true
push eax
call fcn.0045100a
mov ebx, dword [esp + 0x3c]
add esp, 8
test eax, eax
sete al
test al, al
je 0x428eb1
cmp dword [esp + 0x28], 0
jg 0x428dcc
call fcn.00431a0d
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [edi + 0x224]
push ecx
add edx, 0x108
push 0x46ea2c
push edx
call fcn.00401f50
add esp, 0xc
cmp dword [esp + 0x28], 1
jg 0x428df9
call fcn.00431a0d
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [edi + 0x224]
push ecx
add edx, 0x10c
push 0x46ea2c
push edx
call fcn.00401f50
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0xc
push eax
call esi
test eax, eax
je 0x428e5e
mov edx, dword [esp + 0x28]
cmp edx, 1
jg 0x428e3a
call fcn.00431a0d
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
test edx, edx
jg 0x428e4a
call fcn.00431a0d
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [edi + 0x120]
call fcn.0042cc80
push ebx
call esi
test eax, eax
je 0x428e93
mov edx, dword [esp + 0x28]
cmp edx, 1
jg 0x428e73
call fcn.00431a0d
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
test edx, edx
jg 0x428e83
call fcn.00431a0d
mov eax, dword [eax]
push ecx
push eax
push ebx
lea ecx, [edi + 0x120]
call fcn.0042cc80
mov edx, dword [edi + 0x228]
push str.set_notice1
add edx, 0x24
push 0x46ea2c
push edx
call fcn.00401f50
add esp, 0xc
jmp 0x428ef8
cmp dword [esp + 0x28], 1
jg 0x428ebd
call fcn.00431a0d
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [edi + 0x224]
push ecx
add edx, 0x10c
push 0x46ea2c
push edx
call fcn.00401f50
mov eax, dword [edi + 0x228]
push str.set_notice0
add eax, 0x24
push 0x46ea2c
push eax
call fcn.00401f50
add esp, 0x18
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b0], 3
call fcn.0043858b
lea eax, [ebx - 0x10]
mov byte [esp + 0x2b0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428f2d
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 dword [esp + 0x2b0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428f58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
jl 0x428f97
push str.set_notice0
push eax
call fcn.00452137
add esp, 8
cmp eax, ebx
je 0x428f97
sub eax, dword [esi]
js 0x428f97
mov ecx, dword [edi + 0x228]
push str.set_notice0
add ecx, 0x24
push 0x46ea2c
push ecx
call fcn.00401f50
add esp, 0xc
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
jge 0x428fa5
or eax, 0xffffffff
jmp 0x428fbe
push str.set_wallpaper1
push eax
call fcn.00452137
add esp, 8
cmp eax, ebx
jne 0x428fbc
or eax, 0xffffffff
jmp 0x428fbe
sub eax, dword [esi]
xor edx, edx
cmp eax, ebx
setge dl
mov eax, edx
cmp eax, ebx
je 0x4290e9
lea ecx, [esp + 0x20]
call fcn.004383ae
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x2b8], 7
call fcn.00438455
mov ecx, dword [esp + 0x28]
lea ebx, [ebp + 1]
cmp ebp, ebx
mov edi, ebp
jge 0x429043
xor esi, esi
nop
test ebp, ebp
jl 0x428d95
mov eax, dword [esp + 0x1c]
cmp ebp, dword [eax + 8]
jge 0x428d95
mov edx, eax
mov eax, dword [edx + 4]
lea eax, [eax + ebp*4]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00438684
test esi, esi
jl 0x428d95
mov ecx, dword [esp + 0x28]
cmp esi, ecx
jge 0x428d95
inc edi
inc ebp
inc esi
cmp edi, ebx
jl 0x429000
test ecx, ecx
jg 0x42904c
call fcn.00431a0d
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
push 0x46eb20
push eax
call fcn.0045100a
add esp, 8
test eax, eax
setne al
test al, al
je 0x4290cb
cmp dword [esp + 0x28], 0
jg 0x429075
call fcn.00431a0d
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x224]
push eax
add ecx, 0x14
push 0x46ea2c
push ecx
call fcn.00401f50
mov eax, dword [esi + 0x224]
mov edx, dword [eax + 0x88]
add eax, 0x84
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x228]
push str.set_wallpaper1
add eax, 0x28
push 0x46ea2c
push eax
call fcn.00401f50
add esp, 0xc
lea ecx, [esp + 0x20]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.0043858b
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
xor ebx, ebx
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jl 0x42913e
push str.set_wallpaper0
push eax
call fcn.00452137
add esp, 8
cmp eax, ebx
je 0x42913e
sub eax, dword [esi]
js 0x42913e
mov ecx, dword [edi + 0x224]
push str.set_wallpaper0
add ecx, 0x110
push 0x46ea2c
push ecx
call fcn.00401f50
mov edx, dword [edi + 0x228]
push str.set_wallpaper0
add edx, 0x28
push 0x46ea2c
push edx
call fcn.00401f50
add esp, 0x18
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jge 0x42914a
or eax, 0xffffffff
jmp 0x429163
push str.del_wallpaper1
push eax
call fcn.00452137
add esp, 8
cmp eax, ebx
jne 0x429161
or eax, 0xffffffff
jmp 0x429163
sub eax, dword [esi]
xor ecx, ecx
cmp eax, ebx
setge cl
mov eax, ecx
cmp eax, ebx
je 0x4291f9
push str.TQWBResourcewallpaper.jpg
lea edx, [edi + 0x114]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00401d80
add esp, 0xc
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x54]
push ecx
push edx
mov dword [esp + 0x2b8], 8
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.0043abc7
test eax, eax
je 0x4291ce
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2b0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4291f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
jge 0x429207
or eax, 0xffffffff
jmp 0x429220
push str.set_gameico1
push eax
call fcn.00452137
add esp, 8
cmp eax, ebx
jne 0x42921e
or eax, 0xffffffff
jmp 0x429220
sub eax, dword [esi]
xor ecx, ecx
cmp eax, ebx
setge cl
mov eax, ecx
cmp eax, ebx
je 0x4293db
lea ecx, [esp + 0x20]
call fcn.004383ae
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
mov dword [esp + 0x2b8], 9
call fcn.00438455
mov ebx, dword [esp + 0x1c]
lea edi, [ebp + 3]
cmp ebp, edi
mov esi, ebp
jge 0x42928c
nop
test ebp, ebp
jl 0x428d95
cmp ebp, dword [ebx + 8]
jge 0x428d95
mov edx, dword [ebx + 4]
lea eax, [edx + ebp*4]
push eax
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
call fcn.00438684
inc esi
inc ebp
cmp esi, edi
jl 0x429260
cmp dword [esp + 0x28], 0
jg 0x429298
call fcn.00431a0d
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
push 0x46eb20
push eax
call fcn.0045100a
add esp, 8
test eax, eax
setne al
test al, al
je 0x4293c5
mov esi, 1
cmp dword [esp + 0x28], esi
jg 0x4292c9
call fcn.00431a0d
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
push 0x46eb20
push eax
call fcn.0045100a
add esp, 8
test eax, eax
setne al
test al, al
je 0x4293c5
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0x228]
push str.set_gameico1
add eax, 0x34
push 0x46ea2c
push eax
call fcn.00401f50
add esp, 0xc
cmp dword [esp + 0x28], 0
jg 0x429317
call fcn.00431a0d
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov eax, dword [edi + 0x224]
push edx
add eax, 0x20
push 0x46ea2c
push eax
call fcn.00401f50
add esp, 0xc
cmp dword [esp + 0x28], esi
jg 0x429340
call fcn.00431a0d
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
mov eax, dword [edi + 0x224]
push edx
add eax, 0x24
push 0x46ea2c
push eax
call fcn.00401f50
add esp, 0xc
cmp dword [esp + 0x28], 2
jg 0x42936b
call fcn.00431a0d
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 8]
mov eax, dword [edi + 0x224]
push edx
add eax, 0x28
push 0x46ea2c
push eax
call fcn.00401f50
mov eax, dword [esp + 0x34]
add esp, 0xc
cmp eax, 2
jg 0x429398
call fcn.00431a0d
cmp eax, 1
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 8]
jg 0x4293a9
call fcn.00431a0d
mov edx, dword [ecx + 4]
test eax, eax
jg 0x4293b5
call fcn.00431a0d
mov ecx, dword [ecx]
push esi
push edx
push ecx
mov ecx, dword [edi + 0x224]
call fcn.0041f5d0
lea ecx, [esp + 0x20]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.0043858b
jmp 0x4293fb
mov ecx, dword [edi + 0x228]
push str.set_gameico0
add ecx, 0x2c
push 0x46ea2c
push ecx
call fcn.00401f50
mov ebx, dword [esp + 0x28]
add esp, 0xc
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jge 0x42940c
or eax, 0xffffffff
jmp 0x429425
push str.del_gameico1
push eax
call fcn.00452137
add esp, 8
test eax, eax
jne 0x429423
or eax, 0xffffffff
jmp 0x429425
sub eax, dword [esi]
xor edx, edx
test eax, eax
setge dl
mov eax, edx
test eax, eax
je 0x429822
lea ecx, [esp + 0x40]
call fcn.004383ae
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x2b8], 0xa
call fcn.00438455
lea edi, [ebp + 1]
cmp ebp, edi
mov esi, ebp
jge 0x42948c
test ebp, ebp
jl 0x428d95
cmp ebp, dword [ebx + 8]
jge 0x428d95
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x48]
lea eax, [eax + ebp*4]
push eax
push ecx
lea ecx, [esp + 0x48]
call fcn.00438684
inc esi
inc ebp
cmp esi, edi
jl 0x429460
cmp dword [esp + 0x48], 0
jg 0x429498
call fcn.00431a0d
mov edx, dword [esp + 0x44]
mov eax, dword [edx]
push 0x46eb20
push eax
call fcn.0045100a
add esp, 8
test eax, eax
setne al
test al, al
je 0x42980e
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4294d3
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x3c]
lea eax, [ebx + 0x114]
push str.TQWBResourceupdate_
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x2bc], 0xb
mov dword [esp + 0x44], eax
call fcn.00401d80
add esp, 0xc
cmp dword [esp + 0x48], 0
mov byte [esp + 0x2b0], 0xc
jg 0x429520
call fcn.00431a0d
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov cl, byte [ecx]
cmp cl, 0xa1
jb 0x429568
cmp cl, 0xa3
je 0x4296fe
push 1
push ecx
mov dword [esp + 0x20], esp
mov esi, dword [eax]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esi, 0x10
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x429588
cmp eax, dword [esi]
jne 0x429588
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4295bd
push str..ico
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00401d80
add esp, 0xc
mov byte [esp + 0x2b0], 0xd
jmp 0x4296c6
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x4295a1
call fcn.00401280
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00450dc2
add esp, 0x10
lea edx, [esp + 0x20]
add edi, 0x10
push edx
mov ecx, ebx
mov dword [ebp], edi
call fcn.00417210
mov eax, dword [eax]
mov ebp, dword [esp + 0x14]
lea esi, [eax - 0x10]
add ebp, 0xfffffff0
mov byte [esp + 0x2b0], 0xe
cmp esi, ebp
je 0x42967f
cmp dword [ebp + 0xc], 0
lea ebx, [ebp + 0xc]
jl 0x429671
mov ecx, dword [esi]
cmp ecx, dword [ebp]
jne 0x429671
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x42961c
cmp eax, dword [esi]
jne 0x42961c
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x429651
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x429635
call fcn.00401280
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00450dc2
add esp, 0x10
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x429668
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x42967f
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401b90
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4296a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str..ico
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00401d80
add esp, 0xc
mov byte [esp + 0x2b0], 0xf
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00401e60
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x2b0], 0xc
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4296fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x1c]
xor esi, esi
lea ecx, [esp + 0x17c]
push ecx
push edx
mov dword [esp + 0x184], esi
mov dword [esp + 0x188], esi
mov dword [esp + 0x18c], esi
mov dword [esp + 0x190], esi
mov dword [esp + 0x194], esi
mov dword [esp + 0x198], esi
call fcn.0043abc7
test eax, eax
je 0x42974b
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x38]
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.TQWBResourceupdate_show.ini
push edx
push ecx
call fcn.00401d80
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.00418cd0
cmp dword [esp + 0x48], esi
mov byte [esp + 0x2b0], 0x10
jg 0x429781
call fcn.00431a0d
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
push eax
push str.ACTICV_GAME
lea ecx, [esp + 0x3c]
call fcn.0041f880
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4297be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2b0], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4297e6
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 + 0x2b0], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42980e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x2b0], 0xffffffff
call fcn.0043858b
mov ecx, dword [esp + 0x2a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x290]
xor ecx, esp
call fcn.004517f0
add esp, 0x2a0
ret 0xc