Function at 0x41ae50
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
mov eax, 0x548b84
call fcn.00506ee8
mov dword [ebp - 0x78], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.0053d98c
inc dword [ebp - 0x78]
mov word [ebp - 0x84], 8
mov word [ebp - 0x84], 0x14
lea eax, [ebp - 4]
call fcn.00402538
mov edx, eax
inc dword [ebp - 0x78]
mov eax, dword [ebp + 0xc]
call fcn.0047d084
mov word [ebp - 0x84], 8
mov word [ebp - 0x84], 0x20
mov edx, str..BMP
lea eax, [ebp - 8]
call fcn.0053d954
inc dword [ebp - 0x78]
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.0053dbdc
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0053daf8
pop ecx
test cl, cl
je 0x41af23
mov eax, dword [ebp + 8]
mov byte [eax + 0x2bb], 1
mov word [ebp - 0x84], 0x2c
mov edx, 0x54869d
lea eax, [ebp - 0xc]
call fcn.0053d954
inc dword [ebp - 0x78]
lea edx, [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.0053db28
dec dword [ebp - 0x78]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0053daf8
mov word [ebp - 0x84], 0x38
mov edx, 0x5486a2
lea eax, [ebp - 0x10]
call fcn.0053d954
inc dword [ebp - 0x78]
lea edx, [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.0053dbdc
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0053daf8
pop ecx
test cl, cl
je 0x41b55c
mov eax, dword [ebp + 8]
cmp byte [eax + 0x2bc], 0
je 0x41af9f
dec dword [ebp - 0x78]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x78]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0053daf8
mov ecx, dword [ebp - 0x94]
mov dword fs:[0], ecx
jmp 0x41b589
mov word [ebp - 0x84], 0x44
push 4
push SysReAllocStringLen
lea eax, [ebp + 0xc]
call fcn.00402dd4
push eax
lea edx, [ebp - 0x1c]
push edx
call fcn.00414dd8
add esp, 0x10
inc dword [ebp - 0x78]
mov word [ebp - 0x84], 0x50
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x2bb], 0
je 0x41b024
mov eax, dword [ebp + 8]
push dword [eax + 0x2a4]
call fcn.00504be8
pop ecx
mov edx, dword [ebp + 8]
push dword [edx + 0x2a8]
call fcn.00504be8
pop ecx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x2a4], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
mov dword [edx + 0x2a8], ecx
mov dword [0x5484a8], 0xfffffe36
mov eax, dword [ebp + 8]
mov byte [eax + 0x2bb], 0
lea edx, [ebp - 0x1c]
push edx
call fcn.00418e34
pop ecx
cmp eax, dword [0x5484a8]
jne 0x41b15e
push dword [0x5484a8]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x2a8]
lea eax, [ebp - 0x1c]
push eax
call fcn.00414e88
add esp, 0xc
lea edx, [ebp - 0x1c]
push edx
call fcn.00414f24
pop ecx
xor ecx, ecx
mov dword [ebp - 0x98], ecx
jmp 0x41b093
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x2a8]
mov ecx, dword [ebp - 0x98]
mov al, byte [edx + ecx]
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x2a4]
mov edx, dword [ebp - 0x98]
xor byte [ecx + edx], al
inc dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
cmp eax, dword [0x5484a8]
jb 0x41b069
mov word [ebp - 0x84], 0x68
push 2
push 0x40000000
lea eax, [ebp - 0x30]
call fcn.00402538
push eax
inc dword [ebp - 0x78]
mov edx, 0x5486a7
lea eax, [ebp - 0x2c]
call fcn.0053d954
inc dword [ebp - 0x78]
lea edx, [ebp - 0x2c]
lea eax, [ebp + 0xc]
pop ecx
call fcn.0053db50
lea eax, [ebp - 0x30]
call fcn.00402dd4
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.00414dd8
add esp, 0x10
inc dword [ebp - 0x78]
dec dword [ebp - 0x78]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0053daf8
mov word [ebp - 0x84], 0x5c
push dword [0x5484a8]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x2a4]
lea eax, [ebp - 0x28]
push eax
call fcn.00414e64
add esp, 0xc
lea edx, [ebp - 0x28]
push edx
call fcn.00414f24
pop ecx
dec dword [ebp - 0x78]
push 2
lea ecx, [ebp - 0x28]
push ecx
call fcn.00414eac
add esp, 8
mov word [ebp - 0x84], 0x50
jmp 0x41b3f0
lea eax, [ebp - 0x1c]
push eax
call fcn.00418e34
pop ecx
mov dword [0x5484a8], eax
lea edx, [ebp - 0x1c]
push edx
call fcn.00414f24
pop ecx
mov word [ebp - 0x84], 0x74
lea eax, [ebp - 0x44]
call fcn.00402538
push eax
inc dword [ebp - 0x78]
mov edx, 0x5486ac
lea eax, [ebp - 0x40]
call fcn.0053d954
inc dword [ebp - 0x78]
lea edx, [ebp - 0x40]
lea eax, [ebp + 0xc]
pop ecx
call fcn.0053db50
lea eax, [ebp - 0x44]
mov eax, dword [eax]
call fcn.0053d8c8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0053daf8
mov word [ebp - 0x84], 0x80
lea eax, [ebp - 0x4c]
call fcn.00402538
push eax
inc dword [ebp - 0x78]
mov edx, 0x5486b1
lea eax, [ebp - 0x48]
call fcn.0053d954
inc dword [ebp - 0x78]
lea edx, [ebp - 0x48]
lea eax, [ebp + 0xc]
pop ecx
call fcn.0053db50
lea eax, [ebp - 0x4c]
call fcn.00402dd4
push eax
lea eax, [ebp + 0xc]
call fcn.00402dd4
push eax
call sub.KERNEL32.DLL_MoveFileA
dec dword [ebp - 0x78]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0053daf8
mov ecx, dword [ebp + 8]
push dword [ecx + 0x2a4]
call fcn.00504be8
pop ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x2a8]
call fcn.00504be8
pop ecx
mov word [ebp - 0x84], 0x8c
lea eax, [ebp - 0x54]
call fcn.00402538
push eax
inc dword [ebp - 0x78]
mov edx, 0x5486b6
lea eax, [ebp - 0x50]
call fcn.0053d954
inc dword [ebp - 0x78]
lea edx, [ebp - 0x50]
lea eax, [ebp + 0xc]
pop ecx
call fcn.0053db50
lea eax, [ebp - 0x54]
call fcn.00402dd4
push eax
call fcn.00402e38
pop ecx
push eax
call fcn.00504db0
pop ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x2a4], eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0053daf8
mov word [ebp - 0x84], 0x98
lea eax, [ebp - 0x5c]
call fcn.00402538
push eax
inc dword [ebp - 0x78]
mov edx, 0x5486bb
lea eax, [ebp - 0x58]
call fcn.0053d954
inc dword [ebp - 0x78]
lea edx, [ebp - 0x58]
lea eax, [ebp + 0xc]
pop ecx
call fcn.0053db50
lea eax, [ebp - 0x5c]
call fcn.00402dd4
push eax
call fcn.00402e38
pop ecx
push eax
call fcn.00504db0
pop ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x2a8], eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0053daf8
mov word [ebp - 0x84], 0xb0
push 4
push SysReAllocStringLen
lea eax, [ebp - 0x64]
call fcn.00402538
push eax
inc dword [ebp - 0x78]
mov edx, 0x5486c0
lea eax, [ebp - 0x60]
call fcn.0053d954
inc dword [ebp - 0x78]
lea edx, [ebp - 0x60]
lea eax, [ebp + 0xc]
pop ecx
call fcn.0053db50
lea eax, [ebp - 0x64]
call fcn.00402dd4
push eax
lea edx, [ebp - 0x3c]
push edx
call fcn.00414dd8
add esp, 0x10
inc dword [ebp - 0x78]
dec dword [ebp - 0x78]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.0053daf8
mov word [ebp - 0x84], 0xa4
push dword [0x5484a8]
mov ecx, dword [ebp + 8]
push dword [ecx + 0x2a4]
lea eax, [ebp - 0x3c]
push eax
call fcn.00414e88
add esp, 0xc
lea edx, [ebp - 0x3c]
push edx
call fcn.00414f24
pop ecx
dec dword [ebp - 0x78]
push 2
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00414eac
add esp, 8
mov word [ebp - 0x84], 0x50
mov word [ebp - 0x84], 0xbc
mov word [ebp - 0x84], 0xc8
lea eax, [ebp - 0x6c]
call fcn.00402538
push eax
inc dword [ebp - 0x78]
mov edx, 0x5486c5
lea eax, [ebp - 0x68]
call fcn.0053d954
inc dword [ebp - 0x78]
lea edx, [ebp - 0x68]
lea eax, [ebp + 0xc]
pop ecx
call fcn.0053db50
lea eax, [ebp - 0x6c]
call fcn.00402dd4
mov edx, eax
lea eax, [ebp - 0x70]
call fcn.0053d954
inc dword [ebp - 0x78]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x284]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
dec dword [ebp - 0x78]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x78]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0053daf8
mov word [ebp - 0x84], 0x50
jmp 0x41b4bc
mov ecx, dword [ebp + 8]
push dword [ecx + 0x284]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x280]
call fcn.004bb144
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x28c]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x288]
call fcn.004b6470
mov eax, dword [ebp + 8]
push dword [eax + 0x280]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x224]
mov eax, dword [eax + 0x160]
xor ecx, ecx
xor edx, edx
call fcn.004b6470
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x234]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x254]
cmp byte [edx + 0x16a], 0
je 0x41b542
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x2bc], 0
jne 0x41b542
push dword [ebp + 8]
call fcn.0041b590
pop ecx
dec dword [ebp - 0x78]
push 2
lea eax, [ebp - 0x1c]
push eax
call fcn.00414eac
add esp, 8
mov word [ebp - 0x84], 8
dec dword [ebp - 0x78]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0053daf8
dec dword [ebp - 0x78]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.0053daf8
mov ecx, dword [ebp - 0x94]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret