Function at 0x43ff51
Capabilities:
Check http status code
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bb48b
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4e8070]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
push edi
mov eax, dword [0x4e8070]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x1c], edx
mov edx, dword [ebp + 0x18]
xor ebx, ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x4c], edx
cmp esi, ebx
je 0x440865
cmp eax, ebx
je 0x440865
cmp ecx, ebx
je 0x43ffe5
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43ffe5
push 3
pop eax
jmp 0x440868
lea edi, [esp + 0xf8]
call fcn.004446fd
lea eax, [esp + 0x184]
push eax
mov dword [esp + 0x1b4], ebx
call fcn.004446d6
pop ecx
mov byte [esp + 0x1b0], 1
cmp dword [esp + 0x110], 0x10
mov edx, dword [esp + 0xfc]
jae 0x440026
lea edx, [esp + 0xfc]
call fcn.0042e1cd
test eax, eax
je 0x440840
cmp dword [esp + 0x198], ebx
je 0x440840
mov eax, dword [esp + 0x24]
cmp eax, ebx
jne 0x44004d
mov eax, 0x4c102f
push eax
lea ecx, [esp + 0x134]
call fcn.00403461
lea eax, [esp + 0x130]
push eax
mov ecx, esi
mov byte [esp + 0x1b4], 2
call fcn.0043f75e
pop ecx
push ebx
test al, al
jne 0x44008c
push 1
lea ecx, [esp + 0x138]
call fcn.00403db0
push 0xc
jmp 0x440842
push ebx
lea eax, [esp + 0x34]
call fcn.004377e8
sub esp, 0x18
mov byte [esp + 0x1c8], 5
mov esi, esp
mov dword [esp + 0x3c], esp
push dword [esp + 0x38]
call fcn.004368a5
lea eax, [esp + 0x44]
push eax
mov edx, str.type
mov byte [esp + 0x1cc], 6
call fcn.00437ade
mov edi, eax
mov byte [esp + 0x1c8], 5
call fcn.00436bb1
sub esp, 0x18
lea edx, [esp + 0x19c]
mov esi, esp
mov dword [esp + 0x38], esp
call fcn.00436959
lea eax, [esp + 0x44]
push eax
mov edx, str.proposer
mov byte [esp + 0x1cc], 7
call fcn.00437ade
mov edi, eax
mov byte [esp + 0x1c8], 5
call fcn.00436bb1
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x38], esp
push dword [esp + 0x2c]
call fcn.004368a5
lea eax, [esp + 0x44]
push eax
mov edx, str.model
mov byte [esp + 0x1cc], 8
call fcn.00437ade
mov edi, eax
mov byte [esp + 0x1c8], 5
call fcn.00436bb1
sub esp, 0x18
lea edx, [esp + 0x148]
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.00436959
lea eax, [esp + 0x44]
push eax
mov edx, str.addition
mov byte [esp + 0x1cc], 9
call fcn.00437ade
mov edi, eax
mov byte [esp + 0x1c8], 5
call fcn.00436bb1
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x2c], esp
push ebx
call fcn.00436847
lea eax, [esp + 0x44]
push eax
mov edx, str.attachment
mov byte [esp + 0x1cc], 0xa
call fcn.00437ade
mov edi, eax
mov byte [esp + 0x1c8], 5
call fcn.00436bb1
xor eax, eax
mov dword [esp + 0xf4], 7
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], ax
mov byte [esp + 0x1b0], 0xb
cmp dword [esp + 0x1c], ebx
je 0x4401f4
push dword [esp + 0x1c]
lea eax, [esp + 0xe0]
push eax
call fcn.00403e86
cmp dword [esp + 0x18], ebx
je 0x44038f
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x44038f
push dword [esp + 0x18]
call fcn.0042d2cc
mov edi, eax
mov esi, edx
call fcn.0043f6c4
cmp esi, edx
ja 0x440329
jb 0x440234
cmp edi, eax
ja 0x440329
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x2c], esp
push 1
call fcn.00436847
lea eax, [esp + 0x44]
push eax
mov edx, str.attachment
mov byte [esp + 0x1cc], 0xc
call fcn.00437ade
mov edi, eax
mov byte [esp + 0x1c8], 0xb
call fcn.00436bb1
push dword [esp + 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea esi, [esp + 0x70]
call fcn.004034c9
mov eax, esi
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x1b8], 0xd
call fcn.00401298
sub esp, 0x10
mov byte [esp + 0x1c8], 0xe
mov edx, eax
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.00436959
lea eax, [esp + 0x44]
push eax
mov edx, str.attachName
mov byte [esp + 0x1cc], 0xf
call fcn.00437ade
mov edi, eax
mov byte [esp + 0x1c8], 0xe
call fcn.00436bb1
push ebx
push 1
lea ecx, [esp + 0x58]
call fcn.00403db0
push ebx
push 1
lea esi, [esp + 0x74]
call fcn.00403ead
push dword [esp + 0x18]
call fcn.0042d2cc
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00436847
lea eax, [esp + 0x44]
push eax
mov edx, str.attachSize
mov byte [esp + 0x1cc], 0x10
call fcn.00437ade
mov edi, eax
mov byte [esp + 0x1c8], 0xb
call fcn.00436bb1
jmp 0x44038f
push 0x4c9f80
push 0x4c9fc4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call fcn.0044ca2e
add esp, 0xc
cmp eax, 6
je 0x44037d
push ebx
push 1
lea esi, [esp + 0xe4]
call fcn.00403ead
lea esi, [esp + 0x2c]
mov byte [esp + 0x1b0], 2
call fcn.00436b2e
push ebx
push 1
lea ecx, [esp + 0x138]
call fcn.00403db0
push 5
jmp 0x440842
push 0x4c3b30
lea eax, [esp + 0xe0]
push eax
call fcn.0040c4c2
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00401298
sub esp, 0x10
mov byte [esp + 0x1c8], 0x11
mov edx, eax
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.00436959
lea eax, [esp + 0x44]
push eax
mov edx, str.reason
mov byte [esp + 0x1cc], 0x12
call fcn.00437ade
mov edi, eax
mov byte [esp + 0x1c8], 0x11
call fcn.00436bb1
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [esp + 0x58]
mov byte [esp + 0x1b8], 0xb
call fcn.00403db0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x118]
call fcn.00437f83
push str.POST
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1b4], 0x13
call fcn.00403461
mov byte [esp + 0x1b0], 0x14
cmp dword [esp + 0x110], 0x10
mov eax, dword [esp + 0xfc]
jae 0x44043f
lea eax, [esp + 0xfc]
push 0x32cd
push eax
push str.http:___s:_d_case
lea esi, [esp + 0xcc]
call fcn.0042fa11
add esp, 0xc
mov byte [esp + 0x1b0], 0x15
cmp dword [eax + 0x18], 0x10
jb 0x44046c
mov eax, dword [eax + 4]
jmp 0x44046f
add eax, 4
push eax
lea ecx, [esp + 0x70]
call fcn.00403461
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x1b8], 0x16
call fcn.00456224
pop ecx
pop ecx
push ebx
push edi
lea ecx, [esp + 0x74]
mov dword [esp + 0x24], eax
call fcn.00403db0
push ebx
push edi
lea ecx, [esp + 0xc8]
call fcn.00403db0
push ebx
push edi
lea ecx, [esp + 0xac]
mov byte [esp + 0x1b8], 0x13
call fcn.00403db0
cmp dword [esp + 0x12c], 0x10
mov eax, dword [esp + 0x118]
jae 0x4404e0
lea eax, [esp + 0x118]
push dword [esp + 0x128]
mov edx, dword [esp + 0x20]
push eax
push str.caseInfo
xor ecx, ecx
call fcn.00456290
add esp, 0xc
cmp dword [esp + 0x18], ebx
je 0x440561
push dword [esp + 0x18]
lea esi, [esp + 0x54]
call fcn.004034c9
mov eax, esi
push eax
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x1b8], 0x17
call fcn.00401298
pop ecx
pop ecx
mov byte [esp + 0x1b0], 0x18
cmp dword [eax + 0x18], 0x10
jb 0x44053b
mov eax, dword [eax + 4]
jmp 0x44053e
add eax, 4
push dword [esp + 0x1c]
call fcn.00456271
pop ecx
push ebx
push edi
lea ecx, [esp + 0x90]
call fcn.00403db0
push ebx
push edi
lea esi, [esp + 0x58]
call fcn.00403ead
push 0xf
pop esi
push ebx
lea ecx, [esp + 0x150]
mov dword [esp + 0x168], esi
call fcn.0040492f
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x150]
mov byte [esp + 0x1b4], 0x19
push eax
mov dword [esp + 0x50], ebx
call fcn.004563a7
pop ecx
pop ecx
test al, al
je 0x4407f3
cmp dword [esp + 0x48], 0xc8
jne 0x4407f3
push ebx
lea ecx, [esp + 0x16c]
mov dword [esp + 0x184], esi
call fcn.0040492f
push dword [esp + 0x28]
lea eax, [esp + 0x16c]
push eax
lea eax, [esp + 0x154]
push eax
mov byte [esp + 0x1bc], 0x1a
call fcn.0043f348
add esp, 0xc
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x4407da
mov edx, dword [esp + 0x28]
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x38], esp
call fcn.00436959
lea eax, [esp + 0x44]
push eax
mov edx, str.caseId
mov byte [esp + 0x1cc], 0x1b
call fcn.00437ade
mov edi, eax
mov byte [esp + 0x1c8], 0x1a
call fcn.00436bb1
cmp dword [esp + 0x18], ebx
je 0x4406c5
push dword [esp + 0x18]
lea esi, [esp + 0x54]
call fcn.004034c9
mov eax, esi
push eax
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x1b8], 0x1c
call fcn.00401298
sub esp, 0x10
mov byte [esp + 0x1c8], 0x1d
mov edx, eax
mov esi, esp
mov dword [esp + 0x38], esp
call fcn.00436959
lea eax, [esp + 0x44]
push eax
mov edx, str.attachment
mov byte [esp + 0x1cc], 0x1e
call fcn.00437ade
mov edi, eax
mov byte [esp + 0x1c8], 0x1d
call fcn.00436bb1
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [esp + 0x90]
call fcn.00403db0
push ebx
push edi
lea esi, [esp + 0x58]
mov byte [esp + 0x1b8], 0x1a
call fcn.00403ead
jmp 0x4406c8
xor edi, edi
inc edi
lea eax, [esp + 0x2c]
push eax
call fcn.0043f4c0
pop ecx
push ebx
test eax, eax
jne 0x440735
push edi
lea ecx, [esp + 0x170]
call fcn.00403db0
push ebx
push edi
lea ecx, [esp + 0x154]
call fcn.00403db0
push ebx
push edi
lea ecx, [esp + 0x11c]
call fcn.00403db0
push ebx
push edi
lea esi, [esp + 0xe4]
call fcn.00403ead
lea esi, [esp + 0x2c]
mov byte [esp + 0x1b0], 2
call fcn.00436b2e
push ebx
push edi
lea ecx, [esp + 0x138]
call fcn.00403db0
push 7
jmp 0x440842
push str.wfCaseViewerWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44075b
push ebx
push ebx
push 0x442
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
inc edi
push ebx
push edi
lea ecx, [esp + 0x170]
call fcn.00403db0
push ebx
push edi
lea ecx, [esp + 0x154]
call fcn.00403db0
push ebx
push edi
lea ecx, [esp + 0x11c]
call fcn.00403db0
push ebx
push edi
lea esi, [esp + 0xe4]
call fcn.00403ead
lea esi, [esp + 0x2c]
mov byte [esp + 0x1b0], 2
call fcn.00436b2e
push ebx
push edi
lea ecx, [esp + 0x138]
call fcn.00403db0
push ebx
push edi
lea ecx, [esp + 0x18c]
call fcn.00403db0
push ebx
push edi
lea ecx, [esp + 0x100]
call fcn.00403db0
mov eax, dword [esp + 0x14]
jmp 0x440868
mov ecx, dword [esp + 0x4c]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x170]
push eax
call fcn.00403caa
jmp 0x44075e
push ebx
push edi
lea ecx, [esp + 0x154]
call fcn.00403db0
push ebx
push edi
lea ecx, [esp + 0x11c]
call fcn.00403db0
push ebx
push edi
lea esi, [esp + 0xe4]
call fcn.00403ead
lea esi, [esp + 0x2c]
mov byte [esp + 0x1b0], 2
call fcn.00436b2e
push ebx
push edi
lea ecx, [esp + 0x138]
call fcn.00403db0
push 4
jmp 0x440842
push 2
pop esi
push ebx
push 1
lea ecx, [esp + 0x18c]
call fcn.00403db0
push ebx
push 1
lea ecx, [esp + 0x100]
call fcn.00403db0
mov eax, esi
jmp 0x440868
xor eax, eax
inc eax
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.0049795f
mov esp, ebp
pop ebp
ret