Function at 0x4ba740
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6620
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x4ba783
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4ba7a7
mov dword [ebp - 0xb0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.0047d4e0
mov eax, dword [ebp - 0xb0]
jmp 0x4baf2c
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 2
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 8]
call fcn.004bc960
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xb4]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.004c3d10
add esp, 0xc
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xbc], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120u.dll_Ordinal_2415]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
push 0x536eec
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp + 0x18]
call fcn.004aef70
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xcc]
call fcn.004157f0
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x150]
call fcn.00415310
push 0x2f
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc120u.dll_Ordinal_12755]
push eax
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc120u.dll_Ordinal_8242]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc120u.dll_Ordinal_1518]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov byte [ebp - 4], 9
push 0x2f
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_12755]
push eax
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_8242]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x94], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x94]
push edx
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_1518]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe8]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
push str._servlet_FileUploader
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_2416]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov byte [ebp - 4], 0xb
push str._FlexService
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120u.dll_Ordinal_2416]
push 0xd0
call sub.mfc120u.dll_Ordinal_1506
add esp, 4
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x54], 0
je 0x4ba9d2
mov ecx, dword [ebp + 0x18]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x108], esp
lea edx, [ebp + 0x1c]
push edx
call fcn.004c22d0
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp + 0x10]
push ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x54]
call fcn.004c2790
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x4c], edx
jmp 0x4ba9d9
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x58], ecx
push 0x58
call sub.mfc120u.dll_Ordinal_1506
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x44], 0
je 0x4baa18
push str.UploadFile
mov ecx, dword [ebp - 0x44]
call fcn.004c2820
mov dword [ebp - 0x38], eax
jmp 0x4baa1f
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xa8], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004c4c40
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
push ecx
call fcn.00432dc0
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0x134], edx
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
call fcn.004c4c60
push 0
mov ecx, dword [ebp - 0x14]
call fcn.004c4a00
mov eax, dword [sym.imp.MSVCP120.dll_class_std::_Ph_1__std::placeholders::_1]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 0x4c4970
lea edx, [ebp - 0x168]
push edx
call fcn.004c1ae0
add esp, 0xfffffff8
mov ecx, esp
mov dword [ebp - 0x114], esp
push eax
call fcn.004c0040
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
call fcn.004c4ab0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0x104], 0x4b8f20
mov dword [ebp - 0x100], 0
push 0
mov edx, dword [sym.imp.MSVCP120.dll_class_std::_Ph_2__std::placeholders::_2]
push edx
mov eax, dword [sym.imp.MSVCP120.dll_class_std::_Ph_1__std::placeholders::_1]
push eax
lea ecx, [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0x100]
push edx
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x178]
push ecx
call fcn.004c1b20
mov ecx, esp
mov dword [ebp - 0x11c], esp
push eax
call fcn.004bffd0
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x140], edx
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
call fcn.004c4990
movzx eax, byte [ebp + 0x14]
test eax, eax
jne 0x4bab55
mov byte [ebp - 0xe], 1
jmp 0x4bab59
mov byte [ebp - 0xe], 0
movzx ecx, byte [ebp - 0xe]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004c4a50
push str.0dq4UmaoBY_vYzTEf1hrbPGg9fc
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc120u.dll_Ordinal_290]
mov byte [ebp - 4], 0x12
push ecx
mov edx, esp
mov dword [ebp - 0x124], esp
lea eax, [ebp - 0x28]
push eax
push str.Content_Type:_multipart_form_data__boundary
push edx
call fcn.00405f70
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x14]
call fcn.004c4b90
push ecx
mov ecx, esp
mov dword [ebp - 0x12c], esp
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov eax, dword [ebp + 8]
push eax
mov byte [ebp - 4], 0x12
call fcn.004bb1d0
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
jne 0x4bacbc
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4bac40
push 1
mov ecx, dword [ebp - 0x3c]
call fcn.004c4160
mov dword [ebp - 0xf4], eax
jmp 0x4bac4a
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xa0], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.0047d4e0
mov eax, dword [ebp - 0xa0]
jmp 0x4baf2c
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004c5590
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120u.dll_Ordinal_296]
mov byte [ebp - 4], 0x15
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004baf40
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0xac]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
lea edx, [ebp - 0x15c]
push edx
mov ecx, dword [ebp + 0x18]
call fcn.004aeee0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x68]
call fcn.004157f0
push eax
mov ecx, dword [str._SOAP_ENV:Envelope_xmlns:SOAP_ENV_http:__schemas.xmlsoap.org_soap_envelope___xmlns:xsd_http:__www.w3.org_2001_XMLSchema__xmlns:xsi_http:__www.w3.org_2001_XMLSchema_instance___SOAP_ENV:Body_SOAP_ENV:encodingStyle_http:__schemas.xmlsoap.org_soap_encoding____ns0:importAsset_xmlns:ns0_http:__flex.webservice.imageportal.products.netxposure.com___in0_xsi:type_xsd:string___s__in0__in1_xsi:type_xsd:string___s__in1__in2_xsi:type_xsd:int___d__in2__in3_xsi:type_xsd:int__1__in3__in4_SOAP_ENC:arrayType_tns1:LabelValueBean____xsi:type_SOAP_ENC:Array__xmlns:SOAP_ENC_http:__schemas.xmlsoap.org_soap_encoding___xmlns:tns1_urn:http:__www.netxposure.com_exogen___n_s__in4___ns0:importAsset___SOAP_ENV:Body__n__SOAP_ENV:Envelope_]
push ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.mfc120u.dll_Ordinal_4772]
add esp, 0x18
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x15c]
call fcn.00415310
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x70]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
push 0x58
call sub.mfc120u.dll_Ordinal_1506
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x48], 0
je 0x4bad99
push str.UploadAsset
mov ecx, dword [ebp - 0x48]
call fcn.004c2820
mov dword [ebp - 0x50], eax
jmp 0x4bada0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004c4c40
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004c4b10
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.004c4a00
push ecx
mov edx, esp
mov dword [ebp - 0x10c], esp
push edx
call fcn.00432dc0
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x1c]
call fcn.004c4c60
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0xd4], 0x4b9120
mov dword [ebp - 0xd0], 0
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [sym.imp.MSVCP120.dll_class_std::_Ph_2__std::placeholders::_2]
push eax
mov ecx, dword [sym.imp.MSVCP120.dll_class_std::_Ph_1__std::placeholders::_1]
push ecx
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x188]
push edx
call fcn.004c1b20
mov ecx, esp
mov dword [ebp - 0x118], esp
push eax
call fcn.004bffd0
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x1c]
call fcn.004c4990
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
jne 0x4bae96
mov byte [ebp - 0xd], 1
jmp 0x4bae9a
mov byte [ebp - 0xd], 0
movzx edx, byte [ebp - 0xd]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.004c4a50
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004c4a90
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.0047d4e0
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x2c