Function at 0x45a844
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x45a84c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b5ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x24]
call fcn.00403aa4
lea eax, [ebp - 0x28]
call fcn.00403aa4
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x40], eax
push 0
push 0x45b5f8
push 0x45b600
mov eax, dword [ebp - 4]
call fcn.0042d0a8
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, dword [0x45e830]
mov eax, dword [eax]
call fcn.00442fe4
mov dl, 1
mov eax, dword [0x40c9c4]
call fcn.00402ed4
mov dword [0x45fa18], eax
lea eax, [ebp - 0x54]
mov ecx, 0x45b61c
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407e58
test al, al
jne 0x45a906
push 0
push 1
mov eax, dword [0x45fb2c]
push eax
call sub.kernel32.dll_ReleaseSemaphore
mov eax, dword [0x45e830]
mov eax, dword [eax]
call fcn.00443244
jmp 0x45b5a5
lea eax, [ebp - 0x54]
mov ecx, 0x45b61c
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c4]
call fcn.004559f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c4]
call fcn.00456754
dec eax
test eax, eax
jl 0x45aa79
inc eax
mov dword [ebp - 0x50], eax
xor ebx, ebx
mov eax, dword [0x45e830]
mov eax, dword [eax]
call fcn.00442fe4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c4]
mov edx, ebx
call fcn.00455054
fstp qword [ebp - 0x30]
wait
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c4]
mov edx, ebx
call fcn.00454fc4
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0xc]
call fcn.00407a18
mov edx, dword [ebp - 0x54]
mov eax, 0x45b634
call fcn.00403fac
mov esi, eax
test esi, esi
jle 0x45a9e3
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407e58
test al, al
je 0x45a9e3
mov dword [ebp - 0x20], 1
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00408034
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407e58
test al, al
jne 0x45aa14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407e58
test al, al
je 0x45aa6f
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407df0
mov esi, eax
mov eax, esi
call fcn.004083d8
fcomp qword [ebp - 0x30]
fnstsw ax
sahf
jae 0x45aa6f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc ebx
dec dword [ebp - 0x50]
jne 0x45a955
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c4]
mov edx, dword [0x45fb24]
call fcn.00454da0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c4]
mov byte [eax + 0x2d], 0
mov byte [eax + 0x44], 1
call fcn.00455538
lea eax, [ebp - 8]
mov ecx, 0x45b61c
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 8]
call fcn.00407e58
test al, al
je 0x45aaca
mov eax, dword [ebp - 8]
call fcn.00408034
lea eax, [ebp - 0x54]
mov ecx, 0x45b644
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407e58
test al, al
je 0x45ab0b
lea eax, [ebp - 0x54]
mov ecx, 0x45b644
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov edx, dword [ebp - 0x54]
mov eax, dword [0x45fa18]
mov ecx, dword [eax]
call dword [ecx + 0x58]
jmp 0x45ab26
push 0
push 1
mov eax, dword [0x45fb2c]
push eax
call sub.kernel32.dll_ReleaseSemaphore
mov eax, dword [0x45e830]
mov eax, dword [eax]
call fcn.00443244
push 0xff
push 0x45fa24
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x10]
mov edx, 0x45fa24
mov ecx, pe_nt_image_headers32
call fcn.00403cd0
lea eax, [ebp - 0x18]
call fcn.00403aa4
mov eax, dword [0x45fa18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x45afc0
inc eax
mov dword [ebp - 0x50], eax
xor ebx, ebx
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [0x45fa18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00407a18
mov edx, dword [ebp - 0x54]
mov eax, 0x45b634
call fcn.00403fac
mov esi, eax
test esi, esi
jle 0x45abc3
lea ecx, [ebp - 0x54]
mov edx, ebx
mov eax, dword [0x45fa18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x54]
mov eax, 0x45fb34
call fcn.00403af8
lea ecx, [ebp - 0x18]
mov edx, 0x45b658
mov eax, dword [0x45fb30]
call fcn.004080f0
push dword [ebp - 0x10]
push 0x45b668
lea ecx, [ebp - 0x54]
mov edx, ebx
mov eax, dword [0x45fa18]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0x54]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403de0
mov eax, dword [ebp - 0xc]
call fcn.00407e58
test al, al
jne 0x45ac65
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403ee4
mov esi, eax
push esi
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [0x45fa18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00403ee4
push eax
call sub.kernel32.dll_CopyFileA
mov edx, esi
lea eax, [ebp - 0x54]
call fcn.00403c58
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0045a050
lea ecx, [ebp - 0x54]
mov edx, ebx
mov eax, dword [0x45fa18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0xc]
call fcn.0045a3f4
jmp 0x45aead
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [0x45fa18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x24]
call fcn.0045a54c
cmp dword [ebp - 0x24], 0
je 0x45ad09
mov edx, dword [ebp - 0x34]
mov eax, 0x45b674
call fcn.00403fac
mov esi, eax
test esi, esi
jle 0x45ad09
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x34]
call fcn.00403f24
mov eax, dword [ebp - 0x14]
call fcn.00407c90
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
mov ecx, esi
mov edx, 1
call fcn.00403f64
mov edx, dword [ebp - 0x34]
mov eax, 0x45b674
call fcn.00403fac
mov esi, eax
test esi, esi
jle 0x45ad09
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x34]
call fcn.00403f24
mov eax, dword [ebp - 0x14]
call fcn.00407c90
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0045a54c
cmp dword [ebp - 0x28], 0
je 0x45ad8d
mov edx, dword [ebp - 0x34]
mov eax, 0x45b674
call fcn.00403fac
mov esi, eax
test esi, esi
jle 0x45ad8d
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x34]
call fcn.00403f24
mov eax, dword [ebp - 0x14]
call fcn.00407c90
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x34]
mov ecx, esi
mov edx, 1
call fcn.00403f64
mov edx, dword [ebp - 0x34]
mov eax, 0x45b674
call fcn.00403fac
mov esi, eax
test esi, esi
jle 0x45ad8d
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x34]
call fcn.00403f24
mov eax, dword [ebp - 0x14]
call fcn.00407c90
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x3c]
jle 0x45ad99
mov byte [ebp - 0x45], 1
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x3c]
jne 0x45adad
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x44]
jle 0x45adad
mov byte [ebp - 0x45], 1
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x3c]
jne 0x45adf7
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x44]
jne 0x45adf7
mov eax, dword [ebp - 0xc]
call fcn.00407df0
mov esi, eax
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [0x45fa18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407df0
cmp esi, eax
jge 0x45adf7
mov byte [ebp - 0x45], 1
cmp dword [ebp - 0x24], 0
je 0x45ae03
cmp dword [ebp - 0x28], 0
jne 0x45ae3d
mov eax, dword [ebp - 0xc]
call fcn.00407df0
mov esi, eax
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [0x45fa18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407df0
cmp esi, eax
jge 0x45ae3d
mov byte [ebp - 0x45], 1
cmp byte [ebp - 0x45], 1
jne 0x45aead
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403ee4
mov esi, eax
push esi
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [0x45fa18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00403ee4
push eax
call sub.kernel32.dll_CopyFileA
mov edx, esi
lea eax, [ebp - 0x54]
call fcn.00403c58
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0045a050
lea ecx, [ebp - 0x54]
mov edx, ebx
mov eax, dword [0x45fa18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0xc]
call fcn.0045a3f4
cmp dword [ebp - 0x18], 0
jne 0x45afb6
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [0x45fa18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00407a18
mov edx, dword [ebp - 0x54]
mov eax, 0x45b680
call fcn.00403fac
mov esi, eax
test esi, esi
jle 0x45af0c
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [0x45fa18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00408034
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [0x45fa18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00407a18
mov edx, dword [ebp - 0x54]
mov eax, 0x45b690
call fcn.00403fac
mov esi, eax
test esi, esi
jle 0x45af61
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [0x45fa18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00408034
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [0x45fa18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00407a18
mov edx, dword [ebp - 0x54]
mov eax, 0x45b6a0
call fcn.00403fac
mov esi, eax
test esi, esi
jle 0x45afb6
lea ecx, [ebp - 0x58]
mov edx, ebx
mov eax, dword [0x45fa18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00408034
inc ebx
dec dword [ebp - 0x50]
jne 0x45ab68
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x18]
call fcn.004082a8
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407f10
mov ebx, eax
or bx, 2
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x18]
call fcn.004082a8
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
movzx edx, bx
call fcn.00407f24
lea eax, [ebp - 0x54]
mov ecx, 0x45b644
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00408034
mov eax, dword [0x45fb24]
call fcn.004027c0
call fcn.00402784
mov dl, 1
mov eax, dword [0x456a10]
call fcn.00456b20
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.00456bb8
xor ecx, ecx
mov edx, 0x45b6b0
mov eax, ebx
call fcn.00456c1c
lea ecx, [ebp - 0x4c]
mov edx, 0x45b6dc
mov eax, ebx
call fcn.00456db8
mov eax, ebx
call fcn.00402f04
cmp dword [ebp - 0x4c], 0
jne 0x45b103
lea eax, [ebp - 0x54]
mov ecx, 0x45b6f0
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407e58
test al, al
je 0x45b103
cmp dword [ebp - 0x20], 0
jne 0x45b103
push 1
lea eax, [ebp - 0x58]
mov ecx, 0x45b708
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x58]
call fcn.00403ee4
mov edx, eax
lea eax, [ebp - 0x54]
call fcn.00403c58
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
mov ecx, 0x45b6f0
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x60]
call fcn.00403ee4
mov edx, eax
lea eax, [ebp - 0x5c]
call fcn.00403c58
mov eax, dword [ebp - 0x5c]
mov dl, 1
pop ecx
call fcn.0045a280
lea eax, [ebp - 0x54]
mov ecx, 0x45b720
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407e58
test al, al
je 0x45b183
cmp dword [ebp - 0x20], 0
jne 0x45b183
push 1
lea eax, [ebp - 0x58]
mov ecx, 0x45b738
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x58]
call fcn.00403ee4
mov edx, eax
lea eax, [ebp - 0x54]
call fcn.00403c58
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
mov ecx, 0x45b720
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x60]
call fcn.00403ee4
mov edx, eax
lea eax, [ebp - 0x5c]
call fcn.00403c58
mov eax, dword [ebp - 0x5c]
mov dl, 1
pop ecx
call fcn.0045a280
lea eax, [ebp - 0x54]
mov ecx, 0x45b750
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407e58
test al, al
je 0x45b203
cmp dword [ebp - 0x20], 0
jne 0x45b203
push 1
lea eax, [ebp - 0x58]
mov ecx, 0x45b764
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x58]
call fcn.00403ee4
mov edx, eax
lea eax, [ebp - 0x54]
call fcn.00403c58
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
mov ecx, 0x45b750
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x60]
call fcn.00403ee4
mov edx, eax
lea eax, [ebp - 0x5c]
call fcn.00403c58
mov eax, dword [ebp - 0x5c]
mov dl, 1
pop ecx
call fcn.0045a280
lea eax, [ebp - 0x54]
mov ecx, 0x45b77c
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407e58
test al, al
je 0x45b283
cmp dword [ebp - 0x20], 0
jne 0x45b283
push 1
lea eax, [ebp - 0x58]
mov ecx, 0x45b790
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x58]
call fcn.00403ee4
mov edx, eax
lea eax, [ebp - 0x54]
call fcn.00403c58
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x60]
mov ecx, 0x45b77c
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x60]
call fcn.00403ee4
mov edx, eax
lea eax, [ebp - 0x5c]
call fcn.00403c58
mov eax, dword [ebp - 0x5c]
mov dl, 1
pop ecx
call fcn.0045a280
lea eax, [ebp - 0x54]
mov ecx, 0x45b750
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407e58
test al, al
je 0x45b2bd
lea eax, [ebp - 0x54]
mov ecx, 0x45b750
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00408034
lea eax, [ebp - 0x54]
mov ecx, 0x45b77c
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407e58
test al, al
je 0x45b2f7
lea eax, [ebp - 0x54]
mov ecx, 0x45b77c
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00408034
lea eax, [ebp - 0x54]
mov ecx, 0x45b7a8
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407e58
test al, al
je 0x45b420
push 0
lea eax, [ebp - 0x54]
mov edx, 0x45fa24
mov ecx, pe_nt_image_headers32
call fcn.00403cd0
lea eax, [ebp - 0x54]
mov edx, 0x45b7a8
call fcn.00403d28
mov eax, dword [ebp - 0x54]
call fcn.00403ee4
push eax
lea eax, [ebp - 0x58]
mov ecx, 0x45b7a8
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x58]
call fcn.00403ee4
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x54]
mov ecx, 0x45b7a8
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00408034
push 0x45b7bc
push dword [ebp - 0x10]
push 0x45b7c8
lea edx, [ebp - 0x54]
mov eax, dword [0x45e830]
mov eax, dword [eax]
call fcn.00443658
push dword [ebp - 0x54]
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00403de0
push 1
mov eax, dword [ebp - 0x1c]
call fcn.00403ee4
mov edx, eax
lea eax, [ebp - 0x54]
call fcn.00403c58
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
mov edx, 0x45fa24
mov ecx, pe_nt_image_headers32
call fcn.00403cd0
lea eax, [ebp - 0x5c]
mov edx, 0x45b7a8
call fcn.00403d28
mov eax, dword [ebp - 0x5c]
call fcn.00403ee4
mov edx, eax
lea eax, [ebp - 0x58]
call fcn.00403c58
mov eax, dword [ebp - 0x58]
xor edx, edx
pop ecx
call fcn.0045a280
push 0
push 1
mov eax, dword [0x45fb2c]
push eax
call sub.kernel32.dll_ReleaseSemaphore
mov eax, dword [0x45e830]
mov eax, dword [eax]
call fcn.00443244
jmp 0x45b5a5
lea edx, [ebp - 0x58]
mov eax, dword [0x45fb34]
call fcn.004082a8
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x18]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov edx, dword [ebp - 0x58]
pop eax
call fcn.0040804c
cmp dword [0x45fb38], 0x1770
jl 0x45b48a
xor eax, eax
push ebp
push 0x45b480
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45b48a
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x18]
call fcn.004082a8
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x54]
call fcn.00407e58
test al, al
je 0x45b58a
cmp dword [0x45fb28], 0
je 0x45b545
push 0x45b7bc
push dword [0x45fb24]
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x18]
call fcn.004082a8
push dword [ebp - 0x54]
push 0x45b7dc
push dword [0x45fb28]
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00403de0
push 1
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
call fcn.004082a8
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x58]
call fcn.00403ee4
mov edx, eax
lea eax, [ebp - 0x54]
call fcn.00403c58
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00403ee4
mov edx, eax
lea eax, [ebp - 0x5c]
call fcn.00403c58
mov ecx, dword [ebp - 0x5c]
xor edx, edx
pop eax
call fcn.0045a280
cmp dword [0x45fb28], 0
jne 0x45b58a
push 1
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x18]
call fcn.004082a8
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, dword [0x45fb24]
call fcn.00403d6c
mov eax, dword [ebp - 0x58]
call fcn.00403ee4
mov edx, eax
lea eax, [ebp - 0x54]
call fcn.00403c58
mov eax, dword [ebp - 0x54]
xor ecx, ecx
xor edx, edx
call fcn.0045a280
push 0
push 1
mov eax, dword [0x45fb2c]
push eax
call sub.kernel32.dll_ReleaseSemaphore
mov eax, dword [0x45e830]
mov eax, dword [eax]
call fcn.00443244
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b5f1
lea eax, [ebp - 0x60]
mov edx, 4
call fcn.00403ac8
lea eax, [ebp - 0x4c]
call fcn.00403aa4
lea eax, [ebp - 0x34]
call fcn.00403aa4
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00403ac8
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00403ac8
ret