Function at 0x4c0be0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64219e
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x721970]
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 0x4c0c23
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c0c47
mov dword [ebp - 0xb0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.00482f10
mov eax, dword [ebp - 0xb0]
jmp 0x4c139b
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
lea ecx, [ebp - 0x34]
call fcn.004065a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00406700
mov byte [ebp - 4], 2
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp + 8]
call fcn.004c2d40
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.004ca120
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.0040c300
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.004068c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.004068c0
push 0x6942c4
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp + 0x18]
call fcn.004b56f0
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.00419160
push eax
lea ecx, [ebp - 0x20]
call fcn.004065a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x150]
call fcn.00418cc0
push 0x2f
lea ecx, [ebp - 0x20]
call fcn.004cad50
push eax
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x20]
call fcn.004079d0
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.00406b80
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.004068c0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x18]
call fcn.004064e0
mov byte [ebp - 4], 9
push 0x2f
lea ecx, [ebp - 0x18]
call fcn.004cad50
push eax
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x18]
call fcn.004079d0
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.00406b80
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe8]
call fcn.004068c0
push str._servlet_FileUploader
lea ecx, [ebp - 0x18]
call fcn.0040c330
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004064e0
mov byte [ebp - 4], 0xb
push str._FlexService
lea ecx, [ebp - 0x2c]
call fcn.0040c330
push 0xd0
call fcn.004e69c7
add esp, 4
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x54], 0
je 0x4c0e60
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.004c8630
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.004c8b80
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x4c], edx
jmp 0x4c0e67
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.004e69c7
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x44], 0
je 0x4c0ea6
push str.UploadFile
mov ecx, dword [ebp - 0x44]
call fcn.004c8c10
mov dword [ebp - 0x38], eax
jmp 0x4c0ead
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.004a7500
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004cb070
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
push ecx
call fcn.00436a10
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.004cb090
push 0
mov ecx, dword [ebp - 0x14]
call fcn.004cb000
push 0x731529
lea eax, [ebp - 0x58]
push eax
push 0x4cad30
lea ecx, [ebp - 0x168]
push ecx
call fcn.004c7e20
add esp, 0xfffffff8
mov ecx, esp
mov dword [ebp - 0x114], esp
push eax
call fcn.004c6370
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.004caea0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x104], 0x4bf3f0
mov dword [ebp - 0x100], 0
push 0
push 0x731530
push 0x731529
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.004c7e60
mov ecx, esp
mov dword [ebp - 0x11c], esp
push eax
call fcn.004c6300
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.004cada0
movzx eax, byte [ebp + 0x14]
test eax, eax
jne 0x4c0fde
mov byte [ebp - 0xe], 1
jmp 0x4c0fe2
mov byte [ebp - 0xe], 0
movzx ecx, byte [ebp - 0xe]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004cae40
push str.0dq4UmaoBY_vYzTEf1hrbPGg9fc
lea ecx, [ebp - 0x28]
call fcn.0047a290
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.00406de0
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.004cafa0
push ecx
mov ecx, esp
mov dword [ebp - 0x12c], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004064e0
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.004a7500
push eax
mov eax, dword [ebp + 8]
push eax
mov byte [ebp - 4], 0x12
call fcn.004c1630
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
jne 0x4c113c
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 0x4c10c6
push 1
mov ecx, dword [ebp - 0x3c]
call fcn.004ca570
mov dword [ebp - 0xf4], eax
jmp 0x4c10d0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xa0], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.004068c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.004068c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.004068c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004068c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004068c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.00482f10
mov eax, dword [ebp - 0xa0]
jmp 0x4c139b
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004caf00
lea ecx, [ebp - 0x30]
call fcn.00406700
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.004c13b0
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.004a7500
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004a7500
push eax
lea edx, [ebp - 0x15c]
push edx
mov ecx, dword [ebp + 0x18]
call fcn.004b5660
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.00419160
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.004076f0
add esp, 0x18
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x15c]
call fcn.00418cc0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x70]
call fcn.004068c0
push 0x58
call fcn.004e69c7
add esp, 4
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x48], 0
je 0x4c1214
push str.UploadAsset
mov ecx, dword [ebp - 0x48]
call fcn.004c8c10
mov dword [ebp - 0x50], eax
jmp 0x4c121b
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.004a7500
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004cb070
lea ecx, [ebp - 0x30]
call fcn.004a7500
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004caf20
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.004cb000
push ecx
mov edx, esp
mov dword [ebp - 0x10c], esp
push edx
call fcn.00436a10
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.004cb090
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0xd4], 0x4bf5f0
mov dword [ebp - 0xd0], 0
mov edx, dword [ebp - 0x58]
push edx
push 0x731530
push 0x731529
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.004c7e60
mov ecx, esp
mov dword [ebp - 0x118], esp
push eax
call fcn.004c6300
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.004cada0
movzx edx, byte [ebp + 0x14]
test edx, edx
jne 0x4c130c
mov byte [ebp - 0xd], 1
jmp 0x4c1310
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.004cae40
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004cae80
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x30]
call fcn.004068c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x28]
call fcn.004068c0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
call fcn.004068c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.004068c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004068c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004068c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004068c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1c]
call fcn.00482f10
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x2c