Function at 0x4c9560
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66546e
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x750990]
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 0x4c95a3
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c95c7
mov dword [ebp - 0xb0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.004d1790
mov eax, dword [ebp - 0xb0]
jmp 0x4c9d1b
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x34]
call fcn.00406ed0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00407030
mov byte [ebp - 4], 2
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 8]
call fcn.004cb6c0
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.004d2940
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 fcn.0040ce10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.004071f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.004071f0
push 0x6bc3f4
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp + 0x18]
call fcn.004bdf00
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.0041ae70
push eax
lea ecx, [ebp - 0x20]
call fcn.00406ed0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x150]
call fcn.0041a9d0
push 0x2f
lea ecx, [ebp - 0x20]
call fcn.004baad0
push eax
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x20]
call fcn.004082d0
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 fcn.00407570
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.004071f0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x18]
call fcn.00406e10
mov byte [ebp - 4], 9
push 0x2f
lea ecx, [ebp - 0x18]
call fcn.004baad0
push eax
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x18]
call fcn.004082d0
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 fcn.00407570
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe8]
call fcn.004071f0
push str._servlet_FileUploader
lea ecx, [ebp - 0x18]
call fcn.0040ce40
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406e10
mov byte [ebp - 4], 0xb
push str._FlexService
lea ecx, [ebp - 0x2c]
call fcn.0040ce40
push 0xd0
call fcn.00504e67
add esp, 4
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x54], 0
je 0x4c97e0
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.004d0df0
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.004d1340
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x4c], edx
jmp 0x4c97e7
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 fcn.00504e67
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x44], 0
je 0x4c9826
push str.UploadFile
mov ecx, dword [ebp - 0x44]
call fcn.004d13d0
mov dword [ebp - 0x38], eax
jmp 0x4c982d
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 fcn.0046af70
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004d3820
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
push ecx
call fcn.00439100
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.004d3840
push 0
mov ecx, dword [ebp - 0x14]
call fcn.004d35e0
push 0x760a59
lea eax, [ebp - 0x58]
push eax
push 0x4d3550
lea ecx, [ebp - 0x168]
push ecx
call fcn.00483990
add esp, 0xfffffff8
mov ecx, esp
mov dword [ebp - 0x114], esp
push eax
call fcn.004cec30
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x144], edx
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
call fcn.004d3690
mov eax, dword [ebp + 8]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x104], 0x4c7d70
mov dword [ebp - 0x100], 0
push 0
push 0x760a60
push 0x760a59
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.004d0620
mov ecx, esp
mov dword [ebp - 0x11c], esp
push eax
call fcn.004ceb90
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.004d3570
movzx eax, byte [ebp + 0x14]
test eax, eax
jne 0x4c995e
mov byte [ebp - 0xe], 1
jmp 0x4c9962
mov byte [ebp - 0xe], 0
movzx ecx, byte [ebp - 0xe]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004d3630
push str.0dq4UmaoBY_vYzTEf1hrbPGg9fc
lea ecx, [ebp - 0x28]
call fcn.0047b3a0
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.004076f0
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.004d3770
push ecx
mov ecx, esp
mov dword [ebp - 0x12c], esp
lea edx, [ebp - 0x28]
push edx
call fcn.00406e10
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 fcn.0046af70
push eax
mov eax, dword [ebp + 8]
push eax
mov byte [ebp - 4], 0x12
call fcn.004c9fb0
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
jne 0x4c9abc
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 0x4c9a46
push 1
mov ecx, dword [ebp - 0x3c]
call fcn.004d2db0
mov dword [ebp - 0xf4], eax
jmp 0x4c9a50
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xa0], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.004071f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.004071f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.004071f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004071f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004071f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.004d1790
mov eax, dword [ebp - 0xa0]
jmp 0x4c9d1b
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004d4150
lea ecx, [ebp - 0x30]
call fcn.00407030
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.004c9d30
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 fcn.0046af70
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0046af70
push eax
lea edx, [ebp - 0x15c]
push edx
mov ecx, dword [ebp + 0x18]
call fcn.004bde70
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.0041ae70
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 fcn.00407ff0
add esp, 0x18
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x15c]
call fcn.0041a9d0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x70]
call fcn.004071f0
push 0x58
call fcn.00504e67
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x48], 0
je 0x4c9b94
push str.UploadAsset
mov ecx, dword [ebp - 0x48]
call fcn.004d13d0
mov dword [ebp - 0x50], eax
jmp 0x4c9b9b
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 fcn.0046af70
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004d3820
lea ecx, [ebp - 0x30]
call fcn.0046af70
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004d36f0
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.004d35e0
push ecx
mov edx, esp
mov dword [ebp - 0x10c], esp
push edx
call fcn.00439100
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.004d3840
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0xd4], 0x4c7f70
mov dword [ebp - 0xd0], 0
mov edx, dword [ebp - 0x58]
push edx
push 0x760a60
push 0x760a59
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xd4]
push edx
lea eax, [ebp - 0x188]
push eax
call fcn.004d0620
mov ecx, esp
mov dword [ebp - 0x118], esp
push eax
call fcn.004ceb90
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x1c]
call fcn.004d3570
movzx edx, byte [ebp + 0x14]
test edx, edx
jne 0x4c9c8c
mov byte [ebp - 0xd], 1
jmp 0x4c9c90
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004d3630
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004d3670
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
call fcn.004071f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.004071f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.004071f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.004071f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004071f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004071f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004071f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.004d1790
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x2c