Function at 0x40b00c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff18
push ebx
push esi
push edi
lea ebx, [ebp - 0x74]
mov eax, 0x49dd24
call fcn.0047b534
mov dword [ebp - 0xc4], 2
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.00485648
inc dword [ebp - 0xc4]
lea edx, [ebp + 8]
mov word [ebp - 0xd0], 8
lea eax, [ebp + 8]
call fcn.00485648
inc dword [ebp - 0xc4]
xor edx, edx
mov word [ebp - 0xd0], 0x14
mov dword [ebp - 4], edx
mov edx, 0x49ad33
inc dword [ebp - 0xc4]
lea eax, [ebp - 8]
mov word [ebp - 0xd0], 8
mov word [ebp - 0xd0], 0x20
call fcn.00485610
inc dword [ebp - 0xc4]
xor ecx, ecx
mov word [ebp - 0xd0], 8
mov word [ebp - 0xd0], 0x2c
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x4a4568]
inc dword [ebp - 0xc4]
lea edx, [ebp - 0x1c]
mov eax, dword [eax]
call fcn.00466674
lea eax, [ebp - 0x1c]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x20], edx
lea edx, [ebp - 0x20]
inc dword [ebp - 0xc4]
call fcn.004284b8
lea eax, [ebp - 0x20]
push eax
mov edx, str.config.ini
lea eax, [ebp - 0x24]
call fcn.00485610
inc dword [ebp - 0xc4]
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x24]
inc dword [ebp - 0xc4]
lea ecx, [ebp - 0xc]
pop eax
call fcn.0048583c
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 8
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4252cc]
call fcn.00403d08
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x2c]
mov word [ebp - 0xd0], 0x38
mov edx, 0x49ad48
call fcn.00485610
inc dword [ebp - 0xc4]
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
xor eax, eax
push ecx
mov dword [ebp - 0x10], eax
push edx
mov edx, 0x49ad3f
inc dword [ebp - 0xc4]
lea eax, [ebp - 0x28]
call fcn.00485610
inc dword [ebp - 0xc4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax]
call dword [esi]
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 8
mov word [ebp - 0xd0], 0x44
mov edx, 0x49ad49
lea eax, [ebp - 0x30]
call fcn.00485610
inc dword [ebp - 0xc4]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x10]
call fcn.004858e0
push eax
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004857e4
pop ecx
test cl, cl
je 0x40b66b
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.00485814
mov word [ebp - 0xd0], 0x5c
mov edx, 0x49ad4a
lea eax, [ebp - 0x34]
call fcn.00485610
inc dword [ebp - 0xc4]
lea edx, [ebp - 0x34]
lea eax, [ebp - 8]
call fcn.00485984
mov dword [ebp - 0xe8], eax
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 0x50
cmp dword [ebp - 0xe8], 0
jle 0x40b65d
mov word [ebp - 0xd0], 0x74
xor ecx, ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], ecx
push eax
inc dword [ebp - 0xc4]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0xe8]
mov edx, 1
dec ecx
call fcn.00485ab8
mov word [ebp - 0xd0], 0x68
mov word [ebp - 0xd0], 0x80
mov edx, 0x49ad4c
lea eax, [ebp - 0x3c]
call fcn.00485610
inc dword [ebp - 0xc4]
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x38]
call fcn.00485828
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004857e4
lea edx, [ebp + 0xc]
lea eax, [ebp - 0x38]
call fcn.00485828
mov eax, dword [ebp - 0x38]
call fcn.004282f8
test al, al
jne 0x40b556
mov word [ebp - 0xd0], 0x8c
mov edx, 0x49ad4e
lea eax, [ebp - 0x40]
call fcn.00485610
inc dword [ebp - 0xc4]
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x10]
call fcn.00485814
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 0x68
mov ebx, 1
jmp 0x40b487
mov word [ebp - 0xd0], 0x98
mov edx, 0x49ad4f
lea eax, [ebp - 0x48]
call fcn.00485610
inc dword [ebp - 0xc4]
lea ecx, [ebp - 0x48]
push ecx
mov esi, ebx
push esi
push 0x4a47e4
call fcn.0048558c
add esp, 8
mov eax, 0x4a47e4
call fcn.00485950
add esi, dword [0x4a47e4]
lea eax, [ebp - 0x44]
dec esi
mov dl, byte [esi]
call fcn.00485754
inc dword [ebp - 0xc4]
xor edx, edx
mov dword [ebp - 0x4c], edx
lea ecx, [ebp - 0x4c]
inc dword [ebp - 0xc4]
pop edx
call fcn.0048583c
lea edx, [ebp - 0x4c]
lea eax, [ebp - 4]
call fcn.00485814
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 0xa4
mov ecx, dword [ebp + 0xc]
xor edx, edx
push ecx
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 4]
push eax
mov dword [ebp - 0x50], edx
push ecx
inc dword [ebp - 0xc4]
call fcn.0040a96c
add esp, 0xc
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x10]
call fcn.00485828
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 0xb0
mov edx, 0x49ad51
lea eax, [ebp - 0x54]
call fcn.00485610
inc dword [ebp - 0xc4]
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x10]
call fcn.004858e0
push eax
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004857e4
pop ecx
test cl, cl
jne 0x40b4a4
inc ebx
cmp dword [0x4a47e4], 0
je 0x40b49a
mov eax, dword [0x4a47e4]
mov edx, dword [eax - 4]
jmp 0x40b49c
xor edx, edx
cmp ebx, edx
jle 0x40b357
mov word [ebp - 0xd0], 0xbc
mov eax, dword [ebp - 0x10]
mov edx, 0x49ad52
push eax
lea eax, [ebp - 0x58]
mov word [ebp - 0xd0], 0xc8
call fcn.00485610
inc dword [ebp - 0xc4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 0x68
jmp 0x40b556
mov word [ebp - 0xd0], 0xe0
xor ecx, ecx
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], ecx
push eax
inc dword [ebp - 0xc4]
cmp dword [ebp - 8], 0
je 0x40b57c
mov edx, dword [ebp - 8]
mov ecx, dword [edx - 4]
jmp 0x40b57e
xor ecx, ecx
sub ecx, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xe8]
inc edx
lea eax, [ebp - 8]
call fcn.00485ab8
lea edx, [ebp - 0x60]
lea eax, [ebp - 8]
call fcn.00485814
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 0xec
mov edx, 0x49ad64
lea eax, [ebp - 0x64]
call fcn.00485610
inc dword [ebp - 0xc4]
lea edx, [ebp - 0x64]
lea eax, [ebp - 8]
call fcn.00485984
mov dword [ebp - 0xe8], eax
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.004857e4
cmp dword [ebp - 0xe8], 0
jle 0x40b634
mov word [ebp - 0xd0], 0xf8
mov edx, 0x49ad66
lea eax, [ebp - 0x68]
call fcn.00485610
inc dword [ebp - 0xc4]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x38]
call fcn.00485814
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 0x50
cmp dword [ebp - 0xe8], 0
jg 0x40b280
mov word [ebp - 0xd0], 8
jmp 0x40b87f
mov word [ebp - 0xd0], 8
mov edi, 1
jmp 0x40b7aa
mov word [ebp - 0xd0], 0x104
mov edx, 0x49ad67
lea eax, [ebp - 0x70]
call fcn.00485610
inc dword [ebp - 0xc4]
lea ecx, [ebp - 0x70]
push ecx
mov esi, edi
push esi
push 0x4a47e4
call fcn.0048558c
add esp, 8
mov eax, 0x4a47e4
call fcn.00485950
add esi, dword [0x4a47e4]
lea eax, [ebp - 0x6c]
dec esi
mov dl, byte [esi]
call fcn.00485754
inc dword [ebp - 0xc4]
xor edx, edx
mov dword [ebx], edx
mov ecx, ebx
inc dword [ebp - 0xc4]
pop edx
call fcn.0048583c
mov edx, ebx
lea eax, [ebp - 4]
call fcn.00485814
dec dword [ebp - 0xc4]
mov eax, ebx
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 0x110
mov ecx, dword [ebp + 0xc]
xor edx, edx
push ecx
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 4]
push eax
mov dword [ebp - 0x78], edx
push ecx
inc dword [ebp - 0xc4]
call fcn.0040a96c
add esp, 0xc
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x10]
call fcn.00485828
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 0x11c
mov edx, 0x49ad69
lea eax, [ebp - 0x7c]
call fcn.00485610
inc dword [ebp - 0xc4]
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x10]
call fcn.004858e0
push eax
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004857e4
pop ecx
test cl, cl
jne 0x40b7c7
inc edi
cmp dword [0x4a47e4], 0
je 0x40b7bd
mov eax, dword [0x4a47e4]
mov edx, dword [eax - 4]
jmp 0x40b7bf
xor edx, edx
cmp edi, edx
jle 0x40b67e
mov word [ebp - 0xd0], 0x128
mov eax, dword [ebp - 0x10]
mov edx, 0x49ad6a
push eax
lea eax, [ebp - 0x80]
mov word [ebp - 0xd0], 0x134
call fcn.00485610
inc dword [ebp - 0xc4]
mov edx, dword [eax]
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 8
jmp 0x40b87f
mov ebx, dword [ebp - 0xe4]
mov dword [ebp - 0x8c], ebx
test ebx, ebx
je 0x40b8b9
mov eax, dword [ebx]
mov dword [ebp - 0x88], eax
mov word [ebp - 0xd0], 0x158
mov edx, 3
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xd0], 0x14c
mov word [ebp - 0xd0], 0x164
xor edx, edx
mov eax, dword [0x4a4568]
mov dword [ebp - 0x90], edx
lea edx, [ebp - 0x90]
inc dword [ebp - 0xc4]
mov eax, dword [eax]
call fcn.00466674
lea eax, [ebp - 0x90]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x94], edx
lea edx, [ebp - 0x94]
inc dword [ebp - 0xc4]
call fcn.004284b8
lea eax, [ebp - 0x94]
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
inc dword [ebp - 0xc4]
lea edx, [ebp + 8]
call fcn.0048583c
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 8
mov word [ebp - 0xd0], 0x170
mov edx, 0x49ad7c
lea eax, [ebp - 0x98]
call fcn.00485610
inc dword [ebp - 0xc4]
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x10]
call fcn.00485984
mov ebx, eax
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 8
mov word [ebp - 0xd0], 0x17c
xor ecx, ecx
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], ecx
push eax
inc dword [ebp - 0xc4]
lea eax, [ebp - 0x10]
lea ecx, [ebx - 1]
mov edx, 1
call fcn.00485ab8
lea eax, [ebp - 0x9c]
xor edx, edx
mov dword [ebp - 0x18], edx
lea edx, [ebp - 0x18]
inc dword [ebp - 0xc4]
call fcn.00485a30
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 8
jmp 0x40bc2b
mov word [ebp - 0xd0], 0x194
xor eax, eax
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa8], eax
push ecx
inc dword [ebp - 0xc4]
cmp dword [ebp - 0x10], 0
je 0x40ba39
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 4]
jmp 0x40ba3b
xor ecx, ecx
lea edx, [ebx + 1]
lea eax, [ebp - 0x10]
call fcn.00485ab8
lea edx, [ebp - 0xa8]
lea eax, [ebp - 0x10]
call fcn.00485814
dec dword [ebp - 0xc4]
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 0x1ac
mov edx, 0x49ad7f
lea eax, [ebp - 0xac]
call fcn.00485610
inc dword [ebp - 0xc4]
xor eax, eax
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x18]
inc dword [ebp - 0xc4]
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0xb0]
call fcn.0048583c
lea eax, [ebp - 0xb0]
xor edx, edx
mov dword [ebp - 0xa4], edx
lea ecx, [ebp - 0xa4]
inc dword [ebp - 0xc4]
lea edx, [ebp + 8]
call fcn.0048583c
dec dword [ebp - 0xc4]
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 0x1a0
mov eax, dword [ebp - 0xa4]
call fcn.004282f8
test al, al
jne 0x40bb40
push 0
cmp dword [ebp - 0xa4], 0
je 0x40bb24
mov ecx, dword [ebp - 0xa4]
jmp 0x40bb29
mov ecx, 0x49ad82
push ecx
cmp dword [ebp - 0x14], 0
je 0x40bb35
mov eax, dword [ebp - 0x14]
jmp 0x40bb3a
mov eax, 0x49ad81
push eax
call sub.KERNEL32.DLL_CopyFileA
mov word [ebp - 0xd0], 0x1b8
mov edx, 0x49ad83
lea eax, [ebp - 0xb4]
call fcn.00485610
inc dword [ebp - 0xc4]
lea edx, [ebp - 0xb4]
lea eax, [ebp - 0x10]
call fcn.00485984
mov ebx, eax
dec dword [ebp - 0xc4]
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 0x1c4
xor ecx, ecx
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], ecx
push eax
inc dword [ebp - 0xc4]
lea eax, [ebp - 0x10]
lea ecx, [ebx - 1]
mov edx, 1
call fcn.00485ab8
lea eax, [ebp - 0xb8]
xor edx, edx
mov dword [ebp - 0xbc], edx
lea edx, [ebp - 0xbc]
inc dword [ebp - 0xc4]
call fcn.00485a30
lea edx, [ebp - 0xbc]
lea eax, [ebp - 0x18]
call fcn.00485814
dec dword [ebp - 0xc4]
lea eax, [ebp - 0xbc]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0xb8]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.004857e4
mov word [ebp - 0xd0], 8
mov word [ebp - 0xd0], 0x188
mov edx, 0x49ad7e
lea eax, [ebp - 0xa0]
call fcn.00485610
inc dword [ebp - 0xc4]
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x18]
call fcn.004858e0
test al, al
lea eax, [ebp - 0xa0]
setne cl
and ecx, 1
mov edx, 2
push ecx
dec dword [ebp - 0xc4]
call fcn.004857e4
pop ecx
test ecx, ecx
jne 0x40ba0d
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp + 8]
mov edx, 2
call fcn.004857e4
dec dword [ebp - 0xc4]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004857e4
mov ecx, dword [ebp - 0xe0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret