Function at 0x418300
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Manipulate boot configuration
Move file

Disassembly:
push 0xffffffffffffffff
push 0x44d4cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
mov eax, dword [0x46420c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x450]
push edi
mov edi, ecx
mov dword [edi + 0x44], esi
mov ecx, dword [esi + 0x58]
test ecx, ecx
mov dword [esp + 0x440], eax
mov dword [esp + 0x24], edi
jne 0x418349
mov eax, dword [esi + 0x54]
test eax, eax
je 0x418380
mov eax, dword [0x46532c]
mov eax, dword [eax + 0x14]
cmp esi, dword [eax + 0x29c]
jne 0x418372
test ecx, ecx
jne 0x418372
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x418380
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x418372
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x418380
add eax, 0x228
lea ecx, [esi + 0x48]
push eax
call fcn.00402760
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
cmp esi, dword [ecx + 0x2a0]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jne 0x41889b
mov edx, ecx
lea edi, [esi + 0x18]
push edi
add edx, 0x21c
push edx
lea eax, [esp + 0x34]
push eax
call fcn.00408560
push 0x44fef0
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x458], 0
call fcn.00403e70
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x44c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4183f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.UserActionInfo.dll
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418429
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.UserInfo.dll
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418460
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.UsrDatTranClt.dll
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418497
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.WnOnlineService.exe
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4184ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.updater.exe
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418505
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x4531c0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41853c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push edi
lea eax, [esi + 0x48]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00408560
push 0x44fef0
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x458], 3
call fcn.00403e70
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x44c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418589
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.dll32UserActionInfo.dll
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4185c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.dll32UserInfo.dll
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4185f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.dll64UserActionInfo.dll
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41862e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.dll64UserInfo.dll
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418665
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x4187df
push 0x44fd64
lea ecx, [esp + 0x24]
call fcn.004028f0
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
push edi
add ecx, 0x224
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x458], 6
call fcn.00408560
push str._skinboot.ini
push eax
lea eax, [esp + 0x20]
mov bl, 7
push eax
mov byte [esp + 0x458], bl
call fcn.00403e70
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x450], 8
call fcn.00402760
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x44c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4186f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x44c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418716
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4187c1
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
push edi
add edx, 0x224
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00408560
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._skin_
push eax
push ecx
mov byte [esp + 0x45c], 9
call fcn.00403e70
mov ecx, dword [esp + 0x28]
call fcn.004154e0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x44c], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41878e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
push 0
push 0x80
push 2
push 0
push 0
push 0x10000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x20]
push 4
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x44c], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41883e
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
push edi
add ecx, 0x224
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00408560
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._skin_
push eax
push ecx
mov byte [esp + 0x45c], 0xa
call fcn.00403e70
mov edx, dword [0x46532c]
mov ecx, dword [edx + 0x28]
call fcn.00409b50
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x44c], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418848
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x44c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41886e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x44c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418897
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x24]
mov eax, dword [0x46532c]
mov eax, dword [eax + 0x14]
cmp esi, dword [eax + 0x2bc]
jne 0x4188d0
add eax, 0x224
lea ecx, [esi + 0x48]
push eax
call fcn.00402760
mov ecx, dword [0x46532c]
mov eax, dword [ecx + 0x14]
add eax, 0x228
lea ecx, [esi + 0x4c]
push eax
call fcn.00402760
mov ecx, edi
call fcn.00416640
mov ecx, edi
call fcn.00416e30
push esi
mov ecx, edi
call fcn.00417610
test eax, eax
mov dword [esi + 0x30], eax
je 0x4190ea
mov edx, dword [0x46532c]
mov eax, dword [edx + 0x14]
cmp esi, dword [eax + 0x2bc]
jne 0x4189ce
lea edi, [esi + 4]
push edi
add esi, 0x48
push esi
lea ecx, [esp + 0x1c]
push ecx
call fcn.00408560
lea edx, [esp + 0x238]
push edx
push 0x104
mov dword [esp + 0x454], 0xb
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, dword [edi]
lea eax, [esp + 0x238]
push edi
push eax
call fcn.0042be5b
mov esi, dword [esp + 0x1c]
add esp, 8
push 0
lea ecx, [esp + 0x23c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edx, [esp + 0x238]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418986
push esi
call ebp
mov ecx, dword [0x46532c]
mov ecx, dword [ecx + 0x28]
lea eax, [esp + 0x238]
push eax
jmp 0x418996
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x28]
lea edx, [esp + 0x238]
push edx
call fcn.004097f0
lea eax, [esi - 0x10]
mov dword [esp + 0x44c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418f1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x4190ec
mov edi, dword [esi + 0x60]
cmp edi, dword [esi + 0x64]
je 0x418b51
lea ebx, [ebx]
lea ebx, [esi + 0x18]
push ebx
lea ebp, [esi + 0x48]
push ebp
lea eax, [esp + 0x20]
push eax
call fcn.00408560
push 0x44fef0
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x458], 0xc
call fcn.00403e70
push edi
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x458], 0xd
call fcn.00408560
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x44c], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x44c], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebx
push ebp
lea eax, [esp + 0x34]
push eax
call fcn.00408560
push 0x44fef0
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x458], 0x11
call fcn.00403e70
lea edx, [edi + 4]
push edx
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x458], 0x12
call fcn.00408560
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x44c], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418ace
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x44c], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418af4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov dword [esp + 0x44c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418b43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x64]
add edi, 8
cmp edi, eax
jne 0x4189e0
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
cmp esi, dword [ecx + 0x29c]
jne 0x418d3e
lea edx, [esi + 0x18]
push edx
lea eax, [esi + 0x48]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00408560
push 0x44fef0
push eax
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x458], 0x13
call fcn.00403e70
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x44c], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418bb8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.UserActionInfo.dll
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00403e70
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418bf5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.UserInfo.dll
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418c2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.UsrDatTranClt.dll
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418c63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.updater.exe
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418c9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.WnOnlineService.exe
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418cd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x4531c0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00403e70
mov eax, dword [eax]
push eax
call ebx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418d08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x24]
mov ecx, edi
call fcn.00415cd0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x44c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418d48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x418d48
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esp + 0x24]
mov eax, dword [esi + 0x10]
push 0x44fd64
push eax
call fcn.0042bea1
add esp, 8
test eax, eax
jne 0x418e4b
mov eax, dword [esi + 0x58]
test eax, eax
je 0x418e29
mov eax, dword [edi + 0x48]
mov dword [edi + 0x3c], 1
add edi, 0x48
push 0x44fd64
push eax
call fcn.0042bea1
add esp, 8
add esi, 8
test eax, eax
push esi
jne 0x418db7
mov ecx, edi
call fcn.00402760
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x34]
push 0x453380
push ecx
call fcn.0042b87a
add esp, 0xc
push 0
lea ecx, [esp + 0x34]
push ecx
jmp 0x418f0f
push 0x453378
lea eax, [esp + 0x1c]
push eax
call fcn.00402830
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
mov dword [esp + 0x454], 0x16
call fcn.00403b80
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x44c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x34]
push 0x453380
push ecx
call fcn.0042b87a
add esp, 0xc
push 0
lea ecx, [esp + 0x34]
push ecx
jmp 0x418f0f
mov edx, dword [esi + 8]
push edx
lea eax, [esp + 0x34]
push 0x453364
push eax
call fcn.0042b87a
add esp, 0xc
push 0
lea ecx, [esp + 0x34]
push ecx
jmp 0x418f0f
mov eax, dword [esi + 0x54]
test eax, eax
je 0x418f24
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x418e68
mov eax, dword [esi + 0x38]
test eax, eax
je 0x418f1a
mov eax, dword [edi + 0x48]
lea ebx, [edi + 0x48]
push 0x44fd64
push eax
mov dword [edi + 0x3c], 1
call fcn.0042bea1
add esp, 8
test eax, eax
lea edi, [esi + 8]
push edi
jne 0x418e94
mov ecx, ebx
call fcn.00402760
jmp 0x418ee5
push 0x453378
lea edx, [esp + 0x1c]
push edx
call fcn.00402830
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x454], 0x17
call fcn.00403b80
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x44c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418ee5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x20]
push esi
call fcn.0040b9c0
mov ecx, dword [edi]
push ecx
lea edx, [esp + 0x34]
push 0x453380
push edx
call fcn.0042b87a
add esp, 0xc
push 0
lea eax, [esp + 0x34]
push eax
mov ecx, dword [0x46532c]
call fcn.0040a230
mov eax, 1
jmp 0x4190ec
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
cmp esi, dword [edx + 0x29c]
jne 0x418ff5
mov eax, dword [esi + 0x58]
test eax, eax
je 0x418ff5
mov eax, dword [edi + 0x48]
mov dword [edi + 0x3c], 1
add edi, 0x48
push 0x44fd64
push eax
call fcn.0042bea1
add esp, 8
test eax, eax
lea ebp, [esi + 8]
push ebp
jne 0x418f70
mov ecx, edi
call fcn.00402760
jmp 0x418fa6
push 0x453378
lea eax, [esp + 0x1c]
push eax
call fcn.00402830
push eax
mov ecx, edi
mov dword [esp + 0x450], 0x18
call fcn.00408700
lea ecx, [esp + 0x14]
mov dword [esp + 0x44c], 0xffffffff
call fcn.00401060
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x418fb4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x418fc3
mov ecx, dword [0x46532c]
mov ecx, dword [ecx + 0x20]
push esi
call fcn.0040b9c0
mov edx, dword [ebp]
push edx
lea eax, [esp + 0x34]
push 0x453380
push eax
call fcn.0042b87a
add esp, 0xc
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [0x46532c]
call fcn.0040a230
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esp + 0x24]
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x419035
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x419035
mov edx, dword [esi + 8]
push edx
lea eax, [esp + 0x34]
push 0x453350
push eax
call fcn.0042b87a
add esp, 0xc
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [0x46532c]
call fcn.0040a230
mov eax, 1
jmp 0x4190ec
mov edx, dword [0x46532c]
mov ecx, dword [edx + 0x20]
push esi
call fcn.0040b3d0
test eax, eax
mov eax, dword [esi + 8]
push eax
je 0x4190c2
lea ecx, [esp + 0x34]
push 0x453338
push ecx
call fcn.0042b87a
mov ecx, dword [0x46532c]
add esp, 0xc
push 0
lea edx, [esp + 0x34]
push edx
call fcn.0040a230
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
cmp esi, dword [ecx + 0x2a0]
jne 0x4190bb
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x4190bb
mov ecx, dword [eax + 0x20]
call fcn.0040b7f0
mov edx, dword [0x46532c]
mov eax, dword [edx + 0x14]
push str.wnwb32wnwb.ime
add eax, 0x224
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00403e70
mov edx, dword [eax]
push edx
call ebx
lea ecx, [esp + 0x28]
call fcn.00401060
mov eax, 1
jmp 0x4190ec
mov ecx, dword [esi + 8]
push ecx
lea edx, [esp + 0x38]
push 0x4532e4
push edx
call fcn.0042b87a
mov ecx, dword [0x46532c]
add esp, 0x10
push 0
lea eax, [esp + 0x34]
push eax
call fcn.0040a230
xor eax, eax
mov ecx, dword [esp + 0x444]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x440]
call fcn.0042b3a1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x440
ret 4