Function at 0x470970
Capabilities:
Copy file
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638302
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x721970]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x4c], 0xffffffff
lea eax, [ebp - 0x44]
push eax
call fcn.00436a10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00406700
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00610037
add esp, 4
imul edx, eax, 5
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x470a2e
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.0060f700
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00410ef0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00610037
add esp, 4
imul edx, eax, 5
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x470a98
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call fcn.0060f700
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00410ef0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x470ab2
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00610037
add esp, 4
imul edx, eax, 5
mov dword [ebp - 0x5c], edx
jmp 0x470ab9
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x470b17
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0060f700
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00410ef0
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x470b25
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], ecx
jmp 0x470b2c
mov dword [ebp - 0x50], 0x678dcc
cmp dword [ebp - 0x20], 0
je 0x470b3a
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x54], edx
jmp 0x470b41
mov dword [ebp - 0x54], 0x678dd0
cmp dword [ebp - 0x18], 0
je 0x470b4f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
jmp 0x470b56
mov dword [ebp - 0x58], 0x678dd8
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x58]
push eax
push str._createAccount_xmlns_http:__corel.com_subscription_SubscriptionService___createAccountRequest_userId__s__password__s__nickname__s__countryCode__s__langCode__s__flags__d__xmlns_______createAccount_
lea ecx, [ebp - 0x34]
push ecx
call fcn.004076f0
add esp, 0x20
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
push eax
call fcn.004e69f4
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
push edx
call fcn.004e69f4
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.004e69f4
add esp, 4
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 0x34]
call edx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00468880
mov byte [ebp - 4], 2
mov byte [ebp - 0x12], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.004a7500
push eax
call fcn.00468980
movzx ecx, al
test ecx, ecx
je 0x470e6e
lea ecx, [ebp - 0x24]
call fcn.00406700
mov byte [ebp - 4], 3
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x34]
call eax
push eax
call fcn.00436b90
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x470ddc
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x30]
call fcn.004064e0
mov byte [ebp - 4], 4
call fcn.0043a2a0
cmp eax, 4
jge 0x470d46
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
call fcn.004064e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.00407b60
push 0
push 0x6790b4
lea ecx, [ebp - 0x28]
call fcn.00407530
mov dword [ebp - 0x68], eax
push 0x679118
lea ecx, [ebp - 0x28]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00468a70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00407940
movzx edx, al
test edx, edx
jne 0x470d2e
mov eax, dword [ebp - 0x68]
add eax, 8
push eax
lea ecx, [ebp - 0x40]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x28]
call fcn.00407530
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x30]
call fcn.004079d0
mov byte [ebp - 4], 7
push 0x67912c
lea ecx, [ebp - 0x38]
call fcn.0040c280
lea ecx, [ebp - 0x40]
call fcn.004078a0
add eax, dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x30]
call fcn.00435700
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x78]
push edx
lea ecx, [ebp - 0x38]
call fcn.0040c260
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x80]
call fcn.004068c0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x30]
call fcn.00406b80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x38]
call fcn.004068c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.004068c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004068c0
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004064e0
mov byte [ebp - 4], 9
push str.CreateAccountRequest.txt
push 0x104
lea ecx, [ebp - 0x3c]
call fcn.00407830
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
call fcn.00407e70
push 0x5001
lea ecx, [ebp - 0x3c]
call fcn.004a7500
push eax
lea ecx, [ebp - 0xa4]
call fcn.004f1cee
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x30]
call fcn.004a7500
push eax
lea ecx, [ebp - 0xa4]
call fcn.004f238c
lea ecx, [ebp - 0xa4]
call fcn.004f1e8a
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa4]
call fcn.004f1d41
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.004068c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.004068c0
lea ecx, [ebp - 0x44]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x34]
call fcn.004a7500
push eax
push 0x679168
lea ecx, [ebp - 0x48]
call fcn.004a7500
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x1c
call fcn.0049d2b0
mov byte [ebp - 0x12], al
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x470e4f
push str.CreateAccountResponse.txt
push 0x104
lea ecx, [ebp - 0x24]
call fcn.00407830
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.00407e70
push 0
lea ecx, [ebp - 0x24]
call fcn.004a7500
push eax
lea ecx, [ebp - 0x44]
call fcn.004a7500
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x44]
call fcn.004a7500
push eax
call fcn.004751a0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.004068c0
jmp 0x470e75
mov dword [ebp - 0x4c], 0x15
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004068c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004068c0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18