Function at 0x1102bd40
Capabilities:
Copy file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1117ff02
mov eax, dword fs:[0]
push eax
sub esp, 0x6d8
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bx, word [ebp + 0x10]
mov edi, dword [ebp + 8]
movzx eax, bx
push eax
push 0x1119b168
mov dword [ebp - 0x6bc], edi
call fcn.11147060
mov cl, bl
mov al, bl
shr cl, 2
and al, 1
and cl, 1
shr bl, 3
add esp, 8
and bl, 1
mov byte [ebp - 0x6ae], al
mov byte [ebp - 0x6af], cl
je 0x1102bee0
push 0x1119b158
call fcn.11147060
push 0x7c
push edi
call fcn.11165010
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1102bed9
push 0
push edi
lea ecx, [ebp - 0x2c]
mov byte [esi], 0
call fcn.110d09e0
push 0
inc esi
push esi
lea ecx, [ebp - 0x6cc]
mov dword [ebp - 4], 0
call fcn.110d09e0
mov edx, dword [ebp - 0x6cc]
mov eax, dword [edx]
lea ecx, [ebp - 0x6cc]
mov byte [ebp - 4], 1
call eax
test al, al
jne 0x1102be1f
push 0x250
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov esi, dword [ebp - 0x6c0]
lea ecx, [ebp - 0x2c]
call eax
test al, al
jne 0x1102be47
push 0x250
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
mov ecx, dword [ebp - 0x20]
push esi
push ecx
push 0x1119b140
call fcn.11147060
mov edx, dword [ebp - 0x6cc]
mov eax, dword [edx]
add esp, 0xc
lea ecx, [ebp - 0x6cc]
call eax
test al, al
jne 0x1102be81
push 0x255
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov esi, dword [ebp - 0x6c0]
lea ecx, [ebp - 0x2c]
call eax
test al, al
jne 0x1102bea9
push 0x255
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
mov ecx, dword [ebp - 0x20]
push esi
push 0x1119b130
push ecx
call fcn.11112410
add esp, 0xc
lea ecx, [ebp - 0x6cc]
mov byte [ebp - 4], 0
call fcn.110d0a10
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.110d0a10
xor eax, eax
jmp 0x1102c768
push 0
call fcn.111457a0
lea edx, [ebp - 0x454]
add esp, 4
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1102bef2
lea edx, [ebp - 0x454]
push edx
lea eax, [ebp - 0x148]
push 0x1119b124
push eax
call dword [sym.imp.uSEr32.dll_wsprintfA]
mov ecx, dword [0x111ee100]
add esp, 0xc
xor edi, edi
push edi
push 0xc
mov dword [ebp - 0x6b8], edi
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [ebp - 0x38]
push eax
push 0x1119b118
push 0x111a0f8c
mov dword [ebp - 0x6b4], edi
mov bl, 1
mov byte [ebp - 0x6ad], 0
call edx
mov ecx, dword [0x111ee100]
lea eax, [ebp - 0x38]
push eax
push ecx
push 0x1119b0e4
call fcn.11147060
xor eax, eax
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x6bc]
push edx
push eax
call fcn.11028420
lea ecx, [ebp - 0x1c]
push ecx
push 0x1119b0b0
call fcn.11147060
lea edx, [ebp - 0x148]
push 0x1119b0ac
push edx
call fcn.11164ead
add esp, 0x24
cmp eax, edi
je 0x1102c008
lea ecx, [ebp - 0x6cc]
mov dword [ebp - 0x6d0], eax
call fcn.110d1930
push 0x50
lea eax, [ebp - 0x6ac]
push eax
lea ecx, [ebp - 0x6d4]
mov dword [ebp - 4], 2
call fcn.110cfa70
push 0xc
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x6d4]
call fcn.110cfa70
mov eax, dword [ebp - 0x6d0]
mov dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x1102bffd
push eax
call fcn.11164c77
add esp, 4
lea ecx, [ebp - 0x6cc]
call fcn.110d0a10
lea edx, [ebp - 0x44]
push edx
push 0x1119b06c
call fcn.11147060
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.11081e70
add esp, 0x10
test eax, eax
jne 0x1102c052
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.11081e70
add esp, 8
test eax, eax
jne 0x1102c052
push 0x1119b038
call fcn.11147060
add esp, 4
xor eax, eax
jmp 0x1102c768
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.11081e70
add esp, 8
test eax, eax
je 0x1102c077
push 0x1119afe8
call fcn.11147060
add esp, 4
mov bl, 1
jmp 0x1102c0a1
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.11081e70
add esp, 8
test eax, eax
je 0x1102c0a1
push 0x1119af90
call fcn.11147060
add esp, 4
xor bl, bl
mov byte [ebp - 0x6ad], 1
test byte [ebp + 0x10], 2
je 0x1102c0bd
push 0x1119af50
call fcn.11147060
add esp, 4
xor bl, bl
mov byte [ebp - 0x6ad], 1
movzx edx, byte [ebp - 0x6ad]
movzx eax, bl
push edx
push eax
push 0x1119af1c
call fcn.11147060
add esp, 0xc
test bl, bl
je 0x1102c32c
push 0x1119aef8
call fcn.11147060
mov ebx, dword [sym.imp.uSEr32.dll_wsprintfA]
add esp, 4
xor esi, esi
cmp dword [0x111ee268], 0
push esi
je 0x1102c11c
push 0x111ee124
lea ecx, [ebp - 0x454]
push ecx
lea edx, [ebp - 0x24c]
push 0x1119aee4
push edx
call ebx
add esp, 0x14
jmp 0x1102c134
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x24c]
push 0x1119aed4
push ecx
call ebx
add esp, 0x10
lea edx, [ebp - 0x24c]
push 0
push edx
call fcn.11143e00
add esp, 8
test eax, eax
je 0x1102c14f
inc esi
cmp esi, 0x64
jl 0x1102c0f3
lea eax, [ebp - 0x24c]
push eax
push 0x1119aea0
call fcn.11147060
add esp, 8
lea ecx, [ebp - 0x350]
push ecx
push 0
push 0x1119ae9c
lea edx, [ebp - 0x454]
push edx
call dword [sym.imp.KeRneL32.DLl_GetTempFileNameA]
test eax, eax
je 0x1102c32c
lea eax, [ebp - 0x350]
push 0x1119ae98
push eax
call fcn.11164ead
mov esi, eax
add esp, 8
test esi, esi
je 0x1102c1d0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x6bc]
push esi
push 1
push ecx
push edx
call fcn.1116579a
push esi
call fcn.11164c77
add esp, 0x14
test eax, eax
je 0x1102c1e0
mov edi, 0xa
mov dword [ebp - 0x6b4], edi
jmp 0x1102c32c
mov edi, 0x14
mov dword [ebp - 0x6b4], edi
jmp 0x1102c32c
lea eax, [ebp - 0x350]
push eax
push 0x1119ae58
call fcn.11147060
push 0x48
call fcn.111101b0
add esp, 0xc
mov dword [ebp - 0x6bc], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x1102c232
mov ecx, dword [0x111ee0f8]
mov edx, dword [0x111ee0f0]
push 0
push 0x111e5278
push 1
push 0
push 0xffffffffffffffff
push ecx
push edx
mov ecx, eax
call fcn.11061aa0
mov esi, eax
jmp 0x1102c234
xor esi, esi
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x6b8]
push ecx
push 0
push 9
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.11063880
test eax, eax
jne 0x1102c263
mov edi, 0x1e
mov dword [ebp - 0x6b4], edi
test esi, esi
je 0x1102c271
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [ebp - 0x6b8]
push ecx
push edi
push 0x1119ae18
call fcn.11147060
add esp, 0xc
test edi, edi
jne 0x1102c32c
lea edx, [ebp - 0x24c]
push edx
lea eax, [ebp - 0x148]
push eax
push 0x1119ade8
xor esi, esi
call fcn.11147060
lea ecx, [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x148]
push edx
call fcn.11165610
add esp, 0x14
test eax, eax
jne 0x1102c30a
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x350]
push ecx
push 0x1119ade8
call fcn.11147060
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x350]
push eax
call fcn.11165610
add esp, 0x14
test eax, eax
jne 0x1102c2fd
mov byte [ebp - 0x6ad], 1
jmp 0x1102c31d
call dword [sym.imp.KeRneL32.DLl_GetLastError]
mov edi, 0x32
jmp 0x1102c315
call dword [sym.imp.KeRneL32.DLl_GetLastError]
mov edi, 0x3c
mov dword [ebp - 0x6b4], edi
mov esi, eax
push esi
push edi
push 0x1119adb0
call fcn.11147060
add esp, 0xc
cmp byte [ebp - 0x6ad], 0
je 0x1102c477
push 0x1119ad88
call fcn.11147060
add esp, 4
lea ecx, [ebp - 0x148]
push ecx
mov ecx, dword [0x111ee100]
lea edx, [ebp - 0x6b8]
push edx
push 0
push 9
call fcn.11063880
test eax, eax
je 0x1102c3f7
push 0x1119ad60
call fcn.11147060
mov eax, dword [0x111ee100]
push eax
push 0x1119ad38
mov dword [ebp - 0x6b4], 0
call fcn.11147060
mov ecx, dword [0x111ee100]
add esp, 0xc
push 0
push 0xa
push 0x1119ad30
push 0x111a0f8c
call fcn.1105e820
push eax
push 0x1119ad14
call fcn.11147060
mov eax, dword [0x111ee100]
mov ecx, dword [eax + 0x30]
add esp, 8
push 0
push 0
push eax
call fcn.11061a70
mov ecx, dword [0x111ee100]
push 0
push 0xa
push 0x1119ad30
push 0x111a0f8c
call fcn.1105e820
push eax
push 0x1119acf8
call fcn.11147060
add esp, 8
jmp 0x1102c47f
mov edx, dword [ebp - 0x6b8]
lea ecx, [ebp - 0x148]
push ecx
push edx
push 0x1119acc8
call fcn.11147060
lea eax, [ebp - 0x148]
push eax
call fcn.111655e0
lea ecx, [ebp - 0x148]
push ecx
lea edx, [ebp - 0x24c]
push edx
call fcn.11165610
add esp, 0x18
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x6b8]
push ecx
mov ecx, dword [0x111ee100]
push 0
push 9
call fcn.11063880
mov eax, dword [0x111ee100]
mov ecx, dword [eax + 0x30]
push 0
push 0
push eax
mov edi, 0x28
call fcn.11061a70
push 0x1119ac98
call fcn.11147060
add esp, 4
jmp 0x1102c766
test edi, edi
jne 0x1102c766
push 0
call fcn.11143a20
mov ecx, dword [0x111ee100]
push eax
push 0x111972c0
push 0x111a0f8c
call fcn.1105e820
cmp byte [ebp - 0x6ae], 0
mov esi, eax
je 0x1102c58c
lea ecx, [ebp - 0x6cc]
call fcn.110d1930
xor edx, edx
cmp esi, 0x14
setge dl
mov dword [ebp - 4], 4
lea edx, [edx + edx + 5]
push edx
call fcn.1102ad70
push 0
lea ecx, [ebp - 0x6cc]
push ecx
push eax
call fcn.111121e0
mov edx, dword [ebp - 0x6cc]
mov eax, dword [edx]
add esp, 0x10
lea ecx, [ebp - 0x6cc]
call eax
test al, al
jne 0x1102c509
push 0x250
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
mov ecx, dword [ebp - 0x6c0]
push ecx
push 0x1119ac64
call fcn.11147060
mov edx, dword [0x111ee100]
mov ecx, dword [edx + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add esp, 8
push 0
push 0xc
lea edx, [ebp - 0x28]
push edx
push 0x1119b118
push 0x111a0f8c
call eax
mov edx, dword [ebp - 0x6cc]
mov eax, dword [edx]
lea ecx, [ebp - 0x6cc]
call eax
test al, al
jne 0x1102c567
push 0x255
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
mov edx, dword [ebp - 0x6c0]
lea ecx, [ebp - 0x28]
push ecx
push edx
call fcn.110960e0
add esp, 8
lea ecx, [ebp - 0x6cc]
mov dword [ebp - 4], 0xffffffff
call fcn.110d0a10
cmp byte [ebp - 0x6af], 0
je 0x1102c68a
lea ecx, [ebp - 0x6e4]
call fcn.110d1930
mov eax, dword [ebp - 0x6e4]
mov edx, dword [eax]
lea ecx, [ebp - 0x6e4]
mov dword [ebp - 4], 5
call edx
test al, al
jne 0x1102c5d3
push 0x250
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
mov eax, dword [ebp - 0x6d8]
push eax
push 0x1119ac3c
call fcn.11147060
xor ecx, ecx
cmp esi, 0x14
setge cl
lea ecx, [ecx + ecx + 5]
push ecx
call fcn.1102ad70
push 0
lea edx, [ebp - 0x6e4]
push edx
push eax
call fcn.111121e0
add esp, 0x18
cmp esi, 0x14
jge 0x1102c614
mov esi, 0x1119ac30
jmp 0x1102c623
cmp esi, 0x37
mov esi, 0x1119ac24
jl 0x1102c623
mov esi, 0x1119ac18
mov eax, dword [ebp - 0x6e4]
mov edx, dword [eax]
lea ecx, [ebp - 0x6e4]
call edx
test al, al
jne 0x1102c64b
push 0x255
push 0x11195b24
push 0x11195b1c
call fcn.11029a70
mov eax, dword [ebp - 0x6d8]
push esi
push 0x1119ac10
push eax
call fcn.11112410
add esp, 0xc
test eax, eax
jne 0x1102c678
call dword [sym.imp.KeRneL32.DLl_GetLastError]
push eax
push 0x1119abe8
call fcn.11147060
add esp, 8
lea ecx, [ebp - 0x6e4]
mov dword [ebp - 4], 0xffffffff
call fcn.110d0a10
push 0
mov byte [0x111ee280], 0
call fcn.111457a0
lea edx, [ebp - 0x65c]
add esp, 4
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1102c6a3
lea eax, [ebp - 0x65c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1102c6b4
mov edi, eax
mov ecx, 5
mov esi, 0x1119abd0
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0
movsb byte es:[edi], byte [esi]
call fcn.111457a0
lea edx, [ebp - 0x558]
add esp, 4
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1102c6e0
lea edi, [ebp - 0x558]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1102c6f1
mov ecx, 7
mov esi, 0x1119abb0
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x65c]
push 0
push ecx
movsw word es:[edi], word [esi]
call fcn.11143e00
mov esi, dword [sym.imp.KeRneL32.DLl_CopyFileA]
add esp, 8
test eax, eax
je 0x1102c734
push 0
lea edx, [ebp - 0x65c]
push edx
lea eax, [ebp - 0x148]
push eax
call esi
lea ecx, [ebp - 0x558]
push 0
push ecx
call fcn.11143e00
add esp, 8
test eax, eax
je 0x1102c75b
push 0
lea edx, [ebp - 0x558]
push edx
lea eax, [ebp - 0x148]
push eax
call esi
call fcn.11028290
mov edi, dword [ebp - 0x6b4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.11162bb7
mov esp, ebp
pop ebp
ret