Function at 0x40b090
Capabilities:
Copy file
Delete file

Disassembly:
sub esp, 0x210
lea eax, [esp + 0x10c]
push ebx
push ebp
push esi
push edi
push 0x422ed4
push str._ssgvcos.ini
push eax
call fcn.00411c30
add esp, 0xc
lea ecx, [esp + 0x18]
push 0x422ed4
push str._stemp.tmp
push ecx
call fcn.00411c30
lea edx, [esp + 0x128]
push 0x41d32c
push edx
call fcn.00412111
mov esi, eax
add esp, 0x14
test esi, esi
je 0x40b5d0
push 2
push 0
push esi
call fcn.00412065
push esi
call fcn.004124f0
push 0
mov edi, eax
push 0
push esi
mov dword [esp + 0x30], edi
call fcn.00412065
lea eax, [edi + 1]
push eax
call fcn.00411c82
add esp, 0x20
mov ebp, eax
test ebp, ebp
push esi
jne 0x40b12d
call fcn.00411f27
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
push edi
push 1
push ebp
call fcn.00411f7d
add esp, 0x10
cmp eax, edi
je 0x40b157
push ebp
call fcn.004122bc
push esi
call fcn.00411f27
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
push esi
mov byte [edi + ebp], 0x30
call fcn.00411f27
lea ecx, [esp + 0x1c]
push 0x41d39c
push ecx
call fcn.00412111
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x40b18d
push ebp
call fcn.004122bc
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
push str.Server_IP
push ebp
call fcn.00412470
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40b1b5
push ebp
call fcn.004122bc
push esi
call fcn.00411f27
add esp, 8
jmp 0x40b5c5
mov edi, ebx
push esi
sub edi, ebp
push edi
push 1
push ebp
call fcn.00412301
add esp, 0x10
cmp eax, edi
je 0x40b1d6
push ebp
call fcn.004122bc
push esi
jmp 0x40b4f6
mov edi, str.Server_IP
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push str.Server_IP
call fcn.00412301
mov edi, 0x422fd8
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push 0x422fd8
call fcn.00412301
mov al, byte [ebx]
add esp, 0x20
test al, al
je 0x40b225
cmp al, 0xd
je 0x40b225
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x40b219
cmp byte [ebx], 0
jne 0x40b236
push ebp
call fcn.004122bc
push esi
jmp 0x40b56f
push str.Udp_Server_IP
push ebx
call fcn.00412648
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x40b260
push ebp
call fcn.004122bc
push esi
call fcn.00411f27
add esp, 8
jmp 0x40b5c5
mov edi, eax
push esi
sub edi, ebx
push edi
push 1
push ebx
call fcn.00412301
add esp, 0x10
cmp eax, edi
je 0x40b281
push ebp
call fcn.004122bc
push esi
jmp 0x40b4f6
mov edi, str.Udp_Server_IP
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
push ecx
push 1
push str.Udp_Server_IP
call fcn.00412301
mov edi, 0x422fd8
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push 0x422fd8
call fcn.00412301
mov ecx, ebx
add esp, 0x20
mov al, byte [ecx]
test al, al
je 0x40b2d6
cmp al, 0xd
je 0x40b2d6
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x40b2ca
cmp byte [ebx], 0
jne 0x40b2ef
push ebp
call fcn.004122bc
push esi
call fcn.00411f27
add esp, 8
jmp 0x40b5c5
push str.Meeting_Server_IP
push ebx
call fcn.00412470
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x40b311
push ebp
call fcn.004122bc
push esi
jmp 0x40b4f6
mov edi, eax
push esi
sub edi, ebx
push edi
push 1
push ebx
call fcn.00412301
add esp, 0x10
cmp eax, edi
je 0x40b332
push ebp
call fcn.004122bc
push esi
jmp 0x40b56f
mov edi, str.Meeting_Server_IP
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
push ecx
push 1
push str.Meeting_Server_IP
call fcn.00412301
mov edi, 0x422fd8
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push 0x422fd8
call fcn.00412301
mov edx, ebx
add esp, 0x20
mov al, byte [edx]
test al, al
je 0x40b387
cmp al, 0xd
je 0x40b387
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x40b37b
cmp byte [ebx], 0
jne 0x40b398
push ebp
call fcn.004122bc
push esi
jmp 0x40b4f6
mov edi, dword [esp + 0x14]
mov ecx, ebp
sub ecx, ebx
push esi
add ecx, edi
push ecx
push 1
push ebx
call fcn.00412301
push ebp
call fcn.004122bc
push esi
call fcn.00411f27
add esp, 0x18
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x422ed4
lea ecx, [esp + 0x120]
push str._ssysvideo.ini
push ecx
call fcn.00411c30
lea edx, [esp + 0x128]
push 0x41d32c
push edx
call fcn.00412111
mov esi, eax
add esp, 0x14
test esi, esi
je 0x40b5d0
push 2
push 0
push esi
call fcn.00412065
push esi
call fcn.004124f0
push 0
mov edi, eax
push 0
push esi
mov dword [esp + 0x30], edi
call fcn.00412065
lea eax, [edi + 1]
push eax
call fcn.00411c82
add esp, 0x20
mov ebp, eax
test ebp, ebp
push esi
jne 0x40b44c
call fcn.00411f27
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
push edi
push 1
push ebp
call fcn.00411f7d
add esp, 0x10
cmp eax, edi
je 0x40b476
push ebp
call fcn.004122bc
push esi
call fcn.00411f27
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
push esi
mov byte [edi + ebp], 0x30
call fcn.00411f27
lea ecx, [esp + 0x1c]
push 0x41d39c
push ecx
call fcn.00412111
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x40b4b2
push ebp
call fcn.004122bc
push esi
call fcn.00411f27
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
push str.Meeting_Server_IP
push ebp
call fcn.00412470
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b4da
push ebp
call fcn.004122bc
push ebx
call fcn.00411f27
add esp, 8
jmp 0x40b5c5
mov edi, esi
push ebx
sub edi, ebp
push edi
push 1
push ebp
call fcn.00412301
add esp, 0x10
cmp eax, edi
je 0x40b514
push ebp
call fcn.004122bc
push ebx
call fcn.00411f27
add esp, 8
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
mov edi, str.Meeting_Server_IP
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push str.Meeting_Server_IP
call fcn.00412301
mov edi, 0x422fd8
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push 0x422fd8
call fcn.00412301
mov al, byte [esi]
add esp, 0x20
test al, al
je 0x40b563
cmp al, 0xd
je 0x40b563
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40b557
cmp byte [esi], 0
jne 0x40b58d
push ebp
call fcn.004122bc
push ebx
call fcn.00411f27
add esp, 8
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
mov edi, dword [esp + 0x14]
mov edx, ebp
sub edx, esi
push ebx
add edx, edi
push edx
push 1
push esi
call fcn.00412301
push ebp
call fcn.004122bc
push ebx
call fcn.00411f27
add esp, 0x18
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x18]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret