Function at 0x46be50
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec7e9
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
push str.WS_SIU
lea ecx, [ebp - 0x38]
call fcn.00445780
mov dword [ebp - 4], 0
mov byte [ebp - 0x39], 0
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR120.dll_wcslen]
add esp, 4
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x94], 0
je 0x46becf
cmp dword [ebp - 0x74], 0
jne 0x46bf0d
push 0x51cd88
mov ecx, dword [ebp + 0x1c]
call fcn.00450440
push 0x51cdb4
mov ecx, dword [ebp + 0x1c]
call fcn.004504f0
mov dword [ebp - 0xa0], 0x31
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00445840
mov eax, dword [ebp - 0xa0]
jmp 0x46c37c
lea edx, [ebp - 0x50]
push edx
call fcn.00432c20
mov byte [ebp - 4], 1
imul eax, dword [ebp - 0x74], 5
mov dword [ebp - 0x70], eax
xor ecx, ecx
mov eax, dword [ebp - 0x70]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc120u.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x70]
push ecx
push 0
mov edx, dword [ebp - 0x5c]
push edx
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.00406200
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c1950
add esp, 4
mov dword [ebp - 0xa4], eax
push 1
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.00410210
add esp, 0x14
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00414270
add esp, 4
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp + 8]
push eax
push str._signInUser__signInUserRequest_userId__s__password__s__serialNumber__s__langCode__s______signInUser_
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.mfc120u.dll_Ordinal_4772]
add esp, 0x18
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
push eax
call sub.mfc120u.dll_Ordinal_266
add esp, 4
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0x34]
call eax
push eax
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00463b80
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.00463c80
movzx edx, al
test edx, edx
je 0x46c306
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx + 0x34]
call eax
push eax
call fcn.00432da0
mov byte [ebp - 0x3a], al
movzx ecx, byte [ebp - 0x3a]
test ecx, ecx
je 0x46c23e
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov byte [ebp - 4], 5
call fcn.00436090
cmp eax, 4
jge 0x46c1a1
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_8594]
push 0
push 0x51d22c
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_4621]
mov dword [ebp - 0x7c], eax
push 0x51d2b8
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00463d70
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc120u.dll_Ordinal_8064]
movzx edx, al
test edx, edx
jne 0x46c187
mov eax, dword [ebp - 0x7c]
add eax, 8
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_4621]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
push ecx
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_8242]
mov byte [ebp - 4], 8
push 0x51d344
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc120u.dll_Ordinal_1687]
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc120u.dll_Ordinal_5787]
add eax, dword [ebp - 0x78]
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_8638]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc120u.dll_Ordinal_1684]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1518]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov byte [ebp - 4], 0xa
push str.RequestSignInUserDump.txt
push 0x104
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_5019]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_12430]
push 0x5001
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0xc4]
call sub.mfc120u.dll_Ordinal_968
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0xc4]
call sub.mfc120u.dll_Ordinal_14537
lea ecx, [ebp - 0xc4]
call sub.mfc120u.dll_Ordinal_2857
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc4]
call sub.mfc120u.dll_Ordinal_1444
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
push 0x51d430
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp - 0x58]
add ecx, 0x1c
call fcn.004978d0
mov byte [ebp - 0x39], al
movzx edx, byte [ebp - 0x3a]
test edx, edx
je 0x46c2b8
push str.SignInUserDump.txt
push 0x104
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120u.dll_Ordinal_5019]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120u.dll_Ordinal_12430]
push 0
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x46c2f0
mov ecx, dword [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.0046f370
mov byte [ebp - 0x39], al
movzx edx, byte [ebp - 0x39]
test edx, edx
je 0x46c2e7
mov dword [ebp - 0x44], 0
jmp 0x46c2ee
mov dword [ebp - 0x44], 0x31
jmp 0x46c2f7
mov dword [ebp - 0x44], 0xffffffff
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
jmp 0x46c327
push 0x51d528
mov ecx, dword [ebp + 0x1c]
call fcn.00450440
push str.communication_error__offline_
mov ecx, dword [ebp + 0x1c]
call fcn.004504f0
mov dword [ebp - 0x44], 0x15
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00445840
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret 0x18