Function at 0x403680
Capabilities:
Delete file
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42b300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov eax, 0x64
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x60], ebp
mov dword [esi + 0xc8], ebp
push edi
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
push 0x43c9d4
lea ecx, [esi + 0x98]
mov dword [esi + 0x94], ebp
call fcn.0041facd
lea edi, [esi + 0xbc]
push 0x100
push 0x100
mov ecx, edi
mov dword [esi + 0xb0], ebp
call fcn.0041fd4d
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0041fd9c
push 0x438190
mov ecx, edi
call fcn.0041d335
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.0041d29b
push eax
mov ecx, edi
mov dword [esp + 0x68], ebp
call fcn.0041fa7d
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], 0xffffffff
call fcn.0041f944
push 0x4382d4
lea ecx, [esi + 0xb4]
call fcn.0041facd
push str.PlantsVsZombie.exe
lea ecx, [esi + 0xb8]
call fcn.0041facd
push 0x4382bc
lea ecx, [esi + 0x90]
call fcn.0041facd
lea ecx, [esp + 0x40]
call fcn.00406c28
push str.Program_Fileswanyxwanyxmodule.exe
lea ecx, [esp + 0x2c]
push edi
push ecx
mov dword [esp + 0x70], 1
call fcn.0041fbd9
mov eax, dword [eax]
push ebp
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 2
call fcn.00406ceb
lea ecx, [esp + 0x28]
mov ebx, eax
mov byte [esp + 0x64], 1
call fcn.0041f944
cmp ebx, ebp
je 0x403801
push ebp
mov ecx, esi
call fcn.004051b0
push str.Program_Fileswanyxwanyxmodule.exe
lea edx, [esp + 0x2c]
push edi
push edx
call fcn.0041fbd9
mov eax, dword [eax]
push 1
push ebp
push ebp
push eax
push ebp
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x28]
call fcn.0041f944
lea eax, [esp + 0x2c]
mov dword [esi + 0x60], 1
push eax
push ebp
push esi
push 0x401ce0
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x2c]
push ecx
push ebp
push ebp
push 0x401b70
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x5c], eax
mov edx, dword [0x438970]
mov dword [esp + 0x10], edx
push 0x100
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 3
call fcn.0041fd4d
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0041fd9c
mov edi, dword [esp + 0x10]
push 0x100
lea ecx, [esp + 0x14]
call fcn.0041fd4d
push eax
push ebp
push 0x438290
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0041fd9c
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0041f6b9
push 0x43828c
push 0x8d
call fcn.004015d0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call dword [sym.imp.USER32.dll_LoadCursorFromFileA]
mov edx, dword [esp + 0x10]
mov dword [esi + 0xcc], eax
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esi + 0x74]
mov dword [esi + 0xe0], 0xa
push eax
push 0x438288
push 0x8e
call fcn.004016f0
lea edi, [esi + 0xe4]
push edi
push 0x438288
push 0x81
call fcn.004016f0
lea eax, [esi + 0x10c]
push eax
push 0x438288
push 0x83
call fcn.004016f0
lea ebx, [esi + 0x110]
push ebx
push 0x438288
push 0x82
call fcn.004016f0
lea ecx, [esi + 0x104]
push ecx
push 0x438288
push 0x85
call fcn.004016f0
lea edx, [esi + 0x100]
push edx
push 0x438288
push 0x86
call fcn.004016f0
add esp, 0x48
lea eax, [esi + 0xfc]
push eax
push 0x438288
push 0x87
call fcn.004016f0
lea ecx, [esi + 0xf4]
push ecx
push 0x438288
push 0x89
call fcn.004016f0
lea edx, [esi + 0xf0]
push edx
push 0x438288
push 0x8a
call fcn.004016f0
lea eax, [esi + 0xec]
push eax
push 0x438288
push 0x8c
call fcn.004016f0
lea eax, [esi + 0xe8]
push eax
push 0x438288
push 0x8b
call fcn.004016f0
lea eax, [esi + 0xf8]
push eax
push 0x438288
push 0x88
call fcn.004016f0
add esp, 0x48
lea eax, [esi + 0x108]
push eax
push 0x438288
push 0x84
call fcn.004016f0
mov eax, dword [ebx]
add esp, 0xc
mov dword [esi + 0xc0], ebp
cmp eax, ebp
mov dword [esi + 0xc4], 0x402b0000
je 0x403acb
cmp dword [esi + 0x108], ebp
je 0x403acb
mov edi, dword [edi]
cmp edi, ebp
je 0x403acb
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], ebp
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebp
je 0x403a2d
mov dword [edi + 8], eax
mov eax, dword [esi + 0xe4]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x28], eax
lea edx, [esp + 0x1c]
mov eax, dword [eax + 4]
push edx
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebp
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebp
je 0x403a5c
mov ecx, dword [esp + 0x28]
mov dword [ecx + 8], eax
mov ebx, dword [ebx]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebp
mov eax, dword [ebx + 4]
push eax
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebp
je 0x403a77
mov dword [ebx + 8], eax
mov ebx, dword [esi + 0x108]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], ebp
mov edx, dword [ebx + 4]
push edx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebp
je 0x403a96
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebp
add ecx, edx
fild qword [esp + 0x30]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebp
fmul qword [esi + 0xc0]
fild qword [esp + 0x30]
faddp st(1)
call fcn.0040ea2c
jmp 0x403ad3
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
push 2
push eax
push edi
push ebp
push ebp
push ebp
mov ecx, esi
call fcn.00423094
lea eax, [edi - 0x11d]
lea ecx, [edi - 5]
mov dword [esi + 0xa0], eax
lea eax, [edi - 0x15]
mov dword [esi + 0x64], eax
add eax, 0xb
mov dword [esi + 0x6c], eax
mov eax, edi
cdq
and edx, 3
mov dword [esi + 0xa8], ecx
add eax, edx
mov dword [esi + 0xa4], 0x19
mov ecx, eax
mov dword [esi + 0xac], 0x55
sar ecx, 2
mov dword [esi + 0x68], 8
mov dword [esi + 0x70], 0x13
mov dword [esp + 0x28], ecx
xor eax, eax
lea edi, [esi + 0x198]
mov dword [esp + 0x14], 4
jmp 0x403b4b
mov ecx, dword [esp + 0x28]
mov dword [edi - 4], eax
add eax, ecx
mov dword [edi + 4], eax
mov ebx, dword [esi + 0x108]
mov dword [esp + 0x24], eax
lea edx, [esp + 0x1c]
mov eax, dword [ebx + 4]
push edx
push eax
mov dword [esp + 0x24], ebp
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebp
je 0x403b76
mov dword [ebx + 8], eax
mov ebx, dword [esi + 0xe4]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], ebp
mov edx, dword [ebx + 4]
push edx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebp
je 0x403b95
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebp
fild qword [esp + 0x30]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ebp
fmul qword [esi + 0xc0]
fild qword [esp + 0x38]
faddp st(1)
call fcn.0040ea2c
mov dword [edi], eax
mov ebx, dword [esi + 0x110]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
mov eax, dword [ebx + 4]
push edx
push eax
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebp
je 0x403be3
mov dword [ebx + 8], eax
mov ecx, dword [edi]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add ecx, ebx
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x14]
add edi, 0x10
dec ecx
mov dword [esp + 0x14], ecx
jne 0x403b47
mov edi, dword [esi + 0x10c]
cmp edi, ebp
je 0x403cae
mov eax, dword [edi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], ebp
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebp
je 0x403c2b
mov dword [edi + 8], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esi + 0x10c]
mov dword [esi + 0xd4], 0x8c
cdq
sub eax, edx
lea edx, [esp + 0x20]
shr ecx, 1
sar eax, 1
sub eax, ecx
push edx
mov dword [esi + 0xd0], eax
mov eax, dword [edi + 4]
push eax
mov dword [esp + 0x28], ebp
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebp
je 0x403c6b
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0xd0]
mov edi, dword [esi + 0x10c]
add ecx, eax
mov dword [esi + 0xd8], ecx
lea edx, [esp + 0x20]
mov eax, dword [edi + 4]
push edx
push eax
mov dword [esp + 0x28], ebp
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebp
je 0x403c9c
mov dword [edi + 8], eax
mov ecx, dword [esi + 0xd4]
mov eax, dword [esp + 0x20]
add ecx, eax
mov dword [esi + 0xdc], ecx
mov edi, dword [esi + 0xf8]
cmp edi, ebp
je 0x403d18
mov eax, dword [edi + 4]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], ebp
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebp
je 0x403cd1
mov dword [edi + 8], eax
mov edi, dword [esi + 0xf8]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], ebp
mov edx, dword [edi + 4]
push edx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebp
je 0x403cf0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add eax, 7
add ecx, 0x1b
mov dword [esi + 0x78], 7
mov dword [esi + 0x7c], 0x1b
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], ecx
cmp dword [esi + 0xec], ebp
je 0x403ec8
mov edi, dword [esi + 0xe8]
cmp edi, ebp
je 0x403ec8
mov eax, dword [edi + 4]
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x30], ebp
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebp
je 0x403d4b
mov dword [edi + 8], eax
mov edi, dword [esi + 0xe8]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], ebp
mov edx, dword [edi + 4]
push edx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebp
je 0x403d6a
mov dword [edi + 8], eax
lea eax, [esi + 0x130]
lea ecx, [esi + 0x12c]
lea edx, [esi + 0x124]
mov ebx, 0xf5
mov dword [esp + 0x18], ebp
mov dword [esp + 0x28], eax
lea edi, [esi + 0x128]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], ebp
mov dword [eax], ebp
mov dword [edi], ebx
mov eax, dword [esi + 0xe4]
mov dword [esp + 0x34], eax
mov edx, dword [eax + 4]
push edx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebp
je 0x403dc6
mov ecx, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi]
add edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
cmp edx, 2
jne 0x403dfe
mov edx, dword [esp + 0x14]
add eax, 0x10
add edx, 0x10
add edi, 0x10
add ecx, 0x10
mov dword [esp + 0x14], edx
add ebx, 0x1e
mov edx, dword [esp + 0x18]
add ebx, 0x1a
inc edx
add eax, 0x10
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
add edx, 0x10
add edi, 0x10
add ecx, 0x10
cmp eax, 6
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ecx
jl 0x403d97
mov edi, dword [esi + 0xec]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], ebp
mov ecx, dword [edi + 4]
push ecx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebp
je 0x403e52
mov dword [edi + 8], eax
mov edi, dword [esi + 0xec]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], ebp
mov eax, dword [edi + 4]
push eax
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebp
je 0x403e71
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x28]
mov edx, 0x1c2
mov dword [esi + 0x114], edx
mov dword [esi + 0x118], 0xd9
lea eax, [ecx + 0x1c2]
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x11c], eax
mov dword [esi + 0x154], edx
lea edi, [ecx + 0xd9]
add ecx, 0x145
mov dword [esi + 0x120], edi
mov dword [esi + 0x158], 0x145
mov dword [esi + 0x15c], eax
mov dword [esi + 0x160], ecx
mov ecx, esi
call fcn.00405810
lea edx, [esp + 0x2c]
push edx
push ebp
push esi
push 0x401ce0
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 1
call fcn.0041f944
lea ecx, [esp + 0x40]
mov dword [esp + 0x64], 0xffffffff
call fcn.00406c65
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret